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 runs manually fine, does not complete when triggered

Featured Replies

Posted

The program below runs manually every time. When the program is triggered the Coach Lites On Night executes, and the Set Sunroom Lamp Dimmer On executes but the next step after wait 4 minutes does not. Any ideas? I am trying putting all steps in one program rather than calling the other 2 programs but not sure why it works when running it manually from console.

 

Driveway coach lights night - [iD 0009][Parent 0007]
 
If
        Status  'Driveway-Opened' is not On
    And From    Sunset 
        To      Sunrise (next day)
 
Then
        Run Program 'Coach Lites On Night' (Then Path)
        Wait  37 seconds
        Set 'Sunroom Lamp Dimmer' On
        Wait  4 minutes 
        Run Program 'Coach Lites Off Night' (Then Path)
        Wait  17 seconds
        Set 'Sunroom Lamp Dimmer' Off
 
Else
   - No Actions - (To add one, press 'Action')
 
 

 

 

 

 

Because the "Driveway-Opened" changes status before the Wait 4 Minutes expires.

 

If you want that to work, put your Then in a second program and have them this program run the Then of the second program.

 

Sent from my SM-G955U1 using Tapatalk

  • Author

Trying the program this way and will wait for sunset to test

 

2-Driveway coach lights night - [iD 000C][Parent 0007]
 
If
        Status  'Driveway-Opened' is not On
    And From    Sunset 
        To      Sunrise (next day)
 
Then
        Set 'Lower Coach Lites' On
        Wait  10 seconds
        Set 'Upper Coach Lites' On
        Wait  5 seconds
        Set 'Sunroom Lamp Dimmer' On
        Wait  4 minutes 
        Set 'Upper Coach Lites' Off
        Set 'Lower Coach Lites' Off
        Wait  17 seconds
        Set 'Sunroom Lamp Dimmer' Off
 
Else
   - No Actions - (To add one, press 'Action')
  • Author

Because the "Driveway-Opened" changes status before the Wait 4 Minutes expires.

 

If you want that to work, put your Then in a second program and have them this program run the Then of the second program.

 

Sent from my SM-G955U1 using Tapatalk

Thanks. The driveway-opened event is a trigger to start Then steps. Im not sure what you mean it changes status. The driveway-open is a 2 seond event generated from an Insteon open / close sensor if I am understanding the log correctly...

Driveway-Opened Status 0% Mon 2017/07/31 08:27:47 AM System Log Driveway-Opened Status 100% Mon 2017/07/31 08:27:49 AM System Log Driveway-Opened Status 0% Mon 2017/07/31 08:27:47 AM System Log Driveway-Opened Status 100% Mon 2017/07/31 08:27:49 AM System Log

When the status of the trigger changes, the program is re-evaluated. Thus, it stops all action of the Then and will run the Else, even if it is empty.

 

Sent from my SM-G955U1 using Tapatalk

  • Author

Ah OK thank you. I will create 2nd program that executes all of the steps once triggered.

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.