Read the statement by Michael Teeuw here.
MMM-GoogleAssistant not running
-
This post is deleted! -
hey @Bugsounet and @sdetweil
i delete it re install it and now is since to work but is not on my mirror
here my npm start :
pi@raspberrypi:~/MagicMirror $ npm start > magicmirror@2.12.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [2020-07-15 01:23:28.851] [LOG] Starting MagicMirror: v2.12.0 [2020-07-15 01:23:28.867] [LOG] Loading config ... [2020-07-15 01:23:28.876] [LOG] Loading module helpers ... [2020-07-15 01:23:28.882] [LOG] No helper found for module: alert. [2020-07-15 01:23:28.989] [LOG] Initializing new module helper ... [2020-07-15 01:23:28.991] [LOG] Module helper loaded: updatenotification [2020-07-15 01:23:28.993] [LOG] No helper found for module: clock. [2020-07-15 01:23:29.821] [LOG] Initializing new module helper ... [2020-07-15 01:23:29.823] [LOG] Module helper loaded: calendar [2020-07-15 01:23:29.824] [LOG] No helper found for module: compliments. [2020-07-15 01:23:29.826] [LOG] No helper found for module: currentweather. [2020-07-15 01:23:29.827] [LOG] No helper found for module: weatherforecast. [2020-07-15 01:23:33.352] [LOG] Initializing new module helper ... [2020-07-15 01:23:33.355] [LOG] Module helper loaded: MMM-GoogleAssistant [2020-07-15 01:23:33.358] [LOG] No helper found for module: MMM-SwissCommute. [2020-07-15 01:23:34.709] [LOG] Initializing new module helper ... [2020-07-15 01:23:34.711] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify [2020-07-15 01:23:34.795] [LOG] Initializing new module helper ... [2020-07-15 01:23:34.798] [LOG] Module helper loaded: newsfeed [2020-07-15 01:23:34.799] [LOG] All module helpers loaded. [2020-07-15 01:23:35.213] [LOG] Starting server on port 8080 ... [2020-07-15 01:23:35.243] [INFO] You're using a full whitelist configuration to allow for all IPs [2020-07-15 01:23:35.267] [LOG] Server started ... [2020-07-15 01:23:35.269] [LOG] Connecting socket for: updatenotification [2020-07-15 01:23:35.273] [LOG] Connecting socket for: calendar [2020-07-15 01:23:35.276] [LOG] Starting node helper for: calendar [2020-07-15 01:23:35.278] [LOG] Connecting socket for: MMM-GoogleAssistant [2020-07-15 01:23:35.281] [LOG] Connecting socket for: MMM-NowPlayingOnSpotify [2020-07-15 01:23:35.284] [LOG] Connecting socket for: newsfeed [2020-07-15 01:23:35.288] [LOG] Starting node helper for: newsfeed [2020-07-15 01:23:35.290] [LOG] Sockets connected & modules started ... [2020-07-15 01:23:35.621] [LOG] Launching application. [2020-07-15 01:23:41.914] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/maxart3.3%40gmail.com/private-b5e26bc2232a38edcb73772a3242221e/basic.ics - Interval: 300000 [2020-07-15 01:23:42.376] [LOG] Create new news fetcher for url: https://www.lemonde.fr/international/rss_full.xml - Interval: 300000 [2020-07-15 01:23:42.532] [INFO] Checking git for module: MMM-GoogleAssistant [2020-07-15 01:23:42.621] [INFO] Checking git for module: MMM-SwissCommute [2020-07-15 01:23:42.706] [INFO] Checking git for module: MMM-NowPlayingOnSpotify [2020-07-15 01:23:42.800] [LOG] [ASSISTANT] MMM-GoogleAssistant Version: 2.2.1 [2020-07-15 01:23:42.831] [ERROR] (node:25329) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. [2020-07-15 01:23:42.835] [ERROR] (node:25329) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. [2020-07-15 01:23:44.440] [LOG] Refreshed access token because it has expired. Expired at: 01:23:42 now is: 01:23:44 [2020-07-15 01:23:44.509] [LOG] Refreshed access token because it has expired. Expired at: 02:23:44 now is: 01:23:44 [2020-07-15 01:23:45.202] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [2020-07-15 01:23:45.224] [LOG] Refreshed access token because it has expired. Expired at: 02:23:44 now is: 01:23:45 [2020-07-15 01:23:47.028] [LOG] [SNOWBOY] Model selected: jarvis [2020-07-15 01:23:47.042] [LOG] [SNOWBOY] snowboy v1.5.0 Initialized... [2020-07-15 01:23:47.067] [LOG] [ASSISTANT] RECIPE_LOADED: with-MMM-TelegramBot.js [2020-07-15 01:23:47.073] [LOG] [ASSISTANT] Use native program (mpg321) for audio response [2020-07-15 01:23:47.078] [LOG] [SOUND] mpg321 Initialized [2020-07-15 01:23:47.083] [LOG] [ASSISTANT] Google Assistant is initialized. [2020-07-15 01:23:48.183] [INFO] Calendar-Fetcher: Broadcasting 4 events.here my confi.js
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, ipWhitelist: [], // Set [] to allow all IP addresses. language: "fr", timeFormat: 24, units: "metric", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Calendrier", position: "top_left", config: { calendars: [ { symbol: "calendar-check-o ", url: "https://calendar.google.com/calendar/ical/maxart3.3%40gmail.com/private-b5e26bc2232a38edcb73772a3242221e/basic.ics" } ] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_left", config: { location: "Genève", locationID: "2660646", //ID from http://www.openweathermap.org/help/city_list.txt appid: "a159eb40caad1348cda97718adc69d6d" } }, { module: "weatherforecast", position: "top_left", header: "Météo", config: { location: "Genève", locationID: "2660646", //ID from http://www.openweathermap.org/help/city_list.txt appid: "a159eb40caad1348cda97718adc69d6d" } }, { module: "weatherforecast", position: "top_right", header: "Météo", config: { location: "", locationID: "", //ID from http://www.openweathermap.org/help/city_list.txt appid: "" } }, { module: "MMM-GoogleAssistant", position: "top_right", 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: 'MMM-SwissCommute', position: 'top_left', header: 'En Louche', config: { from: 'Perly, En Louche', // Start train station to: 'Lancy-Bachet', // Destination station maximumEntries: 4, // Max departures displayed minWalkingTime: 10 // Minimum time to get to the station } }, { module: "MMM-NowPlayingOnSpotify", position: "top_right", config: { clientID: "622ad97f8ed24ad9aa3b81531aae033f", clientSecret: "418079ac53a848679c37ac9613485136", accessToken: "BQCWLLN5elD8_f9zR7q9947jqCacUYNQ-6RzF8W_R1vx89DVTwkZBjpa1AR89PNw-yLdFziPjg_-hth6WVTPgQvekE5YPnz5ywbBzY0V_TBEa2N1hyucipaXSrmtBx5e2VaFf_SGrjzIkIeeKQ", refreshToken: "AQA-F5RgN04XC8NP5oOymHEWY_HqW4EwzUCx28GBHfjtLiCf3ordxs55HDxSjy1NwDWJlxthmAVKCRwNUrN3sqDX51JDRVjHP6y6wDnwZ1gs2RJ2tLPwIxJM3SuAgXOAlOk" } }, { module: "newsfeed", position: "lower_third", config: { feeds: [ { title: "Le Monde, Paris", url: "https://www.lemonde.fr/international/rss_full.xml" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;} -
@wirdman said in MMM-GoogleAssistant not running:
{
module: “MMM-GoogleAssistant”,
position: “top_right”,- why
top_rightand notfullscreen_aboveposition ? - why
recipes: [ "with-MMM-TelegramBot.js" ]if you don’t useTelegramBot module?
- why
-
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 tokencd ~/MagicMirror/modules/MMM-Spotify node first_auth.jserreur
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
-
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) -
aah je croyais avoir tout cassé 😁😁😁😁
-
non personne est parfait !
Laisse moi 10 min et c’est good ;) -
-
Tu va etre connu !!! ton nickname est sur le Readme ! ;)
-
@wirdman : c’est good ?
-
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 } } -
@Bugsounet hahahaha incroyable pour le readme😁
-
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.
-
@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 updatein google assistant folder and Assistant2Display folder ?
have it too but you can
at you mmm-GoogleAssistant folder runnpm installor
npm rebuild -
@wirdman You are the man sir! Much appreciated wirdman!
-
@blake_northrup did it work ?
-
@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!
-
pleasure
-
@blake_northrup is it possible for you now his installed to ask him to go on youtube or control your spotify ?
-
This post is deleted!
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