Posts: 17
Threads: 7
Joined: Jan 2007
Reputation:
0
On a System Restart I wanted to query the Sunrise/Sunset Times to the current time and set a flag which would be used in other responses to determine if it is day or night.
How might this be accomplished?
Posts: 3,493
Threads: 476
Joined: Aug 2006
Reputation:
0
Comfort has a Night Time Flag that is automatically set at Sunset and cleared at Sunrise, so you do not need to manipulate flags
In the Response you can check the Night Time Flag eg
If NightTime <> 0 Then
Do Response x
Else
Do Response y
End If
Posts: 17
Threads: 7
Joined: Jan 2007
Reputation:
0
11-20-2010, 10:43 AM
(This post was last modified: 11-20-2010, 10:44 AM by EziAV.)
Thanks, exactly what I was after.