I have a problem with esphome and the water level sensor. The Model is XKC-Y25-NPN (see picture).
It measures correctly, since the led on the sensor lights up and the binary-sensor “wet” and “dry” is also shown correctly in the dashboard.
The problem is, that when its in the “wet”-area, it doesn’t send “wet” to the esp-board once, it sends “wet-dry-wet-dry-wet” around 10 times per seconds to the esp32. The LED on the esp32 is also indicating this constant change in signal.
Hi there, thank you. Do you mind sharing more info on your setup? I want to try doing this using an esp8266 and two sensors, but pretty clueless on how to put it all together, help is appreciated.