So, im keen to know if anyone has interfaced with their water tanks. I want to monitor two 30,000L tanks, but am having a hard time find the appropriate hardware to get the job done.
We have 3 tanks, the plan is 3 senders, attached to a ESP32 on wifi.
The problem is, finding a sender that can go deep enough to monitor a 30,000L tank.
Any ideas / recommendations from anyone who might have done this?
give up on ultrasonic. they fluctuate too much and have issues with moisture. yes even the āwaterproofā ones.
go read the posts on esphome water level sensor.
specifically ones from hummingbear and quizzical.
a gravity throw in sensor is the go.
pat
Brad,
I guess iām going on my first tentative steps with ultrasonic sensor. I kept on reading that values would fluctuate based on temperature and air moisture level. I am in a sub tropical climate and know that the air inside my rain water tank is very moist for about 9 months a year.
I know I made my decision based on other opinions but their data appeared to show that ultrasoinc didnāt rate when compared with thrown in pressure (or externally connected pressure) sensors.
My introduction to the world of electronics and HA was based on trying to find a home grown solution to a busted tank water level meter from Gallagher equipment.
Iām learning and Iām happy to be shown a good working example of an ultrasonic sensor showing accurate water levels in an external plastic 22000 litre tank in my sub tropical environment.
I have yet to find a write up about one that shows consistent (over two years) use.
Pat
I agree ultrasonic sensing isnāt ideal; I gave up after a couple of failed attempts. One pair failed after a few months, the second set developed blisters on the front surface and wouldnāt read consistently.
Failures aside (and bear in mind Iām using the domestic - ie. cheap - sensors, not the industrial quality which Iām sure would perform better but probably cost more than my 4000L tank) the air temp / humidity inside the tank gives you +/-10% readings or greater during a typical daily temperature cycle.
If using ultrasonics you need to put a lot of constraints on your readings: if your tank top is flat and gets a good moisture film, you can read 2x the distance to the water surface and end up with negative values; if you have a top fill entry point, all readings will be messed up when there is water entry and the water surface isnāt smooth. Sure you can overcome all these issues, but I ended up with a very complicated set of filters and lambdaās to get sub-par results.
I donāt know if waterproofing failure is necessarily an issue (mine were the waterproof type, surface mounted to holes in the tank top), the technology is just not a great choice for reading distance from a water surface.
I then tried the HX711 pressure sensor (same as a washing machine, place the sensor above the water level then drop an air filled hose into the tank) which works OK, but air temperature in the tube still causes +/-5% readings across a day.
Iām currently trialling a pressure transducer (industrial build) which connects into the outlet pipe (yeah I know a bad idea - very low readings when the pump is running - but was easiest to fit a tee and test it) but having trouble with linearity of ADC readings on the ESP32 module Iām using.
Based on what others have experienced Iāll probably end up with a drop-in type pressure sensor (buy one to read 50-100% greater water head than you have, you can get these from around USD25 on aliexpress), 4-20mA current loop type, and a current loop > Voltage conversion module to read it on an ADC.
No, sorry that was poorly worded! They should read the full 0 - 100% for you. Depending on the type you might need 5V to power it. If youāre using the Wemos-style ESP8266 or ESP32 boards you have a ~3.2V limit on the ADC. So you will either need an external resistor dividor OR get a sensor that will only be at maybe 80% of itās maximum range when your tank is full.
I did the latter; my transducer has a 5 PSI limit, my tank is 2m tall which is around 2.8 PSI so the maximum V Iāll get for my ADC is 2.8V (well below the 3.2V max). You sacrifice resolution doing this, but I only care to the nearest 1%.
If you go down this path, be aware the ā1/8NPTā thread is a tapered thread so you canāt readily tap something and fit this in - I wasted hours finding this out. I fitted min to an ABS plastic Tee fitting and used the transducer to cut itās own thread which makes it tight and waterproof. I fitted a baffle with a pinhole in it to minimise water flow pressure changes, but this isnāt good enough.
Dean, Thatās the one Iām using. i bought from an Oz supplier and it came with the current to voltage converter. I have sent this signal through an ADS1115 though as apparently the ADC on the ESP32 is not real flash. Everything will be powered off a 5v supply with the sensor receiving itās power from a dc/dc step up.
Have nearly finalised my bench testing and will be putting it into a box and throwing the sensor in my tank this week I hope. I have read that for the first two days I should have the sensor out to get my āemptyā tank reading calibrated. My tank is a 22000 litre and is located about 30m head above my house.
I fully intend a proper write up as this project has taken me nearly 4 years. I kept getting sidetracked into other brilliant integrations in HA.
Pat
I got mine from core-electronics. Itās a bit pricier than just buying off ebay. I reckon they might both come from the same supplier. Hereās one on ebay that looks exactly the same AU Submersible 0-5mH2O Water Level Transmitter Liquid Transducer Sensor 6 | eBay
Youāll find the current to voltage converters cheaper on ebay as well.
Pat