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.

Hung up on Wait

Featured Replies

Posted

I wanted to set a delay between two HVAC units starting up, so I added a wait command in the program.

 

If

Elk Output 'RTZ' is On

 

Then

Set 'HVAC / Downstairs / Downstairs' 79° (Cool Setpoint)

Wait 30 seconds

Set 'HVAC / Upstairs / Upstairs' 79° (Cool Setpoint)

Send Notification to '**' content 'RTZ Confirmation'

Set Elk Output 'RTZ' Off

 

Else

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

 

Everything beyond the wait statement never fires.

 

I've read that a wait allows the IF to be re-evaluated, but I don't understand why this stops.

It never gets to the flag reset, so shouldn't it read true and continue the rest of the way through?

 

Without that line, the program runs as expected.

When statements after the Wait do not execute the condition the If is checking has changed before the Wait has expired. Perhaps the ELK Output is momentary. It turns On which triggers the Program but then turns Off. For sure the If condition has changed for some reason before the Wait expired.

  • Author

Bah..

 

That was exactly it, momentary output indeed!

 

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.