smileyw Posted March 7, 2009 Posted March 7, 2009 Can someone explain something to me (remember, I am an ISY newbie...) I am trying to turn some lights off before sunrise. However, the program doesn't work the way I would expect it to. When I do this (set to run everyday): If Time is Sunrise - 1 hour Then Set Scene 'Second floor hallway' Off Set 'Kids Hall can lights' Off Else - No Actions - (To add one, press 'Action') Nothing happens. But, when I it this way it does. Do I really need to have a start and stop time to it for this to do anything? If so, why? (I would like to understand the logic here so I don't have problems in the future.) If From Sunrise - 1 hour For 1 second Then Set Scene 'Second floor hallway' Off Set 'Kids Hall can lights' Off Else - No Actions - (To add one, press 'Action')
Sub-Routine Posted March 8, 2009 Posted March 8, 2009 No, you shouldn't need a From-To time in a program. Do you have many other programs set to run at exactly the same time? If so you could change them to run a minute apart. You can find out by sorting the Program Summary table by the Next Scheduled Run column. I did try using an exact time as a folder condition and then I had to use a From-To so all the programs in the folder would run. Rand
smileyw Posted March 8, 2009 Author Posted March 8, 2009 No, you shouldn't need a From-To time in a program. Do you have many other programs set to run at exactly the same time? Rand No, I only have two time based programs, and the other one is sunset + 20 minutes. That is a very simple program, so I don't know what I am doing wrong? W
MikeB Posted March 8, 2009 Posted March 8, 2009 I just setup the following program last night and it ran fine this AM: If Time is Sunrise - 1 hour Then Set Scene 'OfficeCounter' On Else - No Actions - (To add one, press 'Action') So, your program should run fine as well. As a test, try only turning one of the scenes off.
smileyw Posted March 8, 2009 Author Posted March 8, 2009 Okay, I will give it a try tonight. I really only need one of those two scenes anyway...
Sub-Routine Posted March 8, 2009 Posted March 8, 2009 Okay, I will give it a try tonight. I really only need one of those two scenes anyway... Smileyw, I have many programs that run at a specific time. In fact I have three that all run at Sunset with no problems, one of which has many Actions. To test your program change the Schedule to a minute from the current time, save, open the Event Viewer, set it to level 3, and watch what happens. You can save the Log and paste it here, that should help us. I am guessing there is something causing the ISY to become busy when your program runs. Thank you, Rand
Recommended Posts