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.

Why can't we check status via ISY's participation in a scene

Featured Replies

Setup

Assume we've got a pair of KeypadLincs (husband & wife), and a SwitchLinc controlling the Master Bedroom fan. Setting them up in a scene with the ISY yields the following partial device tree...

 

...

SceneCtl: MasterBR Fan

|___ KPLH-D:MasterBR Fan

|___ KPLW-D:MasterBR Fan

...

(Yes, the code can be refined by throwing the fan into the same scene, but that's not the point of this example. The example has been dumbed down substantially, and doesn't involve fans. *big smile*)

 

I frequently write programs like the following:

If

Control 'KPL Husband / KPLH-D:MasterBR Fan' is switched On

Or Control 'KPL Wife / KPLW-D:MasterBR Fan' is switched On

 

Then

Set 'MasterBR Ceiling Fan' On

 

Else

- No Actions - (To add one, press 'Action')

Obviously, if one had a lot of switches controlling the same device, the length of devices to check can get long and error-prone to maintain.

 

My question is this...

Why can't I use the ISY's view of the scene when programming If conditions? Specifically, I'm looking to do this:

If

Control 'SceneCtl: MasterBR Fan' is switched On

 

Then

Set 'MasterBR Ceiling Fan' On

 

Else

- No Actions - (To add one, press 'Action')

or perhaps...

If

Status 'SceneCtl: MasterBR Fan' is On

 

Then

Set 'MasterBR Ceiling Fan' On

 

Else

- No Actions - (To add one, press 'Action')

 

If we could do this, then as we add or remove controllers to a scene, no Program Details would have to be changed or maintained.

 

I am certain that when someone points out why, I'm going to blush with embarrassment at missing the obvious. But for right now, I'm just not seeing why, and am frustrated enough to ask.

Hi mrp,

 

Good question! From a logical perspective, a device's status is global and irrespective of the scene it belongs to.

 

If you are suggesting conditions based on ISY scenes, well, we do have plans of supporting binary scene statuses (on/off) simply because we never managed to agree on what is the status of a scene.

 

With kind regards,

Michel

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.