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 15.5k 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
      last edited by sdetweil

      this is my config.js

      		{
      		  module: "MMM-GoogleAssistant",
      		  position: "fullscreen_above",
      		  config: {
      		    debug: false,
      		    assistantConfig: {
      		      lang: "en-US",
      		      projectId: "", // Required to use gaction.
      		      modelId: "", // (OPTIONAL for gaction)
      		      instanceId: "", // (OPTIONAL for gaction)
      		      latitude: 51.508530,
      		      longitude: -0.076132,
      		    },
      		    responseConfig: {
      		      useScreenOutput: true,
      		      screenOutputCSS: "screen_output.css",
      		      screenOutputTimer: 5000,
      		      activateDelay: 250,
      		      useAudioOutput: true,
      		      useChime: true,
      		      newChime: false,
      		      useNative: true,
      		      playProgram: "mpg321"
      		    },
      		    micConfig: { // put there configuration generated by auto-installer
      		      recorder: "arecord",
      		      device: "plughw:2",
      		    },
      		    customActionConfig: {
      		      autoMakeAction: false,
      		      autoUpdateAction: false, // in RPI, gaction CLI might have some trouble.(current version should be 2.2.4, but for linux-arm, Google haven't updated) so leave this as false in RPI. I don't know it is solved or not.
      		      actionLocale: "en-US", // At this moment, multi-languages are not supported, sorry. Someday I'll work.
      		    },
      		    snowboy: {
      		      audioGain: 2.0,
      		      Frontend: true,
      		      Model: "jarvis",
      		      Sensitivity: null
      		    },
      		    A2DServer: {
      		      useA2D: false,
      		      stopCommand: "stop"
      		    },
      		    recipes: [ "with-MMM-TelegramBot.js" ]
      		  }
      		},
                      {
      				  module:
      
      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        and why you edit snowboy sources ?

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

          i dont do

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

            @wirdman said in MMM-GoogleAssistant not running:

            [2020-07-14 16:59:18.380] [ERROR] /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js:12
            DetectionResult[DetectionResu.ts",
            ^^

            looks like sd card trouble ahead, make backup NOW… get new card

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              really beceause without google assitant my magic mirror running

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

                @wirdman
                /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js

                DetectionResult[DetectionResu.ts",
                

                if you didn’t edit that file yourself, this looks like random file system corruption
                once it starts, it never gets better
                SD cards are write once, and then next write that old spaces cannot be reused, so it is marked used and dropped.
                eventually the card fills up… I have lost 8-10 cards so far over 3 years…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  i have that in my shelle when i try to run it

                  [2020-07-14 17:13:37.219] [ERROR]  WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js:12
                      DetectionResult[DetectionResu.ts",
                                                      ^^
                  
                  SyntaxError: Invalid or unexpected token
                      at Module._compile (internal/modules/cjs/loader.js:722:23)
                      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.<anonymous> (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.js:6:18)
                      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)
                  

                  okay i going right now buy a new sd card and i try it again

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

                    just for information : original is there
                    so if you don’t edit it
                    Your SD card have a problem

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

                      okay thanks a lot for you help i going buy a new card a i tell you if it’s working 😃

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

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 1 / 6
                        • 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