I’ve been reading around this topic and haven’t found a good solution to my issue. I want to measure the water level in my cistern, this is quite common and many people have written guides on this with various solutions like water pressure, ultra sonic…
What I am missing is a way to measure the level without external power because I have no additional outlet in the cistern (hard constraint). I’m looking for something that can be battery powered (pi?), only need power for 3-6 months during the summer, and can recharge mid-summer without issues.
I have little to no idea about technical stuff, but would rather spend some money on pre-built devices.
Can the device be outside the cistern with just the sensor inside?
Is there a size constraint on the device and sensor?
Can solar panels be used?
A large USB powerbank of 30.000mAh can keep a device running for a long time and with some cheap solar panels it can run even longer, maybe even “indefinitely”.
If you only need to update water level like every few hours, you could use battery powered esp32 board flashed with esphome. Program it to stay in deep sleep for some hours, wake up, measure water level, if changed update to HA and go back to sleep.
So it would stay like 99.99% of time in deep sleep.
Oh wow, I hadn’t seen that one before! That looks super promising. (I ordered two on ebay already)
The second question would be how to measure the water level. Any idea what the easiest way would be to do that? I don’t need fancy stuff that has high precision. ±10cm doesn’t matter at all
Depend on many things, most importantly water min max height.
There are ultrasonic, infrared, capacitive, pressure, float sensors etc.
Also ideally it has to draw 0 power when not measuring, so it should be turned off when in deep sleep. In practice, ideally it should draw so little current that you can power it directly from Gpio pin.
Pressure sensor 0-40kpa, which equals 0-4m water column. you only need tiny pipe out of your cistern lower part. I repeat, I have never tried this. Just google “Digital Barometric Pressure Sensor Module 0- 40 KPa”
"Description
Report Item
Specification:
Voltage: 3.3 -5 V
Pressure: 0 -40 KPa
The module uses a high-precision AD sampling chip and a 0-40KPa Air pressure sensor. It can be connected to a 2.5mm tube and detects water level and other pressure.
5K ohm resistance bridge sensor, the specific pressure value needs to be calculated. "
And I don’t understand your question.
You wire that module to Esp32 board (3.3V). You connect small tube (like micro drip irrigation hose) from bottom part of your cistern to sensor. I expect you have some threaded connections at the bottom part. Sensor and Esp can be meters away from cistern. Not under water.