Bugsounet Coding

    • Register
    • Login
    • Search
    This Forum is now reserved to registred users!

    Solved ext alert

    Issues
    3
    9
    87
    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.
    • M
      myayo last edited by

      j’ai un soucis j’ai lancé une commande npm install -q npm sur mon mirror.
      et google assistant ne se lance plus.

      j’ai fais comme demandé l’installation du module ext-alert et je n’ai pas de message d’erreur qui s’affiche au lancement.

      je suis un peu perdu la.

      1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        Il faut partir du départ et regarder les logs de sorties:

        (sI vous utiliser pm2 pour lancer MagicMirror, pensez a stopper le process avec pm2 stop 0)

        cd ~/MagicMirror
        npm start
        

        coller la sortie de log, on va inspecter 🙂

        1 Reply Last reply Reply Quote 0
        • M
          myayo last edited by

          voila mon log
          pi@raspberrypi:~/MagicMirror $ npm start

          magicmirror@2.16.0 start /home/pi/MagicMirror
          ./run-start.sh $1

          [10.06.2022 09:08.20.718] [LOG] Starting MagicMirror: v2.16.0
          [10.06.2022 09:08.20.724] [LOG] Loading config …
          [10.06.2022 09:08.20.735] [LOG] Loading module helpers …
          [10.06.2022 09:08.20.738] [LOG] No helper found for module: alert.
          [10.06.2022 09:08.20.925] [LOG] Initializing new module helper …
          [10.06.2022 09:08.20.926] [LOG] Module helper loaded: updatenotification
          [10.06.2022 09:08.20.927] [LOG] No helper found for module: clock.
          [10.06.2022 09:08.21.454] [LOG] Initializing new module helper …
          [10.06.2022 09:08.21.455] [LOG] Module helper loaded: MMM-CalendarExt2
          [10.06.2022 09:08.21.458] [LOG] Initializing new module helper …
          [10.06.2022 09:08.21.459] [LOG] Module helper loaded: MMM-MoonPhase
          [10.06.2022 09:08.21.460] [LOG] No helper found for module: MMM-WeatherOrNot.
          [10.06.2022 09:08.21.461] [LOG] No helper found for module: MMM-Buienradar.
          [10.06.2022 09:08.21.832] [LOG] Initializing new module helper …
          [10.06.2022 09:08.21.834] [LOG] Module helper loaded: MMM-Screencast
          [10.06.2022 09:08.22.254] [LOG] Initializing new module helper …
          [10.06.2022 09:08.22.255] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify
          [10.06.2022 09:08.22.257] [LOG] Initializing new module helper …
          [10.06.2022 09:08.22.258] [LOG] Module helper loaded: MMM-Volume
          [10.06.2022 09:08.22.264] [LOG] Initializing new module helper …
          [10.06.2022 09:08.22.264] [LOG] Module helper loaded: EXT-Detector
          [10.06.2022 09:08.22.760] [LOG] Initializing new module helper …
          [10.06.2022 09:08.22.761] [LOG] Module helper loaded: MMM-GoogleAssistant
          [10.06.2022 09:08.23.024] [LOG] Initializing new module helper …
          [10.06.2022 09:08.23.024] [LOG] Module helper loaded: MMM-GooglePhotos
          [10.06.2022 09:08.23.840] [LOG] Initializing new module helper …
          [10.06.2022 09:08.23.841] [LOG] Module helper loaded: MMM-TelegramBot
          [10.06.2022 09:08.23.954] [LOG] Initializing new module helper …
          [10.06.2022 09:08.23.955] [LOG] Module helper loaded: MMM-Selfieshot
          [10.06.2022 09:08.23.957] [LOG] Initializing new module helper …
          [10.06.2022 09:08.23.958] [LOG] Module helper loaded: MMM-MicrosoftToDo
          [10.06.2022 09:08.23.959] [LOG] No helper found for module: MMM-pages.
          [10.06.2022 09:08.23.960] [LOG] No helper found for module: MMM-page-indicator.
          [10.06.2022 09:08.24.013] [LOG] Initializing new module helper …
          [10.06.2022 09:08.24.014] [LOG] Module helper loaded: MMM-NewsFeed
          [10.06.2022 09:08.24.017] [LOG] Initializing new module helper …
          [10.06.2022 09:08.24.018] [LOG] Module helper loaded: MMM-YouTube
          [10.06.2022 09:08.24.020] [LOG] Initializing new module helper …
          [10.06.2022 09:08.24.020] [LOG] Module helper loaded: EXT-Alert
          [10.06.2022 09:08.24.021] [LOG] All module helpers loaded.
          [10.06.2022 09:08.24.108] [LOG] Starting server on port 8080 …
          [10.06.2022 09:08.24.120] [LOG] Server started …
          [10.06.2022 09:08.24.121] [LOG] Connecting socket for: updatenotification
          [10.06.2022 09:08.24.123] [LOG] Connecting socket for: MMM-CalendarExt2
          [10.06.2022 09:08.24.124] [LOG] Connecting socket for: MMM-MoonPhase
          [10.06.2022 09:08.24.125] [LOG] Starting module helper: MMM-MoonPhase
          [10.06.2022 09:08.24.126] [LOG] Connecting socket for: MMM-Screencast
          [10.06.2022 09:08.24.127] [LOG] Connecting socket for: MMM-NowPlayingOnSpotify
          [10.06.2022 09:08.24.127] [LOG] Connecting socket for: MMM-Volume
          [10.06.2022 09:08.24.128] [LOG] Connecting socket for: EXT-Detector
          [10.06.2022 09:08.24.130] [LOG] [DETECTOR] EXT-Detector Version: 1.0.1 rev: 220315
          [10.06.2022 09:08.24.131] [LOG] Connecting socket for: MMM-GoogleAssistant
          [10.06.2022 09:08.24.132] [LOG] [GA] Read config.js and check ConfigDeepMerge…
          [10.06.2022 09:08.24.133] [LOG] [GA] Perfect ConfigDeepMerge activated!
          [10.06.2022 09:08.24.133] [LOG] Connecting socket for: MMM-GooglePhotos
          [10.06.2022 09:08.24.134] [LOG] Connecting socket for: MMM-TelegramBot
          [10.06.2022 09:08.24.135] [LOG] Connecting socket for: MMM-Selfieshot
          [10.06.2022 09:08.24.136] [LOG] Connecting socket for: MMM-MicrosoftToDo
          [10.06.2022 09:08.24.137] [LOG] MMM-MicrosoftToDo helper started …
          [10.06.2022 09:08.24.138] [LOG] Connecting socket for: MMM-NewsFeed
          [10.06.2022 09:08.24.139] [LOG] [FEED] MMM-NewsFeed Version: 1.1.9
          [10.06.2022 09:08.24.140] [LOG] Connecting socket for: MMM-YouTube
          [10.06.2022 09:08.24.142] [LOG] [YT] MMM-YouTube Version: 1.0.0 rev: 211202-1
          [10.06.2022 09:08.24.142] [LOG] Connecting socket for: EXT-Alert
          [10.06.2022 09:08.24.143] [LOG] Starting module helper: EXT-Alert
          [10.06.2022 09:08.24.143] [LOG] Sockets connected & modules started …
          [10.06.2022 09:08.24.469] [LOG] Launching application.
          [10.06.2022 09:08.24.638] [ERROR] (node:10705) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information
          [10.06.2022 09:08.27.447] [ERROR] (node:10705) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See https://github.com/electron/electron/issues/23506 for more information
          [10.06.2022 09:08.28.006] [ERROR] MMM-Screencast:CONFIG-ERROR: There was an error with your positioning config. Please check your config.
          [10.06.2022 09:08.28.248] [ERROR] (node:10705) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
          [10.06.2022 09:08.28.745] [LOG] [DETECTOR] All needed @bugsounet library loaded !
          [10.06.2022 09:08.28.747] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
          [10.06.2022 09:08.28.751] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: jarvis
          [10.06.2022 09:08.28.847] [LOG] [TELBOT] MMM-TelegramBot Version: 1.3.8
          [10.06.2022 09:08.28.870] [LOG] [TELBOT] Ready!
          [10.06.2022 09:08.28.884] [LOG] [YT] MMM-YouTube is Ready.
          [10.06.2022 09:08.28.889] [INFO] Checking git for module: MMM-CalendarExt2
          [10.06.2022 09:08.28.893] [LOG] [CALEXT2] calendar:Flavio >> Scanning start with interval:1800000
          [10.06.2022 09:08.28.896] [LOG] [CALEXT2] calendar:Holiday >> Scanning start with interval:1800000
          [10.06.2022 09:08.28.917] [LOG] [ALERT] EXT-Alert Version: 1.0.0 rev: 220301
          [10.06.2022 09:08.29.001] [LOG] [VOLUME] Set Volume Error: Error: Command failed: amixer sset -M ‘PCM’ 50%
          amixer: Unable to find simple control ‘PCM’,0

          merci pour ton aide

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by

            Bonjour, avez-vous lu le wiki de MMM-GoogleAssistant v4 ?

            Je vois ceci a la première ligne de votre log: [10.06.2022 09:08.20.718] [LOG] Starting MagicMirror: v2.16.0

            image.png

            Un peu de lecture pourra vous aider 🙂

            1 Reply Last reply Reply Quote 0
            • M
              myayo last edited by

              j’ai un soucis lors de la mise a jour du magicmirror

              pi@raspberrypi:~/MagicMirror $ git pull && npm install
              Mise à jour 26a76f80d…a2d7cdcfb
              error: Vos modifications locales aux fichiers suivants seraient écrasées par la fusion :
              fonts/package-lock.json
              installers/mm.sh
              package-lock.json
              package.json
              vendor/package-lock.json
              Veuillez valider ou remiser vos modifications avant la fusion.
              Abandon

              1 Reply Last reply Reply Quote 0
              • bigjojo
                bigjojo last edited by

                bonjour,
                perso je renomme les fichiers indiqué avec .back ainsi je les gardes aux cas où.
                ensuite mise a jour et si tout ce passe bien je supprime les fichiers back.
                sinon depuis le plugin update je m’occupe plus de rien, lol.
                a+

                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder last edited by

                  @myayo : sinon il existe toujours le traditionnel

                  cd ~/MagicMirror
                  git reset --hard
                  git pull
                  npm install
                  

                  ou pour alors pour preparer une installation propre pour la mise a jour:

                  cd ~/MagicMirror
                  git reset --hard
                  rm -rf node_modules
                  git pull
                  npm install
                  

                  Details et explications

                  git reset --hard : resynchronise avec github avant la derniere mise a jour et écrase/détruit tout changement
                  git pull: recupere la derniere version envoyée sur le github relatif au répertoire courant (ici MagicMirror)
                  npm install: lit le fichier package.json afin d’effectuer l’installation selon les instructions de ce fichier (installation des dépendences et autres)
                  rm -rf node_modules: supprime le répertoire des dépendences

                  1 Reply Last reply Reply Quote 0
                  • M
                    myayo last edited by

                    desole mais jai encore des soucis; jai fais la mise a jour en repartant d’une instalation propre et la plus rien ne demarre.

                    │ MagicMirror │ fork │ 0 │ stopped │ 0% │ 0b │
                    └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘
                    pi@raspberrypi:~/MagicMirror $ npm start

                    magicmirror@2.19.0 start /home/pi/MagicMirror
                    DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

                    [17.06.2022 09:07.29.570] [LOG] Starting MagicMirror: v2.19.0
                    [17.06.2022 09:07.29.579] [LOG] Loading config …
                    [17.06.2022 09:07.29.592] [LOG] Loading module helpers …
                    [17.06.2022 09:07.29.595] [LOG] No helper found for module: alert.
                    [17.06.2022 09:07.29.614] [LOG] Initializing new module helper …
                    [17.06.2022 09:07.29.616] [LOG] Module helper loaded: updatenotification
                    [17.06.2022 09:07.29.618] [LOG] No helper found for module: clock.
                    [17.06.2022 09:07.29.643] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘request’
                    Require stack:

                    • /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
                    • /home/pi/MagicMirror/js/app.js
                    • /home/pi/MagicMirror/js/electron.js
                    • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

                    [17.06.2022 09:07.29.646] [LOG] Loading module helpers …
                    [17.06.2022 09:07.29.649] [LOG] No helper found for module: alert.
                    [17.06.2022 09:07.29.651] [LOG] Initializing new module helper …
                    [17.06.2022 09:07.29.652] [LOG] Module helper loaded: updatenotification
                    [17.06.2022 09:07.29.652] [LOG] No helper found for module: clock.
                    [17.06.2022 09:07.29.656] [ERROR] App threw an error during load
                    [17.06.2022 09:07.29.659] [ERROR] Error: Cannot find module ‘request’
                    Require stack:

                    • /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
                    • /home/pi/MagicMirror/js/app.js
                    • /home/pi/MagicMirror/js/electron.js
                    • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                    • at Module._resolveFilename (node:internal/modules/cjs/loader:940:15)
                      at Function.n._resolveFilename (node:electron/js2c/browser_init:249:1105)
                      at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                      at Module._load (node:internal/modules/cjs/loader:785:27)
                      at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
                      at Module.require (node:internal/modules/cjs/loader:1012:19)
                      at require (node:internal/modules/cjs/helpers:102:18)
                      at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js:4:17)
                      at Module._compile (node:internal/modules/cjs/loader:1116:14)
                      at Object.Module._extensions…js (node:internal/modules/cjs/loader:1169:10)
                      [17.06.2022 09:07.29.660] [ERROR] Whoops! There was an uncaught exception…
                      [17.06.2022 09:07.29.668] [ERROR] Error: Cannot find module ‘request’
                      Require stack:
                    • /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js
                    • /home/pi/MagicMirror/js/app.js
                    • /home/pi/MagicMirror/js/electron.js
                    • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

                    jai esaye de mettre en commentaire ce module dans le config et il me mets la meme erreur sur le module mmm-microsofttodo

                    je suis un peu perdu la

                    1 Reply Last reply Reply Quote 0
                    • bugsounet
                      bugsounet Main Coder last edited by

                      [17.06.2022 09:07.29.659] [ERROR] Error: Cannot find module ‘request’
                      Require stack:
                      /home/pi/MagicMirror/modules/MMM-CalendarExt2/node_helper.js`

                      It’s means MagicMirror app don’t found the npm library named request used in MMM-CalendarExt2

                      To solve:

                      cd ~/MagicMirror/modules/MMM-CalendarExt2
                      npm install request
                      

                      and restart MagicMirror app

                      Note: I think this module is really not maintened or it’s an old version forked

                      1 Reply Last reply Reply Quote 0
                      • Topic has been marked as solved  bugsounet bugsounet 
                      • First post
                        Last post
                      Powered by NodeBB | @bugsounet ©2022