Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-GoogleAssistant not running
@wirdman Yeah, I will dig around a bit to see what I can come up with. At least mine is controlling my smart devices, so that works for now. Please let me know if you figure it out, and I will do the same.
-
RE: MMM-GoogleAssistant not running
@wirdman It doesn’t play videos either. It just gives a snippet of what I ask for, but no video.
-
RE: MMM-GoogleAssistant not running
@wirdman Hey, sorry, been a very busy couple of days. I can use it to change lighting, turning off devices in smart home, but when I ask to play Spotify, it just gives me info about a video, but doesn’t play.
-
RE: MMM-GoogleAssistant not running
@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!
-
RE: MMM-GoogleAssistant not running
@wirdman You are the man sir! Much appreciated wirdman!
-
RE: MMM-GoogleAssistant not running
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.
-
RE: MMM-GoogleAssistantMk2 issues
@sdetweil so I had both MMM-GoogleAsistant, and the Mk2 one opened, and got myself confused. I appreciate the wakeup call sdetweil. The assistant is running along great now, thanks to you.
-
RE: MMM-GoogleAssistantMk2 issues
@sdetweil I’m going to start over, and let you know. Thanks for the fast response.
-
RE: MMM-GoogleAssistantMk2 issues
@sdetweil Yeah, sorry, been one of those days.
-
RE: MMM-GoogleAssistantMk2 issues
@sdetweil said in MMM-GoogleAssistantMk2 issues:
MMM-GoogleAssistant
Hey sdetweil, sorry, meant that one. I followed all steps to a T, and am getting the above error.
-
MMM-GoogleAssistantMk2 issues
Hey All, trying to get MMM-GoogleAssistantMk2 up, and have the token, auth code, and when doing the command: node auth_and_test.js it works, but when I add the module to the config file, I get the below error when starting MagicMirror.
SyntaxError: 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 loadConfig (/home/pi/MagicMirror/js/app.js:67:12)
at App.start (/home/pi/MagicMirror/js/app.js:202:3)
at Object. (/home/pi/MagicMirror/js/electron.js:126:7)
at Module._compile (internal/modules/cjs/loader.js:786:30)When I put the basic config structure in, it opens, but it doesn’t respond to commands, and when I start adding some of the other stuff to the config, I get the below error. Any ideas?
{
module: “MMM-AssistantMk2”,
position: “top_right”,
config: {
coordinates: {
latitude: 51.5033640,
longitude: -0.1276250,
},
record: { // put there configuration generated by auto-installer
recorder : “arecord”,
device: “plughw:1”
}
}
}, -
RE: MMM-Awesome-alexa
@sdetweil Ah, so it’s just to control the mirror, but not actual Alexa built-in?
-
RE: MMM-Awesome-alexa
@Stoffbeuteluwe Thanks Stoffbeuteluwe. I will give that a shot, and let you know.
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@dphotograph Hey dphotograph, I had somehow copied the bottom part twice, and that was my problem. I just copied the config sample again, and built all of my modules, one by one.
-
RE: MMM-Awesome-alexa
Yeah, there was none. Very short URL, and no code at all.
-
MMM-Awesome-alexa
Hey all, been trying to setup this module, but when going to get the refresh token in the “configuring the Alex Module”, I get to the login page, then hit allow, then get this error:
We’re sorry!
An error occurred when we tried to process your request. Rest assured, we’re already working on the problem and expect to resolve it shortly.I have read everything I can find, and nothing is working. Even tried the other steps for https://sakirtemel.github.io/MMM-alexa/ and same thing.
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil Nevermind. All is now working. Had an extra bit of info in my config file that didn’t need to be there. Thanks again for all of your help sdetweil!
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil Still getting black screen after performing these steps. For some reason, it is stating that I have the wrong syntax in the config file.
$ npm run config:check
magicmirror@2.12.0 config:check C:\Users\blake\MagicMirror
node js/check_config.js[2020-07-08 07:59:36.797] [INFO] Checking file… C:\Users\blake\MagicMirror\config\config.js
[2020-07-08 07:59:36.854] [LOG] Line 1 col 1 Definition for rule ‘prettier/prettier’ was not found.
C:\Users\blake\MagicMirror\js\check_config.js:66
throw new Error(“Wrong syntax in config file!”);
^Error: Wrong syntax in config file!
at C:\Users\blake\MagicMirror\js\check_config.js:66:10
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:63:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! magicmirror@2.12.0 config:check:node js/check_config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.12.0 config:check script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\blake\AppData\Roaming\npm-cache_logs\2020-07-08T12_59_36_872Z-debug.log -
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil Thank you sdetweil. I will try thins now, and let you know.