MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [Electron] display en screen after installing MMM-PIR-Sensor

    Scheduled Pinned Locked Moved Troubleshooting
    44 Posts 2 Posters 14.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      RIKKO14
      last edited by

      I reinstalled everything last night except the GA module and had the same problem.
      This morning I start all over again with the MMM-PIR module and the [Electron] screen is displayed instead of my MM screen.
      My pm2 log indicated that there is a Node.js version pb: I am in version 73 while the require version is version 64.
      So I put an issue on the link of this module to request an update of the module with Node.js version 73, hoping that there is only that.
      In the meantime I put aside this module and reinstall all the modules for the X time.
      my pm2 log :

      0|mm       | was compiled against a different Node.js version using
      0|mm       | NODE_MODULE_VERSION 64. This version of Node.js requires
      0|mm       | NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
      0|mm       | the module (for instance, using `npm rebuild` or `npm install`).```
      
      
      Thank you very much however for all your help and patience.
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @RIKKO14
        last edited by

        @RIKKO14 same instructions as post 5 of the topic

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          RIKKO14
          last edited by

          everything works except the PIR.
          thanks again for your help.
          now i need to customize the CSS because my display is so big .

          S 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @RIKKO14
            last edited by

            @RIKKO14 u used the electron rebuild instructions in the PIR module folder??

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • R Offline
              RIKKO14
              last edited by

              sorry I don’t understand your question …
              I do not know if I used the electron rebuild instructions in the PIR module folder. I preferred to remove the module so as not to have any conflict while I had the answer to my issue on the MMM-PIR forum because of the Node.js version problem
              There, I installed MMM-Assistant2Display which I am trying to adjust and for the moment I am encountering problems of use. I tried the PIR function of this module but it does not work, suddenly I wonder if my HC-SR501 would not be defective

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @RIKKO14
                last edited by sdetweil

                @RIKKO14 ok, the fix the node versions problem u need use the electron rebuild procedure I posted. it will throw this error long before ever testing the physical sensor.

                u said I started over, and reported the same node version conflict.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • R Offline
                  RIKKO14
                  last edited by

                  I’m lost, can you tell me another time the electron rebuild procedure you posted.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RIKKO14
                    last edited by

                    my logs :

                    pi@raspberrypi:~ $ pm2 logs --lines=100
                    [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
                    /home/pi/.pm2/pm2.log last 100 lines:
                    PM2        | 2020-08-22T15:45:31: PM2 log: pid=1888 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T15:45:31: PM2 log: pid=1888 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T15:45:31: PM2 log: pid=1888 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T15:45:31: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-08-22T15:45:31: PM2 log: pid=1888 msg=process killed
                    PM2        | 2020-08-22T15:45:31: PM2 log: App [mm:0] starting in -fork mode-
                    PM2        | 2020-08-22T15:45:31: PM2 log: App [mm:0] online
                    PM2        | 2020-08-22T15:55:13: PM2 log: App [mm:0] exited with code [1] via signal [SIGINT]
                    PM2        | 2020-08-22T15:55:13: PM2 log: App [mm:0] starting in -fork mode-
                    PM2        | 2020-08-22T15:55:13: PM2 log: App [mm:0] online
                    PM2        | 2020-08-22T15:55:14: PM2 log: Stopping app:mm id:0
                    PM2        | 2020-08-22T15:55:15: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-08-22T15:55:15: PM2 log: pid=2771 msg=process killed
                    PM2        | 2020-08-22T15:55:15: PM2 log: PM2 successfully stopped
                    PM2        | 2020-08-22T15:55:24: PM2 log: ===============================================================================
                    PM2        | 2020-08-22T15:55:24: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
                    PM2        | 2020-08-22T15:55:24: PM2 log: Time                 : Sat Aug 22 2020 15:55:24 GMT+0200 (GMT+02:00)
                    PM2        | 2020-08-22T15:55:24: PM2 log: PM2 version          : 4.4.1
                    PM2        | 2020-08-22T15:55:24: PM2 log: Node.js version      : 10.22.0
                    PM2        | 2020-08-22T15:55:24: PM2 log: Current arch         : arm
                    PM2        | 2020-08-22T15:55:24: PM2 log: PM2 home             : /home/pi/.pm2
                    PM2        | 2020-08-22T15:55:24: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
                    PM2        | 2020-08-22T15:55:24: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
                    PM2        | 2020-08-22T15:55:24: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
                    PM2        | 2020-08-22T15:55:24: PM2 log: Application log path : /home/pi/.pm2/logs
                    PM2        | 2020-08-22T15:55:24: PM2 log: Worker Interval      : 30000
                    PM2        | 2020-08-22T15:55:24: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
                    PM2        | 2020-08-22T15:55:24: PM2 log: Concurrent actions   : 2
                    PM2        | 2020-08-22T15:55:24: PM2 log: SIGTERM timeout      : 1600
                    PM2        | 2020-08-22T15:55:24: PM2 log: ===============================================================================
                    PM2        | 2020-08-22T15:55:24: PM2 log: App [mm:0] starting in -fork mode-
                    PM2        | 2020-08-22T15:55:24: PM2 log: App [mm:0] online
                    PM2        | 2020-08-22T16:01:22: PM2 log: Stopping app:mm id:0
                    PM2        | 2020-08-22T16:01:23: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T16:01:23: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T16:01:23: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T16:01:23: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T16:01:23: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T16:01:23: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T16:01:23: PM2 log: pid=568 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T16:01:23: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-08-22T16:01:23: PM2 log: pid=568 msg=process killed
                    PM2        | 2020-08-22T16:01:23: PM2 log: App [mm:0] starting in -fork mode-
                    PM2        | 2020-08-22T16:01:23: PM2 log: App [mm:0] online
                    PM2        | 2020-08-22T16:03:17: PM2 log: Stopping app:mm id:0
                    PM2        | 2020-08-22T16:03:17: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-08-22T16:03:17: PM2 log: pid=2333 msg=process killed
                    PM2        | 2020-08-22T16:03:17: PM2 log: App [mm:0] starting in -fork mode-
                    PM2        | 2020-08-22T16:03:17: PM2 log: App [mm:0] online
                    PM2        | 2020-08-22T18:17:09: PM2 log: ===============================================================================
                    PM2        | 2020-08-22T18:17:09: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
                    PM2        | 2020-08-22T18:17:09: PM2 log: Time                 : Sat Aug 22 2020 18:17:09 GMT+0200 (GMT+02:00)
                    PM2        | 2020-08-22T18:17:09: PM2 log: PM2 version          : 4.4.1
                    PM2        | 2020-08-22T18:17:09: PM2 log: Node.js version      : 10.22.0
                    PM2        | 2020-08-22T18:17:09: PM2 log: Current arch         : arm
                    PM2        | 2020-08-22T18:17:09: PM2 log: PM2 home             : /home/pi/.pm2
                    PM2        | 2020-08-22T18:17:09: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
                    PM2        | 2020-08-22T18:17:09: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
                    PM2        | 2020-08-22T18:17:09: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
                    PM2        | 2020-08-22T18:17:09: PM2 log: Application log path : /home/pi/.pm2/logs
                    PM2        | 2020-08-22T18:17:09: PM2 log: Worker Interval      : 30000
                    PM2        | 2020-08-22T18:17:09: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
                    PM2        | 2020-08-22T18:17:09: PM2 log: Concurrent actions   : 2
                    PM2        | 2020-08-22T18:17:09: PM2 log: SIGTERM timeout      : 1600
                    PM2        | 2020-08-22T18:17:09: PM2 log: ===============================================================================
                    PM2        | 2020-08-22T18:17:09: PM2 log: App [mm:0] starting in -fork mode-
                    PM2        | 2020-08-22T18:17:09: PM2 log: App [mm:0] online
                    PM2        | 2020-08-22T18:45:22: PM2 log: Stopping app:mm id:0
                    PM2        | 2020-08-22T18:45:22: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-08-22T18:45:22: PM2 log: pid=565 msg=process killed
                    PM2        | 2020-08-22T18:45:22: PM2 log: PM2 successfully stopped
                    PM2        | 2020-08-22T18:45:31: PM2 log: ===============================================================================
                    PM2        | 2020-08-22T18:45:31: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
                    PM2        | 2020-08-22T18:45:31: PM2 log: Time                 : Sat Aug 22 2020 18:45:31 GMT+0200 (GMT+02:00)
                    PM2        | 2020-08-22T18:45:31: PM2 log: PM2 version          : 4.4.1
                    PM2        | 2020-08-22T18:45:31: PM2 log: Node.js version      : 10.22.0
                    PM2        | 2020-08-22T18:45:31: PM2 log: Current arch         : arm
                    PM2        | 2020-08-22T18:45:31: PM2 log: PM2 home             : /home/pi/.pm2
                    PM2        | 2020-08-22T18:45:31: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
                    PM2        | 2020-08-22T18:45:31: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
                    PM2        | 2020-08-22T18:45:31: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
                    PM2        | 2020-08-22T18:45:31: PM2 log: Application log path : /home/pi/.pm2/logs
                    PM2        | 2020-08-22T18:45:31: PM2 log: Worker Interval      : 30000
                    PM2        | 2020-08-22T18:45:31: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
                    PM2        | 2020-08-22T18:45:31: PM2 log: Concurrent actions   : 2
                    PM2        | 2020-08-22T18:45:31: PM2 log: SIGTERM timeout      : 1600
                    PM2        | 2020-08-22T18:45:31: PM2 log: ===============================================================================
                    PM2        | 2020-08-22T18:45:31: PM2 log: App [mm:0] starting in -fork mode-
                    PM2        | 2020-08-22T18:45:31: PM2 log: App [mm:0] online
                    PM2        | 2020-08-22T19:26:59: PM2 log: Stopping app:mm id:0
                    PM2        | 2020-08-22T19:26:59: PM2 log: pid=564 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T19:26:59: PM2 log: pid=564 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T19:26:59: PM2 log: pid=564 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T19:26:59: PM2 log: pid=564 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T19:26:59: PM2 log: pid=564 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T19:26:59: PM2 log: pid=564 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T19:27:00: PM2 log: pid=564 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T19:27:00: PM2 log: pid=564 msg=failed to kill - retrying in 100ms
                    PM2        | 2020-08-22T19:27:00: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
                    PM2        | 2020-08-22T19:27:00: PM2 log: pid=564 msg=process killed
                    
                    /home/pi/.pm2/logs/mm-error.log last 100 lines:
                    0|mm       |     at Class.addons (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:5076)
                    0|mm       |     at Class.initialize (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:3566)
                    0|mm       |     at MD5.cb (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:807)
                    0|mm       |     at MD5.start (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/@bugsounet/md5/index.js:1:1719) {
                    0|mm       |   code: 'EADDRINUSE',
                    0|mm       |   errno: 'EADDRINUSE',
                    0|mm       |   syscall: 'listen',
                    0|mm       |   address: '::',
                    0|mm       |   port: 8569
                    0|mm       | }
                    0|mm       | [2020-08-22 18:33:41.663] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                    0|mm       | [2020-08-22 18:33:41.665] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                    0|mm       | [2020-08-22 18:36:30.379] [ERROR]  Whoops! There was an uncaught exception...
                    0|mm       | [2020-08-22 18:36:30.380] [ERROR]  Error: listen EADDRINUSE: address already in use :::8569
                    0|mm       |     at Server.setupListenHandle [as _listen2] (net.js:1226:14)
                    0|mm       |     at listenInCluster (net.js:1274:12)
                    0|mm       |     at Server.listen (net.js:1362:7)
                    0|mm       |     at Function.listen (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/express/lib/application.js:618:24)
                    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:5076)
                    0|mm       |     at Class.initialize (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:3566)
                    0|mm       |     at MD5.cb (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:807)
                    0|mm       |     at MD5.start (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/@bugsounet/md5/index.js:1:1719) {
                    0|mm       |   code: 'EADDRINUSE',
                    0|mm       |   errno: 'EADDRINUSE',
                    0|mm       |   syscall: 'listen',
                    0|mm       |   address: '::',
                    0|mm       |   port: 8569
                    0|mm       | }
                    0|mm       | [2020-08-22 18:36:30.382] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                    0|mm       | [2020-08-22 18:36:30.383] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                    0|mm       | [2020-08-22 18:41:28.797] [ERROR]  Whoops! There was an uncaught exception...
                    0|mm       | [2020-08-22 18:41:28.798] [ERROR]  Error: listen EADDRINUSE: address already in use :::8569
                    0|mm       |     at Server.setupListenHandle [as _listen2] (net.js:1226:14)
                    0|mm       |     at listenInCluster (net.js:1274:12)
                    0|mm       |     at Server.listen (net.js:1362:7)
                    0|mm       |     at Function.listen (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/express/lib/application.js:618:24)
                    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:5076)
                    0|mm       |     at Class.initialize (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:3566)
                    0|mm       |     at MD5.cb (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:807)
                    0|mm       |     at MD5.start (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/@bugsounet/md5/index.js:1:1719) {
                    0|mm       |   code: 'EADDRINUSE',
                    0|mm       |   errno: 'EADDRINUSE',
                    0|mm       |   syscall: 'listen',
                    0|mm       |   address: '::',
                    0|mm       |   port: 8569
                    0|mm       | }
                    0|mm       | [2020-08-22 18:41:28.800] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                    0|mm       | [2020-08-22 18:41:28.802] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                    0|mm       | npm ERR! code ELIFECYCLE
                    0|mm       | npm ERR! errno 1
                    0|mm       | npm ERR! magicmirror@2.12.0 start: `DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js`
                    0|mm       | npm ERR! Exit status 1
                    0|mm       | npm ERR! 
                    0|mm       | npm ERR! Failed at the magicmirror@2.12.0 start script.
                    0|mm       | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                    0|mm       | 
                    0|mm       | npm ERR! A complete log of this run can be found in:
                    0|mm       | npm ERR!     /home/pi/.npm/_logs/2020-08-22T16_45_21_656Z-debug.log
                    0|mm       | [2020-08-22 18:45:47.160] [ERROR]  (node:731) [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-08-22 18:45:47.163] [ERROR]  (node:731) [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-08-22 18:48:27.965] [ERROR]  Whoops! There was an uncaught exception...
                    0|mm       | [2020-08-22 18:48:27.966] [ERROR]  Error: listen EADDRINUSE: address already in use :::8569
                    0|mm       |     at Server.setupListenHandle [as _listen2] (net.js:1226:14)
                    0|mm       |     at listenInCluster (net.js:1274:12)
                    0|mm       |     at Server.listen (net.js:1362:7)
                    0|mm       |     at Function.listen (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/express/lib/application.js:618:24)
                    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:5076)
                    0|mm       |     at Class.initialize (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:3566)
                    0|mm       |     at MD5.cb (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:807)
                    0|mm       |     at MD5.start (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/@bugsounet/md5/index.js:1:1719) {
                    0|mm       |   code: 'EADDRINUSE',
                    0|mm       |   errno: 'EADDRINUSE',
                    0|mm       |   syscall: 'listen',
                    0|mm       |   address: '::',
                    0|mm       |   port: 8569
                    0|mm       | }
                    0|mm       | [2020-08-22 18:48:27.991] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                    0|mm       | [2020-08-22 18:48:27.992] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                    0|mm       | [2020-08-22 19:14:00.927] [ERROR]  Whoops! There was an uncaught exception...
                    0|mm       | [2020-08-22 19:14:00.928] [ERROR]  Error: listen EADDRINUSE: address already in use :::8569
                    0|mm       |     at Server.setupListenHandle [as _listen2] (net.js:1226:14)
                    0|mm       |     at listenInCluster (net.js:1274:12)
                    0|mm       |     at Server.listen (net.js:1362:7)
                    0|mm       |     at Function.listen (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/express/lib/application.js:618:24)
                    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:5076)
                    0|mm       |     at Class.initialize (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:3566)
                    0|mm       |     at MD5.cb (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_helper.js:1:807)
                    0|mm       |     at MD5.start (/home/pi/MagicMirror/modules/MMM-Assistant2Display/node_modules/@bugsounet/md5/index.js:1:1719) {
                    0|mm       |   code: 'EADDRINUSE',
                    0|mm       |   errno: 'EADDRINUSE',
                    0|mm       |   syscall: 'listen',
                    0|mm       |   address: '::',
                    0|mm       |   port: 8569
                    0|mm       | }
                    0|mm       | [2020-08-22 19:14:00.930] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                    0|mm       | [2020-08-22 19:14:00.931] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                    
                    /home/pi/.pm2/logs/mm-out.log last 100 lines:
                    0|mm       | [2020-08-22 19:03:27.501] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:03:27.642] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:03:27.706] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:03:27.840] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:08:25.284] [LOG]    Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/normandiefinancement14%40gmail.com/private-a887a771c961ca2ba5fa4b44e690aa93/basic.ics
                    0|mm       | [2020-08-22 19:08:25.299] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:08:25.710] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:08:27.311] [INFO]   Newsfeed-Fetcher: Broadcasting 18 items.
                    0|mm       | [2020-08-22 19:08:27.476] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:08:27.669] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:08:27.774] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:08:27.909] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:08:27.978] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:25.284] [LOG]    Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/normandiefinancement14%40gmail.com/private-a887a771c961ca2ba5fa4b44e690aa93/basic.ics
                    0|mm       | [2020-08-22 19:13:25.284] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:13:25.717] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:13:27.468] [INFO]   Newsfeed-Fetcher: Broadcasting 18 items.
                    0|mm       | [2020-08-22 19:13:27.603] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:27.863] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:27.973] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:28.084] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:28.166] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:58.757] [LOG]    Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/normandiefinancement14%40gmail.com/private-a887a771c961ca2ba5fa4b44e690aa93/basic.ics
                    0|mm       | [2020-08-22 19:13:58.759] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:13:58.980] [LOG]    Use existing news fetcher for url: https://www.lemonde.fr/rss/une.xml
                    0|mm       | [2020-08-22 19:13:58.992] [INFO]   Newsfeed-Fetcher: Broadcasting 18 items.
                    0|mm       | [2020-08-22 19:13:59.032] [LOG]    Use existing news fetcher for url: https://www.lemonde.fr/economie/rss_full.xml
                    0|mm       | [2020-08-22 19:13:59.032] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:59.059] [LOG]    Use existing news fetcher for url: https://www.lemonde.fr/culture/rss_full.xml
                    0|mm       | [2020-08-22 19:13:59.063] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:59.134] [LOG]    Refreshed access token because it has expired. Expired at: 19:13:58 now is: 19:13:59
                    0|mm       | [2020-08-22 19:13:59.378] [INFO]   Newsfeed-Fetcher: Broadcasting 18 items.
                    0|mm       | [2020-08-22 19:13:59.385] [LOG]    Use existing news fetcher for url: https://www.lemonde.fr/cinema/rss_full.xml
                    0|mm       | [2020-08-22 19:13:59.386] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:59.598] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:59.799] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:59.828] [LOG]    Use existing news fetcher for url: https://www.lemonde.fr/musiques/rss_full.xml
                    0|mm       | [2020-08-22 19:13:59.829] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:13:59.977] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:14:00.003] [LOG]    Use existing news fetcher for url: https://www.lemonde.fr/sport/rss_full.xml
                    0|mm       | [2020-08-22 19:14:00.003] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:14:00.046] [LOG]    [ASSISTANT] MMM-GoogleAssistant Version: 2.4.1
                    0|mm       | [2020-08-22 19:14:00.223] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:14:00.251] [LOG]    [A2D] MMM-Assistant2Display Version: 2.3.7
                    0|mm       | [2020-08-22 19:14:00.412] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:14:00.511] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:14:00.533] [LOG]    [Error: failed to read sensor]
                    0|mm       | [2020-08-22 19:14:00.918] [LOG]    [INTERNET] Internet v1.0.0 Initialized...
                    0|mm       | [2020-08-22 19:14:00.919] [LOG]    [CAST] Cast v1.0.0 Initialized...
                    0|mm       | [2020-08-22 19:14:00.923] [LOG]    [SPOTIFY:ERROR] Token not found! /home/pi/MagicMirror/modules/MMM-Assistant2Display/spotify-token.json
                    0|mm       | [2020-08-22 19:14:00.924] [LOG]    [SPOTIFY:ERROR] Token Error ! ./spotify-token.json
                    0|mm       | [2020-08-22 19:14:00.925] [LOG]    [A2D] Assistant2Display is initialized.
                    0|mm       | [2020-08-22 19:14:00.963] [LOG]    [SNOWBOY] Model selected: jarvis
                    0|mm       | [2020-08-22 19:14:00.968] [LOG]    [SNOWBOY] snowboy v1.5.1 Initialized...
                    0|mm       | [2020-08-22 19:14:00.985] [LOG]    [ASSISTANT] RECIPE_LOADED: with-MMM-TelegramBot.js
                    0|mm       | [2020-08-22 19:14:00.995] [LOG]    [ASSISTANT] Assistant2Display Server Started
                    0|mm       | [2020-08-22 19:14:01.022] [LOG]    [ASSISTANT] Use native program (mpg321) for audio response
                    0|mm       | [2020-08-22 19:14:01.031] [LOG]    [SOUND] mpg321 Initialized
                    0|mm       | [2020-08-22 19:14:01.040] [LOG]    [ASSISTANT] Google Assistant is initialized.
                    0|mm       | [2020-08-22 19:14:01.401] [LOG]    [LPCM16] WARN: arecord: main:828: erreur à l'ouverture audio: Périphérique ou ressource occupé
                    0|mm       | 
                    0|mm       | [2020-08-22 19:14:01.403] [LOG]    [SNOWBOY] Retry restarting...
                    0|mm       | [2020-08-22 19:14:03.505] [LOG]    [LPCM16] WARN: arecord: main:828: erreur à l'ouverture audio: Périphérique ou ressource occupé
                    0|mm       | 
                    0|mm       | [2020-08-22 19:14:03.510] [LOG]    [SNOWBOY] Retry restarting...
                    0|mm       | [2020-08-22 19:14:05.643] [LOG]    [LPCM16] WARN: arecord: main:828: erreur à l'ouverture audio: Périphérique ou ressource occupé
                    0|mm       | 
                    0|mm       | [2020-08-22 19:14:05.646] [LOG]    [SNOWBOY] Retry restarting...
                    0|mm       | [2020-08-22 19:14:07.776] [LOG]    [LPCM16] WARN: arecord: main:828: 
                    0|mm       | [2020-08-22 19:14:07.777] [LOG]    [LPCM16] WARN: erreur à l'ouverture audio: Périphérique ou ressource occupé
                    0|mm       | 
                    0|mm       | [2020-08-22 19:14:07.780] [LOG]    [SNOWBOY] Retry restarting...
                    0|mm       | [2020-08-22 19:18:57.948] [LOG]    Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/normandiefinancement14%40gmail.com/private-a887a771c961ca2ba5fa4b44e690aa93/basic.ics
                    0|mm       | [2020-08-22 19:18:57.949] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:18:58.339] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:18:59.540] [INFO]   Newsfeed-Fetcher: Broadcasting 18 items.
                    0|mm       | [2020-08-22 19:18:59.722] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:18:59.949] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:19:00.201] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:19:00.336] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:19:00.612] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:23:57.944] [LOG]    Use existing calendar fetcher for url: https://calendar.google.com/calendar/ical/normandiefinancement14%40gmail.com/private-a887a771c961ca2ba5fa4b44e690aa93/basic.ics
                    0|mm       | [2020-08-22 19:23:57.947] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:23:58.321] [INFO]   Calendar-Fetcher: Broadcasting 108 events.
                    0|mm       | [2020-08-22 19:23:59.795] [INFO]   Newsfeed-Fetcher: Broadcasting 18 items.
                    0|mm       | [2020-08-22 19:23:59.994] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:24:00.249] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:24:00.500] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:24:00.560] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:24:00.786] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                    0|mm       | [2020-08-22 19:26:59.375] [LOG]    Shutting down server...
                    0|mm       | [2020-08-22 19:26:59.377] [LOG]    Stopping module helper: MMM-GoogleAssistant
                    0|mm       | [2020-08-22 19:26:59.377] [LOG]    Stopping module helper: MMM-Assistant2Display
                    0|mm       | [2020-08-22 19:26:59.378] [LOG]    Stopping module helper: updatenotification
                    0|mm       | [2020-08-22 19:26:59.379] [LOG]    Stopping module helper: calendar
                    0|mm       | [2020-08-22 19:26:59.379] [LOG]    Stopping module helper: MMM-DHT-Sensor
                    0|mm       | [2020-08-22 19:26:59.380] [LOG]    Stopping module helper: MMM-NowPlayingOnSpotify
                    0|mm       | [2020-08-22 19:26:59.380] [LOG]    Stopping module helper: newsfeed
                    0|mm       | [2020-08-22 19:26:59.467] [LOG]    [LPCM16] WARN: arecord: pcm_read:2145: erreur en lecture: Appel système interrompu
                    0|mm       | 
                    
                    
                    
                    
                    S 1 Reply Last reply Reply Quote 0
                    • R Offline
                      RIKKO14
                      last edited by

                      …without using MMM-PIR-Sensor or MMM-PIR, just tried with the PIR of MMM-Assistant2Display

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @RIKKO14
                        last edited by

                        @RIKKO14 eaddrinuse means something is already using that port?

                        did u reboot and then try pm2 start again

                        pm2 status will show u what is defined and running

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0

                        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
                        • 1
                        • 2
                        • 3
                        • 3 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy