Read the statement by Michael Teeuw here.
MMM-OpenWeatherMapForecast stuck on Loading....
-
@sdetweil any thoughts on why this is occurring on a fresh install of MM and this module? I also just checked the MM change logs and i am definitely running the latest version (## [2.20.0] - 2022-07-02).
Ally
-
@ally no idea. but without the code change, we won’t know what the error is…
only thing I can think of is the apikey has a leading or trailing space, making it bad
-
@sdetweil yeah, I was worried that might be the case as well, which is why I went to a fresh install and left the original weather module using the same key.
Same key, same quotes, no spaces, default settings and this is the result.
Config is setup for default weather module current, then forecast and then MMM-OpenWeatherMapForecast, which is stuck on Loading.
-
@ally again need the startup messages w the new code
I copy/pasted the config u supplied exactly and change to my API key and it worked as expected. so it’s not a config problem.
it’s an apikey problem
-
@sdetweil I deleted the old api key and made a new one, same result. The default weather modules load and this one doesn’t.
-
@ally what is the message from the terminal window w the new code?
-
@ally I removed the location name (e.g. New York) and just used the locationID number and it started to work
-
@stevengill he doesn’t have location specified with the weathermap module
-
@sdetweil sorry, I must have misread this and thought this was their code
-
@sdetweil This is new.
oad stylesheet: modules/MMM-OpenWeatherMapForecast/MMM-OpenWeatherMapForecast.css loader.js:162 Styles loaded for: MMM-OpenWeatherMapForecast loader.js:164 Translations loaded for: MMM-OpenWeatherMapForecast loader.js:184 Load script: modules/default/newsfeed/newsfeed.js module.js:509 Module registered: newsfeed loader.js:155 Bootstrapping module: newsfeed loader.js:244 File already loaded: moment.js loader.js:160 Scripts loaded for: newsfeed loader.js:203 Load stylesheet: modules/default/newsfeed/newsfeed.css loader.js:162 Styles loaded for: newsfeed loader.js:164 Translations loaded for: newsfeed loader.js:203 Load stylesheet: css/custom.css alert.js:47 Starting module: alert updatenotification.js:18 Starting module: updatenotification clock.js:48 Starting module: clock calendar.js:87 Starting module: calendar compliments.js:38 Starting module: compliments weatherprovider.js:35 Weather provider: OpenWeatherMap initialized. weatherprovider.js:46 Weather provider: OpenWeatherMap started. weatherprovider.js:35 Weather provider: OpenWeatherMap initialized. weatherprovider.js:46 Weather provider: OpenWeatherMap started. MMM-OpenWeatherMapForecast.js:145 Starting module: MMM-OpenWeatherMapForecast newsfeed.js:65 Starting module: newsfeed main.js:501 All modules started! openweathermap.js:63 Could not load data ... XMLHttpRequest (anonymous) @ openweathermap.js:63 weather.js:150 New weather information available. openweathermap.js:43 Could not load data ... XMLHttpRequest (anonymous) @ openweathermap.js:43 weather.js:150 New weather information available. openweathermap.js:63 Could not load data ... XMLHttpRequest (anonymous) @ openweathermap.js:63 weather.js:150 New weather information available. openweathermap.js:43 Could not load data ... XMLHttpRequest (anonymous) @ openweathermap.js:43 59weather.js:150 New weather information available.