kloggy / HA-Irrigation-Version2

230 stars 55 forks source link

Pump Control #47

Open danygi79 opened 3 years ago

danygi79 commented 3 years ago

Good evening, i installed your package and everything works fine. However, I need to activate a pump automatically a few seconds after opening the valve and turn it off a few seconds before closing the single valve, this would allow me to avoid the water hammer on the pipes when switching on and off. Now I can do it, through the home assistant automations, but only when switched on, while not when switched off. Is there any way to insert such a control?

Thank you

BenjaminD3E commented 1 year ago

Hello, have you found a solution? :) Thank You

genestealer commented 1 year ago

@BenjaminD3E and @danygi79 I have a suggestion, create "dummy" "helper" valves for each zone, which sit in the middle between the HA-Irrigation-Version2 and the real valves. HA-Irrigation-Version2 can then turn these "dummy" valves on and off, without the real valves being affected.

Then have an automation set to be triggered by the "dummy" valve changing state and command the pump and real valves to operate as you wish, with delays etc.

If this addresses the issue, may I suggest you close this issue.