n0bel / PiClock

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

Multiple APIs/ PWS information #186

Open xxxDrewedxxx opened 4 years ago

xxxDrewedxxx commented 4 years ago

I have recently installed a personal weather station and it has its own API from ambient weather. Would it be possible to add this api to pull the outdoor temp and other readings while keeping the darksky (or whatever replaces it) for the forecasts? Ideally I’d like to pull in NWS for watches and warnings, but that is for another day.

billlariv commented 3 years ago

I have modified the code from n0bel to include my Accurite 5in1 weather station. I am running a pi with the Accurite Bridge device. I am intercepting the web call to weather underground and it is writing the realtime.txt file. The interceptor is downloadable. It was written by Mathew Wall. I am also running weewx so I can pull up current weather on my phone when I vpn over cell. It currently updates from the realtime.txt file every 7 seconds, and I will possibly shorten that in the future. I personally want to do that to see more updates to wind/wind direction and rain rate. i am also playing with the icons for displaying rain. I do have a version running that each dot of rain in the icon is equal to 20 percent chance of rain. So if there is a 55 percent chance of rain it will show 3 rain drops below the cloud. I.E. more than 40 and less than 60 percent.
piclock

kc9rqi commented 2 years ago

@billlariv, I have this exact setup and would like to do the same, can you provide some guidance on how you did it?