fstanek Posted June 6, 2013 Posted June 6, 2013 Hi, I would like to trigger a program to run when hitting the off switch when the main load is already off on a keypad switch and dimmer. For example, I have a keypad switch that has its main load control the stair lights to the basement. After I turn off the stair lights, if I hit the "off" again I would like to turn off all the lights in the basement. Is this doable? Thanks!
LeeG Posted June 6, 2013 Posted June 6, 2013 Sure. If Control 'switch' is switched Off And Status 'switch' is Off Then do something
fstanek Posted June 6, 2013 Author Posted June 6, 2013 Cool, thanks for the quick reply. I just got the ISY hooked up last night, and I obviously still have a lot to learn. Just to be clear what is going on in your reply: Control 'switch' is switched Off - this is true when the KeypadLinc load is off Status 'switch' is Off - this is true when the "off" button is being pressed on the KeypadLinc Is that correct?
LeeG Posted June 6, 2013 Posted June 6, 2013 Just the opposite. If Control statements react to commands coming from the device. If Control 'switch' is switched Off is looking for an Off command flowing from the device which occurs when the OFF button is pressed. If Status 'switch' is Off is looking at the Current State (Status) information the ISY maintains for each node.
LeeG Posted June 6, 2013 Posted June 6, 2013 Any time. Hold on to your socks, the fun is just beginning. The UDI Wiki has some really good information in general. The various Program statements are covered pretty well if you want some functional information.
Recommended Posts