Chuck Posted March 11, 2008 Posted March 11, 2008 I have several timers, but one in particular has some problems. If Time is 6:00:00AM And From 12:00:00AM on 2007/12/01 To 11:59:59PM on 2012/04/30 And Status 'Living Room Ceiling Fan (load' is On Then Set Scene 'Living Room Fan' Off Else - No Actions - (To add one, press 'Action') If I check the Program Summary, this timer event is always checked whenever ANY device status is changed. In other words, it is always listed in the group of programs last run. This led me to believe that because the dates part of the program was true, it had to check the rest of the program all the time. So I moved the program into a folder with this condition: Folder Conditions for '6:00 AM' Add conditions to limit when programs in this folder are allowed to run. If Time is 6:00:00AM Then Allow the programs in this folder to run. I then noticed anytime I pressed activated the Fan scene, the fan would turn off a couple seconds later. The Program Summary revealed the status of the "6:00 AM" folder as True. It's now 6:25 PM and the Configuration tab says the same.
Algorithm Posted March 11, 2008 Posted March 11, 2008 Hi Chuck. What is the intended purpose of this program, and what is the purpose of the date portion of the condition? That clause will always be true for the next four years. Since all three clauses are AND conditions, and since the date clause is always TRUE, it could be removed from the condition without changing the logic (until 20012/05/01).
Chuck Posted March 12, 2008 Author Posted March 12, 2008 Hi Darrell, My mistake, the dates should be 12/1/07 to 4/30/08. The purpose of the program was to turn the fan off at 6:00 AM only during the winter months. Do you know why the status of the 6:00 AM folder was 'True' at 6:30 PM?
Algorithm Posted March 12, 2008 Posted March 12, 2008 Ah, yes now I understand your Winter clause. The original program looks fine; what was it doing or not doing? For the folder condition, try a time range of from 6:00am to 6:01am.
Recommended Posts