Jump to content

Program runs manually fine, does not complete when triggered


ewind

Recommended Posts

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')
 
 

 

 

 

 

Posted

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

Posted

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')
Posted

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
Posted

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

Guest
This topic is now closed to further replies.

×
×
  • Create New...