huginn icon indicating copy to clipboard operation
huginn copied to clipboard

Dark Sky End of Life: 2021

Open xnaas opened this issue 6 years ago • 10 comments

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.

xnaas avatar Apr 02 '20 21:04 xnaas

I suppose https://github.com/public-apis/public-apis#weather would be a good resource to review.

ghost avatar Apr 02 '20 21:04 ghost

I've been using the NWS' API for a while. Have some sample agent code for it handy.

virtadpt avatar Apr 03 '20 19:04 virtadpt

Openweathermap works pretty well.

e-alfred avatar Apr 04 '20 12:04 e-alfred

weatherbit seems to have a free tier...I am looking to see if I can wrangle an "fix" together..

seigel avatar Apr 06 '20 17:04 seigel

@virtadpt, do you want to contribute an improvement to the WeatherAgent?

cantino avatar Jun 24 '20 20:06 cantino

FYI you can no longer sign up for a darksky API key

snus-kin avatar Jul 17 '20 15:07 snus-kin

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.

erebor avatar Jul 28 '20 20:07 erebor

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?

xthursdayx avatar Sep 01 '21 05:09 xthursdayx

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

ghost avatar Jun 20 '22 06:06 ghost

This might be a good time to write an Agent class for https://api.weather.gov/

virtadpt avatar Jun 20 '22 18:06 virtadpt

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?

virtadpt avatar Jan 06 '23 01:01 virtadpt

Have you tried it @virtadpt? That's an elegant solution.

cantino avatar Jan 15 '23 22:01 cantino

@cantino I haven't yet. I've been using the NWS API for a while and haven't migrated over yet.

virtadpt avatar Jan 16 '23 19:01 virtadpt

Hello! I am a little bit confused on this one, I suppose there hasnt been any progress here?

IBakeCookies avatar May 19 '23 23:05 IBakeCookies

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.

alexcochran avatar Sep 11 '23 23:09 alexcochran

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}:

image

@cantino @knu I admit I'm pretty inexperienced w/ Coveralls + Rails. Am I missing something here?

alexcochran avatar Sep 12 '23 18:09 alexcochran

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.

cantino avatar Sep 14 '23 01:09 cantino

Thanks @cantino. I commented out Coveralls from the GitHub CI config and everything seems to work:

image

Should I go ahead and make a PR?

alexcochran avatar Sep 17 '23 19:09 alexcochran

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: @.***>

cantino avatar Sep 19 '23 04:09 cantino