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-Google Assistant & MMM-MMM-Assistant2Display

      est ce que mon temps de réponse c’est 100ms ?

      PM2        | 2020-08-27T14:47:37: PM2 log: pid=4024 msg=failed to kill - retrying in 100ms
      

      mon log :

      code_pi@raspberrypi:~ $ 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-08-27T09:51:06: PM2 log: App [mm:0] online
      PM2        | 2020-08-27T09:53:37: PM2 log: Stopping app:mm id:0
      PM2        | 2020-08-27T09:53:37: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
      PM2        | 2020-08-27T09:53:37: PM2 log: pid=3786 msg=process killed
      PM2        | 2020-08-27T09:53:37: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2020-08-27T09:53:37: PM2 log: App [mm:0] online
      PM2        | 2020-08-27T14:47:36: PM2 log: Stopping app:mm id:0
      PM2        | 2020-08-27T14:47:37: PM2 log: pid=4024 msg=failed to kill - retrying in 100ms
      PM2        | 2020-08-27T14:47:37: PM2 log: pid=4024 msg=failed to kill - retrying in 100ms
      PM2        | 2020-08-27T14:47:37: PM2 log: pid=4024 msg=failed to kill - retrying in 100ms
      PM2        | 2020-08-27T14:47:37: PM2 log: pid=4024 msg=failed to kill - retrying in 100ms
      PM2        | 2020-08-27T14:47:37: PM2 log: App [mm:0] exited with code [0] via signal [SIGINT]
      PM2        | 2020-08-27T14:47:37: PM2 log: pid=4024 msg=process killed
      PM2        | 2020-08-27T14:47:37: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2020-08-27T14:47:37: 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-08-27 10:51:27.158] [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-27 10:51:27.159] [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-27 14:47:51.808] [ERROR]  (node:17411) [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-27 14:47:51.810] [ERROR]  (node:17411) [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-08-27 14:47:55.085] [LOG]    [SNOWBOY] Model selected: jarvis
      0|mm       | [2020-08-27 14:47:55.092] [LOG]    [SNOWBOY] snowboy v1.6.0 Initialized...
      0|mm       | [2020-08-27 14:47:55.092] [LOG]    [@bugsounet] *************************
      0|mm       | [2020-08-27 14:47:55.093] [LOG]    [@bugsounet] Special note to @ktoanlba89 (https://github.com/ktoanlba89)
      0|mm       | [2020-08-27 14:47:55.094] [LOG]    [@bugsounet] Copying does not pay!
      0|mm       | [2020-08-27 14:47:55.095] [LOG]    [@bugsounet] Try to make your own before delete my username !
      0|mm       | [2020-08-27 14:47:55.095] [LOG]    [@bugsounet] Don't play with me guy !
      0|mm       | [2020-08-27 14:47:55.096] [LOG]    [@bugsounet] *************************
      0|mm       | [2020-08-27 14:47:55.107] [LOG]    [ASSISTANT] RECIPE_LOADED: with-MMM-TelegramBot.js
      0|mm       | [2020-08-27 14:47:55.109] [LOG]    [ASSISTANT] Assistant2Display Server Started
      0|mm       | [2020-08-27 14:47:55.122] [LOG]    [ASSISTANT] Use native program (mpg321) for audio response
      0|mm       | [2020-08-27 14:47:55.124] [LOG]    [SOUND] mpg321 Initialized
      0|mm       | [2020-08-27 14:47:55.130] [LOG]    [NPM] Initialized v0.9.5
      0|mm       | [2020-08-27 14:47:55.416] [LOG]    [ASSISTANT] Google Assistant is initialized.
      0|mm       | [2020-08-27 14:47:56.325] [INFO]   Calendar-Fetcher: Broadcasting 213 events.
      
      posted in Troubleshooting
      R
      RIKKO14
    • RE: MMM-Google Assistant & MMM-MMM-Assistant2Display

      Ha, OK. Merci pour les infos !
      en tout cas bravo pour votre implication pour ces modules et votre aide !!

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

      SUPER !!
      ça fonctionne, Merci !
      la petite routine est super intéressante pour régler son PIR car c’est tellement pointilleux…
      comment arrivez vous a calculer le temps de 300 ms / 400 ms ?
      En aparté, j 'ai eu une nouvelle demande de maj ce jour de MMM-GoogleAssistant et MMM-Assistant2Display sur l’écran de mon MM. Cela doit faire 3 mise à jour en 3 jours, normal ?

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

      Merci, je regarde cela et vous tient au courant,
      Encore merci beaucoup pour votre aide !

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

      Thank you for everything !!
      a small additional question however concerning the PIR, I see that you have installed the MMM-NewPIR module in addition to the PIR function of the MMM-Assistant2Display, the PIR function does not work without MMM-NewPIR?
      “j’ai le meme sensor mais il est très chiant a configurer”: if I put the sensitivity to the max and the delay to the max (clockwise) it should not be a problem or it does not work. … (but I haven’t installed MMM-NewPIR). Thank you for your clarification.

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

      Hello,
      I installed a few days ago
      bugsounet/MMM-GoogleAssistant & MMM-Assistant2Display. It’s Magic… I love it…
      But I have a few questions :
      1- when I ask “jarvis, put a youtube video of XX” the video starts but I can’t stop it, if I say “Jarvis, stop the video” or Jarvis, stop the youtube video ", youtube don’t stop and start another video, I have to close the MagicMirror window (which automatically reopens with pm2) to stop the video. What should I say (in French) to get it back to the MM home screen?
      2- about the screen: the delay is 5 minutes, why is it written in the delay command: 5 * 60 * 1000, What is * 60 * 1000 ? (I don’t anderstand).
      I was able to reduce it to 1 minutes by writing delay: 1 * 60 * 1000, is it good like that? And how do I get back to the home screen before that time because if I say “Jarvis, stop” it doesn’t work?
      3- on my top home screen it says “une mise à jour est disponible pour le modules MMM-Google Assistant, l’installation actuelle est 2 commits en retard sur la branche prod.” how to make this update without problem?
      4- I have a PIR (HC-SR501) but I don’t know if it works or if it is defective because it did not work with MMM-PIR-Sensor and MMM-PIR before I installed MMM-GoogleAssistant & MMM-Assistant2Display.
      I had to reinstall all my MM because of these 2 modules …
      So, I have the following configuration:

      screen: {
      useScreen: true,
      delay: 1 * 60 * 1000,
      turnOffDisplay: true,
      ecoMode: false,
      displayCounter: true,
      displayBar: true,
      displayStyle: "Circle",
      text: "Auto Turn Off Screen:",
      detectorSleeping: true,
      governorSleeping: false,
      displayLastPresence: false,
      LastPresenceText: "Last Presence:",
      rpi4: false,
      },
      pir: {
      usePir: true,
      gpio: 21,
      reverseValue: false,
      

      I use gpio 21 of course,
      it does not work, my MM does not turn on again if I pass my hand in front of my PIR. Sometimes, I had conflicts because the countdown went back to 0 without doing anything and then displayed alternately 2 durations …
      The only way I have found so far to turn off the screen is the following configuation :

      screen: {
      useScreen: true,
      delay: 1 * 60 * 1000,
      turnOffDisplay: true,
      ecoMode: false,
      displayCounter: true,
      displayBar: true,
      displayStyle: "Circle",
      text: "Auto Turn Off Screen:",
      detectorSleeping: true,
      governorSleeping: false,
      displayLastPresence: false,
      LastPresenceText: "Last Presence:",
      rpi4: false,
      },
      pir: {
      usePir: false,
      gpio: 21,
      reverseValue: false,
      },
      
      

      and when my screen turns off after 1 minute, I initiate a Jarvis request for the screen to turn on on my MM.
      Have I forgotten something in my config ?
      5- Spotify :
      I am a free member.
      I installed the MMM-NowOnSpotify module and this module works fine.
      I activated Spotify in the MMM-Assistant2Display module with the following config:

      spotify: {
      useSpotify: true,
      useIntegred: true,
      useLibrespot: false,
      connectTo: null,
      playDelay: 3000,
      minVolume: 10,
      maxVolume: 100,
      updateInterval: 1000,
      idleInterval: 10000,
      username: "",
      password: "",
      CLIENT_ID: "007XXXXXXXXXXX553cab",
      SECRET_CUSTOMER: "5dXXXXXXXXXXXX1d2",
      deviceDisplay: "Vous écoutez",
      usePause: true
      }
      }
      },
      

      On my phone I can see MagicMirror_A2D but when I select it Spotify does not launch on my MM, any idea?

      2020-08-24-185102_1080x1920_scrot.png

      posted in Troubleshooting
      R
      RIKKO14
    • RE: [Electron] display en screen after installing MMM-PIR-Sensor

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

      posted in Troubleshooting
      R
      RIKKO14
    • RE: [Electron] display en screen after installing MMM-PIR-Sensor

      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       | 
      
      
      
      
      posted in Troubleshooting
      R
      RIKKO14
    • RE: [Electron] display en screen after installing MMM-PIR-Sensor

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

      posted in Troubleshooting
      R
      RIKKO14
    • RE: [Electron] display en screen after installing MMM-PIR-Sensor

      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

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