Read the statement by Michael Teeuw here.
Weather module not loading
-
I have added the load delay but it still isn’t loading.
-
@aunrea can u show that part of the module config?
-
I am not sure this is the problem, but why are you using “apikKey”? My working OpenWeather module uses “appid”. Also, should it be “apiKey” (with only one “K”)?
I am using a config based off an old version, so I looked at the latest config.js.sample from the repo (https://github.com/MichMich/MagicMirror/blob/master/config/config.js.sample ), and it uses apiKey (with only one “K”).
{ module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", location: "New York", locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "YOUR_OPENWEATHER_API_KEY" } },
Lastly, if you have just generated your OpenWeather api key, it takes some amount of time (24 hours?) before it will start working. Hope this helps.
-
note that if u want forecast you need to set the endpoint
https://docs.magicmirror.builders/modules/weather.html#configuration-options, else it defaults to ‘/weather’
-
@sdetweil I did not notice the 2 ks. That was the problem!