Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can programs control the lights on a keypad?

Featured Replies

Posted

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?

Solved by Goose66

Go to solution

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 by Techman

  • Solution

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.

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

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.

  • Author

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!

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.

  • Author

Goose66, I'm still struggling with this.  Can  you give me an example of the program you would write to make this work?

Thanks!

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.

  • Author

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.  

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.