cksedg Posted March 25 Posted March 25 I have a keypad that controls lights, a fan, and a heater in my bathroom. One light is directly controlled by the keypad, and the other buttons control mini modules located in a hidden box, and the min modules control two other lights, the fan, and the heater. I have a program set up to shut off the mini modules if the light button on the keypad is switched off. However, the lights on the keypad buttons don't respond to show that those modules are off. I don't want to use a scene because I don't want the other lights, fan, and heater to come on every time the main light is turned on. They have to be turned on separately, but go OFF when the light is turned off. Any suggestions? Quote
Goose66 Posted March 25 Posted March 25 You can put the key light state in a scene and your program can turn the key light scene on or off based on change in state of the associated mini module. Quote
Techman Posted March 25 Posted March 25 (edited) You need to create a scene for each button and then place the devices in the scene that you want that keypad button to control. You would then have a program turn on or off the scene Edited March 25 by Techman 1 Quote
Solution Goose66 Posted March 26 Solution Posted March 26 Problem with Techman’s approach is that if something ever turns the device on or off directly, e.g. a user in UD mobile, or if it is also in other scenes, the keypad light won’t track with the device state. By having separate programs that update the key light state, they should stay in sync. 1 Quote
Techman Posted March 26 Posted March 26 If the devices are placed in the scenes as controllers along with a specific keypad button, then manually turning on a device would also turn on the keypad button Quote
Goose66 Posted March 26 Posted March 26 Manually yes, but if I went to the device in UD Mobile or Admin Console and turned it on, then the keypad light wouldn’t turn on. And if the device is in other scenes and is turned on or off via those scenes, then the keypad light wouldn’t be updated. The only way to keep them in sync is with a key state update program. Quote
cksedg Posted March 26 Author Posted March 26 Thanks so much for your replies. I will try what you have suggested, Goose66. Hopefully I'm smart enough to do it. Just getting old! Quote
Guy Lavoie Posted March 26 Posted March 26 The various suggestions are all valid. The approach you use will be based on how practical it is. I have a 6 button keypadlinc near the door we always go out through. Two of the 4 center buttons indicate if any light on that floor is on, including lamps, etc. For those, I have a scene that has nothing but a single responder (the button light) and two programs, one that look for any light being on to turn on the backlight, the other that looks for all lights being off to turn off the backlight. Any additions or changes to the lights I want to monitor are then done in the programs. Easier than tracking many links. In other cases, it's conventional scenes linking back to the button backlights. Quote
cksedg Posted Tuesday at 11:11 PM Author Posted Tuesday at 11:11 PM Goose66, I'm still struggling with this. Can you give me an example of the program you would write to make this work? Thanks! Quote
larryllix Posted Tuesday at 11:21 PM Posted Tuesday at 11:21 PM 8 minutes ago, cksedg said: Goose66, I'm still struggling with this. Can you give me an example of the program you would write to make this work? Thanks! Key LEDs cannot be controlled directly, for some weird reason. The workaround is to create a Scene for each key, say KeyA, KeyB....KeyF, and drag and drop each key LED device into each scene. Now programs will be able to turn each scene on and off. Key LEDs can be dimmed as a group and turned on and off individually when they are part of a scene. They would then be the only device in each scene. Quote
cksedg Posted yesterday at 01:03 AM Author Posted yesterday at 01:03 AM Ok, I got it to work---finally! It takes a few seconds to respond from the program, but it works! Wahoooooo! Thanks for everyone's help. 2 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.