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.

Scenes not listed for conditional when creating a program

Featured Replies

Posted

Just curious- I can control scenes in a "then" section of a program, but I can't use them for conditionals in the "If" section. Is this expected? If so, why?

 

I'd like to run a program based on the current state of a scene, but can't seem to :(

Just curious- I can control scenes in a "then" section of a program, but I can't use them for conditionals in the "If" section. Is this expected? If so, why?

 

I'd like to run a program based on the current state of a scene, but can't seem to :(

 

The ISY has no way to know the state of a scene. The scenes don't report their status back to the ISY.

The scenes reside in the PLM which also allows them to function even if the ISY is offline.

Edited by Techman

I would state it slightly different. While it may be true that the ISY has no way of knowing the state if a scene, I would go further as to suggest that there is no such thing as a scene state within the very definitions of insteon. Regardless of yhe controller chosen, there is no concept of scene state.

In any scene, it's possible to set one device to be On and another to be Off when the scene if "On." If the scene is turned off then the On device will be turned off, but so will the off device, so the state of the scene is meaningless. Use the state of a device in the scene in your If statement, preferably a device that's not in any other scene.

I use about 8 scenes in my Gathering Room.

They all have numbers assigned to them with 8 different programs that trigger when a number is inserted into the controlling variable.

 

If

     $sGathRm.mode = $cMODE.TV  <---variable set to some permanent number

 

Then

   set TV.scene On

 

 

To turn the scene on I insert this line in any program:

   $sGathRm.mode = $cMODE.TV

and it magically just happens.

 

Some of the triggered programs contains dozens of line setting 12 coloured Hue and MiLight bulbs on with various colours along with the Insteon scenes for regular lights.

 

Programs can test the control variable for what scene is on at any moment.

Edited by larryllix

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.