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?
Device action depending on another device's state
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 307
- Joined: 06 Nov 2016, 13:45
Re: Device action depending on another device's state
Did you study the Rules?
Switch the Rules on in the Tools tab.
And then ...
https://espeasy.readthedocs.io/en/lates ... Rules.html
Good practice is to fire a command Heating_On every 60 sec.
On the receiving side you use a 80 sec. timer for auto Heating_Off
So as long as you receive every 60 seconds the Heating_On command, the heater stays on, otherwise after 80 seconds Off.
Make sure that at boot and reboot the heater is Off.
Switch the Rules on in the Tools tab.
And then ...
https://espeasy.readthedocs.io/en/lates ... Rules.html
Good practice is to fire a command Heating_On every 60 sec.
On the receiving side you use a 80 sec. timer for auto Heating_Off
So as long as you receive every 60 seconds the Heating_On command, the heater stays on, otherwise after 80 seconds Off.
Make sure that at boot and reboot the heater is Off.
30+ ESP units for production and test. Ranging from control of heating equipment, flow sensing, floor temp sensing, energy calculation, floor thermostat, water usage, to an interactive "fun box" for my grandson. Mainly Wemos D1.
Who is online
Users browsing this forum: Bing [Bot] and 18 guests