Dark Sky - Yawb4oH2 (Yet another weather binding for openHAB 2)

Seems like Apple bought Dark Sky and APIs will stop eventually :frowning: :

Our API service for existing customers is not changing today, but we will no longer accept new signups. The API will continue to function through the end of 2021.

See:

https://blog.darksky.net/

But maybe itā€™s an Aprilā€™s fools joke :wink:

2 Likes

And no new customers. Website forecast is going away too :frowning:

:confounded:

I am afraid it is no fake. The news are full with it.

1 Like

Sorry, I read that as ā€œfull OF itā€. :dizzy_face: :dizzy_face:
But there is a TP shortage!

Iā€™m not sure what Appleā€™s game plan is here. Usually you donā€™t acquire a company and piss off a large contingent of users the same day itā€™s announced. Thatā€™s something you do quietly a few weeks later when no oneā€™s paying attention

Apple has never cared about that sort of thing.

Welp, time to go build my own weather station I guess. :angry: Or maybe itā€™d be better to spend the time going back to NOAA. At least they canā€™t be bought out by anyone.

And I paid their yearly subscription on the Android app. At least Iā€™ll get a refund for my subscription.

Probably better predictions than NOAA.

To add insult to injury, the DarkSky app on my Android phone just had a notification saying ā€œTo continue enjoying our service upgrade to the newest app.ā€ Iā€™ve never been much of a fan of Apple products but this is just insulting. Guess Iā€™m not getting a Mac when the lease on my work computer expires after all, not that they care. I was merely annoyed before but now Iā€™m pissed. :angry:

This is how I picture Rich when heā€™s upset.

image

Thereā€™s no emoji for a bowler hat, so please accept this poor substitute. :cowboy_hat_face:

6 Likes

That gave me a lol! Thanks! Great movie, even greater book!

2 Likes

So the API will work till 2021. (for now) - I use it mainly for the sunrise / sunset data. This is sadā€¦

I might start looking into this to use with the HTTP binding. https://www.weather.gov/documentation/services-web-api

The problem is the Event-based Triggers that the dark sky binding does on the sunrise and sunset trigger.

The astro binding can do that with many options.

Thatā€™s the NOAA REST API and I did a bit of initial work on it using the HTTP binding you can find at Which weather binding to use - #27 by rlkoshak. I abandoned the work when parsing the forecasted precipitation became challenging and then the excellent OpenWeatherMap and DarkSky bindings were released. Iā€™m going to switch over to OpenWeatherMap for now (Itā€™s a really easy switch as both have basically the same Channels) but their predictions and conditions for my area are not as accurate as others. NOAA should be pretty good because I believe they have a lot of sensors at the Air Force Academy that isnā€™t too far away.

But as Bruce points out, for sunrise and sunset the Astro binding is excellent.

@Bruce_Osborne Yeah, I looked at the Astro Binding, but the Dark Sky Binding was awesome and had everything.

@rlkoshak Thanks for the insight. I will look at OpenWeatherMap.

2 Likes

I wasnā€™t sure if you already knew or not but OpenWeather is offering a new One Call API. It gives current weather, hourly and daily forecasts in one API response.
Free access to 1,000 API calls per day.

Here is a good guide how to quickly migrate from Dark Sky API to One Call API. https://openweathermap.org/darksky-openweather

I hope it will help you :slightly_smiling_face:

1 Like

Quickly getting in the game, awesome!

1 Like

@cweitkamp just an FYI if you didnā€™t know

Thanks for the hint. There already is a feature request issue https://github.com/openhab/openhab-addons/issues/7308 I am participating.

@Chris_Martus Goods news are the new OWM One Call API delivers sunrise/sunset data too, thus it is possible to create the same openHAB trigger for them like we have in the Darksky binding.

@rlkoshak Did you find any channel missing for OWM binding which is available on DarkSky binding? If so I will try to add it. There is a complete mapping available.

2 Likes

I donā€™t use all the the channels so I canā€™t say. What I need is there in both bindings and they are basically identical in use so it is very easy to switch between the two. My biggest problem with OWM is the temp readings and forecast were not as accurate for my area as DarkSky. They OWM binding is excellent though.

1 Like

Goods news are the new OWM One Call API delivers sunrise/sunset data too, thus it is possible to create the same openHAB trigger for them like we have in the Darksky binding.

Awesome! Thank you so much! I will watch https://github.com/openhab/openhab-addons/issues/7308