merky1 / PiClock

A Fancy Clock built around a monitor and a Raspberry Pi
MIT License
4 stars 3 forks source link

Drop calls to USNO for moon phase #29

Open merky1 opened 4 years ago

merky1 commented 4 years ago

The USNO API has been offline for over 6 mos, and does not seem to be on schedule to return. ClimaCell appears to have the moon phases, just need to find a new image provider.

merky1 commented 4 years ago

Wrapped the calls to USNO with a call to the suncalc npm if the URL fails. On top of that, climacell overwrites the call on every current conditions pull. I like the moon image, so I’ll keep the code around, but at this point I’m

merky1 commented 3 years ago

So maybe they’ll come back?

The USNO websites aa.usno.navy.mil, ad.usno.navy.mil, aristarchus.usno.navy.mil, maia.usno.navy.mil, rorf.usno.navy.mil, toshi.usno.navy.mil, and tycho.usno.navy.mil are undergoing modernization efforts. The expected completion of the work and the estimated return of service is Fall 2020, subject to change due to potential impacts of COVID-19.

merky1 commented 3 years ago

no update yet -

The USNO websites aa.usno.navy.mil, ad.usno.navy.mil, aristarchus.usno.navy.mil, maia.usno.navy.mil, rorf.usno.navy.mil, toshi.usno.navy.mil, and tycho.usno.navy.mil are undergoing modernization efforts. The expected completion of the work and the estimated return of service is Fall 2020, subject to change due to potential impacts of COVID-19.

https://www.usno.navy.mil/

merky1 commented 2 years ago

Still down, but the site acknowledges delays, so????

from a risk perspective, I use suncalc if USNO times out, so I’m only missing the images of the current phase. I’m gonna keep the calls in place in hopes that USNO comes back.