Read the statement by Michael Teeuw here.
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:
-
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.jsDetectionResult[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.<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
-
just for information : original is there
so if you don’t edit it
Your SD card have a problem -
okay thanks a lot for you help i going buy a new card a i tell you if it’s working 😃
-
This post is deleted!