Looking for suggestions on how to measure water level in a reservoir

That’s why I bought it :slight_smile:

Here is a nice float switch no reed switch needed!
https://www.amazon.com/Elecall-Stainless-Sensor-Switch-ES10010/dp/B01LWX97CC/ref=sr_1_5?dchild=1&keywords=float+switch&qid=1625814489&s=industrial&sr=1-5

If you’re short… you can LOAD up your pins with these dirty basterds… the work LIKE A CHARM!!!

MCP23017

1 Like

Or if you have time to wait

Hahahahaha

I have more money than patience!

Amazon says currently out of stock.

After all you’re a doctor, Jeff :rofl:

I also agree that the float sensor is probably the best. A float sensor is typically used in aquariums to top off the water and to keep the chemical levels stable. An example is Tunze Osmolator Auto Top Off System - AquariumStoreDepot

If its sensitive, you might think about 2 sensors as sometimes they might get stuck and with 2 you can at least have a failsafe mechanism.

@DeeBeeKay found a really nice concept on the float switch, probably just a reed switch inside but an elegant solution.

1 Like

Thanks @DrJeff, that looks like a very neat solution that will be easy to install - doesn’t even need anything attached to the reservoir wall, which is a bonus because the reservoir has a rubber lining that I don’t want to pierce.

I found a local supplier of the product you linked to. Great find. Thanks so much.

1 Like

Hi,
Just finished installing 4 pressure sensors (3 water reservoirs and 1 Diesel tank) with Shelly Uni as described here (it has English captions). managed to display the default data in HA but still confused and couldn’t convert the data into cubic meters as described in my call for help here.
I totally recommend the equipment and method, but still need to implement in HA.

I am using float switches, they work great and cost next to nothing

this is my esp code for an esp32

binary_sensor:

  • platform: gpio
    pin:
    number: GPIO 17
    mode: INPUT_PULLUP
    name: “water sensor”
    device_class: moisture
    filters:
    • invert

and this is the kind of float switch I use

the only problem is that some of them fail after some time, they are not all created equal, so if you need extra assurance, buy something more expensive

or you can always use 2 sensors in parallel or in series (depending on your application) as a fail safe

1 Like

What is your tank /resevoir?

Diesel tank is metal, the other 3 are concrete. metrics attached

So you know the level, and the cross sectional area. The volume is simply the product of the level and the area.

The math was never the problem. It is how to get the below card

(the one to the right)

What is the question then?

How to apply the math in HA? and how to make the card display the correct icon? I am a beginner user into HA and got confused how to use variables, helpers, scripts, etc…

Aha ok. The math should be done in a template.

Gui programming is not so much my thing. However you can set icons from templates too.

Working on that, slowly though. thanks