Read the statement by Michael Teeuw here.
MMM-DynamicWeather
-
@george Thanks for the details. Really interesting, sorry to hear about your issues. I’m not sure how the module would effect some of these issues with the resolution, so that might not be related. However, the blocking sounds like it could be because of how the images are being rendered on top of other modules. I added an option called “zIndex” which should allow you to set what layer this module renders at, such that lower numbers means other modules can display over it. I’d suggest adjusting that to see if there is any difference.
Also, how have you been updating? I have been making numerous changes in the last several weeks that could have caused some of these issues. Perhaps it may help to just delete the MMM-DynamicWeather module folder and re-install it.
I will also look into adding some additional logging. In the meantime, you can run the command
npm start dev
in the MagicMirror folder. This will bring up the console dev tools in the mirror to look for errors. -
@scottcl88 Hi,
I updated it with “git pull” in the DynamicWeather folder. I will reinstall the module and let you know how it works.
Thanks, -
@scottcl88 I reinstalled the module and after two hours the mirror locked. CTRL + Q doesn’t work, the shut down button doesn’t work, I unplugged it. I tried “npm start dev” but I only see the activity after rebooting :(
-
@george hmm. What activity did you see after rebooting? Does it work for a little bit then crash?
Perhaps this module is timing out or too much going on that it locks things up; but that seems far-fetched to me. What other modules do you have? Do you mind sharing your config.js (remove sensitive info)?
I’ll definitely look into getting more logging and error catching in my module, but this may not be specific to this module. Has this happened with other modules; if you disable MMM-DynamicWeather does it always work? Have you tried updating your MagicMirror? Any recent changes to your installation or RaspberryPi?
-
@scottcl88 Hi,
yesterday the mirror crashed two hours after starting. I did not update the Magic Mirror folder from last year, from June or July. Now I updated with “git pull && npm install” and restarted the DynamicWeather module. I’ll write to you if it crashes again.
I don’t have many modules: the “default” modules and MMM-AirQuality, MMM-EyeCandy, MMM-ImagesPhotos, MMM-rain-forecast, MMM-Snow.
Thank you very much for your patience and understanding. I really like your module and I hope it will work on my mirrors :) -
@scottcl88 Hi,
an hour after the mirror was turned on, MMM-News disappeared (nothing was displayed), MMM-ImagesPhotos disappeared and the clock stopped. I disabled DynamicWeather, I restarted and now everything is ok. I think there is a conflict.
I’ve had mirrors for almost a year, it’s always worked perfectly, it’s the first time something like this has happened. -
@george I am having trouble reproducing. I installed MMM-News and MM-ImagesPhotos and have been running just fine for several hours and see all modules.
I did just push a new update to MMM-DynamicWeather with more logging and error handling, can you get latest and see if that does anything?
A few more things :
- I’ve posted my config.js, do you see anything notably different with yours that I should try?
- Can you verify your API key works by going to the link in your browser:
- https://api.openweathermap.org/data/2.5/weather?appid=API_KEY&id=LOC_ID
- You should be able to actually see the weather data.
- Have you reviewed this post about troubleshooting?
-
@scottcl88 Hi,
I reinstalled the module an hour ago on the mirror that has the most modules and the mirror work. :)
Many thanks!
-
the animations of the modul are always in foreground.
f.e. If i play a video in fullscren, the clouds in front of it.
Is it possible to change this? -
@sceetch Well that’s what the
zIndex
option is supposed to, but I don’t believe it works. As an alternative, you can change theopacity
to something lower and be able to see through the animations.Unfortunately I believe I would need to spend a lot more time re-writing the animations to get the
zIndex
thing to work. I might try to look into that later, or maybe someone from the community can take a try.There is an active issue for that: https://github.com/scottcl88/MMM-DynamicWeather/issues/36