I have a rainwater collection system that feeds into several water tanks. I’d like to be able to monitor the tank levels for a variety of reasons, first and foremost because of the fact that we get almost no rain in the summer, and I have run the tanks to empty before.
In the past, I have used Milone eTape connected to an Atmel microcontroller to monitor water levels for a few different applications. I’d like to use this again if possible.
The eTape essentially acts as a potentiometer in a circuit. I’ve done some research on various ways to feed this into HomeAssistant, but I’m not really sure what’s best. My water tanks are just behind the wall from my HA server, so I could connect directly with USB, serial, or ethernet. WiFi or Zigbee or also options; nearly every other device I have connected to HA is Zigbee.
What I’m ideally looking for is a device that can take a voltage level between 0-5VDC, or a 5k potentiometer, and feed the result into HA. Building something isn’t out of the question (as long as I can program it in C or C++), but an off-the-shelf solution that integrates with HA would be ideal.
My immediate thought was the leak sensors I got for my bath sensor. It’s Tuya ZigBee, aa battery powered and had around a meter of cabling.
Multiple sensors for different levels, say full, half full empty?
They were £4 each and report a binary (leak/no leak)
With the sensor being on a cable you can just lower different amounts of cable into the tank
I’d like to have more fine-grained data than a few leak sensors at different levels. I am curious, though, where are you finding leak sensors (that work) for £4 each? I have a few leak sensors in my house for under sinks and my water heater, and they were something like $20 each.
https://www.aliexpress.com/item/1005005220809595.html?spm=a2g0n.order_detail.order_detail_item.3.17d6f19cP9mhGR