Valve backup timer
Why set a timer on the valve itself
ZoneFlow closes the valve when a watering ends. If Home Assistant, the network or the power fails while a valve is open, nothing is left to close it. A timer on the valve or switch itself is the backup.
How long the timer must be
Longer than the longest time ZoneFlow keeps the valve open in one go, or the timer cuts a watering short. Each zone works that out and shows it as Longest Valve Open Time (zone card, Settings, Safety). The recommended timer is that time plus 10 minutes or 20 %, whichever is more, rounded up to 5 minutes. Check my setup says the same in a line.
What the number depends on
Weekly targets, days between waterings, flow rate, pulse count, soil and slope, the runtime caps, the deep soak, and the Service Mode switch-off time. Change any of them and the number follows. More pulses means shorter pulses, so a lower number.
Where to set the timer
- Shelly: the auto-off timer in the Shelly app (it stays on the device).
- Tasmota: PulseTime.
- ESPHome: a delay that turns the switch off.
- Other brands: look for "auto off", "countdown" or "timer" in the device's own app. A device that only talks Zigbee depends on the device: some have a timer, some do not.
If your switch has no timer of its own, we strongly recommend getting one that does. Switches like these are affordable, and they pay for themselves in peace of mind and the first time something goes wrong.
To test it once, set a short timer such as 2 minutes, switch the valve on from Home Assistant, then unplug the router or stop Home Assistant. The valve should close by itself. Then set the real timer.
Start off after a power cut
A power cut and the power coming back is its own risk. Some switches remember their last state and turn back on by themselves, so a valve that was open when the power went could open again when it returns. Set the switch to always start off.
Look for a setting called "power-on state", "power-on default" or "restore state" in the device's own settings or app, and choose Off.
Use a normally closed valve
A normally closed (NC) valve closes by itself when it loses power: a spring does it, and nothing needs to be told. With the switch above, a power cut leaves the valve closed. A typical irrigation solenoid valve is normally closed. Some motorised ball valves only move when powered and stay where they were when the power fails, so they do not give you this protection.
Tell ZoneFlow what you set
Type the minutes into My Valve's Own Timer. Check my setup then warns you if it is shorter than the longest open time, and warns again later if a change to your settings makes the longest time grow past it.
A typed "Water now"
Water now with minutes is split into pulses like the zone's own watering. Its longest pulse can be longer than the number above if you type a long time on soil that takes it in one go. The Longest Valve Open Time sensor gives that figure in its with_water_now_minutes attribute, for a timer that should cover it.