Message Boards Message Boards


Create an API that returns the time when the sun is at a certain position?

Posted 2 years ago
1 Reply
0 Total Likes

I've created an API that returns the altitude and azimuth for my hometown at the current date and time.

(see also for results)

But how can I create a API that returns the time when the sun is for example @ azimuth>=175°, or @ altitude >= 20° today for the given location? This would save a lot of API requests over the day :-)

(Purpose: Arduino project (with the Particle Photon) for home automation, driving shutters/blinds for shading of objects and energy harvesting)

Thanks in advance!

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract