Created At
May 03, 2024
Created By Joep Verhaeg
Calculate the sun's position like the solar azimuth angle to use with scenes to control roller shutters.
Created At
May 03, 2024
Last Update
May 06, 2024
Platforms
HC 3 Lite, Yubii Home Pro, Yubii Home, HC 3
Views
2630
Download
191

I don't understand the LUA example on your site. You mention there is a difference in azimuth between spring and summer. But as far as I understood, every day, regardless of the season, the azimuth always proceeds from 0 to 360 during the day. The difference is in the height/altitude of the sun at different azimuth values. But if your window gets light between 120 and 160 (in your example), that would be the same in summer and spring. So I would say your example scene always triggers at azimuth 120 and will always close the blinds. What did I misunderstand?

Yes, it still works. Did you set your HC3 location in the HC3 settings?

My HC3 isnt getting any data from the quick app its always 0, the app still working?
Yes, the height/altitude is changing, but the solar azimuth angle, which is the compass direction of the sun, changes throughout the year due to the Earth's tilt and its orbit around the sun. The time of year affects the sunrise and sunset azimuths, causing them to shift along the horizon.