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't change a KPL button state via a program

Featured Replies

Posted

I am trying to do the following:

1)I have an open/close sensor on a garage screen door. The sensor is ON when the screen door is open and OFF when the screen door is closed. 

2) I have a blank KPL switch that I want to use as an indicator for the screen door. BUT I want the button to light up when the screen is closed and turn off when the screen is open (the opposite of the way the sensor works.)

3) Since I want the logic to be "reversed", I cannot use a scene because then the button will light when the door is open and vice versa.

4) I created two programs "Screen open" and "screen closed" that trigger when the screen opens and closes. (These work OK because I have them sending me a notification.) But when I try to add the KPL switch to the THEN , it only allows me to set the backlight level of the KPL. It doesn't allow me to say KPL.button.C ON or KPL.button.C OFF.

 

How can I get the behavior I am looking for?

 

Thanks,

Bob

 

Create a scene that contains only the button as a responder. Use a program to control the button scene.

  • Author

Thank you. That did the trick!

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.