I’ll test tomorrow morning and report back
Read the statement by Michael Teeuw here.
Latest posts made by Joeritn
-
RE: Some modules not displaying before 12 'o clock
-
RE: Error with npm run config:check (noob)
@sdetweil I did npm start in the MM folder. Is this what you mean? The mirror starts as it should, but on the bottom, there’s an error indeed. I have an internet connection.
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.12.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-08-06 15:32:13.341] [LOG] Starting MagicMirror: v2.12.0 [2020-08-06 15:32:13.356] [LOG] Loading config ... [2020-08-06 15:32:13.367] [LOG] Loading module helpers ... [2020-08-06 15:32:13.706] [LOG] Initializing new module helper ... [2020-08-06 15:32:13.708] [LOG] Module helper loaded: MMM-Remote-Control [2020-08-06 15:32:13.711] [LOG] No helper found for module: alert. [2020-08-06 15:32:13.713] [LOG] No helper found for module: clock. [2020-08-06 15:32:14.458] [LOG] Initializing new module helper ... [2020-08-06 15:32:14.459] [LOG] Module helper loaded: calendar [2020-08-06 15:32:14.460] [LOG] No helper found for module: compliments. [2020-08-06 15:32:14.461] [LOG] No helper found for module: currentweather. [2020-08-06 15:32:14.462] [LOG] No helper found for module: weatherforecast. [2020-08-06 15:32:15.232] [LOG] Initializing new module helper ... [2020-08-06 15:32:15.233] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify [2020-08-06 15:32:16.144] [LOG] Initializing new module helper ... [2020-08-06 15:32:16.145] [LOG] Check MagicMirror version for node helper 'MMM-Strava' - Minimum version: 2.2.0 - Current version: 2.12.0 [2020-08-06 15:32:16.147] [LOG] Version is ok! [2020-08-06 15:32:16.148] [LOG] Module helper loaded: MMM-Strava [2020-08-06 15:32:18.042] [LOG] Initializing new module helper ... [2020-08-06 15:32:18.044] [LOG] Module helper loaded: MMM-GoogleAssistant [2020-08-06 15:32:18.103] [LOG] Initializing new module helper ... [2020-08-06 15:32:18.104] [LOG] Module helper loaded: newsfeed [2020-08-06 15:32:18.104] [LOG] All module helpers loaded. [2020-08-06 15:32:18.299] [LOG] Starting server on port 8080 ... [2020-08-06 15:32:18.303] [INFO] You're using a full whitelist configuration to allow for all IPs [2020-08-06 15:32:18.315] [LOG] Server started ... [2020-08-06 15:32:18.316] [LOG] Connecting socket for: MMM-Remote-Control [2020-08-06 15:32:18.318] [LOG] Starting node helper for: MMM-Remote-Control [2020-08-06 15:32:18.336] [LOG] Connecting socket for: calendar [2020-08-06 15:32:18.338] [LOG] Starting node helper for: calendar [2020-08-06 15:32:18.339] [LOG] Connecting socket for: MMM-NowPlayingOnSpotify [2020-08-06 15:32:18.340] [LOG] Connecting socket for: MMM-Strava [2020-08-06 15:32:18.341] [LOG] Starting module helper: MMM-Strava [2020-08-06 15:32:18.343] [LOG] Connecting socket for: MMM-GoogleAssistant [2020-08-06 15:32:18.344] [LOG] Connecting socket for: newsfeed [2020-08-06 15:32:18.346] [LOG] Starting node helper for: newsfeed [2020-08-06 15:32:18.346] [LOG] Sockets connected & modules started ... [2020-08-06 15:32:18.360] [ERROR] Whoops! There was an uncaught exception... [2020-08-06 15:32:18.361] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080 at Server.setupListenHandle [as _listen2] (net.js:1226:14) at listenInCluster (net.js:1274:12) at doListen (net.js:1413:7) at processTicksAndRejections (internal/process/task_queues.js:84:9) { code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen', address: '0.0.0.0', port: 8080 } [2020-08-06 15:32:18.373] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [2020-08-06 15:32:18.373] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [2020-08-06 15:32:18.501] [LOG] Launching application.
-
RE: Error with npm run config:check (noob)
@sdetweil this is the error:
Error: Wrong syntax in config file! at /home/pi/MagicMirror/js/check_config.js:66:10 at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3) npm ERR! code ELIFECYCLE npm ERR! errno 1
-
RE: Error with npm run config:check (noob)
@sdetweil I just want to fix the error “Wrong syntax in the config file!”. I thought I might be able to fix this myself, but you’re saying that it’s broken on release.
-
RE: Error with npm run config:check (noob)
So does this mean there’s nothing I can do about this, and wait for an update to resolve the issue?
-
Error with npm run config:check (noob)
I don’t have any clue how I should resolve this error. I’ve tried checking the file it refers to, but don’t see how I could fix anything. I don’t have any prior programming knowledge, so I’m resolving problems as I go about. Any help would be appreciated.
pi@raspberrypi:~/MagicMirror $ npm run config:check > magicmirror@2.12.0 config:check /home/pi/MagicMirror > node js/check_config.js [2020-08-06 14:57:35.794] [INFO] Checking file... /home/pi/MagicMirror/config/config.js [2020-08-06 14:57:36.054] [LOG] Line 1 col 1 Definition for rule 'prettier/prettier' was not found. /home/pi/MagicMirror/js/check_config.js:66 throw new Error("Wrong syntax in config file!"); ^ Error: Wrong syntax in config file! at /home/pi/MagicMirror/js/check_config.js:66:10 at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.12.0 config:check: `node js/check_config.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.12.0 config:check script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-08-06T12_57_36_107Z-debug.log
-
RE: Some modules not displaying before 12 'o clock
@sdetweil nope, no module scheduler
-
RE: Some modules not displaying before 12 'o clock
@sdetweil the “jarvis” command doesn’t bring up the Google Assistant. The indicator light of the webcam that acts as microphone doesn’t light up either. After 12 'o clock GA works again, but sometimes I have to do “pm2 restart mm” first.
I do have compliments on any time of the day. I’ve attached my config file below.
{ module: "compliments", position: "top_bar", config: { compliments: { anytime: [ "Hey there, sexy!" ], morning:! [ "Good morning, handsome!", "Enjoy your day!", "How was your sleep?", "Pluk de dag.", "Go get 'em, tiger!" ], afternoon: [ "Hello, beauty!", "You look sexy!", "Looking good today!", "Goeiemiddag, lekker ding!" ], evening: [ "Wow, you look hot!", "You look nice!", "Hi, sexy!" ], "....-01-01": [ "Happy new year!" ], "....-01-25": [ "Gelukkige verjaardag, Kelly!" ], "....-06-12": [ "Gelukkige verjaardag, Joeri!" ], "....-07-20": [ "Gelukkige verjaardag, Manou!" ], day_sunny: [ "Today is a sunny day", "It's a beautiful day" ], snow: [ "Snowball battle!" ], rain: [ "Don't forget your umbrella" ], night_clear: [ "Je kan sterretjes spotten!" ] } } },
-
Some modules not displaying before 12 'o clock
I’m encountering an issue where some modules won’t work before 12 'o clock in the afternoon.
As far as i’m aware, this happens every time with:- Compliments
- list itemMMM-GoogleAssistant
- list itemMMM-Remote-Control
I’ve checked the timezone of the raspberry pi and it’s correct for my case (Europe/Brussels; CEST)