Jump to content

Quick question on using sunrise/sunset


smileyw

Recommended Posts

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

Link to comment

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

Link to comment
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

Link to comment

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.

Link to comment
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

Link to comment

Archived

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


  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

  • Forum Statistics

    • Total Topics
      36.9k
    • Total Posts
      370.2k
×
×
  • Create New...