This object is in archive! 
Sun elevation and azimuth
Answered
Does anybody have a php script to calculate the sun position to send to my virtual meter or something else to add to my roller shutter scripts ?
Thanks
No connection
Real-time notifications may not work
any api ?
any api ?
I will migrate from Vera Edge to Zipabox when I can use current sun azimuth and altitude at my location in Zipabox.
Hans
I will migrate from Vera Edge to Zipabox when I can use current sun azimuth and altitude at my location in Zipabox.
Hans
I don't have complete code for this, but this seems fairly straightforward using the date_sun_info function: http://php.net/manual/en/function.date-sun-info.php
I don't have complete code for this, but this seems fairly straightforward using the date_sun_info function: http://php.net/manual/en/function.date-sun-info.php
Hello guys,
you can use Astro events such as Sunrise and Sunset in the scheduler puzzle for your location if you use Virtual weather station. You can also use a +/- offset. Scheduler puzzle is then used to trigger a Rule at a certain time of the day on predetermined days of the week. For more info on our Rules creator please see our knowledgebase, the section Rules creator https://community.zipato.com/knowledge-base/articles
Regards
Hello guys,
you can use Astro events such as Sunrise and Sunset in the scheduler puzzle for your location if you use Virtual weather station. You can also use a +/- offset. Scheduler puzzle is then used to trigger a Rule at a certain time of the day on predetermined days of the week. For more info on our Rules creator please see our knowledgebase, the section Rules creator https://community.zipato.com/knowledge-base/articles
Regards
Hrvoje, I use the astro to trigger a meter on/off at surise and sunset. Three times the last two weeks, the OFF (sunset) has not been triggered, though. I monitor my network, so there has not been internet downtime in my house at the time astro should have triggered the meter.
So I am not sure if I trust the scheduler before there is an explaination to this. I would definately not use it to control pacemakers, life support machines or other important equiment typically controlled by Zipabox (at sunset) ;)
Hrvoje, I use the astro to trigger a meter on/off at surise and sunset. Three times the last two weeks, the OFF (sunset) has not been triggered, though. I monitor my network, so there has not been internet downtime in my house at the time astro should have triggered the meter.
So I am not sure if I trust the scheduler before there is an explaination to this. I would definately not use it to control pacemakers, life support machines or other important equiment typically controlled by Zipabox (at sunset) ;)
Replies have been locked on this page!