Read the statement by Michael Teeuw here.
Default Weather Broke After Update
-
@DarrenHill we changed the module code to match the new api. (which is why it stopped working) nothing new coming.
other providers are available. see the doc. i don’t know which ones work in which geography, or their requirements. (apikey…)
-
@DarrenHill said in Default Weather Broke After Update:
given it worked prior to the 2.30 upgrade (ie this morning).
they told us in no uncertain terms the old api was dead(stopped working) in January, June and October…
-
@sdetweil OK thanks - clear.
I’ll have a quick play with the other providers, although the met office are also changing their API in September so probably one to also avoid if future-proofing is desirable.
As you say, so much fun…
Edited to add - swapped to the met office data hub one (not the main one, as that’s the one that’s expiring soonish) and was a fairly painless changeover after getting a new account and API key there. All good now.
-
-
The same happened to me, my fix was a bit simpler but maybe only temporary …
It seems the default endpoint has changed - the documentation still says that the default for weatherEndpoint should be ‘/weather’, but I think in the latest update that changed to ‘/onecall’. For those of us with old api keys I think it’s still ok to use the /weather endpoint, you just need to specify that in the config now that it’s no longer the default.
weatherEndpoint: '/weather',
-
@AndyHazz did you also change the apiKey back to 2.5?
-
@sdetweil I just re-set up my MagicMirror, and I had to change it back to 2.5. I was trying to change to the 3.0 API, but I did not want to give my credit card number. I tried to use two different pre-paid gift cards (two different types from two different sources), but OpenWeather’s system would not accept either. (Both said “this credit card cannot be used for this purchase” or something similar.) It makes me wonder if maybe OpenWeather had too much push-back on the 3.0 API (either the API change itself or issues or complaints about billing).
I do expect the 2.5 API to stop working at some point. Do you know if there is a way for the default weather module to detect an API failure and have it display an error, as opposed to the eternal “Loading…” message? It might help jog the memory for people like me, and give a better toehold for others when they come to the forums seeking help.
-
@joey no. almost none of the modules present good ui
messages.