Good day, nod
I am trying to add TDS and PH based sensors to hassio, i tried the analogue sensor but not much accurate and i am using the ESP32 node mcu 32s and ph analog sensor.
YAML:
Code: Select all
esphome:
name: test_1
platform: ESP32
board: nodemcu-32s
wifi:
ssid: "sfsfdf"
password: "sffsdf*"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "sdfs"
password: "sdfsdf"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
sensor:
# https://esphome.io/components/sensor/adc.html
- platform: adc
pin: 32
attenuation: 11db
id: ph
name: "pH Sensor"
update_interval: 1s
unit_of_measurement: pH
# https://esphome.io/components/sensor/index.html#sensor-filters
filters:
- median:
window_size: 7
send_every: 4
send_first_at: 3
# Measured voltage -> Actual pH (buffer solution)
- calibrate_linear:
- 0.59 -> 7.0
- 0.71 -> 4.0
i2c:
sda: 35
scl: 32
scan: true
https://www.amazon.in/xcluma-Developmen ... r=8-1&th=1 ESP32 board
https://robu.in/product/grove-ph-sensor ... 7NEALw_wcB Grove PH Sensor Kit
the current output is not satisfactory,
kindly suggest and your coffee is on me