Getting issues in Google Assistant v3 not working
-
I installed using this tutorial on yt: https://www.youtube.com/watch?v=xVhqP3fBnVM.
Below is my config file:
{ module: "MMM-Detector", position: "top_center", configDeepMerge: true, config: { debug: false, autoStart: true, useLogos: true, micConfig: { recorder: "auto", device: "default", // only for snowboy: audioGain: 2.0, }, newLogos: { default: "default.png", }, detectors: [ { detector: "Snowboy", Model: "jarvis", Sensitivity: 0.7, 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_center", configDeepMerge: true, config: { debug: false, assistantConfig: { lang: "en-US", latitude: 21.132487, //add your location coordinates longitude: 79.082046, }, responseConfig: { useFullscreen: true, useResponseOutput: true, responseOutputCSS: "response_output.css", screenOutputTimer: 5000, activateDelay: 250, useAudioOutput: true, useChime: true, confirmationChime: true, useInformations: true, }, micConfig: {}, Extented: { useEXT: true, stopCommand: "stop", youtube: { useYoutube: true, youtubeCommand: "youtube", displayResponse: true, useVLC: true, minVolume: 30, maxVolume: 100, }, links: { useLinks: true, displayDelay: 60 * 1000, scrollActivate: false, scrollStep: 25, scrollInterval: 1000, scrollStart: 5000, }, photos: { usePhotos: true, useGooglePhotosAPI: true, displayType: "none", displayDelay: 10 * 1000, albums: [], sort: "new", hiResolution: true, timeFormat: "DD/MM/YYYY HH:mm", moduleHeight: 300, moduleWidth: 300, }, welcome: { useWelcome: true, welcome: "brief today", }, cast: { useCast: true, port: 8569, }, spotify: { useSpotify: false, visual: {}, player: {}, }, }, recipes: [], NPMCheck: {}, }, },
The google assistant loads successfully but simply does not work.
Please help!!! -
hi, just simply because you don’t use a raspberry Pi4
Note: it’s simply writed on the wiki and on your screenso use this config:
{ module: "MMM-Detector", position: "top_center", configDeepMerge: true, config: { debug: false, autoStart: true, useLogos: true, detectors: [ { detector: "Snowboy", Model: "jarvis", Sensitivity: 0.7, Logo: "google", autoRestart: false, onDetected: { notification: "GA_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", }, }, ], }, }, { module: "MMM-GoogleAssistant", position: "top_center", configDeepMerge: true, config: { debug: false, assistantConfig: { lang: "en-US", latitude: 21.132487, //add your location coordinates longitude: 79.082046, }, responseConfig: { useFullscreen: true }, }, },
-
Still not working!
-
can i have log from MagicMirror start for better helping?
-
This post is deleted! -
> magicmirror@2.17.1 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [23.10.2021 00:23.05.373] [LOG] Starting MagicMirror: v2.17.1 [23.10.2021 00:23.05.398] [LOG] Loading config ... [23.10.2021 00:23.05.422] [LOG] Loading module helpers ... [23.10.2021 00:23.05.429] [LOG] No helper found for module: clock. [23.10.2021 00:23.05.433] [LOG] No helper found for module: alert. [23.10.2021 00:23.05.506] [LOG] Initializing new module helper ... [23.10.2021 00:23.05.510] [LOG] Module helper loaded: updatenotification [23.10.2021 00:23.05.514] [LOG] No helper found for module: compliments. [23.10.2021 00:23.06.208] [LOG] Initializing new module helper ... [23.10.2021 00:23.06.212] [LOG] Module helper loaded: calendar [23.10.2021 00:23.06.216] [LOG] No helper found for module: weather. [23.10.2021 00:23.07.796] [LOG] Initializing new module helper ... [23.10.2021 00:23.07.800] [LOG] Module helper loaded: MMM-NowPlayingOnSpotify [23.10.2021 00:23.14.341] [LOG] Initializing new module helper ... [23.10.2021 00:23.14.344] [LOG] Module helper loaded: MMM-GoogleTasks [23.10.2021 00:23.14.440] [LOG] Initializing new module helper ... [23.10.2021 00:23.14.442] [LOG] Module helper loaded: MMM-NewsAPI [23.10.2021 00:23.14.456] [LOG] Initializing new module helper ... [23.10.2021 00:23.14.459] [LOG] Module helper loaded: MMM-Detector [23.10.2021 00:23.21.687] [LOG] Initializing new module helper ... [23.10.2021 00:23.21.689] [LOG] Module helper loaded: MMM-GoogleAssistant [23.10.2021 00:23.21.691] [LOG] All module helpers loaded. [23.10.2021 00:23.22.024] [LOG] Starting server on port 8080 ... [23.10.2021 00:23.22.069] [LOG] Server started ... [23.10.2021 00:23.22.072] [LOG] Connecting socket for: updatenotification [23.10.2021 00:23.22.077] [LOG] Connecting socket for: calendar [23.10.2021 00:23.22.080] [LOG] Starting node helper for: calendar [23.10.2021 00:23.22.082] [LOG] Connecting socket for: MMM-NowPlayingOnSpotify [23.10.2021 00:23.22.085] [LOG] Connecting socket for: MMM-GoogleTasks [23.10.2021 00:23.22.088] [LOG] Starting node helper for: MMM-GoogleTasks [23.10.2021 00:23.22.090] [LOG] Connecting socket for: MMM-NewsAPI [23.10.2021 00:23.22.093] [LOG] Starting node_helper for module: MMM-NewsAPI [23.10.2021 00:23.22.096] [LOG] Connecting socket for: MMM-Detector [23.10.2021 00:23.22.103] [LOG] [DETECTOR] MMM-Detector Version: 1.1.2 rev: 211004-1 [23.10.2021 00:23.22.107] [LOG] Connecting socket for: MMM-GoogleAssistant [23.10.2021 00:23.22.112] [LOG] [GA] Read config.js and check ConfigDeepMerge... [23.10.2021 00:23.22.116] [LOG] [GA] Perfect ConfigDeepMerge activated! [23.10.2021 00:23.22.119] [LOG] Sockets connected & modules started ... [23.10.2021 00:23.23.336] [LOG] Launching application. [23.10.2021 00:23.23.504] [WARN] (electron) Security Warning: A WebContents was just created with both webviewTag and contextIsolation enabled. This combination is fundamentally less secure and effectively bypasses the protections of contextIsolation. We strongly recommend you move away from webviews to OOPIF or BrowserView in order for your app to be more secure [23.10.2021 00:23.32.016] [LOG] Create new calendarfetcher for url: http://www.calendarlabs.com/ical-calendar/ics/48/Hindu_Holidays.ics - Interval: 300000 [23.10.2021 00:23.32.841] [ERROR] (node:2396) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. (Use `electron --trace-deprecation ...` to show where the warning was created) [23.10.2021 00:23.32.977] [INFO] Checking git for module: default [23.10.2021 00:23.33.172] [INFO] Checking git for module: MMM-NowPlayingOnSpotify [23.10.2021 00:23.33.317] [INFO] Checking git for module: MMM-GoogleTasks [23.10.2021 00:23.33.542] [INFO] Checking git for module: MMM-NewsAPI [23.10.2021 00:23.33.690] [INFO] Checking git for module: MMM-Detector [23.10.2021 00:23.33.932] [INFO] Checking git for module: MMM-GoogleAssistant [23.10.2021 00:23.34.129] [LOG] [GA] MMM-GoogleAssistant Version: 3.1.0 rev: 211008-1 [23.10.2021 00:23.34.167] [LOG] [GA] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [23.10.2021 00:23.36.559] [LOG] [GA] All needed @bugsounet library loaded ! [23.10.2021 00:23.36.591] [LOG] [NPM] Initialized v0.9.96 [23.10.2021 00:23.38.279] [LOG] [GA] Google Assistant is initialized. [23.10.2021 00:23.38.281] [LOG] [DETECTOR] All needed @bugsounet library loaded ! [23.10.2021 00:23.38.287] [LOG] [NPM] Initialized v0.9.96 [23.10.2021 00:23.38.772] [LOG] [DETECTOR] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [23.10.2021 00:23.38.824] [LOG] [DETECTOR] Porcupine is initialized with 2 Models: ok google,hey google [23.10.2021 00:23.38.848] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: jarvis [23.10.2021 00:23.39.339] [LOG] [DETECTOR] Starts listening. 3 Models [23.10.2021 00:23.42.245] [LOG] Refreshed access token because it has expired. Expired at: 00:23:32 now is: 00:23:42 [23.10.2021 00:23.42.275] [LOG] Refreshed access token because it has expired. Expired at: 01:23:42 now is: 00:23:42 [23.10.2021 00:23.44.435] [LOG] Refreshed access token because it has expired. Expired at: 01:23:42 now is: 00:23:44 [23.10.2021 00:23.46.023] [LOG] Refreshed access token because it has expired. Expired at: 01:23:44 now is: 00:23:46 [23.10.2021 00:23.46.036] [LOG] Refreshed access token because it has expired. Expired at: 01:23:46 now is: 00:23:46 [23.10.2021 00:23.46.048] [LOG] Refreshed access token because it has expired. Expired at: 01:23:46 now is: 00:23:46 [23.10.2021 00:23.46.062] [LOG] Refreshed access token because it has expired. Expired at: 01:23:46 now is: 00:23:46 [23.10.2021 00:23.46.097] [LOG] Refreshed access token because it has expired. Expired at: 01:23:46 now is: 00:23:46 [23.10.2021 00:23.46.180] [LOG] Refreshed access token because it has expired. Expired at: 01:23:46 now is: 00:23:46 [23.10.2021 00:23.47.855] [LOG] Refreshed access token because it has expired. Expired at: 01:23:46 now is: 00:23:47 [23.10.2021 00:23.51.679] [INFO] Calendar-Fetcher: Broadcasting 3 events.
-
this part of log is ok
what do you do or say for trying to activate assistant ?
-
This post is deleted! -
@bugsounet “jarvis”, “ok google”, “hey google”
-
do you control your mic volume ? (not muted or too low for example)
-
@bugsounet I tested the mic on chromium with google voice search, worked perfectly fine
-
When you says
javis
Google icon blink ? -
@bugsounet no
-
ok, right,
- it’s not related to GA, It’s related to Detector
- can you modify your Detector config:
... { detector: "Snowboy", Model: "jarvis", Sensitivity: 0.9, Logo: "google", autoRestart: false, onDetected: { notification: "GA_ACTIVATE" } }, ...
modify this part of config with new value of Sensitivity
And retart MM, and try to call
Jarvis
-
@bugsounet ohh man, you are genius. It worked. Thanks a lot
-
@nemesis007 But can I open the links or play yt video?
-
if some trouble (so many fake Jarvis positive) try to reduce to
0.8
forJarvis
the scheme is the same for other keyword (
ok google
,hey_google
)
so adjust modify Sensitivity if neededSorry, with a Raspberry Pi3 you can’t use All sub-modules function
(This Raspberry is too old and need a Raspberry 4)
there is not enough memory in this SBC -
@bugsounet Doesn’t work for 0.8. I think 0.9 is the best possible value.
-
@bugsounet Can I use custom keywords like instead of “jarvis” if I use “hey mirror” as the keyword
-
@bugsounet when I say hey google. Google icon blinking but in terminal “[DETECTOR] Stops listening.” and nothing
> magicmirror@2.14.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [24.10.2021 15:15.40.423] [LOG] Starting MagicMirror: v2.14.0 [24.10.2021 15:15.40.430] [LOG] Loading config ... [24.10.2021 15:15.40.436] [LOG] Loading module helpers ... [24.10.2021 15:15.40.438] [LOG] No helper found for module: alert. [24.10.2021 15:15.40.451] [LOG] Initializing new module helper ... [24.10.2021 15:15.40.452] [LOG] Module helper loaded: MMM-PiTemp [24.10.2021 15:15.40.573] [LOG] Initializing new module helper ... [24.10.2021 15:15.40.574] [LOG] Module helper loaded: updatenotification [24.10.2021 15:15.40.575] [LOG] No helper found for module: clock. [24.10.2021 15:15.40.937] [LOG] Initializing new module helper ... [24.10.2021 15:15.40.938] [LOG] Module helper loaded: calendar [24.10.2021 15:15.40.939] [LOG] No helper found for module: compliments. [24.10.2021 15:15.40.941] [LOG] Initializing new module helper ... [24.10.2021 15:15.40.942] [LOG] Module helper loaded: currentweather [24.10.2021 15:15.40.944] [LOG] Initializing new module helper ... [24.10.2021 15:15.40.945] [LOG] Module helper loaded: weatherforecast [24.10.2021 15:15.40.955] [LOG] Initializing new module helper ... [24.10.2021 15:15.40.956] [LOG] Module helper loaded: MMM-Spotify [24.10.2021 15:15.40.976] [LOG] Initializing new module helper ... [24.10.2021 15:15.40.976] [LOG] Module helper loaded: newsfeed [24.10.2021 15:15.42.892] [LOG] Initializing new module helper ... [24.10.2021 15:15.42.893] [LOG] Module helper loaded: MMM-GoogleAssistant [24.10.2021 15:15.42.896] [LOG] Initializing new module helper ... [24.10.2021 15:15.42.897] [LOG] Module helper loaded: MMM-Detector [24.10.2021 15:15.42.898] [LOG] All module helpers loaded. [24.10.2021 15:15.42.985] [LOG] Starting server on port 8080 ... [24.10.2021 15:15.42.995] [LOG] Server started ... [24.10.2021 15:15.42.996] [LOG] Connecting socket for: MMM-PiTemp [24.10.2021 15:15.42.997] [LOG] Starting module helper: MMM-PiTemp [24.10.2021 15:15.42.998] [LOG] Connecting socket for: updatenotification [24.10.2021 15:15.42.999] [LOG] Connecting socket for: calendar [24.10.2021 15:15.43.001] [LOG] Starting node helper for: calendar [24.10.2021 15:15.43.001] [LOG] Connecting socket for: currentweather [24.10.2021 15:15.43.002] [LOG] Connecting socket for: weatherforecast [24.10.2021 15:15.43.003] [LOG] Connecting socket for: MMM-Spotify [24.10.2021 15:15.43.004] [LOG] Connecting socket for: newsfeed [24.10.2021 15:15.43.004] [LOG] Starting node helper for: newsfeed [24.10.2021 15:15.43.005] [LOG] Connecting socket for: MMM-GoogleAssistant [24.10.2021 15:15.43.006] [LOG] [GA] Read config.js and check ConfigDeepMerge... [24.10.2021 15:15.43.007] [LOG] [GA] Perfect ConfigDeepMerge activated! [24.10.2021 15:15.43.007] [LOG] Connecting socket for: MMM-Detector [24.10.2021 15:15.43.009] [LOG] [DETECTOR] MMM-Detector Version: 1.1.2 rev: 211004-1 [24.10.2021 15:15.43.009] [LOG] Sockets connected & modules started ... [24.10.2021 15:15.43.304] [LOG] Launching application. [24.10.2021 15:15.45.455] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/namckth%40gmail.com/public/basic.ics - Interval: 1200000 [24.10.2021 15:15.45.543] [LOG] Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/vi.vietnamese%23holiday%40group.v.calendar.google.com/public/basic.ics - Interval: 1200000 [24.10.2021 15:15.45.548] [LOG] Create new news fetcher for url: https://trainghiemso.vn/feed/ - Interval: 60000 [24.10.2021 15:15.45.585] [LOG] Create new news fetcher for url: https://tinhte.vn/rss/ - Interval: 60000 [24.10.2021 15:15.45.589] [LOG] Create new news fetcher for url: http://ictnews.vn/rss.ict - Interval: 60000 [24.10.2021 15:15.45.600] [INFO] Checking git for module: MMM-PiTemp [24.10.2021 15:15.45.605] [INFO] Checking git for module: MMM-Detector [24.10.2021 15:15.45.776] [LOG] [DETECTOR] All needed @bugsounet library loaded ! [24.10.2021 15:15.45.778] [LOG] [NPM] Initialized v0.9.96 [24.10.2021 15:15.45.884] [LOG] [DETECTOR] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [24.10.2021 15:15.45.976] [LOG] [DETECTOR] Porcupine is initialized with 1 Models: hey google [24.10.2021 15:15.46.021] [LOG] [DETECTOR] Starts listening. 1 Models [24.10.2021 15:15.46.061] [LOG] <Buffer 34 30 2e 39 0a> [24.10.2021 15:15.47.091] [INFO] Calendar-Fetcher: Broadcasting 10 events. [24.10.2021 15:15.48.446] [INFO] Newsfeed-Fetcher: Broadcasting 20 items. [24.10.2021 15:15.53.247] [INFO] Calendar-Fetcher: Broadcasting 10 events. [24.10.2021 15:15.53.376] [LOG] [DETECTOR] Stops listening.