Device action depending on another device's state
Posted: 12 Oct 2019, 11:08
Hi,
I'm about to shift my heating control to Domoticz using a Sonoff 4ch attached to zone valves and heater trigger. The logic is written in dzVents and works nice. However, on some occasions the http trigger from Domoticz to switch off a relay doesn't go through to the Sonoff. This is less of a problem if a zone valve remains open, but if the heater keeps on burning, that's quite bad.
Is it possible to write a script locally on the Sonoff in Rules that checks if any of the zone valve relays are on, and if not, then turns off the heater relay after a period of time?
I'm about to shift my heating control to Domoticz using a Sonoff 4ch attached to zone valves and heater trigger. The logic is written in dzVents and works nice. However, on some occasions the http trigger from Domoticz to switch off a relay doesn't go through to the Sonoff. This is less of a problem if a zone valve remains open, but if the heater keeps on burning, that's quite bad.
Is it possible to write a script locally on the Sonoff in Rules that checks if any of the zone valve relays are on, and if not, then turns off the heater relay after a period of time?