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.

Creating a Z-Wave looping query program

Featured Replies

Posted

I haven't used my ISY in awhile and now my mind is blank on how to do this.  I have a program that says under "Then" to query all z-Wave devices, then ends with "Repeat every 1 minute."  I used to have this working before I erased all my programs but confused now.  I have it set to run at start up but it doesn't seem like it actually is looping as it just shows last run time being when the ISY rebooted.  Do I need something in the IF?  I know I'm missing something obvious as this was easy in the past.  Thanks!!

Is there an If statement?  If that logic becomes false the program will stop.

 

Can you share the program? That will help

 

Paul

  • Author

I had an IF statement saying if the time is from 12am to 11:59pm, but wasn't sure if that did anything as under "next run time" it would show 11:59pm.  Here's the program right now:

 

https://imgur.com/a/FEtWO

Move the "Repeat" statement up to be the first statement. That will do it

 

Paul

  • Author

Great thanks so much, I knew it was something simple :)

I saw the original post here and it got me thinking.  Why would you want to query for status.  The devices should send the status back automatically on a transition and the ISY should have that data.  Am I missing something?

I haven't used my ISY in awhile and now my mind is blank on how to do this.  I have a program that says under "Then" to query all z-Wave devices, then ends with "Repeat every 1 minute."  I used to have this working before I erased all my programs but confused now.  I have it set to run at start up but it doesn't seem like it actually is looping as it just shows last run time being when the ISY rebooted.  Do I need something in the IF?  I know I'm missing something obvious as this was easy in the past.  Thanks!!

 

I don't know which ISY version you are using, but in version 4,a Repeat statement repeats only what follows the statement, not what precedes it.

I saw the original post here and it got me thinking.  Why would you want to query for status.  The devices should send the status back automatically on a transition and the ISY should have that data.  Am I missing something?

 

There are a number of zwave switches that do not automatically send their status when locally activated, like Insteon switches always have been. However it is becoming more prevalent in newer products and expected by z-wave users. 

There are a number of zwave switches that do not automatically send their status when locally activated, like Insteon switches always have been. However it is becoming more prevalent in newer products and expected by z-wave users. 

Thanks Paul.  I learned something new.

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.