Read the statement by Michael Teeuw here.
MMM-AssistantMk2
-
@jomwells
You can fork my repository to yours and modify it.
When you want to relay status to other modules, add .sendNotification() in ’socketNotificationReceived()’ of AssistantMk2.js where proper event is located.
When you want to do something directly, add your job in ’Conversation.on(EVENT)’ of node_helper.js. -
-
What else do I need to do for install for mmm-assistantmk2 to play youtube.
-
I try the same command say Celine Dion The power of love. Then pop up below detail about Celine Dion and the youtube video automatically pop up but cannot play anything.
-
My magic mirror is vertical mode, rotate = 1 . I try to adjust from your height 480 width 854 of display but it also show in vertical mode height 480 with 640 also height 640 width 480. No different.
-
-
- Some youtube videos are not allowed for embedded player.
- some videos are not caught, it will be fixed.
- some videos are not only video but playlist, so it is not caught, but it will be fixed also.
- sometime Google gives no information about youtube. I guess smart tv is using not only YouTube but also other dedicated apps for music and video, yogether
-
I get the same issue, I hear a buzz at the beginning of the answered sentences in my speaker and clear voice after two seconds of the sentences start.
-
@jrcelis
What kind of speaker do you use? Analog? HDMI output? USB? Bluetooth?
Except for Bluetooth speaker, All others could have buzz sound. -
@sean
Hello @Sean and thanks for your help. I’m using the speaker that is coming with Google Voice Kit V1 and is working fine when I’m testing the sound, no buzz or distorted sound and the beginning of the sentences, the issue starts when I click the speaker icon when MMM-assistantk2 is running, the assistants answer start whit a big distorted noise o buzz and then will be fine. -
@jrcelis
Unfortunately, I’m not an expert in sound configuration.
I use node module speaker for output. The buffered voice output from Google Assistant Server is directly piped tospeaker
module. And there is narrowly little margin to controlspeaker
module.My guess is, burden of system could make some delay causing distortion. but just guessing.
Anyway, I’m considering to convert voice output to mp3 file then play it. but it needs somewhat computing power, so I’m not sure whether it will be really good for RPI.
Or I will search other solution for better result. -
Hello! I got Hotword working but assistant triggers error. I tried to rebuild electron as explained in the installation guide but it’s not working. I have the google voice kit installed on my raspberry… do you think that is the problem?
-
@mariecbilodeau more details are needed to answer. Error logs or screenshots could be helpful.
-
this is when I load my mirror with just hotword and assistant installed. I’ll try to rebuild electron again to get the log
> magicmirror@2.4.1 start /home/pi/MagicMirror > sh run-start.sh Starting MagicMirror: v2.4.1 Loading config ... Loading module helpers ... Initializing new module helper ... Module helper loaded: MMM-Hotword 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-v2.0-linux-arm-glibc Found: [node-v59-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-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node' Loading module helpers ... Initializing new module helper ... Module helper loaded: MMM-Hotword App threw an error during load Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: electron-v2.0-linux-arm-glibc Found: [node-v59-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-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node' at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) at tryModuleLoad (module.js:504:12) at Function.Module._load (module.js:496:3) at Module.require (module.js:586:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:145:12) Whoops! There was an uncaught exception... { Error: Failed to load gRPC binary module because it was not installed for the current system Expected directory: electron-v2.0-linux-arm-glibc Found: [node-v59-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-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node' at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3) at Module._compile (module.js:642:30) at Object.Module._extensions..js (module.js:653:10) at Module.load (module.js:561:32) at tryModuleLoad (module.js:504:12) at Function.Module._load (module.js:496:3) at Module.require (module.js:586:17) at require (internal/module.js:11:18) at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:145:12) code: 'MODULE_NOT_FOUND' } MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues Launching application. pi@raspberrypi:~/MagicMirror $