rgc99 / irrigation_unlimited

â™’Irrigation controller for Home Assistant
MIT License
326 stars 48 forks source link

Water consumption #101

Open klona opened 1 year ago

klona commented 1 year ago

Hi , I looked after but did'nt find that feature, and cant find how to do it myself.

I got a water flow meter on head of irrigation system, that reports to Home Assistant.

I got 12 solenoid valves, managed by irrigation Illimited, and only open one at a time. Is there any way to easily get a count of water used ?

My pressure is not stable (non potable water supply, shared with neighboors, so pressure highly depend of other's usage), and my final idea is to set up a water quantity rather a time for irrigation.

Thanks, Claude

rgc99 commented 1 year ago

Hi Claude,

Interesting situation. My initial thought is to start a sequence with a long run time and when the quantity is reached issue a cancel. This would work on a single zone but not for a sequence. Ideally the duration parameter would be millilitres rather than seconds.

At this stage I am not sure how it would work with the external water flow meter. Can you provide more information on the meter (brand, link to docs etc.) and the setup for Home Assistant?

Robert

klona commented 1 year ago

Hi Robert, sorry did nt see your answer before. I am using this : https://www.planete-domotique.com/compteur-d-eau-avec-sortie-impulsion.html I added a Mini D1 on ESP Home to get pulse count (not my idea, I found that somewhere in a post) The trick is the D1 do all the job to get pulse in "real-time" and send average values to HA, depending interval defined. Very easy thanks to this hardware.

sensor:

It's working, just did'nt had time to put it on water circuit, on my desk right now..

I still need to be more precise on calculation between liters and pulse, and find the good update_interval And I should see how to get stats from there, probably easy as water is now part of built in energy in latest HA version, but same no time to look closer in it.

Claude