ebaauw / homebridge-ws

Homebridege plugin for virtual weather station
Apache License 2.0
107 stars 4 forks source link

Wunderground Api Key #3

Closed Frank-Friemel closed 5 years ago

Frank-Friemel commented 5 years ago

This is a very well developed plugin. I‘ve used WU for my own Weatherstation, but unfortunately WU has terminated the service. Are you going to support a new Api?

ebaauw commented 5 years ago

Thanks for the heads-up. I hadn’t seen this before, but checking my account, I found this: https://apicommunity.wunderground.com/weatherapi/topics/end-of-service-for-the-weather-underground-api.

Your subscriptions, and therefore access, will continue to work through 12/31/2018.

For developers who use WU API data for non-commercial purposes, you will have access to a new plan for a personal use, low call volume API. Stay tuned for more details as we build this out.

I guess we have to “stay tuned” for a month...

Do you have any suggestions for an alternative API? It should be easy enough to incorporate that, in place of or in addition to the Wunderground API.

Frank-Friemel commented 5 years ago

I always loved WU. I think I am going to wait what the new Api will bring.

Keep up the good work

ebaauw commented 5 years ago

Added support for OpenWeatherMap in v2.1.0. Note that this version needs changes to config.json, delete of ~/.homebridge/accessories/cachedAccessories, and a manual rename of the history files, see the release notes.

Frank-Friemel commented 5 years ago

Cool, I‘ll sign up for an api key and let you know if your plugin works for me

Frank-Friemel commented 5 years ago

Works as promised. And provides a great view with Eve:

img_0321

ebaauw commented 5 years ago

There some differences in the attributes between Wunderground and OpenWeatherMap, but it seems to work just as well. Incidentally, my Wundeground key still seems to work.

ebaauw commented 5 years ago

error: Wunderground error: this key is not valid due to exceeding rate plan

Looks like my Wunderground key no longer works.

https://apicommunity.wunderground.com/weatherapi/topics/end-of-feb-wu-api-update:

On March 4, 2019, all keys not connected to a personal weather station will be turned off.

As far as I can tell, they'll only offer a new free API to PWS uploaders (and then only for the data they provided?). I don't have a real PWS, so I won't be able to support the new API.