MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

MMM-GoogleAssistant not running



  • hello i try to install many time the google asssistant but is not apear in my magic mirror but is loaded

    thanks ou for your help


  • Module Developer

    what should apear on loaded ?



  • i have a black screen in my mirror

    at Object. (/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)
    [2020-07-14 16:59:18.379] [ERROR]  Whoops! There was an uncaught exception...
    [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",
                                       ^^
    
    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. (/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)
    [2020-07-14 16:59:18.388] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    [2020-07-14 16:59:18.389] [ERROR]  If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    [2020-07-14 16:59:18.557] [LOG]    Launching application.
    
    


  • 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:
    

  • Module Developer

    and why you edit snowboy sources ?



  • i dont do



  • @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



  • really beceause without google assitant my magic mirror running



  • @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…



  • 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. (/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


Log in to reply