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

: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

Ooh, any chance your work here is worth reviving? I’ve been frustrated with the OWM data accuracy in my area and was considering attempting to hack on a binding for NOAA. Sounds like you got pretty far, and it could be a good starting place. I have no experience writing for openhab. Otherwise I was considering basing an implementation off of the OWM binding codebase

Have at it if you are interested. OWM has been accurate enough for my purposes so I’ve not gone any farther than posted here. But NOAA is kind of the root source for weather data for a lot of the other services anyway so it makes sense to go to the source.

Just make sure to review NOAA’s website because their APIs may have changed since the last time I looked into it.