MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. wirdman
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    W
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 47
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-GoogleAssistant not running

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

      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant not running

      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

      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant not running

      really beceause without google assitant my magic mirror running

      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant not running

      i dont do

      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant not running

      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:
      
      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant not running

      i have a black screen in my mirror

      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)
      [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.<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)
      [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.
      
      
      posted in Utilities
      W
      wirdman
    • 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

      posted in Utilities
      W
      wirdman
    • RE: MMM GoogleAssistant mv client_secret_XXX.json credentials.json

      Hey thanks you this step is done

      but know im lost when i write the line

      cd ~/MagicMirror/modules/MMM-GoogleAssistant
      node auth_and_test.js
      

      i got this error

      pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $ node auth_and_test.js
      /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/google-assistant/components/auth.js:27
        const oauthClient = new OAuth2(key.client_id, key.client_secret, key.redirect_uris[0]);
                                           ^
      
      TypeError: Cannot read property 'client_id' of undefined
          at new Auth (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/google-assistant/components/auth.js:27:38)
          at new GoogleAssistant (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/google-assistant/index.js:21:16)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/auth_and_test.js:60:19)
          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)
          at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
          at startup (internal/bootstrap/node.js:283:19)
      

      thank you again for your help

      posted in Utilities
      W
      wirdman
    • RE: MMM GoogleAssistant mv client_secret_XXX.json credentials.json

      Capture d’écran 2020-07-14 à 01.14.39.png

      posted in Utilities
      W
      wirdman
    • RE: MMM GoogleAssistant mv client_secret_XXX.json credentials.json

      honestly i think this is in my credentials :

      {"web":{"client_id":"109652145873-5nkqrfro300pe1pi6r5gd0v9sutdolmm.apps.googleusercontent.com","project_id":"smart-mirrorr-b3d55","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"hYgsFML7eyHnsy7HClmmUSzR","redirect_uris":["https://smart-mirrorr-b3d55.firebaseapp.com/__/auth/handler"],"javascript_origins":["http://localhost","http://localhost:5000","https://smart-mirrorr-b3d55.firebaseapp.com"]}}
      
      posted in Utilities
      W
      wirdman
    • 1
    • 2
    • 3
    • 4
    • 5
    • 4 / 5