Jump to content

Change made to program will not take affect


Moshe

Recommended Posts

I created a program that will dim lights on certain days of the week.  I removed one of the days (Sunday) but the program still dims the light on Sunday.  I tried re-adding Sunday and removing it again, but the program still runs on Sunday.  Any suggestions?  Currently I am running version 4.5.0.

 

Thanks

 

Moshe

Link to comment

UI and firmware at 4.5.0. 

 

Bathrooms - [iD 0022][Parent 0006]

If
        On Sat, Fri
        Time is  6:30:00PM
 
Then
        Set Scene 'Bathrooms / Bathrooms-100%' On
        Wait  4 hours and 30 minutes
        Set Scene 'Bathrooms / Bathrooms-50%' On
        Wait  8 hours and 30 minutes
        Set Scene 'Bathrooms / Bathrooms-100%' On
        Wait  2 hours and 30 minutes
        Set Scene 'Bathrooms / Bathrooms-50%' On
        Wait  1 hour and 30 minutes
        Set Scene 'Bathrooms / Bathrooms-100%' On
        Wait  3 hours
        Set Scene 'Bathrooms / Bathrooms-50%' On
        Wait  4 hours
        Set Scene 'Bathrooms / Bathrooms-100%' On
 
Else
   - No Actions - (To add one, press 'Action')
 

Link to comment

The program is initiated based on a start condition.. but has not stop condition. There is about 24 hours of elapsed time in the statements in the program, and it doesn't know to stop at midnight Saturday and keeps running through Sunday.

 

Short explanation, its working as designed.

 

You can put from/to in the program's 'If', but the problem with that is that will affect the operation of the program on Friday night.

 

My suggestion is a second program that runs at 11:59PM Saturday night that stops the first program in its tracks, and does any clean up to the lights you might want to do at that time

Stop Bathrooms - 

If
        On Sat
        Time is 11:59:00PM
 
Then
        Stop program 'Bathrooms'
        Set Scene 'Bathrooms / Bathrooms-???%' On
        

 

Paul

Link to comment

If
        On Sat, Fri
        Time is  6:30:00PM
  

I am going to hazard a guess that at 6:30 on the other days  (Sun,Mon,Tues,Wed,Thur) the logic is re-evaluated and it is False stopping the Then section from running further.

 

I haven't tested this. Perhaps other have tried this algorithm.

Link to comment

The program will run beginning Fri at 6:30PM until 7:30PM on Sat, and on Sat it'll run starting at 6:30PM (Fri is cancelled at this point) until 7:30PM on Sun. Eliminate Sat from the program.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...