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.

Create program for KPL button to match status of light

Featured Replies

Posted

I have created a program that the status KPL button (F) will turn on if a bedroom1 light is on and off if bedroom1 light is is off.

 

If status of bedroom1 light is on

then set KPL button (F) to on

else set KPL button (F) to off.

 

The problem is when I add the second bedroom (bedroom2) with the or statement bedroom1 will turn on as well, because KPL button (F) is a controller.

 

I want KPL button (F) to be a controller so I can turn off/on the bedrooms.

Hi Moshe,

 

How do the bedroom lights turn on/off? i.e. do they have their own switch. If so, why not use a scene where all of them (including your KPL button) are controllers?

 

In any case, you want something like this

 

If
    Status bedroom 1 is not off
Or  Status bedroom 2 is not off
Or  Status bedroom 3 is not off
....

Then
    Set the-scene-containing-your-kpl On

 

And, you would want the opposite for Off

 

If
      Status bedroom 1 is off
AND  Status bedroom 2 is off
AND  Status bedroom 3 is off
....

Then
    Set  Set the-scene-containing-your-kpl Off

 

 

With kind regards,

Michel

  • Author

Hi Michel -

 

If I make a scene and make all devices controllers then all of the bedrooms contol each other. I do not want the bedroom switchlinks to contol each other, just the KPL button.

 

I will try your program.

 

Could I just use the else statment in the first program to set KPL Button (F) to off.

 

Thanks

  • Author

Michel -

 

By using your program, once one of the bedroom lights is on the KPL (controller) will turn on causing the other bedrooms to turn on, correct.

 

If I do not set the KPL as a controller will I still be able to turn off/on the bedroom lights from the KPL button.

 

Thanks

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.