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 WAIT?

Featured Replies

Posted

I notice that program examples provided by UD in the Wiki include a WAIT for 2 seconds before doing certain things (or after?). For example,

If
       Program 'Any "Family Evening Scene" Devices On' is True

Then
       Wait  2 seconds
       Set Scene 'KeypadLinc LEDs / Family Evening Scene LED' On

Else
       Wait  2 seconds
       Set Scene 'KeypadLinc LEDs / Family Evening Scene LED' Off

 

I have about 50 similar programs without the WAIT, and before I go through and add the WAIT, I'm curious as to its purpose / need. Is there something magic about the 2 seconds? 1? 3? Giving time for traffic to clear? I guess I'll go through and add all of the lines, but just curious...

 

Thanks

Typically, it is as you suspected. Sometimes folks add waits to give things time to react. My experience is that this is only helpful with X-10 commands. I do not use waits between insteon commands. I would definitely NOT use a wait statement to start. if yours works without wait statements, then I would not worry about it.

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.