ejacobs Posted November 11, 2008 Posted November 11, 2008 I'd like to have one of the buttons at the front door on my keypadlinc activate a security program. I want the program to turn all the interior lights on (not a problem, I can do that) And - I want all the exterior lights to flash. I have a scene that contains all the interior lights and another one that contains the exterior lights. I have one program that listens for the keypadlinc "security" trigger and then activates the "inside" program to turn the lights on and the "outside" program (from the then) to flash the exterior lights. The problem is, the outside lights just turn on and then off right away. The is the program: If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Set Scene ' All Outside' Fast On Set Scene ' All Outside' Fast Off Repeat Every 2 seconds Else - No Actions - (To add one, press 'Action') Any ideas?? I think it has to do with the repeat command, I don;t think it does what I want.
MikeB Posted November 11, 2008 Posted November 11, 2008 The repeat commend affects all items BELOW it. Change your code to the following: If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat Every 2 seconds Set Scene '[s] All Outside' Fast On Set Scene '[s] All Outside' Fast Off Else - No Actions - (To add one, press 'Action')
Recommended Posts