Read the statement by Michael Teeuw here.
MMM-OneCallWeather
-
I’ve installed the MMM-OneCallWeather module. I have one question and one problem…
The question relates to the MMM-OneCallWeather.css file. It was put in the MMM-OneCallWeather module directory. Does the module use it where it is or does it have to be moved or copied to the MagicMirror/css directory? I didn’t see any reference in the READ.md file that says move it so I’ve left it where it was in the MMM-OneCallWeather module directory.The second is my problem. This is what I’ve put in the config.js
{
module: “MMM-OneCallWeather”,
position: “top_right”, // This can be any of the regions.
// Best results in bottom_bar region due to horizontal default$config: { // See 'Configuration options' for more information. latitude: "37.956220", //Longitude from https://www.latlong.net/ longitude: "-122.258300", //Longitude from https://www.latlong.net/ - is West $ apikey: "425d9f4xxxxxxxxa9a6b4443bba3", // Openweather API key } },
when I start MM all I get is a blank screen… If I comment out the MMM-OneCallWeather, it all works as normal.
Any ideas… the only thing I could think of, was it might be related to the css file as mentioned above…
Thanks all.
Dennis -
It didn’t copy before I Submitted the post but the starting { is at the top…
Dennis -
@n6ng sounds like u didn’t do the npm install in the module folder
-
I thought I did but I did it again just in case but I still get the blank screen. All I see, is the mouse pointer…
-
@n6ng can u see the logs from npm start? or pm2 logs if you use pm2
-
Thank you Sam
/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | [23.02.2022 10:19.19.438] [ERROR] Whoops! There was an uncaught exception…
0|MagicMir | [23.02.2022 10:19.19.442] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
0|MagicMir | at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
0|MagicMir | at process. (/home/pi/MagicMirror/js/app.js:272:8)
0|MagicMir | at process.emit (node:events:394:28)
0|MagicMir | [23.02.2022 10:19.19.444] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [23.02.2022 10:19.19.445] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [23.02.2022 10:19.19.460] [ERROR] Whoops! There was an uncaught exception…
0|MagicMir | [23.02.2022 10:19.19.462] [ERROR] TypeError: Cannot read properties of undefined (reading ‘close’)
0|MagicMir | at App.stop (/home/pi/MagicMirror/js/app.js:257:14)
0|MagicMir | at process. (/home/pi/MagicMirror/js/app.js:272:8)
0|MagicMir | at process.emit (node:events:394:28)
0|MagicMir | [23.02.2022 10:19.19.464] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
0|MagicMir | [23.02.2022 10:19.19.465] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
0|MagicMir | [2488:0223/101920.289240:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initializationDennis
-
I have no problem with the internet connection at this time…
Dennis -
@n6ng I’ve reinstalled it 3 times now with the same result.
Just FYI.
Dennis -
Ok… I think I have identified a bigger problem. I have thus far loaded the following weather programs.
MMM-OneCallWeather
MMM-MyWeather
MMM-DynamicWeather
all with the same result… A blank screen when any of them are included in my MM. I do have the following modules working properly on my MM with no problem.alert
updatenotification
clock
calender-check
google-calendar
MMM-RAIN-RADAR
on-this-day
newsfeedAll working properly… When every I include any of the weather modules is when I get the blank screen… Hope this helps somehow.
Dennis -