Jump to content

Keypadlinc button synchronization for scenes


mjcumming

Recommended Posts

Hi All, have read through many posts and looked at an old how to on keeping keypadlinc buttons synced to match if a current scene is on/off - to use when someone might manually control a light that is part of the scene.  Ie. If I have a scene that sets all the kitchen lights to 60% and then someone manually changes one of the lights to another level, I would like to be able to turn off the keypadlinc button that controls that scene. That way, to reset the scene, I just press the button versus press it once to get it off and the press it again to get the scene on. Appreciate any help!

 

Mike

Link to comment
1 hour ago, mjcumming said:

Hi All, have read through many posts and looked at an old how to on keeping keypadlinc buttons synced to match if a current scene is on/off - to use when someone might manually control a light that is part of the scene.  Ie. If I have a scene that sets all the kitchen lights to 60% and then someone manually changes one of the lights to another level, I would like to be able to turn off the keypadlinc button that controls that scene. That way, to reset the scene, I just press the button versus press it once to get it off and the press it again to get the scene on. Appreciate any help!

 

Mike

You could write a program. This might work.

If

Status kitchen light is not 60%

Then

turn off keypad button

 

Link to comment
5 hours ago, lilyoyo1 said:

To expand on what Techman said, you would need  to add every device to your program's if statement. For example:

If status kitchen 1 is not 60%

And status kitchen 2 is not 60%

And status kitchen 3 is not 60%

Then set kpl button C off

I think those should be "ORs" to cause Then to run on any level being changed.

Link to comment
50 minutes ago, larryllix said:

I think those should be "ORs" to cause Then to run on any level being changed.

Either way could work. Since all of them would need to be at the same level for the light to stay on, should any device change the light would turn off.

Link to comment

If status kitchen 1 is not 60%       50% is not 60% = True

And status kitchen 2 is not 60%   60% = False

And status kitchen 3 is not 60%   60% = False

Then set kpl button C off              True AND False AND False = False = Run Else,  but the scene setting have been disturbed

 

  • OR logic is required to detect any status has changed from 60%.

Then set kpl button C off              True OR False OR False = True = Run Then,  the scene settings have been disturbed

Link to comment
  • 2 weeks later...

Archived

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


×
×
  • Create New...