Read the statement by Michael Teeuw here.
MMM-google assistant black screen.
-
Hello, I would like to use the google assistant on my Magic Mirror. I installed the module, logged in to googel and updated the config file.
if I restart now the magic mirror comes simply only a black screen without error message. If the code is removed from the config then the magic mirror works normally again.
If someone could help me with my problem I would be very happy.
Greeting Volker.
-
My log … thank’s
magicmirror@2.14.0 start /home/pi/MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js “dev”[22.01.2021 15:41.18.655] [LOG] Starting MagicMirror: v2.14.0
[22.01.2021 15:41.18.666] [LOG] Loading config …
[22.01.2021 15:41.18.686] [LOG] Loading module helpers …
[22.01.2021 15:41.18.691] [LOG] No helper found for module: alert.
[22.01.2021 15:41.18.996] [LOG] Initializing new module helper …
[22.01.2021 15:41.18.998] [LOG] Module helper loaded: updatenotification
[22.01.2021 15:41.19.001] [LOG] No helper found for module: clock.
[22.01.2021 15:41.19.803] [LOG] Initializing new module helper …
[22.01.2021 15:41.19.806] [LOG] Module helper loaded: calendar
[22.01.2021 15:41.19.813] [LOG] Initializing new module helper …
[22.01.2021 15:41.19.816] [LOG] Module helper loaded: MMM-DHT22
[22.01.2021 15:41.19.819] [LOG] No helper found for module: compliments.
[22.01.2021 15:41.19.824] [LOG] Initializing new module helper …
[22.01.2021 15:41.19.825] [LOG] Module helper loaded: MMM-Lunartic
[22.01.2021 15:41.19.827] [LOG] No helper found for module: MMM-WeatherOrNot.
[22.01.2021 15:41.19.888] [LOG] Initializing new module helper …
[22.01.2021 15:41.19.889] [LOG] Module helper loaded: newsfeed
[22.01.2021 15:41.21.095] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v8.5-linux-arm/snowboy.node’
Require stack:- /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js
- /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.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
[22.01.2021 15:41.21.098] [LOG] Loading module helpers …
[22.01.2021 15:41.21.101] [LOG] No helper found for module: alert.
[22.01.2021 15:41.21.104] [LOG] Initializing new module helper …
[22.01.2021 15:41.21.106] [LOG] Module helper loaded: updatenotification
[22.01.2021 15:41.21.109] [LOG] No helper found for module: clock.
[22.01.2021 15:41.21.112] [LOG] Initializing new module helper …
[22.01.2021 15:41.21.114] [LOG] Module helper loaded: calendar
[22.01.2021 15:41.21.116] [LOG] Initializing new module helper …
[22.01.2021 15:41.21.117] [LOG] Module helper loaded: MMM-DHT22
[22.01.2021 15:41.21.120] [LOG] No helper found for module: compliments.
[22.01.2021 15:41.21.122] [LOG] Initializing new module helper …
[22.01.2021 15:41.21.123] [LOG] Module helper loaded: MMM-Lunartic
[22.01.2021 15:41.21.124] [LOG] No helper found for module: MMM-WeatherOrNot.
[22.01.2021 15:41.21.126] [LOG] Initializing new module helper …
[22.01.2021 15:41.21.127] [LOG] Module helper loaded: newsfeed
[22.01.2021 15:41.21.141] [ERROR] App threw an error during load
[22.01.2021 15:41.21.155] [ERROR] Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v8.5-linux-arm/snowboy.node’
Require stack:- /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js
- /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.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 Module._resolveFilename (internal/modules/cjs/loader.js:798:15)
at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:691:27)
at Function.Module._load (electron/js2c/asar.js:748:26)
at Module.require (internal/modules/cjs/loader.js:853:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js:8:29)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10)
[22.01.2021 15:41.21.158] [ERROR] Whoops! There was an uncaught exception…
[22.01.2021 15:41.21.170] [ERROR] Error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v8.5-linux-arm/snowboy.node’
Require stack: - /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js
- /home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.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 Module._resolveFilename (internal/modules/cjs/loader.js:798:15)
at Function…/lib/common/reset-search-paths.ts.Module._resolveFilename (electron/js2c/browser_init.js:7718:16)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
at Module._load (internal/modules/cjs/loader.js:691:27)
at Function.Module._load (electron/js2c/asar.js:748:26)
at Module.require (internal/modules/cjs/loader.js:853:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js:8:29)
at Module._compile (internal/modules/cjs/loader.js:968:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:986:10) {
code: ‘MODULE_NOT_FOUND’,
requireStack: [
‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/lib/node/index.js’,
‘/home/pi/MagicMirror/modules/MMM-GoogleAssistant/node_modules/@bugsounet/snowboy/index.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’,
undefined
]
}
[22.01.2021 15:41.21.178] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[22.01.2021 15:41.21.180] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
[22.01.2021 15:41.21.636] [LOG] Launching application.
[22.01.2021 15:41.21.703] [WARN] (electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently “false”. It will change to be “true” in Electron 9. For more information please check https://github.com/electron/electron/issues/18397
-
@Mathieu
It seems you can’t find some “Error: Cannot find module” files, in particular some components of “snowboy”.
I advise you to uninstall and clean install by carefully following this guide .Unfortunately the user @bugsounet is no longer part of the forum and without him it will be very difficult to get information on this module … :-(
-
@Egnos it’s ok after clean install thank you … but … I am also having an issue with youtube it is not working. I used different commands but it is not showing youtube videos. I already changed all the false to true as per the video my GA is working but youTube still not working.
-
@Mathieu good job!
Post your config please (if I’m not mistaken some YouTube videos covered by copyright, due to Google policies, are no longer visible using GA…) -
Thank you I will post my config here this evening.
And it’s the same for link internet… it’s doesn’t work. Thank you. and I try post a screen shot.
Merci.
-
-
I just posted about issues I’m having with this module after update
I tried a fresh install but sadly I’m not having any luck with it
Wish I hadn’t updated :(
-
@Mathieu meanwhile it would be better if you read the guideon github for MMM-GoogleAssistant and MMM-Assistant2Display
Then I would try this config:
{ module: "MMM-GoogleAssistant", position: "fullscreen_above", config: { assistantConfig: { lang: "fr-FR", latitude: 44.6503800, longitude: -0.35508007.558791, }, responseConfig: { useScreenOutput: true, screenOutputCSS: "screen_output.css", screenOutputTimer: 5000, screenRotate: false, activateDelay: 250, useAudioOutput: true, useChime: true, newChime: false, useNative: true, playProgram: "mpg321" }, A2DServer: { useA2D: true, stopCommand: "stop", useYouTube: true, youtubeCommand: "youtube", displayResponse: true }, micConfig: { recorder: "arecord", device: "plughw:2" }, snowboy: { Sensitivity: 0.7, Model: "jarvis" }, } }, { module: "MMM-Assistant2Display", position: "bottom_right", config: { debug:false, useYoutube: true, cast: { useCast: true, castName: "MagicMirror", port: 8569 }, volume: { useVolume: true, volumePreset: "ALSA_HDMI", myScript: null }, links: { useLinks: true, scrollActivate: true }, } },
after activating GA with “Jarvis” remember to say “YouTube …” and the name of the video …
-
@Egnos Thank You. Merci. Gracias
I try this evening.