Read the statement by Michael Teeuw here.
Wheather/ Wunderground not loading
-
Hi guys,
after a while of operation (https://forum.magicmirror.builders/topic/6101/my-1st-mm-project-as-a-noob-1-2m-x-0-6m-with-22-display?page=1) my wheather is not loading anymore on my mirror.
Sometimes I had to rebbot the mirror several times to get it started - now the wheater module is not loading anymore? Any hints for a noob to check?
Config:
{module: ‘MMM-WunderGround’,
position: ‘top_right’,
config: {
apikey: ‘xxxxxxxxxxxx’,
pws: ‘xxxxxxxxxxxxx’,hourly: ‘1’,
fctext: ‘1’,
fcdaycount: “4”,
fcdaystart: “0”,
hourlyinterval: “3”,
hourlycount: “2”,
alerttime: 10000,
alerttruncatestring: “english:”,
roundTmpDecs: 1,
coloricon: true,
daily:1,
iconset: “colourful”,
UseCardinals: 0,
layout: “horizontal”,
debug: 1,
sysstat: 0
}
With the command npm start dev I see following error:
{
“response”: {
“version”:“0.1”,
“termsofService”:“http://www.wunderground.com/weather/api/d/terms.html”,
“features”: {
}
,
“error”: {
“type”: “invalidkey”
,“description”: “this key is not valid due to exceeding rate plan”
}
}
}MMM-WunderGround.js:821 Uncaught TypeError: Cannot read property ‘estimated’ of undefined
at Class.processWeather (MMM-WunderGround.js:821)
at Class.socketNotificationReceived (MMM-WunderGround.js:1249)
at module.js:183
at r. (socketclient.js:25)
at r.emit (index.js:133)
at r.onevent (socket.js:270)
at r.MMSocket.self.socket.onevent (socketclient.js:19)
at r.onpacket (socket.js:228)
at r. (index.js:21)
at r.emit (index.js:133)Any ideas?
Thanks, Chris -
@chris1971 said in Wheather/ Wunderground not loading:
,“description”: “this key is not valid due to exceeding rate plan”
there it is…
looking thru google for that error, it is common, but then key becomes disabled… sounds like permanently…
only a new key will work…“I have seen in forums that when the usage exceeds limit the key will be disabled”
looks like the modules doesn’t handle the error
-
Thanks for the info - how can I implement another key in the module? Do I have to install a new weather module or is Wunderground working with another API key?
-
@chris1971 u would have to to weatherunderground and get a new key. Note that free keys no longer exist.
Old ones still work for a while I think
-
WU does not supply new API keys for free - I am looking for an opportunity only to change tie PAKi key in teh confis - an leaf the rest as it is. I was happy to have my mirrior confugured as it is… ;-)
-
@chris1971 I understand… but this is not possible… thus the number of new weather modules using other ‘free’ apis…
-
Thanks - then I have to try another module and update MM2…
Hope it works out…
-
The API was shut down. Heres the official statement (from: https://feedback.weather.com/customer/en/portal/articles/2970681-my-weather-underground-api-key-has-been-disabled-why-?b_id=17298)
***My Weather Underground API key has been disabled. Why?
The Weather Underground’s API has been retired. Keys have been closed down on a rolling basis since February 15, 2019. It will close down completely shortly. Information about this has been available through the API itself and online for nearly a year.
If you are a contracted, paying customer and feel you have been shut off in error, please click the blue ‘email us’ button below.
If you would like to explore paid plans on The Weather Company’s enterprise-grade API, please follow this link and fill out the form on that page.
At this time we do not anticipate offering free, ongoing “developer” level keys to The Weather Company’s API.
Thank you for your support of the Weather Underground API.***
Alternatives?
-
Thanks.
Does anyone have suggestions on the next best alternative? I feel like weather underground was relatively accurate, unlike some of the other options out there.
-
@kasperb: I will give this module a try:
https://github.com/cowboysdude/MMM-NOAA3
It has several options for placing API (weatherdata). So if one closes - i can switch to the next if needed…
I installed it today so i cannot say if the data (from weatherbit.io in my case) is reliable…