Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 2.83 KB

README.md

File metadata and controls

45 lines (31 loc) · 2.83 KB

HA-tank-level

Tank level measurement solution for Home Assistant

image

We use an ESP-32 and a JSN-SR04T module to measure the height of water in a rainwater tank. Depending on the distance and the geometry of the tank we deduce the volume contained in the tank image

ESPHome is very useful to control the ESP32 and expose the information it offers in Home Assistant image

We use node-red to filter extreme data and convert it into useful data image

Outlier Node allows you to exclude extreme data and gives the median value of the measurements. This makes it possible to smooth out variations and eliminate measurement errors. image

Tank Volume Node allows you to know how much liquid is present in the tank depending on its shape, its dimensions and the height of the water. You have to download it here https://flows.nodered.org/node/node-red-contrib-tank-volume image

Another interesting piece of information to have when you have a rainwater tank and a pump is the temperature near the pump because in the event of frost, it can be damaged. image

Once you have an ESP32 for the level in the tank, it is very simple to add a DS18B20 temperature probe. image

Here is the shopping list:

In my particular case, my pump shelter is buried and it is difficult to receive WiFi correctly. So I ran an Ethernet cable from the house and used an ESP32 powered by POE and connected by Ethernet

And to complete a 3D printed case image

and its cover image

image