Hi!
Is it possible to use solar noon (the time when the sun is highest in the sky) as a trigger in scenes? Sunrise and sunset is possible, but how do I do if I want the specific time just between sunrise and sunset?
Hi!
Is it possible to use solar noon (the time when the sun is highest in the sky) as a trigger in scenes? Sunrise and sunset is possible, but how do I do if I want the specific time just between sunrise and sunset?
You should find the the average of sunrise and sunset for a particular day is a very good estimate of solar noon.
Be warned, however, that the Luup functions luup.sunrise() and luup.sunset() give the Unix epoch for the NEXT event. Thus if you use luup.sunrise() in the middle of the day then you will get TOMORROW’s sunrise. So, sadly, the calculation is not as simple as just the average of these two results.
Noon is never too far away from 12:00 (forgetting any DST offset), typically varying by up to +/-15 minutes.
[hr]
Edit:
Heliotrope is your best bet…
Best Home Automation shopping experience. Shop at Ezlo!
© 2026 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules