EddieRock Posted January 29, 2016 Posted January 29, 2016 I'm looking to put in a fail safe if my insteon thermostat stops responding or working. It currently works fine but I still would like to query it and if it doesn't respond, then send a notification. I've tested a few programs and they don't do anything. I think it's because the if statement is a simple status statement. I have: If Status 'Furnace - Main' is not responding Then Send Notification to 'My Message' Content 'Thermostat Failure' I tested this on a lamplinc module and unplugged it. Nothing happened. I read a bit and seems like a if statement with a simple status statement simply won't run. Any Ideas? Thanks!
mwester Posted January 29, 2016 Posted January 29, 2016 A "status" change requires some sort of event to trigger the change -- and clearly the failed or unplugged device can't send a signal to trigger the change. So, instead, you'll need to arrange for the ISY to periodically query the devices, so that it forces a status update, or changes the status to "not responding" if the device is missing or failed. The ISY does this once per day at around 3AM usually -- probably not good enough for your purposes. So, simply create your own program that queries the devices in question several times an hour or so. Edited to add: You can't query a battery-powered device, so I hope your thermostat is powered!
larryllix Posted January 29, 2016 Posted January 29, 2016 The 2441ZTH sends a humidity update as a heartbeat every minute, or longer if on batteries.
EddieRock Posted January 29, 2016 Author Posted January 29, 2016 (edited) A "status" change requires some sort of event to trigger the change -- and clearly the failed or unplugged device can't send a signal to trigger the change. So, instead, you'll need to arrange for the ISY to periodically query the devices, so that it forces a status update, or changes the status to "not responding" if the device is missing or failed. The ISY does this once per day at around 3AM usually -- probably not good enough for your purposes. So, simply create your own program that queries the devices in question several times an hour or so. Edited to add: You can't query a battery-powered device, so I hope your thermostat is powered! I actually do have a query program for the thermostat. It is: If: From 12:00:00 AM For 24:00 hours Then Repeat Every 15 minutes Set 'Furnace - Main' Query Is this what you mean? If not, if you could provide an example, I'll give it a try I don't know what to do from here. I assume I should set a variable to something and then another program to watch that variable? ...Seems like it may work but I'm missing the piece between the query and the notification. This is a standard Insteon thermostat. Not battery powered. Wired with C wire (24vac). Thanks! Edited January 29, 2016 by EddieRock
larryllix Posted January 29, 2016 Posted January 29, 2016 (edited) I am not sure how you would do this as I have never used queries for devices. You could run a timeout program that the humidity update keeps reset but that would depend on the humidity changing constantly. A long timer could be used to perform this but may not work perfectly. If the humidity sensor sends the same RH every time the program will not get triggered, If humidity >= 0 <---- just this may be enough to trigger the Wait reset Or temperature >= 0 Or heat contact is switched 'On' Or cool contact is switched 'On' Then Wait 60 minutes Send a notification 'Stat comm failed' Else ---- I have been tracking and controlling my humidity here for the last month and it wiggles and bobbles continuously but I am mechanically attempting to keep it constant. Opening a door for 5 minutes causes a drop for about 3-4 hours. It's below 0 C here and very dry when the air is heated inside. Edited January 29, 2016 by larryllix
Recommended Posts