sunset and sunrise

Göran Kristiansson shared this question 9 years ago
Answered

How do I create a rule for sunset and sun rise?

Replies (1)

photo
2

Hello Göran,

you have to add a Virtual weather station in your Add new device wizard and choose your Country/City.


I have attached two simple Rules.

Every evening 20min after Sunset light switch will be turned On, and every morning 10min before Sunrise light switch will be turned Off.


Astro offset is measured in minutes. - value means that it will happen before the chosen Event and + value means it will happen after the chosen event.


You determine the repetition of the event by clicking the Edit button next to Repeat:


Hope this helps.


Best regards,


Hrvoje

Leave a Comment
 
Attach a file