TheWabit Posted January 7, 2013 Posted January 7, 2013 Hi guys, Here is the program I have to light up the kitchen when the door to the garage is opened. My question is: if I added a line to the condition "if the light already on or > than a some value", could I prevent the program from running if light was already on? My purpose is to prevent the 15 minute wait clock from starting and then turning the light off if someone was previously using it (turned it on at the switch for task lighting). If From Sunset To Sunrise (next day) And Control 'Triggerlinc' is switched On Then Set Scene 'Island' On Wait 15 minutes Set Scene 'Island' Off Else - No Actions - (To add one, press 'Action')
LeeG Posted January 7, 2013 Posted January 7, 2013 Add the Status check to the If clause. Only if the 'light' is Off when the TriggerLinc activates will the Then clause run. If From Sunset To Sunrise (next day) And Control 'Triggerlinc' is switched On And Status 'light' is Off Then
TheWabit Posted January 7, 2013 Author Posted January 7, 2013 Thanks Lee.... Let me follow up because I realized this one is a little different. This is a 3-way light with ICON switches. The 3 nodes I have for this is: ICON 1, ICON 2, and Island KPL. Can I select either switch to put into the status condition? Or do I have to put one line for each? Thanks!
LeeG Posted January 7, 2013 Posted January 7, 2013 If they are all cross-linked, Controllers in the same ISY Scene, any of the devices can be used in the Status check.
Xathros Posted January 7, 2013 Posted January 7, 2013 Can I select either switch to put into the status condition? Or do I have to put one line for each? I would choose the one that the load is connected to just in case the lights were turned on with a direct command from the ISY to the load controlling switch/dimmer. -Xathros
Recommended Posts