Thanks, both solutions look interesting, especially the light level. Now I’ll take a look at both solutions …
it looked to me like you want to turn on the lights when the sun sets.(because you specifically say that is what you are doing) which “below_horizon” would achieve all year long.
If you look at the full automation posted above he is not just turning on the lights. He’s turning on different lights based on the sun elevation as it gets darker.
At least that’s what I take from it.
Yes, thanks for the good explanation…
1 Like
I have puzzled with this problem. My objective was to open blinds when the sun had risen enough to no longer shine into the windows.
I worked out that aizimuth and elevation are both needed to cater for seasons. However I haven’t mastered the mathematics to get useful answers.