Closed jholmes09 closed 6 years ago
Yahoo weather API is another good one. I use that for a project I built.
On Fri, May 18, 2018 at 12:50 PM, jholmes09 notifications@github.com wrote:
This feature would use your geographical location to determine what time sunrise & sunset is, triggering a playlist accordingly. You could either set your city or your coordinates.
Here are some APIs and libraries that could help (I think):
https://sunrise-sunset.org/api
https://github.com/dmkishi/Dusk2Dawn
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/smeighan/xLights/issues/1136, or mute the thread https://github.com/notifications/unsubscribe-auth/AVcajdK367ZKFAQ1ZUWZzd7HUf0FmTRTks5tzwn_gaJpZM4UFHl- .
-- Jennifer C Wylie
Not that I want to jump into coding this feature but I've written a lot of astronomy code over the years and I have my own code that using your GPS location and date/time can calculate sunrise, sunset, moon position, sun position, as well as the positions of Jupiter's 4 major moons.
sunrise and sunset will be legitimate times in the next release. You will need to choose your nearest location in the settings.
This feature would use your geographical location to determine what time sunrise & sunset is, triggering a playlist accordingly. You could either set your city or your coordinates.
Here are some APIs and libraries that could help (I think):
https://sunrise-sunset.org/api
https://github.com/dmkishi/Dusk2Dawn