Solved Issue getting Google-Assistant V3 working
-
Hello Guys,
I have installed everything as described in the tutorials.
The installation was done without any problems.
when executing MagicMirror and trying the use the keywords, i get no reaction.
here are the messages
[29.09.2021 20:33.15.045] [LOG] [GA] MMM-GoogleAssistant Version: 3.0.7 rev: 210925-2
[29.09.2021 20:33.15.056] [LOG] [GA] All needed @bugsounet library loaded !
[29.09.2021 20:33.15.062] [LOG] [NPM] Initialized v0.9.96
[29.09.2021 20:33.15.443] [LOG] [GA] Google Assistant is initialized.
[29.09.2021 20:33.15.453] [LOG] [DETECTOR] All needed @bugsounet library loaded !
[29.09.2021 20:33.15.454] [LOG] [NPM] Initialized v0.9.96
[29.09.2021 20:33.15.581] [LOG] [DETECTOR] Platform: ‘raspberry-pi’; attempting to use ‘arecord’ to access microphone …
[29.09.2021 20:33.15.617] [LOG] [DETECTOR] Porcupine is initialized with 4 Models: ok google,hey google,ok google,hey google
[29.09.2021 20:33.15.622] [LOG] [DETECTOR] Snowboy is initialized with 2 Models: jarvis,alexa
[29.09.2021 20:33.15.883] [LOG] [DETECTOR] Starts listening. 10 Models
[29.09.2021 20:33.16.402] [LOG] 200[object Object]
[29.09.2021 20:33.16.411] [LOG] Refreshed access token because it has expired. Expired at: 20:33:14 now is: 20:33:16
[29.09.2021 20:33.16.415] [LOG] Refreshed access token because it has expired. Expired at: 21:33:16 now is: 20:33:16
[29.09.2021 20:33.16.487] [LOG] Refreshed access token because it has expired. Expired at: 21:33:16 now is: 20:33:16 -
In your config is it set to
micConfig: { recorder: "arecord", device: "default" },
-
@djb1966 said in Issue getting Google-Assistant V3 working:
In your config is it set to
micConfig: { recorder: "arecord", device: "default" },
I have already uncommented it but still no reaction
-
Is your Mic a usb mic or Aux
-
Yes it’s an usb mic
-
I have tested the mic and the speaker. Both are working
-
post GA and Detector config please.
-
@djb1966 said in Issue getting Google-Assistant V3 working:
post GA and Detector config please.
{ module: "MMM-Detector", position: "top_left", configDeepMerge: true, config: { debug: false, autoStart: true, useLogos: true, /*micConfig: { recorder: "auto", device: "default",*/ // only for snowboy: audioGain: 2.0, applyFrontend: true // When you use only `snowboy` and `smart_mirror`, `false` is better. But with other models, `true` is better. }, newLogos: { default: "default.png" }, detectors: [ { detector: "Snowboy", Model: "jarvis", Sensitivity: null, Logo: "google", autoRestart: false, onDetected: { notification: "GA_ACTIVATE" } }, { detector: "Snowboy", Model: "alexa", Sensitivity: null, Logo: "alexa", autoRestart: false, onDetected: { notification: "ALEXA_ACTIVATE" } }, { detector: "Porcupine", Model: "ok google", Sensitivity: null, Logo: "google", autoRestart: false, onDetected: { notification: "GA_ACTIVATE" } }, { detector: "Porcupine", Model: "hey google", Sensitivity: null, Logo: "google", autoRestart: false, onDetected: { notification: "GA_ACTIVATE" } } ], NPMCheck: { useChecker: true, delay: 10 * 60 * 1000, useAlert: true } }, { module: "MMM-GoogleAssistant", position: "top_left", configDeepMerge: true, config: { debug: false, assistantConfig: { lang: "en-US", projectId: "", // Required to use gaction. modelId: "", // (OPTIONAL for gaction) instanceId: "", // (OPTIONAL for gaction) latitude: 49.447781, longitude: 11.06833, }, responseConfig: { useScreenOutput: true, screenOutputCSS: "screen_output.css", screenOutputTimer: 5000, screenRotate: false, activateDelay: 250, useAudioOutput: true, useChime: true, newChime: false, useNative: true, playProgram: "mpg123" chimes: {}, imgStatus: {}, zoom: {} }, Extented: { useEXT: false, youtube: {}, links: {}, photos: {}, volume: {}, welcome: {}, screen: {}, touch: {}, pir: {}, governor: {}, internet: {}, cast: {}, spotify: { useSpotify: true, visual: {}, player: {} }, }, recipes: [], NPMCheck: {} } },
-
@prinz said in Issue getting Google-Assistant V3 working:
{ module: "MMM-Detector", position: "top_left", configDeepMerge: true, config: { debug: false, autoStart: true, useLogos: true, /*micConfig: { recorder: "auto", device: "default",*/ // only for snowboy: audioGain: 2.0, applyFrontend: true // When you use only `snowboy` and `smart_mirror`, `false` is better. But with other models, `true` is better. },
Try Fixing
useLogos: true, micConfig: { recorder: "auto", device: "default", // only for snowboy: audioGain: 2.0,
Can i ask you were you got config info from please a link please??
-
@djb1966 said in Issue getting Google-Assistant V3 working:
@prinz said in Issue getting Google-Assistant V3 working:
{ module: "MMM-Detector", position: "top_left", configDeepMerge: true, config: { debug: false, autoStart: true, useLogos: true, /*micConfig: { recorder: "auto", device: "default",*/ // only for snowboy: audioGain: 2.0, applyFrontend: true // When you use only `snowboy` and `smart_mirror`, `false` is better. But with other models, `true` is better. },
Try Fixing
useLogos: true, micConfig: { recorder: "auto", device: "default", // only for snowboy: audioGain: 2.0,
Can i ask you were you got config info from please a link please??
Same thing, no reaction from GAm could you please send your configuration for GA and Detector ?
I got the config file from here
https://www.youtube.com/watch?v=xVhqP3fBnVM -
Can you explain more?
Related to GA: Google icon blink and GA not respond?
Related to Detector: Google icon not blink on calling keyword -
Hi Bugsounet,
GA: Google Icon doesn’t blink and GA not responding
Detector:Same thing and no reaction when calling keyword -
Here is config Wiki http://wiki.bugsounet.fr/en/MMM-Detector/configurationSample use it
-
Your config has
useNative: true, playProgram: "mpg123"
Yours
responseConfig: { useResponseOutput: true, responseOutputCSS: "response_output.css", screenOutputTimer: 5000, activateDelay: 250, useAudioOutput: true, useChime: true, newChime: false, useNative: true, playProgram: "mpg123'' chimes: {}, }
Wiki
responseConfig: { useFullscreen: false, useResponseOutput: true, responseOutputCSS: "response_output.css", screenOutputTimer: 5000, activateDelay: 250, useAudioOutput: true, useChime: true, confirmationChime: true, useInformations: true }
can you add
useFullscreen: true,
can you remove
newChime: false, useNative: true, playProgram: "mpg123"
Reboot pi and try. -
@prinz so it’s not an issue for GA.
It’s an detector issueVerify, mic level mixer (pulse audio input) and verify it’s not muted
Maybe increase sensibility of detector
See wiki of detector for that -
And please stop merging conf of v2/v3 of GA, it’s better way to do bad things
-
It worked now
But i couldn’t start youtube, it says I cant start Apps on this device although I have enabled Youtube Data Api V3
Could you help please -
http://wiki.bugsounet.fr/en/MMM-GoogleAssistant/YouTube
You have to install a new API from the google developers console
You have to activate the YouTube Data API v3
Install the token for Youtube using (in MMM-GoogleAssistant): -
@pitchx said in Issue getting Google-Assistant V3 working:
http://wiki.bugsounet.fr/en/MMM-GoogleAssistant/YouTube
You have to install a new API from the google developers console
You have to activate the YouTube Data API v3
Install the token for Youtube using (in MMM-GoogleAssistant):Hi Guys,
I have done all the steps again, the detector is reacting, its trying to open youtube but it seems to be impossible. Please check the log
[01.10.2021 09:32.53.770] [LOG] [PORCUPINE] Detected ‘ok google’
[01.10.2021 09:32.53.774] [LOG] [PORCUPINE] Stops listening.
[01.10.2021 09:32.53.777] [LOG] [SNOWBOY] Stops listening.
[01.10.2021 09:32.53.780] [LOG] [DETECTOR] Stops listening.
[01.10.2021 09:32.53.905] [LOG] [LPCM16] Stop listening
[01.10.2021 09:32.53.911] [LOG] [LPCM16] Stop listening
[01.10.2021 09:33.14.329] [LOG] [GA] Found YouTube Title: Michael Jackson - Smooth Criminal (Official Video) - videoId: h_D3VFfhvs4
[01.10.2021 09:33.15.813] [LOG] [PORCUPINE] Ready for listening this wake word(s): ok google,hey google -