System Time.Sunrise Indicator question

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
danes75
Member
Posts: 13
Joined: Sun Feb 06, 2005 11:52 am
Location: Houston, Texas

System Time.Sunrise Indicator question

Post by danes75 »

I live in Houston, Texas. In the evenings, it gets dark long before the actual sunset. Can I not use the ST.SI value if I want my lights to turn on 30 minutes before sunset? I read in the help files something about TimeAndDate, but I don't understand how to implement it. Trying to input a value of Days=0, Hours=00, Minutes=30, Seconds=00 doesn't work.



How do I do this?



thnx
ScottBot
Site Admin
Posts: 2790
Joined: Thu Feb 13, 2003 6:46 pm
Location: Georgia (USA)
Contact:

Post by ScottBot »

If you want to execute a Task 30 minutes before sundown, add a condition on the System Time.TimeAndDate Property. Set the condition to Equal. Set the value to SUNSET_DATE_AND_TIME - Days=0, Hours=00, Minutes=30, Seconds=00. The actual value that will show in the Task is the next time the condition will be true. It will update the time in the task each time the sunset time changes.
Scott
Post Reply