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.

Question about semantics of Query

Featured Replies

Posted

If I "set query" to a scene, does it issue queries to all devices in that scene, or does it have some other semantic relative to the scene itself?

Background: I need to determine in sequence whether each one of a set of devices is responding (I'm detecting dead outdoor breakers) and send messages for any that aren't.

I determined (after years of not knowing this) that just asking if the device is responding doesn't actually check its state in real time, it just returns the last state the ISY stored for it. To update the "responding" state, I have to actively issue a query. This is why my program has only been working once a day (a default system program issues a global query once a day).

I know I can do a global query to the "entire system" folder, but that's overkill. I tried creating a subfolder to put my desired devices into so I could query the subfolder, but I couldn't find a way in the admin console to make a subfolder.

So instead I grouped them into a new scene, and made their actions all "query" (probably overkill, but I didn't want to risk inadvertently turning something on or off if I referenced the scene from my phone by accident).

So... if I query the scene, will it issue queries to all those devices and update their statuses?

If the answer is no, then given that the devices' actions in that scene are all "query," could I get what I wanted by setting the scene active instead?

Edited by lhranch

Solved by IndyMike

Go to solution
6 hours ago, lhranch said:

I tried creating a subfolder to put my desired devices into so I could query the subfolder, but I couldn't find a way in the admin console to make a subfolder.

Yes, you can have a folder inside or under another folder. Click on the parent folder and at the bottom of the left hand tree, select make folder.

The new folder will be under the folder you selected.

Is that what you were trying to do?

  • Solution
7 hours ago, lhranch said:

If I "set query" to a scene, does it issue queries to all devices in that scene, or does it have some other semantic relative to the scene itself?

A query to a scene will interrogate all of the scene members with one exception.  You cannot query secondary keypad buttons. 

DennisC answered your question on creating a device folder in the Admin tree.  Unfortunately, I don't know of a way to query a sub-folder, al least not with the ISY994.

You can absolutely use a program to query a scene and it will iterate through each member

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.