Read the statement by Michael Teeuw here.
The latest Install Guide (MM w/ Google Assistant)
-
@makepluscode
Hello first of all thanks for the great tutorial!
Unfortunately I’m stuck with the last step (installation of the microphone)
When I enter the command “vi ~/.asoundrc” I get the following message:
I ask for help
Greeting Fabian -
@Fabian
Type sudo nano. asoundrc in command prompt
Then paste your code there.
To save that code press ctrl+X, then Y and then enter.
You are good to go -
So In Your Opinion is MMM Hotword and MMM-assistankmk2 the best combo for google assistant?
I see a few other modules like MMM-GoogleAssistant out there too
-
pcm.!default {
type asym
capture.pcm “mic”
playback.pcm “speaker”
}
pcm.mic {
type plug
slave {
pcm “hw:1,0”
}
}
pcm.speaker {
type plug
slave {
pcm “hw:0,1”
}
}This is my asoundrc conf but i want to change conf like this
defaults.pcm.!card
defaults.ctl.!cardscreencast and google assistant both want diffrent asoundrc so any suggetions ??
Thank you.
i am noob at this so sorry in advance for dumb question…
Thank you for your reply 🙂
-
This post is deleted! -
@makepluscode
https://pastebin.com/cBFMG7aki got this… what sholde i do?
-
An amazing guide! Thanks a lot. Got the mirror and the google assistant module up an running well, with a few issues that I will address here.
So, overall, everything is VERRY LAGGY- from audio, video, animation and update rate. I was told to downgrade MM from 2.9.0 down to 2.1.0, but have no idea how. Any help please. And the google assistant, when asked about some specific things like direction or information on the web, it just shows the URL for like a split second, then stop. Anyway I can display this on my phone, like idk connect the module to my phone in any way?
Please help. I’ve been struggling with this for 4 weeks already and it’s starting to br a major annoyance :( -
Excuse me but i have a problem in your tutoriel : step 5 point 1.
when you ask to go :cd ~/MagicMirror/modules/MMM-Hotword/node_modules/snowboy
I havent folder node module. When i “npm install” in MMM-hotword i have :
npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN MMM-Hotword@2.0.1 No repository field.
-
@Ayos53 said in The latest Install Guide (MM w/ Google Assistant):
I havent folder node module.
its node_modules (note the trailing s)…
it will be there if you ran npm install in the MMM-Hotword folder as required by the install instructions (the install.sh script does this)
-
Sorry it’s me again.
I have a problem when i launch magicmiror, he crashed.
The log file :0 info it worked if it ends with ok 1 warn npm npm does not support Node.js v10.15.2 2 warn npm You should probably upgrade to a newer version of node as we 3 warn npm can't make any promises that npm will work with this version. 4 warn npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. 5 warn npm You can find the latest version at https://nodejs.org/ 6 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ] 7 info using npm@5.8.0 8 info using node@v10.15.2 9 verbose run-script [ 'prestart', 'start', 'poststart' ] 10 info lifecycle magicmirror@2.9.0~prestart: magicmirror@2.9.0 11 info lifecycle magicmirror@2.9.0~start: magicmirror@2.9.0 12 verbose lifecycle magicmirror@2.9.0~start: unsafe-perm in lifecycle true 13 verbose lifecycle magicmirror@2.9.0~start: PATH: /usr/share/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games 14 verbose lifecycle magicmirror@2.9.0~start: CWD: /home/pi/MagicMirror 15 silly lifecycle magicmirror@2.9.0~start: Args: [ '-c', 'sh run-start.sh' ] 16 info lifecycle magicmirror@2.9.0~start: Failed to exec start script 17 verbose stack Error: magicmirror@2.9.0 start: `sh run-start.sh` 17 verbose stack spawn ENOENT 17 verbose stack at ChildProcess.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18) 17 verbose stack at ChildProcess.emit (events.js:189:13) 17 verbose stack at maybeClose (internal/child_process.js:970:16) 17 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 18 verbose pkgid magicmirror@2.9.0 19 verbose cwd /home/pi/MagicMirror 20 verbose Linux 4.19.75-v7l+ 21 verbose argv "/usr/bin/node" "/usr/bin/npm" "start" 22 verbose node v10.15.2 23 verbose npm v5.8.0 24 error file sh 25 error code ELIFECYCLE 26 error errno ENOENT 27 error syscall spawn 28 error magicmirror@2.9.0 start: `sh run-start.sh` 28 error spawn ENOENT 29 error Failed at the magicmirror@2.9.0 start script. 29 error This is probably not a problem with npm. There is likely additional logging output above. 30 verbose exit [ 1, true ]
If someone have an idea ?