Jump to content

Toggling a scene with keypadlinc


swbrains

Recommended Posts

I have a keypadlinc with a sub-button that is currently set up to turn on a dinner scene which turns off most house lights and only turns on three lights in the kitchen area.

 

I would like to set it up so it toggles the scene, but it wouldn't be a true toggle. That is, it would only turn off the three kitchen lights when you turn the scene off and not affect the rest of the house lights (which it turned off earlier when activated).

 

I have tried several attempts at adding a program to handle this but haven't been able to figure out a way to do what I want. I tried capturing the fast on/off of the sub-button and triggering a program to turn off the three dinner lights, but the fast on/off then acts against all the lights in the scene (even those the scene turns off when the button is single-pressed normally) and I end up with all house lights coming on full or all of them being turned off.

 

I realize it may not be possible, but I was wondering if anyone knew of a way to do this?

 

Thanks in advance for any assistance...

-- Vinnie

Link to comment

Ok, I think I figured out my own problem. I'll post my solution here for the benefit of anyone else who may have this question:

 

I discovered that the best way to handle this was with two programs: one for Dinner On and one for Dinner Off.

 

I had previously set the button to be a controller for the Dinner scene (which was a dinner ON scene). The trick (at least the one that worked for me) was to remove the button so it was no longer controlling any scenes directly, but instead I added programs to handle turning the various lights on/off based on the button being pressed.

 

The Dinner sub-button is configured as a non-toggle [on] button.

The Dinner On program is triggered by the Dinner keypad sub-button being pressed normally (control is "on"). The THEN action is to turn the "Dinner" scene on.

The Dinner Off program is triggered by the Dinner keypad sub-button being held down (control is "fade up"). The THEN action is to only turn off the three kitchen lights that were turned on by the Dinner scene. All other lights are left unaffected.

 

So far it seems to work well. Perhaps this will helps someone in the future.

Link to comment

Archived

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


×
×
  • Create New...