Jump to content

Recommended way to trigger programs based on scenes?


johnstewart

Recommended Posts

I just added a second Kepadlinc and what was working reliably before isn't so much anymore. =)

 

What I'm trying to get on both of them is an "all off" scene, but part of that is that I need to detect when it's triggered so I can kick off my program which also turns off various X10 devices (and also does some other stuff I want done as I'm headed to bed, like turn on the hall light low for 30 seconds, then off).

 

What I'm running into is reliably detecting when the button is hit. I've got it on the last (H) button on 2 KPL's. I have set these buttons to non-toggle (tried both on and off modes, to similar effect).

 

When I had my program based on when the buttons themselves were hit, I was getting inconsistent results:

http://dl.dropbox.com/u/44258126/Screenshots/ipeo.png

 

So I'm now trying to just set a variable whenever an "all off" button is hit:

http://dl.dropbox.com/u/44258126/Screenshots/4eks.png

 

...however I *never* see this variable get set when I hit one of these physical buttons.

 

I'd like to generalize this program to run whenever the "all off" scene is triggered. However, since there's no way (that I see) to trigger a program based on a scene being set directly, what's the recommended way to trigger a program based on the activation of a scene? Ideally, it would generalize somehow (via variable?) so the program isn't a mess of "if or if or if" for each of the physical buttons involved.

 

Thanks for any help; I feel like I must be missing something obvious here.

Link to comment

'If Status' triggers a Program when Status changes. In Non-Toggle Off mode only Off commands are sent so the Status never changes from Off.

 

Working on the Program is not the answer. When a Program does not reliably trigger on an 'If Control' which is looking at the commands/messages coming from the device, it means comm from that device is not reliable.

Link to comment

Archived

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


×
×
  • Create New...