Hello,
I need some help to troobleshoot the following problem please:
I’m using 3 different versions of Rhasspy on 3 devices (migration in progress)
- A standard computer running Debian Buster (amd64) --> Rhasspy 2.5-pre (siteID: jeedom)
- A laptop on Debian Buster (amd64) --> Rhasspy 2.5.6 (siteID: default)
- A respeaker core v2 on Debian Buster (armv71) --> Rhasspy 2.6.5 (siteID: séjour)
All Rhasspy are running on docker.
- What is working:
Rhasspy on my standard computer works fine as the “master”, with these roles:
- mqtt --> internal
- STT --> Kaldi
- Intents recognition --> Fsticuffs
- TTS --> MaryTTS
Rhasspy deployed as a satellite on the Laptop interacts fine with the Rhasspy master
This satellite has the following roles:
- mqtt --> internal
- arecord
- aplay
- Dialogue management --> Rhasspy
- Intent Handling --> Remote HTTP (targeting jeedom API)
- All others options --> Remote HTTP targeting the relevant Rhasspy API entrypoint on the Rhasspy master
This config runs fine.
- What is not working:
The respeaker core v2 is configured as a sattelite with the exact same config than the Laptop sattelite.
Only things that changes on Rhasspy: the siteID
Description of the problem:
When the wakeword is triggered, I can hear the “hi” sound and that’s all; Rhasspy seems to “hang”.
Nothing happens, whatever I can say, I have no intent recognition and no reaction.
If I try to trigger the wakeword again, nothing happens. I then have to restart Rhasspy to come back to the behaviour described above.
What I don’t understand:
- Entering an intent and hitting the “Recognize” button on Rhasspy webui on the respeaker sattelite works. Intent is recognized and correctly applied.
- Hitting the “Wake-up” button on Rhasspy webui on the respeaker sattelite and saying an intent also works. Intent is recognized and correctly applied.
So I think there is really a problem related to the wekeword functionnality. But what is happening ?
Here is an extract of the rhasspy container logs on the respeaker from the wakeword detection to Rhasspy “hanging”.
We can see a lot of strange errors related to “session timeout”; but I’m not sure to understand what it really means.
[DEBUG:2020-10-14 23:24:41,954] rhasspyremote_http_hermes: Receiving audio
[DEBUG:2020-10-14 23:24:49,774] rhasspywake_snowboy_hermes: Wake word detected: jarvis (site_id=séjour)
[DEBUG:2020-10-14 23:24:49,784] rhasspywake_snowboy_hermes: -> HotwordDetected(model_id=‘jarvis’, model_version=’’, model_type=‘personal’, current_sensitivity=0.0, site_id=‘séjour’, session_id=None, send_audio_captured=None, lang=None)
[DEBUG:2020-10-14 23:24:49,785] rhasspywake_snowboy_hermes: Publishing 178 bytes(s) to hermes/hotword/jarvis/detected
[DEBUG:2020-10-14 23:24:49,797] rhasspyserver_hermes: <- HotwordDetected(model_id=‘jarvis’, model_version=’’, model_type=‘personal’, current_sensitivity=0.0, site_id=‘séjour’, session_id=None, send_audio_captured=None, lang=None)
[DEBUG:2020-10-14 23:24:49,801] rhasspydialogue_hermes: <- HotwordDetected(model_id=‘jarvis’, model_version=’’, model_type=‘personal’, current_sensitivity=0.0, site_id=‘séjour’, session_id=None, send_audio_captured=None, lang=None)
[DEBUG:2020-10-14 23:24:49,804] rhasspydialogue_hermes: Playing WAV /usr/lib/rhasspy/etc/wav/beep_hi.wav
[DEBUG:2020-10-14 23:24:49,809] rhasspydialogue_hermes: -> HotwordToggleOff(site_id=‘séjour’, reason=<HotwordToggleReason.PLAY_AUDIO: ‘playAudio’>)
[DEBUG:2020-10-14 23:24:49,810] rhasspydialogue_hermes: Publishing 48 bytes(s) to hermes/hotword/toggleOff
[DEBUG:2020-10-14 23:24:49,815] rhasspydialogue_hermes: -> AsrToggleOff(site_id=‘séjour’, reason=<AsrToggleReason.PLAY_AUDIO: ‘playAudio’>)
[DEBUG:2020-10-14 23:24:49,816] rhasspydialogue_hermes: Publishing 48 bytes(s) to hermes/asr/toggleOff
[DEBUG:2020-10-14 23:24:49,821] rhasspydialogue_hermes: -> AudioPlayBytes(83948 byte(s)) to hermes/audioServer/séjour/playBytes/495742f3-1f4c-4b7d-aabc-91cdeac9e2bf
[DEBUG:2020-10-14 23:24:49,825] rhasspywake_snowboy_hermes: <- HotwordToggleOff(site_id=‘séjour’, reason=<HotwordToggleReason.PLAY_AUDIO: ‘playAudio’>)
[DEBUG:2020-10-14 23:24:49,827] rhasspywake_snowboy_hermes: Disabled
[DEBUG:2020-10-14 23:24:49,834] rhasspyremote_http_hermes: <- AsrToggleOff(site_id=‘séjour’, reason=<AsrToggleReason.PLAY_AUDIO: ‘playAudio’>)
[DEBUG:2020-10-14 23:24:49,836] rhasspyremote_http_hermes: ASR disabled
[DEBUG:2020-10-14 23:24:49,825] rhasspydialogue_hermes: Waiting for playFinished (timeout=1.2012925170068027)
[DEBUG:2020-10-14 23:24:49,863] rhasspyspeakers_cli_hermes: <- AudioPlayBytes(83948 byte(s))
[DEBUG:2020-10-14 23:24:49,865] rhasspyspeakers_cli_hermes: [‘aplay’, ‘-q’, ‘-t’, ‘wav’, ‘-D’, ‘plughw:CARD=seeed8micvoicec,DEV=1’]
[DEBUG:2020-10-14 23:24:50,644] rhasspyspeakers_cli_hermes: -> AudioPlayFinished(id=‘495742f3-1f4c-4b7d-aabc-91cdeac9e2bf’, session_id=’’)
[DEBUG:2020-10-14 23:24:50,646] rhasspyspeakers_cli_hermes: Publishing 63 bytes(s) to hermes/audioServer/séjour/playFinished
[DEBUG:2020-10-14 23:24:50,658] rhasspydialogue_hermes: <- AudioPlayFinished(id=‘495742f3-1f4c-4b7d-aabc-91cdeac9e2bf’, session_id=’’)
[DEBUG:2020-10-14 23:24:50,664] rhasspydialogue_hermes: -> HotwordToggleOn(site_id=‘séjour’, reason=<HotwordToggleReason.PLAY_AUDIO: ‘playAudio’>)
[DEBUG:2020-10-14 23:24:50,666] rhasspydialogue_hermes: Publishing 48 bytes(s) to hermes/hotword/toggleOn
[DEBUG:2020-10-14 23:24:50,672] rhasspydialogue_hermes: -> AsrToggleOn(site_id=‘séjour’, reason=<AsrToggleReason.PLAY_AUDIO: ‘playAudio’>)
[DEBUG:2020-10-14 23:24:50,674] rhasspydialogue_hermes: Publishing 48 bytes(s) to hermes/asr/toggleOn
[DEBUG:2020-10-14 23:24:50,676] rhasspydialogue_hermes: Starting new session (id=séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729)
[DEBUG:2020-10-14 23:24:50,683] rhasspydialogue_hermes: -> DialogueSessionStarted(session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’, site_id=‘séjour’, custom_data=‘jarvis’, lang=None)
[DEBUG:2020-10-14 23:24:50,684] rhasspydialogue_hermes: Publishing 135 bytes(s) to hermes/dialogueManager/sessionStarted
[DEBUG:2020-10-14 23:24:50,690] rhasspydialogue_hermes: -> HotwordToggleOff(site_id=‘séjour’, reason=<HotwordToggleReason.DIALOGUE_SESSION: ‘dialogueSession’>)
[DEBUG:2020-10-14 23:24:50,692] rhasspydialogue_hermes: Publishing 54 bytes(s) to hermes/hotword/toggleOff
[DEBUG:2020-10-14 23:24:50,693] rhasspydialogue_hermes: Listening for session séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729
[DEBUG:2020-10-14 23:24:50,702] rhasspydialogue_hermes: -> AsrStartListening(site_id=‘séjour’, session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’, lang=None, stop_on_silence=True, send_audio_captured=True, wakeword_id=‘jarvis’, intent_filter=None)
[DEBUG:2020-10-14 23:24:50,706] rhasspydialogue_hermes: Publishing 207 bytes(s) to hermes/asr/startListening
[DEBUG:2020-10-14 23:24:50,707] rhasspywake_snowboy_hermes: <- HotwordToggleOn(site_id=‘séjour’, reason=<HotwordToggleReason.PLAY_AUDIO: ‘playAudio’>)
[DEBUG:2020-10-14 23:24:50,708] rhasspywake_snowboy_hermes: Enabled
[DEBUG:2020-10-14 23:24:50,706] rhasspyremote_http_hermes: <- AsrToggleOn(site_id=‘séjour’, reason=<AsrToggleReason.PLAY_AUDIO: ‘playAudio’>)
[DEBUG:2020-10-14 23:24:50,716] rhasspyremote_http_hermes: ASR enabled
[DEBUG:2020-10-14 23:24:50,732] rhasspywake_snowboy_hermes: <- HotwordToggleOff(site_id=‘séjour’, reason=<HotwordToggleReason.DIALOGUE_SESSION: ‘dialogueSession’>)
[DEBUG:2020-10-14 23:24:50,732] rhasspyremote_http_hermes: <- AsrStartListening(site_id=‘séjour’, session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’, lang=None, stop_on_silence=True, send_audio_captured=True, wakeword_id=‘jarvis’, intent_filter=None)
[DEBUG:2020-10-14 23:24:50,733] rhasspywake_snowboy_hermes: Disabled
[DEBUG:2020-10-14 23:24:50,736] rhasspyremote_http_hermes: <- AsrStartListening(site_id=‘séjour’, session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’, lang=None, stop_on_silence=True, send_audio_captured=True, wakeword_id=‘jarvis’, intent_filter=None)
[ERROR:2020-10-14 23:25:20,742] rhasspydialogue_hermes: Session timed out for site séjour: séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729
[DEBUG:2020-10-14 23:25:20,749] rhasspydialogue_hermes: -> AsrStopListening(site_id=‘séjour’, session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’)
[DEBUG:2020-10-14 23:25:20,751] rhasspydialogue_hermes: Publishing 97 bytes(s) to hermes/asr/stopListening
[DEBUG:2020-10-14 23:25:20,764] rhasspydialogue_hermes: -> DialogueSessionEnded(termination=DialogueSessionTermination(reason=<DialogueSessionTerminationReason.TIMEOUT: ‘timeout’>), session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’, site_id=‘séjour’, custom_data=‘jarvis’)
[DEBUG:2020-10-14 23:25:20,766] rhasspydialogue_hermes: Publishing 159 bytes(s) to hermes/dialogueManager/sessionEnded
[DEBUG:2020-10-14 23:25:20,778] rhasspydialogue_hermes: -> HotwordToggleOn(site_id=‘séjour’, reason=<HotwordToggleReason.DIALOGUE_SESSION: ‘dialogueSession’>)
[DEBUG:2020-10-14 23:25:20,784] rhasspydialogue_hermes: Publishing 54 bytes(s) to hermes/hotword/toggleOn
[DEBUG:2020-10-14 23:25:20,823] rhasspywake_snowboy_hermes: <- HotwordToggleOn(site_id=‘séjour’, reason=<HotwordToggleReason.DIALOGUE_SESSION: ‘dialogueSession’>)
[DEBUG:2020-10-14 23:25:20,824] rhasspywake_snowboy_hermes: Enabled
[DEBUG:2020-10-14 23:25:20,829] rhasspyremote_http_hermes: <- AsrStopListening(site_id=‘séjour’, session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’)
[DEBUG:2020-10-14 23:25:20,832] rhasspyremote_http_hermes: <- AsrStopListening(site_id=‘séjour’, session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’)
[DEBUG:2020-10-14 23:25:20,834] rhasspyremote_http_hermes: Received 8684 byte(s) of WAV data
[DEBUG:2020-10-14 23:25:20,837] rhasspyremote_http_hermes: http://192.168.1.251:12101/api/speech-to-text
[DEBUG:2020-10-14 23:25:21,037] rhasspyremote_http_hermes: -> AsrTextCaptured(text=’’, likelihood=0.0, seconds=0.15199856599792838, site_id=‘séjour’, session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’, wakeword_id=None, asr_tokens=None, lang=None)
[DEBUG:2020-10-14 23:25:21,040] rhasspyremote_http_hermes: Publishing 213 bytes(s) to hermes/asr/textCaptured
[DEBUG:2020-10-14 23:25:21,043] rhasspyremote_http_hermes: -> AsrAudioCaptured(8684 byte(s)) to rhasspy/asr/séjour/séjour/audioCaptured
[DEBUG:2020-10-14 23:25:21,058] rhasspydialogue_hermes: <- AsrTextCaptured(text=’’, likelihood=0.0, seconds=0.15199856599792838, site_id=‘séjour’, session_id=‘séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729’, wakeword_id=None, asr_tokens=None, lang=None)
[WARNING:2020-10-14 23:25:21,060] rhasspydialogue_hermes: Ignoring unknown session séjour-jarvis-d5b7ce62-c137-4029-94cb-0272a1daf729
Some of you guys could help me on this ?
Thank you for your help