r/HomeWizard • u/kid1988 • 4h ago
Timer tasks with sunrise/sunset
how do you guys use sunset or sunrise in your timer tasks?
I have some timers set as "come home lights". They turn on at sunset (which is dynamic) and turn off at a set time (say 20:00h).
In the fall this works fine, since sunset moves farther and farther away from the set time, but in the spring the mechanism eventually breaks.
Once the sunset surpasses the "switch off" time (eg. sunset at 8.01pm), I would expect like the lights not to turn on, but instead they turn on for how many hours are between sunset and the off time. (23h59m).
The logic is "correct" but it renders the sunset/sunrise timer useless for year round automation of lighting
For "come home lighting" that turns on at sunset and turns off at a set time, the automation breaks at some point in the year if the turn off time is anywhere between 16:30h and 22:00h (approx winter and summer solstice sunset times in Amsterdam).
Example; a come home light that turns on at sunset and turns off at 20:00h, would be turned on the ENTIRE DAY from april through september.
How do you guys manage this?
Also, other than lighting, what do you use sunset/sunrise for in your automations?