Smart Home Automation Forum

Full Version: A4S water level sensor to Esphome
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello need help,

I have this 2 sensor water level and pressure sensor but i dont know how to program it to ESPHome i cant see any code using this sensor in the internet hopefully anyone here can or know how to write the code. please see attached picture for reference.

I want to measure the level on how many percent of the tank like 100% is full and 50% half etc.

And the pressure of the water pipe like if 30psi to 70psi something like that.

Both output are 0-5V
My water tank is 3M height 

Thanks in advance
if output signal is DC 0-5v , you can add to home assistant by ESPHome, just use "ADC" function.
here is details: https://esphome.io/components/sensor/adc.html