Solved Voice activation quit working
-
Hello Bugsounet, as always, thank you for sharing all of your hard work with all of us.
I had my mirror offline for a while. When I returned it to service I installed required Ubuntu update as well as MM updates and GoogleAssistant / EXT updates.
Since updating, voice activation is no longer working. If I log onto the mirror website (localhost:8081)and type a query into the request area on the Tools tab I get a correct response.
I’ve disabled almost all other modules to simplify troubleshooting.
if I look at the terminal output it seems that EXT-Detector is not loaded? EXT-Detector is loaded in my config.js as follows…
{
module: ‘EXT-Detector’,
position: ‘top_left’,
disabled: false,
configDeepMerge: true,
config: {
debug: true,
useIcon: true,
touchOnly: false,
porcupineAccessKey: null,
porcupineCustomModel: null,
detectors: [
{
detector: ‘Snowboy’,
Model: ‘jarvis’,
Sensitivity: null
}
]
}
},In the OS terminal output I see…
[29.02.2024 18:42.41.488] [LOG] Module helper loaded: EXT-Detector
[29.02.2024 18:42.41.579] [LOG] Connecting socket for: EXT-DetectorIn the GoogleAssistant website I see…
MM-GoogleAssistant v6.2.1 (240221.en)[29.02.2024 19:06.25.904] [LOG] [GA] [HyperWatch] Logger is now enabled
[29.02.2024 19:06.25.904] [LOG] [GA] Assistant Ready!
[29.02.2024 19:06.25.956] [LOG] [GA] [LIB] All website libraries loaded!
[29.02.2024 19:06.25.956] [LOG] [GA] Loading Website…
[29.02.2024 19:06.25.957] [LOG] [GA] [WEBSITE] [TRANSLATION] [HOME] Use: default.home
[29.02.2024 19:06.25.958] [LOG] [GA] [WEBSITE] Detected: EXT-Alert
[29.02.2024 19:06.25.979] [INFO] Checking git for module: MMM-GoogleAssistant
[29.02.2024 19:06.25.984] [LOG] [ALERT] EXT-Alert Version: 1.4.1 rev: 240221
[29.02.2024 19:06.25.985] [LOG] [UPDATES] EXT-Updates Version: 1.2.2 rev: 240209
[29.02.2024 19:06.25.985] [LOG] [UPDATES] MagicMirror is running on pid: 19038
[29.02.2024 19:06.25.985] [LOG] [UPDATES] [LIB] All libraries loaded!
[29.02.2024 19:06.25.986] [INFO] Checking git for module: EXT-Alert
[29.02.2024 19:06.25.991] [LOG] [GA] [WEBSITE] [PM2] checking PM2 using…
[29.02.2024 19:06.25.993] [INFO] Checking git for module: EXT-Updates
[29.02.2024 19:06.25.999] [LOG] [GA] [WEBSITE] Detected: EXT-Updates
[29.02.2024 19:06.26.001] [INFO] Checking git for module: MagicMirror
[29.02.2024 19:06.26.007] [LOG] [GA] [WEBSITE] [PM2] You don’t use PM2
[29.02.2024 19:06.26.374] [LOG] [GA] [SYSTEMINFO] Read Uptimed
[29.02.2024 19:06.26.374] [LOG] [GA] [SYSTEMINFO] Initialized
[29.02.2024 19:06.26.377] [LOG] [GA] Website Ready!
[29.02.2024 19:06.26.378] [LOG] [GA] Loading Server…
[29.02.2024 19:06.26.650] [LOG] [GA] [WEBSITE] [SERVER] Start listening on port 8081
[29.02.2024 19:06.26.650] [LOG] [GA] [WEBSITE] [SERVER] Available locally at http://##.##.##.##:8081
[29.02.2024 19:06.26.650] [LOG] [GA] Server Ready!
[29.02.2024 19:06.50.586] [LOG] [GA] [WEBSITE] [127.0.0.1] Welcome mwrowland, happy to serve you!No EXT=Detector is listed.
Version
MagicMirror²: 2.25.0
Electron: 26.4.2
MagicMirror² Node: 18.16.1
Node: 18.19.1
NPM: 10.2.4
OS: Ubuntu 22.04.4 LTS (jammy x64)
Kernel: 6.5.0-21-genericMMM-GoogleAssistant
Currently Running
Name Version Revision
EXT-Alert 1.4.1 240221
EXT-Updates 1.2.2 240209Any ideas of how to resolve this?
Thank you for your help… Coffee on the way -
Hi, can you try to update Detector?
-
I have same issue and i updated detector… still no jarvis/picovoice/okay google detection.
-
I updated Detector and voice response is working.
While it is working, the responses are now slow like some others have reported. If I use the GoogleAssistant request on the Tools tab of the web interface I get consistent responses in less than 1 second. Issuing the same requests as Jarvis voice requests I don get a response until about 14 seconds. The response difference if the same I simply ask for a page change (EXT-Pages) or it’s a web query like asking the time or the weather.
Thank you for your help!
-
For me IF voice recog… works it works very rarely and the GA will freeze and other modules like clock is running normal. I updated calendar found on forum but still no luck.
-
@justaguy : it’s the same with minimal modules enabled ? (only with
clock
,MMM-GoogleAssistant
,EXT-Alert
,EXT-Detector
) -
For me get rid of calendar worked. Now picovoice / jarvis detected well and works like charm.
-
Confirmed with only clock, MMM-GoogleAssistant, EXT-Alert, EXT-Detector enabled voice query takes 14 seconds. Prior to updates responses were basically instant.
I’m timing from the chime after Jarvis “how can I help” until response.
System is an i3-8100 nothing else running in background other than OS services. Connectivity is 1GB ethernet, 100Mbps ISP, 19ms ping time. -
Any ideas on how to address slow response to voice queries and commands?
-
This post is deleted! -
sincerly, I don’t know maybe it’s a country bug from Google Server
No problem in France
Prod:
rpi 5 (and rpi4/3b+)
Ethernet 1Gb
ISP: 8Gb/8Gb
ping: 6msDev:
I3 4160
Ubuntu 2402 -
I’m not a developer so I don’t know the process flow. If I make a request like “Jarvis show my weather page” which is handled by EXT-Pages and a recipe does that go to a Google Server?
-
with
transcriptionHooks
sureFor this, process is:
- Activate MMM-GoogleAssistant
- user (you) speak
- send to Google Server as wav
- Google Send real time transcription and MMM-GoogleAssistant display it
- Google Send ok transcription
- MMM-GoogleAssistant verify EXACT match of
Google transcription
andtranscriptionHooks
of the recipe - if match: make job of the recipe and Don’t display Google response (HTML/MP3)
- in other case: display Google Response
-
Thank you for taking the time to respond to my questions.
Since requests sent via the Assistant on the Tools tab of the web site are very fast and requests sent by voice are slow it would appear that the delay is in this area…
send to Google Server as wav
Google Send real time transcription and MMM-GoogleAssistant display it
Google Send ok transcriptionIf I get some free time I’ll use a sniffer and look at the IP traffic to and from Google for a voice request.
-
yes it can be interresting
what is the MMM-GoogleAssistant icon when it “freeze” ~ 13 sec ? (see there)
-
The icon is confirmation.gif
-
The delay must have been something on the Google server side. Today I’m back to getting near instantaneous responses.
-