RichTJ99 Posted October 4, 2013 Posted October 4, 2013 Hi, I want to test the heartbeat, really I want a program letting me know when it doesnt see a heartbeat but I made this: If Status 'Leak Brown Bath -Heartbeat' is On Or Status 'Leak Pink Bath-Heartbeat' is On Or Status 'Leak Main Boiler-Heartbeat' is On Or Status 'Leak Office Boiler-Heartbeat' is On Then Repeat Every 6 hours and 1 minute Send Notification to 'Entire House Email' content 'Water Sensor Battery' Else - No Actions - (To add one, press 'Action') I was expecting that when the heartbeat was heard by the ISY, i would get emails every 6 hours. I have not been sent an email. Ideally I will switch the heartbeat "ON" to "OFF" once I see the program works. Any idea why it doesnt work? Thanks, Rich
LeeG Posted October 4, 2013 Posted October 4, 2013 ISY Programs are triggered by a "change" in Status. There would not normally be a change in Heartbeat Status. Use If Control to monitor the Heartbeat node. If Control 'Leak Sensor-Heartbeat' is switched On Or Control 'Leak Sensor-Heartbeat' is switched Off Then Wait 25 hours Send X10 'A10/All Lights On (5)' Else - No Actions - (To add one, press 'Action') The command sent with the Heartbeat message depends on the Wet/Dry state of the Leak Sensor. Each Leak Sensor has to be monitored individually as they are all on a different 24 hour cycle.
RichTJ99 Posted October 5, 2013 Author Posted October 5, 2013 Lee, Using your control program, it waits each day for 25 then sends an on command? Do you get a heartbeat email each day or a light that goes on each day? Thanks, Rich
LeeG Posted October 5, 2013 Posted October 5, 2013 The Heartbeat message should occur every 24 hours. The next Heartbeat message interrupts the Wait 25 hours at the 24 hour mark, starting a new 25 hour Wait. The X10 message will not be issued so long as the Leak Sensor sends a Heartbeat message every 24 hours. It makes more sense to issue a Notify rather than the X10 message. I don't use a Notify because this Leak Sensor is in a test bed.
RichTJ99 Posted October 30, 2013 Author Posted October 30, 2013 So this looks correct? If Control 'Leak Pink Bath-Heartbeat' is switched On Or Control 'Leak Pink Bath-Heartbeat' is switched Off Then Wait 25 hours Repeat Every 6 hours and 1 minute Send Notification to 'Entire House Email' content 'Water Sensor Battery' Else - No Actions - (To add one, press 'Action')
Xathros Posted October 30, 2013 Posted October 30, 2013 Looks good to me. -Xathros Sent from my iPhone using Tapatalk
Recommended Posts