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.

Program doesnt fails to issue commands after wait

Featured Replies

Posted

My program summary says last run time and last finish time are the same.

 

 

If

Elk Area 'House' 'Alarm State' is Entrance Delay Active

And From Sunset

To Sunrise (next day)

 

Then

Set 'Lights / Study:Study Light' On

Set 'Lights / Living Room:Living Room Light' 35%

Wait 5 minutes

Set 'Lights / Study:Study Light' Off

Set 'Lights / Outside:Outside Garage Lights' Off

Set 'Lights / Porch Light Keypad' Off

 

Else

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

killervette

 

When statements after a Wait do not execute it means the If condition has changed before the Wait expires with the resulting reevaluation to False so the Else clause runs. Check the Status column which will likely indicate False for that last run condition.

 

Have this Program Run another Program which contains all the current Then statements and nothing in the If clause. The second Program will not reevaluate so the statements after the Wait will execute.

 

Lee

Is it possible the program evaluated false which would also give the same run time as finish time?

  • Author
killervette

 

When statements after a Wait do not execute it means the If condition has changed before the Wait expires with the resulting reevaluation to False so the Else clause runs. Check the Status column which will likely indicate False for that last run condition.

 

Have this Program Run another Program which contains all the current Then statements and nothing in the If clause. The second Program will not reevaluate so the statements after the Wait will execute.

 

Lee

 

Ok. I see now. That seems odd to me. I figured once the condition exists, it would execute through the entire then. I changed it to multiple programs. I will try it out tomorrow

killervette

 

For those of us who came from a programming background it is a little strange but there are uses for such behavior in an event driven environment. State variables, Insteon Status work the same way. The reevaluation applies to the Repeat function as well as the Wait function. The Wiki has a good explanation of how all these things interact.

 

Lee

  • Author
killervette

 

For those of us who came from a programming background it is a little strange but there are uses for such behavior in an event driven environment. State variables, Insteon Status work the same way. The reevaluation applies to the Repeat function as well as the Wait function. The Wiki has a good explanation of how all these things interact.

 

Lee

 

I will browse through the wiki. I have a lot of ideas on how I want things to function, and would rather have to do it only once. :)

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.