Read the statement by Michael Teeuw here.
Default Weather module not loading and no error showing.
-
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'Personal Calendar', position: 'top_left', config: { calendars: [ { symbol: 'calendar-check-o ', url: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' } ] } }, { module: 'compliments', position: 'lower_third' }, { module: 'currentweather', position: 'top_right', config: { locationID: '2802154', appid: 'XXXXXXXXXXXXXXXXXXXXXXX' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { locationID: '2802154', appid: 'XXXXXXXXXXXXXXXXXXXXXXX' } }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "HLN BE", url: "http://www.hln.be/rss.xml" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;} -
That in fact looks perfectly fine. Did you try to reboot your pi to check if currentweather comes up?
Try to press F12 in the browser while MagicMirror is running and check the console for errors -
Restarted MM a couple of times. I’ll reboot the PI and see what’s happening.
-
Nope, Rebooted the PI and still nothing.
-
And console of your browser does not show a single error?
-
How do I get there? Sorry for noobish question. It runs full screen.
-
If you press F12 in your browser you should see a development interface, one is called console and should show information, warnings and - maybe - errors
-
I just tried your currentweather settings with my appid and instantly see the current weather. Did you check your appid again?
-
Registerd to the site, asked an API and that API shows in “my api” folder on the website. Already removed it and re-entered it.
-
Isn’t there a log file I can check?
-
would you send me your api key by private message/chat?
-
@Preve said in Default Weather module not loading and no error showing.:
Isn’t there a log file I can check?
Yes, there is.
If you are starting your magicmirror with pm2 you can runpm2 logs mmto check for errors. And you can check the browser console -
0|mm | No helper found for module: currentweather.
0|mm | No helper found for module: weatherforecast.
0|mm | Initializing new module helper …
0|mm | All module helpers loaded.
0|mm | Starting server op port 8080 …
0|mm | Server started …
0|mm | Connecting socket for: updatenotification
0|mm | Connecting socket for: calendar
0|mm | Starting node helper for: calendar
0|mm | Connecting socket for: newsfeed
0|mm | Starting module: newsfeed
0|mm | Sockets connected & modules started …
0|mm | Launching application.
0|mm | Create new calendar fetcher for url: XXXXXXXXXXXXXXXXXXXXXXXX - Interval: 300000
0|mm | Create new news fetcher for url: http://www.hln.be/rss.xml - Interval: 300000That’s in the mm-out-0.log.
The mm-error-0.log is empty -
The strange thing… I install another weather module MMM_Wunderground, get an API key and it works. Just copy pasted in the config.js and changed the API and pws. restarted MM and got directly what I needed. Strange. very strange.
-
I’ve had it malfunction a couple of time to, but it usually starts working again after a couple of hours/next day. Seems to me that i’s a connection issue since I don’t change anything for it to work again.
-
@Preve when I applied for the API Key it wasn’t working for a while as well. I had to wait until it was ready to use in their system.
-
@broberg But when the API-key is wrong or maybe too soon used, wouldn’t you get any kind of loading error? In my case there was nothing showing on my screen.
-
@Preve said in Default Weather module not loading and no error showing.:
@broberg But when the API-key is wrong or maybe too soon used, wouldn’t you get any kind of loading error? In my case there was nothing showing on my screen.
Yes, it does show this alert. As I said … Press F12, change to console and look for errors. I removed one character in my appid, and this is what happens:

-
@yawns Finally found a way to get in the browser. I’m quite happy with the new weather module. So I stop this thread and mark it as solved in some kind of.
Thank you all for all efforts.
Now the search begins to have a good MP3/radio station player. I would like to build in some speakers I have in my garage and give them a new function in this project. -
Hi,
I am having the same problem right now. I was previously using the default weather module and it was working perfectly fine. However, due to some reasons, I had to uninstall everything on my Pi and start working with a fresh install of OS to everything else.
I installed MM2 again, made necessary changes in config but somehow the weather module is not showing up.
I even tried looking at logs but there is no error there. Even in the browser console.
It would be really appreciated if someone could help me with this.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login