Dark Sky End of Life: 2021
For those who've missed it, Dark Sky will be going End of Life at "the end of 2021." I'm not sure what global alternatives there are, but Americans can take advantage of weather.gov's API fairly easy.
The default weather agent will need to be replaced with something else before the end of 2021.
I suppose https://github.com/public-apis/public-apis#weather would be a good resource to review.
I've been using the NWS' API for a while. Have some sample agent code for it handy.
Openweathermap works pretty well.
weatherbit seems to have a free tier...I am looking to see if I can wrangle an "fix" together..
@virtadpt, do you want to contribute an improvement to the WeatherAgent?
FYI you can no longer sign up for a darksky API key
Anybody had a chance to look at my PR for switching the WeatherAgent to Openweather? I'm not sure the correct way to get on somebody's radar for this other than pushing up code.
Hi folks, just wondering what the state of this issue (and associated PR) are? Has any progress been made to update the weather API options?
Apple has determined that they will manage DarkSky under a new name (and you'll have to pay the Apple Developer fee of $100/yr): WeatherKit
This might be a good time to write an Agent class for https://api.weather.gov/
Pirate Weather has an APi designed to be a drop-in replacement for the Darksky API. API keys are free. Maybe this would be a useful stopgap?
Have you tried it @virtadpt? That's an elegant solution.
@cantino I haven't yet. I've been using the NWS API for a while and haven't migrated over yet.
Hello! I am a little bit confused on this one, I suppose there hasnt been any progress here?
Howdy! I went ahead and adapted the forecast-ruby gem to create pirate-weather-forecast-ruby. As the name suggests, pirate-weather-forecast-ruby uses the Pirate Weather API as a replacement for Dark Sky's API.
Tests and everything else are currently working, so now I'm just trying to get Huginn wired up to use the new gem. Once that's done I can make a PR to swap the lib.
I'll also make some efforts to clean up my code on the adapter once I have time.
I think I'm getting close. I can get the tests to pass, but the Coveralls action in the GitHub workflow is failing w/ Bad response: 422 {"message":"Couldn't find a repository matching this job.","error":true}:
@cantino @knu I admit I'm pretty inexperienced w/ Coveralls + Rails. Am I missing something here?
Hey @alexcochran, that doesn't look like something you broke. You might be able to skip the coveralls step and see if everything else works.
Thanks @cantino. I commented out Coveralls from the GitHub CI config and everything seems to work:
Should I go ahead and make a PR?
Sure!
On Sun, Sep 17, 2023 at 12:32 PM Alex Cochran @.***> wrote:
Thanks @cantino https://github.com/cantino. I commented out Coveralls from the GitHub CI config and everything seems to work https://github.com/alexcochran/huginn/actions/runs/6214888208:
[image: image] https://user-images.githubusercontent.com/22733754/268524232-d7dff908-7820-43f5-8b48-59a5760be36b.png
Should I go ahead and make a PR?
— Reply to this email directly, view it on GitHub https://github.com/huginn/huginn/issues/2732#issuecomment-1722549673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAUO67BNMNA2P5D72KIVPDX25F5BANCNFSM4L254WLQ . You are receiving this because you were mentioned.Message ID: @.***>