Jump to content

Security Button on Keypadlinc


ejacobs

Recommended Posts

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.

Link to comment

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')

Link to comment

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...