Solved Black screen MMM-GoogleAssistant
-
So I had my MagicMirror working last year with lots of modules, I remember trying to update MMM-GoogleAssistant using the Remote Control module which then broke something and was left with a blank screen. I was pretty busy back then and now I want to come back to this to fix it, with any help appreciated!
Notes: I did an extensive forum search yesterday looking at lots of people’s solutions but this is what I’ve done/discovered
- pm2 log mm (below)
- My config for MMM-GoogleAssistant may be outdated, so I tried adding in new lines from ‘http://wiki.bugsounet.fr/en/MMM-GoogleAssistant/ConfigurationStructure’ to what it is now (below)
- I had Assistant2Display configured too but I saw this no longer exists so I removed it
- I believe I did run an electron rebuild on the GoogleAssistant but fix
pm2 log mm
pi@raspberrypi:~ $ pm2 log mm [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option) /home/pi/.pm2/logs/mm-out.log last 15 lines: 0|mm | [28.08.2021 10:57.20.375] [LOG] Module helper loaded: updatenotification 0|mm | [28.08.2021 10:57.20.376] [LOG] No helper found for module: clock. 0|mm | [28.08.2021 10:57.20.377] [LOG] Initializing new module helper ... 0|mm | [28.08.2021 10:57.20.378] [LOG] Module helper loaded: calendar 0|mm | [28.08.2021 10:57.20.378] [LOG] Initializing new module helper ... 0|mm | [28.08.2021 10:57.20.379] [LOG] Module helper loaded: currentweather 0|mm | [28.08.2021 10:57.20.380] [LOG] Initializing new module helper ... 0|mm | [28.08.2021 10:57.20.380] [LOG] Module helper loaded: weatherforecast 0|mm | [28.08.2021 10:57.20.381] [LOG] Initializing new module helper ... 0|mm | [28.08.2021 10:57.20.381] [LOG] Module helper loaded: newsfeed 0|mm | [28.08.2021 10:57.20.382] [LOG] Initializing new module helper ... 0|mm | [28.08.2021 10:57.20.383] [LOG] Module helper loaded: MMM-Spotify 0|mm | [28.08.2021 10:57.20.384] [LOG] Initializing new module helper ... 0|mm | [28.08.2021 10:57.20.384] [LOG] Module helper loaded: MMM-GoogleFit 0|mm | [28.08.2021 10:57.21.775] [LOG] Launching application. /home/pi/.pm2/logs/mm-error.log last 15 lines: 0|mm | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-GoogleTasks/node_helper.js:2:18) 0|mm | at Module._compile (internal/modules/cjs/loader.js:1152:30) 0|mm | at Object.Module._extensions..js (internal/modules/cjs/loader.js:1173:10) { 0|mm | code: 'MODULE_NOT_FOUND', 0|mm | requireStack: [ 0|mm | '/home/pi/MagicMirror/modules/MMM-GoogleTasks/node_helper.js', 0|mm | '/home/pi/MagicMirror/js/app.js', 0|mm | '/home/pi/MagicMirror/js/electron.js', 0|mm | '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js', 0|mm | undefined 0|mm | ] 0|mm | } 0|mm | [28.08.2021 10:57.20.397] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|mm | [28.08.2021 10:57.20.397] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues 0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
My current config for MMM-GoogleAssistant
module: "MMM-GoogleAssistant", position: "fullscreen_above", config: { debug: false, assistantConfig: { lang: "en-GB", projectId: "#####", // Required to use gaction. modelId: "", // (OPTIONAL for gaction) instanceId: "", // (OPTIONAL for gaction) latitude: ######, longitude: #####, }, responseConfig: { useFullscreen: false, useResponseOutput: true, responseOutputCSS: "response_output.css", screenOutputTimer: 5000, activateDelay: 250, useAudioOutput: true, useChime: true, confirmationChime: true, useInformations: true }, micConfig: { // put there configuration generated by auto-installer recorder: "arecord", device: "plughw:2", Extented: { youtube: { useYoutube: true, youtubeCommand: "youtube", displayResponse: true, useVLC: false, minVolume: 30, maxVolume: 100 }, links: { useLinks: true, displayDelay: 60 * 1000, scrollActivate: false, scrollStep: 25, scrollInterval: 1000, scrollStart: 5000 }, welcome: { useWelcome: true, welcome: "brief today" }, spotify: { useSpotify: true, }, useEXT: true, deviceName: "MagicMirror", stopCommand: "stop", }, 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-GB", // At this moment, multi-languages are not supported, sorry. Someday I'll work. }, snowboy: { audioGain: 2.0, Frontend: true, Model: "jarvis", Sensitivity: null }, recipes: [ "with-MMM-Spotify.js", "Reboot-Restart-Shutdown.js", "hide.js" ], } } },
-
@elliottpickles said in Black screen MMM-GoogleAssistant:
0|mm | ‘/home/pi/MagicMirror/modules/MMM-GoogleTasks/node_helper.js’,
Are really sure that you sure it’s related to MMM-GoogleAssistant ?