Jump to content

Program won't run reliably


brobin

Recommended Posts

Posted

I have this set up as a program:

 

IF

From Sunset - 30 minutes

To Sunrise - 30 minutes (next day)

And Status 'EZD1.9.Arm Stay' is Off

And Status 'EZD2.A.Arm Away' is Off

 

Then

Set Scene 'At HomePM' On

Wait 7 seconds

Set Scene 'At HomePM' On

 

Else

Set Scene 'At HomePM' Off

 

The program works - usually. Sometimes it does not and for no apparent reason. Basically, this program turns on a bunch of lights before sunset as long as the alarm is disarmed. If we leave the house the lights go off when the alarm is armed and when we return they come back on till we arm the alarm at bedtime.

 

The program will run fine for days or weeks and then not run properly. The Program Summary will show 'false' when it should be 'true' and I don't know why. I have tried changing the order of the events and using the parenthesis around the time statement and even around the Status stements. All the iterations work - but only for a while. Sooner or later whatever iteration I'm using will stop working until I change the order yet again. To whatever extent it may make a difference, we did have a 1 hour power outage around lunchtime today.

 

Any ideas on how to make this more reliable are welcome.

Posted
The program will run fine for days or weeks and then not run properly. The Program Summary will show 'false' when it should be 'true' and I don't know why.

Hello Bruce,

 

If the program's status is False rather than True, then one of the If conditions must be False. If it occurs during the specified time range, then that only leaves the two Status conditions. When it next misbehaves, can you check the status of those two devices?

Posted
The program works - usually. Sometimes it does not and for no apparent reason.

I have this happen too. My event based on sunset will run fine for days and then miss a day. I noticed that if the ISY power resets or I back it up, then the event will skip today and show next scheduled run for tomorrow. I have to resave the program to bring it back to today.

 

Ruben

Posted

The program status does show False but all conditions are indeed True. I did check the status of both relays (even after a fresh Query) and they were off and the time was correct but, even running 'If' it still shows False. However, if I run 'Then' then the lights come on and the status changes to True.

 

As for the power failure affecting sunset, I did try resaving but that didn't help. I tried disabling and enabling too.

 

I wonder if there is some remnant left of the Sunset bug that was in 2.65?

Guest
This topic is now closed to further replies.

×
×
  • Create New...