MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. RIKKO14
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    R
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 71
    • Posts 322
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-soccer : black screen, problem of config.js

      I delete focus_on: { null }, and it’s good,

      thank you very much to you 2 !

      posted in Troubleshooting
      R
      RIKKO14
    • RE: MMM-soccer : black screen, problem of config.js

      yes my config.js is this directory /home/pi/MagicMirror/config/

      the problem comes from “}” or “},” but where ???

      2020-09-02-200854_1920x1080_scrot.png

      posted in Troubleshooting
      R
      RIKKO14
    • RE: MMM-soccer : black screen, problem of config.js

      alt text

      posted in Troubleshooting
      R
      RIKKO14
    • RE: MMM-soccer : black screen, problem of config.js

      this is my black screen,
      so my pb comes from my config.js
      2020-09-02-190404_1920x1080_scrot.png

      posted in Troubleshooting
      R
      RIKKO14
    • RE: MMM-soccer : black screen, problem of config.js

      alt text)

      posted in Troubleshooting
      R
      RIKKO14
    • RE: MMM-soccer : black screen, problem of config.js

      I don’t understand what you’re asking me to do …
      my pm2 logs is :

      pi@raspberrypi:~/MagicMirror/modules/MMM-soccer $ pm2 logs
      [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 15 lines:
      PM2        | 2020-09-02T16:53:22: PM2 log: ===============================================================================
      PM2        | 2020-09-02T16:53:22: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2020-09-02T16:53:22: PM2 log: App [mm:0] online
      PM2        | 2020-09-02T17:31:26: PM2 log: Stopping app:mm id:0
      PM2        | 2020-09-02T17:31:26: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
      PM2        | 2020-09-02T17:31:26: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
      PM2        | 2020-09-02T17:31:26: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
      PM2        | 2020-09-02T17:31:26: PM2 log: pid=568 msg=process killed
      PM2        | 2020-09-02T17:31:26: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2020-09-02T17:31:26: PM2 log: App [mm:0] online
      PM2        | 2020-09-02T18:38:38: PM2 log: Stopping app:mm id:0
      PM2        | 2020-09-02T18:38:39: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
      PM2        | 2020-09-02T18:38:39: PM2 log: pid=4304 msg=process killed
      PM2        | 2020-09-02T18:38:39: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2020-09-02T18:38:39: PM2 log: App [mm:0] online
      
      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm       | [2020-09-02 18:38:41.282] [ERROR]  WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:392
      0|mm       |         },
      0|mm       |         ^
      0|mm       | 
      0|mm       | SyntaxError: Unexpected token }
      0|mm       |     at Module._compile (internal/modules/cjs/loader.js:722:23)
      0|mm       |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
      0|mm       |     at Module.load (internal/modules/cjs/loader.js:645:32)
      0|mm       |     at Function.Module._load (internal/modules/cjs/loader.js:560:12)
      0|mm       |     at Module.require (internal/modules/cjs/loader.js:685:19)
      0|mm       |     at require (internal/modules/cjs/helpers.js:16:16)
      0|mm       |     at loadConfig (/home/pi/MagicMirror/js/app.js:67:12)
      0|mm       |     at App.start (/home/pi/MagicMirror/js/app.js:202:3)
      0|mm       |     at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:126:7)
      0|mm       |     at Module._compile (internal/modules/cjs/loader.js:786:30)
      
      /home/pi/.pm2/logs/mm-out.log last 15 lines:
      0|mm       | > magicmirror@2.12.0 start /home/pi/MagicMirror
      0|mm       | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      0|mm       | 
      0|mm       | [2020-09-02 18:38:41.268] [LOG]    Starting MagicMirror: v2.12.0
      0|mm       | [2020-09-02 18:38:41.277] [LOG]    Loading config ...
      0|mm       | [2020-09-02 18:38:41.285] [LOG]    Loading module helpers ...
      0|mm       | [2020-09-02 18:38:41.330] [LOG]    Initializing new module helper ...
      0|mm       | [2020-09-02 18:38:41.332] [LOG]    Module helper loaded: updatenotification
      0|mm       | [2020-09-02 18:38:41.334] [LOG]    No helper found for module: helloworld.
      0|mm       | [2020-09-02 18:38:41.336] [LOG]    All module helpers loaded.
      0|mm       | [2020-09-02 18:38:41.451] [LOG]    Starting server on port 8080 ... 
      0|mm       | [2020-09-02 18:38:41.465] [LOG]    Server started ...
      0|mm       | [2020-09-02 18:38:41.467] [LOG]    Connecting socket for: updatenotification
      0|mm       | [2020-09-02 18:38:41.469] [LOG]    Sockets connected & modules started ...
      0|mm       | [2020-09-02 18:38:41.550] [LOG]    Launching application.
      
      
      
      
      posted in Troubleshooting
      R
      RIKKO14
    • MMM-soccer : black screen, problem of config.js

      Hello,
      I have a problem with the module https://github.com/lavolp3/MMM-soccer.
      My screen is black, and i don’t see where is/ are the error(s)
      my config.js :

      	{
          module: 'MMM-soccer',
          position: 'top_left',
          config: {
              api_key: 'a7e82011ccab47a99ec1dd7847096caa',
              show:  ['FL1','CL1'],
              colored: true,
              updateInterval: 60,
              focus_on: {
                  null
              },
              max_teams: 5,
              matchType: 'league',
              widht: 250,
              updateInterval: 60,
              apiCallInterval: 10,
              showMatches: true,
              showTables: true,
              fadeFocus: true,
              max_teams: false,
              logos: true, 
              liveMode: true,
              numberOfNextMatches: 8,
              
          }
      },
      	
      

      the api_key is the API token after creat an account on https://www.football-data.org/, is that true ?
      thanks for your help

      posted in Troubleshooting
      R
      RIKKO14
    • RE: MMM-Google Assistant & MMM-MMM-Assistant2Display

      Super , merci .
      ça me convient comme ça sinon je vais tout dérégler…Merci !

      posted in Troubleshooting
      R
      RIKKO14
    • RE: MMM-Google Assistant & MMM-MMM-Assistant2Display

      Je viens de faire les commandes et j’ai ça :

      pi@raspberrypi:~/MagicMirror/modules/MMM-WiFiPassword $ pm2 logs
      [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 15 lines:
      PM2        | 2020-09-01T19:51:58: PM2 log: ===============================================================================
      PM2        | 2020-09-01T19:51:58: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2020-09-01T19:51:58: PM2 log: App [mm:0] online
      PM2        | 2020-09-01T19:57:19: PM2 log: Stopping app:mm id:0
      PM2        | 2020-09-01T19:57:19: PM2 log: pid=566 msg=failed to kill - retrying in 100ms
      PM2        | 2020-09-01T19:57:19: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
      PM2        | 2020-09-01T19:57:19: PM2 log: pid=566 msg=process killed
      PM2        | 2020-09-01T19:57:19: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2020-09-01T19:57:19: PM2 log: App [mm:0] online
      PM2        | 2020-09-01T20:04:02: PM2 log: Stopping app:mm id:0
      PM2        | 2020-09-01T20:04:03: PM2 log: pid=5525 msg=failed to kill - retrying in 100ms
      PM2        | 2020-09-01T20:04:03: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
      PM2        | 2020-09-01T20:04:03: PM2 log: pid=5525 msg=process killed
      PM2        | 2020-09-01T20:04:03: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2020-09-01T20:04:03: PM2 log: App [mm:0] online
      
      /home/pi/.pm2/logs/mm-error.log last 15 lines:
      0|mm       |     at DialServer.start (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/@bugsounet/cast/index.js:90:23)
      0|mm       |     at Class.addons (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:5119)
      0|mm       |     at Class.initialize (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:3606)
      0|mm       |     at MD5.cb (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:847)
      0|mm       |     at MD5.start (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/@bugsounet/md5/index.js:1:1669) {
      0|mm       |   code: 'EADDRINUSE',
      0|mm       |   errno: 'EADDRINUSE',
      0|mm       |   syscall: 'listen',
      0|mm       |   address: '::',
      0|mm       |   port: 8569
      0|mm       | }
      0|mm       | [2020-09-01 20:03:16.390] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | [2020-09-01 20:03:16.391] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | [2020-09-01 20:04:14.644] [ERROR]  (node:14624) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
      0|mm       | [2020-09-01 20:04:14.648] [ERROR]  (node:14624) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
      
      /home/pi/.pm2/logs/mm-out.log last 15 lines:
      0|mm       | [2020-09-01 20:04:19.396] [LOG]    [NPM] Initialized v0.9.5
      0|mm       | [2020-09-01 20:04:19.659] [LOG]    [ASSISTANT] Google Assistant is initialized.
      0|mm       | [2020-09-01 20:04:20.411] [LOG]    [SCREEN] Display -- Actual: true - Wanted: true
      0|mm       | [2020-09-01 20:04:21.013] [LOG]    [NPM] Details [
      0|mm       |   { name: '@bugsounet/npmcheck', installed: '0.9.5', latest: '0.9.5' },
      0|mm       |   { name: '@bugsounet/cast', installed: '1.0.0', latest: '1.0.0' },
      0|mm       |   { name: '@bugsounet/governor', installed: '1.0.3', latest: '1.0.3' },
      0|mm       |   { name: '@bugsounet/internet', installed: '1.0.0', latest: '1.0.0' },
      0|mm       |   { name: '@bugsounet/md5', installed: '1.2.2', latest: '1.2.2' },
      0|mm       |   { name: '@bugsounet/pir', installed: '1.0.4', latest: '1.0.4' },
      0|mm       |   { name: '@bugsounet/screen', installed: '1.0.3', latest: '1.0.3' },
      0|mm       |   { name: '@bugsounet/spotify', installed: '1.0.2', latest: '1.0.2' }
      0|mm       | ]
      0|mm       | [2020-09-01 20:04:21.019] [LOG]    [NPM] Check... MMM-Assistant2Display
      0|mm       | [2020-09-01 20:04:21.021] [LOG]    [NPM] No update needed for MMM-Assistant2Display
      
      0|mm  | [2020-09-01 20:04:54.401] [LOG]    
      0|mm  | [PIR] Sensor read value: 1
      0|mm  | [2020-09-01 20:04:54.402] [LOG]    [PIR] Detected presence (value:1)
      0|mm  | [2020-09-01 20:04:54.404] [LOG]    [SCREEN] Restart.
      0|mm  | [2020-09-01 20:04:57.217] [LOG]    
      0|mm  | [PIR] Sensor read value: 0
      0|mm  | [2020-09-01 20:05:10.254] [LOG]    
      0|mm  | [PIR] Sensor read value: 1
      0|mm  | [2020-09-01 20:05:10.255] [LOG]    [PIR] Detected presence (value:1)
      0|mm  | [2020-09-01 20:05:10.256] [LOG]    [SCREEN] Restart.
      0|mm  | [2020-09-01 20:05:13.138] [LOG]    
      0|mm  | [PIR] Sensor read value: 0
      0|mm  | [2020-09-01 20:05:43.509] [LOG]    
      0|mm  | [PIR] Sensor read value: 1
      0|mm  | [2020-09-01 20:05:43.510] [LOG]    [PIR] Detected presence (value:1)
      0|mm  | [2020-09-01 20:05:43.511] [LOG]    [SCREEN] Restart.
      0|mm  | [2020-09-01 20:05:46.659] [LOG]    
      0|mm  | [PIR] Sensor read value: 0
      0|mm  | [2020-09-01 20:05:53.620] [LOG]    
      0|mm  | [PIR] Sensor read value: 1
      0|mm  | [2020-09-01 20:05:53.620] [LOG]    [PIR] Detected presence (value:1)
      0|mm  | [2020-09-01 20:05:53.621] [LOG]    [SCREEN] Restart.
      0|mm  | [2020-09-01 20:05:56.432] [LOG]    
      0|mm  | [PIR] Sensor read value: 0
      0|mm  | [2020-09-01 20:06:05.186] [LOG]    
      0|mm  | [PIR] Sensor read value: 1
      0|mm  | [2020-09-01 20:06:05.187] [LOG]    [PIR] Detected presence (value:1)
      0|mm  | [2020-09-01 20:06:05.188] [LOG]    [SCREEN] Restart.
      0|mm  | [2020-09-01 20:06:08.004] [LOG]    
      0|mm  | [PIR] Sensor read value: 0
      0|mm  | [2020-09-01 20:06:13.621] [LOG]    
      0|mm  | [PIR] Sensor read value: 1
      0|mm  | [2020-09-01 20:06:13.625] [LOG]    
      0|mm  | [PIR] Detected presence (value:1)
      0|mm  | [2020-09-01 20:06:13.627] [LOG]    [SCREEN] Restart.
      0|mm  | [2020-09-01 20:06:16.438] [LOG]    
      0|mm  | [PIR] Sensor read value: 0
      0|mm  | [2020-09-01 20:06:22.798] [LOG]    
      0|mm  | [INTERNET] Ping: 14 ms
      0|mm  | [2020-09-01 20:06:24.435] [LOG]    
      0|mm  | [PIR] Sensor read value: 1
      0|mm  | [2020-09-01 20:06:24.439] [LOG]    
      0|mm  | [PIR] Detected presence (value:1)
      0|mm  | [2020-09-01 20:06:24.444] [LOG]    
      0|mm  | [SCREEN] Restart.
      0|mm  | [2020-09-01 20:06:27.251] [LOG]    
      0|mm  | [PIR] Sensor read value: 0
      0|mm  | [2020-09-01 20:06:32.163] [LOG]    
      0|mm  | [PIR] Sensor read value: 1
      0|mm  | [2020-09-01 20:06:32.164] [LOG]    [PIR] Detected presence (value:1)
      0|mm  | [2020-09-01 20:06:32.165] [LOG]    [SCREEN] Restart.
      0|mm  | [2020-09-01 20:06:34.985] [LOG]    
      0|mm  | [PIR] Sensor read value: 0
      0|mm  | [2020-09-01 20:06:39.836] [LOG]    
      0|mm  | [PIR] Sensor read value: 1
      0|mm  | [2020-09-01 20:06:39.836] [LOG]    [PIR] Detected presence (value:1)
      0|mm  | [2020-09-01 20:06:39.837] [LOG]    [SCREEN] Restart.
      0|mm  | [2020-09-01 20:06:42.715] [LOG]    
      0|mm  | [PIR] Sensor read value: 0
      
      

      ce qui voudrait dire ?

      posted in Troubleshooting
      R
      RIKKO14
    • 1
    • 2
    • 21
    • 22
    • 23
    • 24
    • 25
    • 32
    • 33
    • 23 / 33