telljcl Posted September 18, 2014 Posted September 18, 2014 I'm trying to write a simple program that adjusts the thermostat when the ceiling fan is switched ON, and another to put it back when the fan is switched OFF. Works great except if the ceiling fan is turned "ON" or "OFF" without using the keypadlinc button (say, remotely via ISY console or Mobilinc etc...) The fan is controlled by an Inline-linc in this case, which is linked to a keypadlinc button (and a scene). I can't specify the usual "If CONTROL - Inlinelinc - is switched "ON" .... I guess because there is no button on it to be turned on. I can use "status" but that isn't useful to determine time-of-change as far as I know. What would be the way to detect if this inline linc is turned on or turned off - by button press or remotely? Thanks for any suggestions.
Xathros Posted September 18, 2014 Posted September 18, 2014 Status should work just fine. It triggers on status change. In addition, unlike control, it will work regardless of how the inlinelinc was turned on/off whereas control is only valid when manually operated at the device itself. -Xathros
telljcl Posted September 18, 2014 Author Posted September 18, 2014 Xathros - Thanks. But won't the below program set the thermostat to 75 anytime (and all the time) while the Inline Linc is "off"? I only want to trigger something on the change of status - does ISY only update "status" when there is a change? Thanks for your help! If Status "inline linc" is OFF Then Thermostat setpoint = 75
LeeG Posted September 18, 2014 Posted September 18, 2014 (edited) "If Status" triggers a Program only when Status changes. In this case when the inlineLinc turns Off the Then clause executes once.. Edited September 18, 2014 by LeeG
Xathros Posted September 18, 2014 Posted September 18, 2014 As long as nothing else causes the program to be run (Run at startup, called by another program etc) then it will only trigger at the point that the inlinelinc status changes (On, off, dim, brighten). It will run then when the status changes to 100% and run else when it changes to anything other than 100%. -Xathros
Recommended Posts