Replace Dark Sky API
According to https://blog.darksky.net, Apple has purchased Dark Sky and will shut down the api at the end of 2021. Thus, we need a new data source.
@genebean - potentially weather.gov? They have an open API.
I discovered that the original project died when piwapi stopped working due to weather.com, so I'm following any replacement pretty closely.
@genebean - potentially weather.gov? They have an open API.
I looked at that last night but it looked to only have weather for the US
Perhaps OpenWeatherMap? Seems the free tier is limited to 1 API call / sec, which is (in my opinion) way more than necessary - my own weatherpi was querying once per 5min.
Looks like they have current forecast API and 5-day forecast API that would likely emulate the previous functionality, and looks like it supports a lot of different localization capabilities.
I'm currently waiting on the API key to get activated (apparently it takes a few hours) to try some testing with those two endpoints:
Within the next couple of hours, it will be activated and ready to use.
I am also apparently very impatient 😆
Alright, API key got activated, looks like we also have the ability to use icons from their site itself (or write something to use the existing icons); example output is below from their site: https://samples.openweathermap.org/data/2.5/forecast?id=524901&appid=b6907d289e10d714a6e88b30761fae22
Icon info is here.
So far, looks pretty reasonable - thoughts?
Please do let us know if you can get that API working. I literally bought a screen in a case for this to wall mount it on the 28th, arrived today. I checked on here to start working at setting up my new weather display! To my dismay its over with...
That really sucks @fraser386! I'll absolutely get it working and will keep this issue updated with progress. I am certainly considering Open Weather Map @MarticusH. I am also checking with two other sources that look like they may have more to offer too in hopes that one of them will pan out.
Thank you @genebean!
Cool cool, thank you @genebean - let us know what you decide on!
I contacted Foreca at a users suggestion but it seems they don’t currently offer anything free or near-free. I have a meeting scheduled for today though that I’m hoping pans out.🤞More info soon.

Just had a great call with Climacell and found out that in a matter of days they will have a free tier for their weather api that has limits similar to what Apply just killed off for Dark Sky. This is what I plan to move us to. They directed me at the right set of api docs and are checking to see if there will be free air quality info available too. I hope to get this turned around pretty quickly but want to do it in conjunction with merging in some contributions from @metaMMA as that work will make this work easier.
Just a quick update to say I haven’t forgotten about this. I’m still working with @metaMMA to get their enhancements merged in. Hopefully I’ll have more news soon.
Thanks!
Sent from my iPhone
On Apr 25, 2020, at 1:23 AM, Gene Liverman [email protected] wrote:
Just a quick update to say I haven’t forgotten about this. I’m still working with @metaMMA to get their enhancements merged in. Hopefully I’ll have more news soon.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
Tonight I started writing the actual Python module to pull forecast data from ClimaCell. Prior to this I’ve been wrapped up in other improvements and some unrelated work. It feels good to start interacting with the new api. 👋 Darksky
Sent with GitHawk
@genebean - Thank you for this! Is this work on a branch somewhere that one could preview/test?
It makes me really happy to see this integration happening. Such a good project. Keeping my eye out for anything I can help with.
Also very interested in this work. If there is a testable branch I would be happy to take it for a spin.
@genebean still no updates on the ClimaCell version of the weather app?
Did you get any further with the API over the last 6 months?
Hi Everyone. I just installed bolt 1.4.0 version but dont know about the API Key. Is it still running with Dark Sky service? is it ready for the ClimaCell API? Thanks for this contribution!!
Hi Folks,
Perhaps https://openweathermap.org/api can also be a good alternative? Thanks for this.
love the project! has it been updated with the new api?
I guess author @genebean has been too busy, probably given the COVID situation. I'll try weather.com, since that works for my RAINMETER app...
I guess author @genebean has been too busy, probably given the COVID situation.
I'll try weather.com, since that works for my RAINMETER app...
I have. I recently started looking at this again and have come up with a plan. It's going to take some time as I don't have a lot of time to work on things, but this is going to be addressed as I still use PiWeatherRock every day.
If you have time, why not set out your plan in Projects and maybe some of us can help with tasks?
Any updates?
Another one here wondering about updates, this looks like a great project to work on with a couple of kids who love sciency stuff.
I’m hoping to dive back in this week. I’ve now got the extras motivation of my own setup not working well because the code doesn’t currently handle api errors well and, instead, spams the api with requests causing rate limits to be exceeded. All that to say I think my motivation has returned (finally).
FYI: I started working on this yesterday and plan to work more later today.
After hours of work today I have discovered I left a spaghetti like mess of intertwined code for myself 😞 I'm now working to refactor some of the current code to facilitate replacing Darksky. The upside: I think I see where things are screwy and overly complicated.
Awesome to see you working on this again, sorry to see it's being a pain!