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.

    MMM-GoogleAssistant not running

    Scheduled Pinned Locked Moved Utilities
    55 Posts 5 Posters 19.2k Views 5 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.
    • W Offline
      wirdman @Guest
      last edited by

      @Bugsounet

      hello mon google assistant ne veux plus aller sur youtube depuis la mise à jour

      et aussi je ne sais pas pourquoi pour MMM-Spotify j’ai une erreur a la commande
      il ne veux pas me donner le token

      cd ~/MagicMirror/modules/MMM-Spotify
      node first_auth.js
      

      erreur

      pi@raspberrypi:~/MagicMirror/modules/MMM-Spotify $ node first_auth.js
      
      internal/modules/cjs/loader.js:638
          throw err;
          ^
      
      Error: Cannot find module './Spotify.js'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
          at Function.Module._load (internal/modules/cjs/loader.js:562:25)
          at Module.require (internal/modules/cjs/loader.js:692:17)
          at require (internal/modules/cjs/helpers.js:25:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Spotify/first_auth.js:3:17)
          at Module._compile (internal/modules/cjs/loader.js:778:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
          at Module.load (internal/modules/cjs/loader.js:653:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
          at Function.Module._load (internal/modules/cjs/loader.js:585:3)
      
      

      merci d avance

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by A Former User

        ah oui lol … désolé j’ai oublier de modifier le script avec la nouvelle librairie (bravo !)
        Je vais corriger ça de suite !

        pour A2D et GA, la commande de mise a jour est npm run update
        a executer dans chaque repertoire (GA et A2D)

        W 1 Reply Last reply Reply Quote 0
        • W Offline
          wirdman @Guest
          last edited by

          @Bugsounet

          aah je croyais avoir tout cassé 😁😁😁😁

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            non personne est parfait !
            Laisse moi 10 min et c’est good ;)

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by A Former User

              voila !

              git pull et go !

              (et peut etre: npm install… a voir)

              1 Reply Last reply Reply Quote 1
              • ? Offline
                A Former User
                last edited by

                Tu va etre connu !!! ton nickname est sur le Readme ! ;)

                W 1 Reply Last reply Reply Quote 0
                • ? Offline
                  A Former User
                  last edited by

                  @wirdman : c’est good ?

                  W 1 Reply Last reply Reply Quote 0
                  • W Offline
                    wirdman
                    last edited by wirdman

                    j ai essayé de voir un peut mais l’assistant fonctionne très bien mais il est incapable de lancer une video youtube ou de contrôler Spotify

                    en revanche on peut caster sans problème

                    Merci d’avance pour tout le travail que tu fais

                    quand je lance une requete :

                     transcription: { transcription: 'joue les beattles sur youtube', done: true },
                      continue: false,
                      volume: null,
                      lastQuery: {
                        type: 'MIC',
                        key: null,
                        lang: 'fr-FR',
                        useScreenOutput: true,
                        useAudioOutput: true,
                        status: 'standby',
                        chime: true
                      }
                    }
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wirdman @Guest
                      last edited by

                      @Bugsounet hahahaha incroyable pour le readme😁

                      1 Reply Last reply Reply Quote 0
                      • blake_northrupB Offline
                        blake_northrup
                        last edited by

                        This morning I noticed that my MMM-GoogleAssistant needed an update, so I updated the module, and now get the black electron screen instead of the Magic Mirror screen. If I removed the module from the config, the Mirror comes up correctly, but when I add my config back, it goes black again. I have tried everything, from removing, then reinstalling, npm rebuild, electron rebuild, and nada. Was working fine until then. Any help would be greatly appreciated. See errors below:

                        Module helper loaded: MMM-NowPlayingOnSpotify
                        [2020-07-17 13:07:48.310] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary module because it was not installed for the current system
                        Expected directory: electron-v6.1-linux-arm-glibc
                        Found: [node-v72-linux-arm-glibc]
                        This problem can often be fixed by running “npm rebuild” on the current system
                        Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/node/extension_binary/electron-v6.1-linux-arm-glibc/grpc_node.node’
                        Require stack:

                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/grpc_extension.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/client_interceptors.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/client.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/index.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/google-assistant/components/assistant.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/google-assistant/index.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/components/assistant.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/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

                        [2020-07-17 13:07:48.311] [LOG] Loading module helpers …
                        [2020-07-17 13:07:48.313] [LOG] No helper found for module: alert.
                        [2020-07-17 13:07:48.314] [LOG] Initializing new module helper …
                        [2020-07-17 13:07:48.314] [LOG] Module helper loaded: updatenotification
                        [2020-07-17 13:07:48.315] [LOG] No helper found for module: clock.
                        [2020-07-17 13:07:48.316] [LOG] Initializing new module helper …
                        [2020-07-17 13:07:48.317] [LOG] Module helper loaded: calendar
                        [2020-07-17 13:07:48.318] [LOG] No helper found for module: MMM-Rainbow.
                        [2020-07-17 13:07:48.319] [LOG] No helper found for module: compliments.
                        [2020-07-17 13:07:48.320] [LOG] Initializing new module helper …
                        [2020-07-17 13:07:48.320] [LOG] Module helper loaded: MMM-SystemStats
                        [2020-07-17 13:07:48.321] [LOG] Initializing new module helper …
                        [2020-07-17 13:07:48.322] [LOG] Module helper loaded: MMM-Remote-Control
                        [2020-07-17 13:07:48.323] [LOG] No helper found for module: currentweather.
                        [2020-07-17 13:07:48.324] [LOG] No helper found for module: weatherforecast.
                        [2020-07-17 13:07:48.325] [LOG] No helper found for module: MMM-EyeCandy.
                        [2020-07-17 13:07:48.327] [LOG] Initializing new module helper …
                        [2020-07-17 13:07:48.327] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify
                        [2020-07-17 13:07:48.352] [ERROR] App threw an error during load
                        [2020-07-17 13:07:48.354] [ERROR] Error: Failed to load gRPC binary module because it was not installed for the current system
                        Expected directory: electron-v6.1-linux-arm-glibc
                        Found: [node-v72-linux-arm-glibc]
                        This problem can often be fixed by running “npm rebuild” on the current system
                        Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/node/extension_binary/electron-v6.1-linux-arm-glibc/grpc_node.node’
                        Require stack:

                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/grpc_extension.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/client_interceptors.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/client.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/index.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/google-assistant/components/assistant.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/google-assistant/index.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/components/assistant.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/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 Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/grpc_extension.js:53:17)
                          at Module._compile (internal/modules/cjs/loader.js:786:30)
                          at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
                          at Module.load (internal/modules/cjs/loader.js:645:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                          at Module.require (internal/modules/cjs/loader.js:685:19)
                          at require (internal/modules/cjs/helpers.js:16:16)
                          at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/client_interceptors.js:144:12)
                          at Module._compile (internal/modules/cjs/loader.js:786:30)
                          at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
                          [2020-07-17 13:07:48.356] [ERROR] Whoops! There was an uncaught exception…
                          [2020-07-17 13:07:48.357] [ERROR] Error: Failed to load gRPC binary module because it was not installed for the current system
                          Expected directory: electron-v6.1-linux-arm-glibc
                          Found: [node-v72-linux-arm-glibc]
                          This problem can often be fixed by running “npm rebuild” on the current system
                          Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/node/extension_binary/electron-v6.1-linux-arm-glibc/grpc_node.node’
                          Require stack:
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/grpc_extension.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/client_interceptors.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/client.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/index.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/google-assistant/components/assistant.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/google-assistant/index.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/components/assistant.js
                        • /home/pi/MagicMirror/modules/MMM-GoogleAssistant/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 Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/grpc_extension.js:53:17)
                          at Module._compile (internal/modules/cjs/loader.js:786:30)
                          at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10)
                          at Module.load (internal/modules/cjs/loader.js:645:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:560:12)
                          at Module.require (internal/modules/cjs/loader.js:685:19)
                          at require (internal/modules/cjs/helpers.js:16:16)
                          at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/grpc/src/client_interceptors.js:144:12)
                          at Module._compile (internal/modules/cjs/loader.js:786:30)
                          at Object.Module._extensions…js (internal/modules/cjs/loader.js:798:10) {
                          code: ‘MODULE_NOT_FOUND’
                          }
                          [2020-07-17 13:07:48.371] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                          [2020-07-17 13:07:48.372] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                          [2020-07-17 13:07:48.539] [LOG] Launching application.
                        W 1 Reply Last reply Reply Quote 0
                        • W Offline
                          wirdman @blake_northrup
                          last edited by wirdman

                          @blake_northrup said in MMM-GoogleAssistant not running:

                          that my MMM-GoogleAssistant needed an update, so I updated the module, and now get the black electron screen instead of the Magic Mirror screen. If I remove

                          do you have run

                          npm run update
                          

                          in google assistant folder and Assistant2Display folder ?

                          have it too but you can
                          at you mmm-GoogleAssistant folder run

                          npm install
                          

                          or

                          npm rebuild
                          
                          blake_northrupB 1 Reply Last reply Reply Quote 1
                          • blake_northrupB Offline
                            blake_northrup @wirdman
                            last edited by

                            @wirdman You are the man sir! Much appreciated wirdman!

                            W 1 Reply Last reply Reply Quote 0
                            • W Offline
                              wirdman @blake_northrup
                              last edited by

                              @blake_northrup did it work ?

                              blake_northrupB 1 Reply Last reply Reply Quote 0
                              • blake_northrupB Offline
                                blake_northrup @wirdman
                                last edited by

                                @wirdman Yep, all good. I just needed to do npm rebuild in the MMM-GoogleAssistant folder. I was doing it in the MagicMirror folder. Thanks again!

                                W 1 Reply Last reply Reply Quote 0
                                • W Offline
                                  wirdman
                                  last edited by

                                  pleasure

                                  1 Reply Last reply Reply Quote 1
                                  • W Offline
                                    wirdman @blake_northrup
                                    last edited by

                                    @blake_northrup is it possible for you now his installed to ask him to go on youtube or control your spotify ?

                                    blake_northrupB 1 Reply Last reply Reply Quote 0
                                    • W Offline
                                      wirdman @Guest
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • blake_northrupB Offline
                                        blake_northrup @wirdman
                                        last edited by

                                        @wirdman Hey, sorry, been a very busy couple of days. I can use it to change lighting, turning off devices in smart home, but when I ask to play Spotify, it just gives me info about a video, but doesn’t play.

                                        W 1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          wirdman @blake_northrup
                                          last edited by

                                          @blake_northrup no problem.

                                          okay but about youtube ?

                                          blake_northrupB 1 Reply Last reply Reply Quote 0
                                          • blake_northrupB Offline
                                            blake_northrup @wirdman
                                            last edited by

                                            @wirdman It doesn’t play videos either. It just gives a snippet of what I ask for, but no video.

                                            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
                                            • 2 / 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