Read the statement by Michael Teeuw here.
MMM-GoogleAssistant : Jarvis don't listen my calls !
-
Hi everyone,
I’m novice on Magic Mirror, but i’m definitively in love with this project. I have some issues trying to install MMM-GoogleAssistant on my mirror.
All of the installation run well, until I launch the MM application. I try to call Jarvis, but I don’t receive any answer.
When I check my devices, audio and microphone are running well.
Here is a copy of my config :
{ module: "MMM-GoogleAssistant", //position: "fullscreen_above", position: "middle_center", config: { debug: false, assistantConfig: { lang: "fr-FR", projectId: "", // Required to use gaction. modelId: "", // (OPTIONAL for gaction) instanceId: "", // (OPTIONAL for gaction) latitude: 51.508530, longitude: -0.076132, }, responseConfig: { useScreenOutput: true, screenOutputCSS: "screen_output.css", screenOutputTimer: 5000, screenRotate: true, activateDelay: 250, useAudioOutput: true, useChime: true, newChime: false, useNative: false, playProgram: "mpg321" }, micConfig: { // put there configuration generated by auto-installer recorder: "arecord", device: "plughw:2", //device: "hw:<2>,<0>", }, snowboy: { useSnowboy: true, usePMDL: false, audioGain: 2.0, Frontend: true, Model: "Alexa", Sensitivity: 1 }, A2DServer: { useA2D: false, stopCommand: "stop", useYouTube: false, youtubeCommand: "youtube", displayResponse: true }, recipes: [ "with-MMM-TelegramBot.js" ], NPMCheck: { useChecker: true, delay: 10 * 60 * 1000, useAlert: true } } },
And then the results of my aplay and a record commands :
**** Liste des Périphériques Matériels PLAYBACK **** carte 0: b1 [bcm2835 HDMI 1], périphérique 0: bcm2835 HDMI 1 [bcm2835 HDMI 1] Sous-périphériques: 4/4 Sous-périphérique #0: subdevice #0 Sous-périphérique #1: subdevice #1 Sous-périphérique #2: subdevice #2 Sous-périphérique #3: subdevice #3 carte 1: Headphones [bcm2835 Headphones], périphérique 0: bcm2835 Headphones [bcm2835 Headphones] Sous-périphériques: 4/4 Sous-périphérique #0: subdevice #0 Sous-périphérique #1: subdevice #1 Sous-périphérique #2: subdevice #2 Sous-périphérique #3: subdevice #3 **** Liste des Périphériques Matériels CAPTURE **** carte 2: AK5371 [AK5371], périphérique 0: USB Audio [USB Audio] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0
Do you see anything that could be the cause the cause of my problem? I’m not sure of the mic name in the micConfig …
Thanks a lot !
Tom
-
@tom_labhidouille In your micConfig block you have:
device: “plughw:2”,
I think you could try this instead:
device: “plughw:2,0”,
-
@crazylegs Hello crazylegs, thanks for your help, i try this way !
Up : It doesn’t work anymore.
When I launch a mic test in the console, the microphone works perfectly.
How can I know if the module is working ? I mean, if nothing happens when I say the magic word, it might be beacause the module is not working, instead of the microphone ?