So I give another try to direct install on raspbian, still unable to make see audio output (input ok), event if test of both is ok outside rhasspy.
So back to docker, below is my log, I’ve trigger manually the wake up and send a command. I can see
[DEBUG:2022-01-31 19:45:40,636] rhasspywake_porcupine_hermes: Enabled
but it pop before the tts reply.
after all record processing, so it should be ok, no? I can’t see any error output, but is there something wrong?
pi@raspberrypi:~ $ sudo docker logs rhasspy-satfr
[DEBUG:2022-01-31 19:45:34,569] rhasspyprofile.download: speech_to_text.system pocketsphinx hermes = False
[DEBUG:2022-01-31 19:45:34,570] rhasspyprofile.download: speech_to_text.system kaldi hermes = False
[DEBUG:2022-01-31 19:45:34,571] rhasspyprofile.download: speech_to_text.system deepspeech hermes = False
[DEBUG:2022-01-31 19:45:34,571] rhasspyprofile.download: speech_to_text.system vosk hermes = False
[DEBUG:2022-01-31 19:45:34,572] rhasspyprofile.download: speech_to_text.pocketsphinx.open_transcription True False = False
[DEBUG:2022-01-31 19:45:34,573] rhasspyprofile.download: speech_to_text.deepspeech.open_transcription True False = False
[DEBUG:2022-01-31 19:45:34,574] rhasspyprofile.download: speech_to_text.pocketsphinx.mix_weight >0 0 = False
[DEBUG:2022-01-31 19:45:34,574] rhasspyprofile.download: speech_to_text.kaldi.mix_weight >0 0 = False
[DEBUG:2022-01-31 19:45:34,575] rhasspyprofile.download: speech_to_text.deepspeech.mix_weight >0 0 = False
[DEBUG:2022-01-31 19:45:34,576] rhasspyprofile.download: speech_to_text.kaldi.open_transcription True False = False
[DEBUG:2022-01-31 19:45:34,577] rhasspyprofile.download: text_to_speech.system larynx hermes = False
[DEBUG:2022-01-31 19:45:34,578] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) (larynx tom) ['hermes', 'tom'] = False
[DEBUG:2022-01-31 19:45:34,578] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) (larynx siwis) ['hermes', 'tom'] = False
[DEBUG:2022-01-31 19:45:34,579] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) (larynx gilles_le_blanc) ['hermes', 'tom'] = False
[DEBUG:2022-01-31 19:45:34,580] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.vocoder) (larynx universal_large) ['hermes', 'universal_large'] = False
[DEBUG:2022-01-31 19:45:34,580] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.vocoder) (larynx vctk_medium) ['hermes', 'universal_large'] = False
[DEBUG:2022-01-31 19:45:34,581] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.vocoder) (larynx vctk_small) ['hermes', 'universal_large'] = False
[DEBUG:2022-01-31 19:45:37,604] rhasspyserver_hermes: -> HotwordDetected(model_id='default', model_version='', model_type='personal', current_sensitivity=1.0, site_id='cuisine', session_id=None, send_audio_captured=None, lang=None, custom_entities=None)
[DEBUG:2022-01-31 19:45:37,606] rhasspyserver_hermes: Publishing 199 bytes(s) to hermes/hotword/default/detected
[DEBUG:2022-01-31 19:45:37,608] rhasspyserver_hermes: Waiting for intent (session_id=None)
[DEBUG:2022-01-31 19:45:37,615] rhasspyremote_http_hermes: webhook hermes/hotword/default/detected => http://192.168.1.3/core/api/jeeApi.php?apikey=APIKEY&plugin=jeerhasspy&type=jeerhasspy (199 byte(s))
[DEBUG:2022-01-31 19:45:37,621] rhasspyserver_hermes: <- HotwordDetected(model_id='default', model_version='', model_type='personal', current_sensitivity=1.0, site_id='cuisine', session_id=None, send_audio_captured=None, lang=None, custom_entities=None)
[DEBUG:2022-01-31 19:45:37,624] rhasspywake_porcupine_hermes: <- HotwordToggleOff(site_id='cuisine', reason=<HotwordToggleReason.PLAY_AUDIO: 'playAudio'>)
[DEBUG:2022-01-31 19:45:37,626] rhasspywake_porcupine_hermes: Disabled
[DEBUG:2022-01-31 19:45:37,653] rhasspyspeakers_cli_hermes: <- AudioPlayBytes(46946 byte(s))
[DEBUG:2022-01-31 19:45:37,654] rhasspyspeakers_cli_hermes: ['aplay', '-q', '-t', 'wav', '-D', 'default:CARD=seeed2micvoicec']
[DEBUG:2022-01-31 19:45:38,118] rhasspyspeakers_cli_hermes: -> AudioPlayFinished(id='dc935e59-3000-4986-a290-b0e6dd4cdbf9', session_id='dc935e59-3000-4986-a290-b0e6dd4cdbf9')
[DEBUG:2022-01-31 19:45:38,119] rhasspyspeakers_cli_hermes: Publishing 99 bytes(s) to hermes/audioServer/cuisine/playFinished
[DEBUG:2022-01-31 19:45:38,130] rhasspywake_porcupine_hermes: <- HotwordToggleOn(site_id='cuisine', reason=<HotwordToggleReason.PLAY_AUDIO: 'playAudio'>)
[DEBUG:2022-01-31 19:45:38,130] rhasspywake_porcupine_hermes: Enabled
[DEBUG:2022-01-31 19:45:38,176] rhasspywake_porcupine_hermes: <- HotwordToggleOff(site_id='cuisine', reason=<HotwordToggleReason.DIALOGUE_SESSION: 'dialogueSession'>)
[DEBUG:2022-01-31 19:45:38,176] rhasspywake_porcupine_hermes: Disabled
[DEBUG:2022-01-31 19:45:38,176] rhasspymicrophone_pyaudio_hermes: <- AsrStartListening(site_id='cuisine', session_id='cuisine-default-1d102b6a-2cdb-4201-9510-a133dd7c114a', lang=None, stop_on_silence=True, send_audio_captured=True, wakeword_id='default', intent_filter=None)
[DEBUG:2022-01-31 19:45:38,176] rhasspymicrophone_pyaudio_hermes: Disable UDP output
[DEBUG:2022-01-31 19:45:40,277] rhasspywake_porcupine_hermes: <- HotwordToggleOff(site_id='cuisine', reason=<HotwordToggleReason.PLAY_AUDIO: 'playAudio'>)
[DEBUG:2022-01-31 19:45:40,281] rhasspywake_porcupine_hermes: Disabled
[DEBUG:2022-01-31 19:45:40,305] rhasspyspeakers_cli_hermes: <- AudioPlayBytes(42042 byte(s))
[DEBUG:2022-01-31 19:45:40,307] rhasspyspeakers_cli_hermes: ['aplay', '-q', '-t', 'wav', '-D', 'default:CARD=seeed2micvoicec']
[DEBUG:2022-01-31 19:45:40,616] rhasspyspeakers_cli_hermes: -> AudioPlayFinished(id='cfdd3dde-6f5f-4514-85f1-d1fd152cecba', session_id='cfdd3dde-6f5f-4514-85f1-d1fd152cecba')
[DEBUG:2022-01-31 19:45:40,618] rhasspyspeakers_cli_hermes: Publishing 99 bytes(s) to hermes/audioServer/cuisine/playFinished
[DEBUG:2022-01-31 19:45:40,630] rhasspywake_porcupine_hermes: <- HotwordToggleOn(site_id='cuisine', reason=<HotwordToggleReason.PLAY_AUDIO: 'playAudio'>)
[DEBUG:2022-01-31 19:45:40,630] rhasspywake_porcupine_hermes: Still disabled: {<HotwordToggleReason.DIALOGUE_SESSION: 'dialogueSession'>}
[DEBUG:2022-01-31 19:45:40,636] rhasspywake_porcupine_hermes: <- HotwordToggleOn(site_id='cuisine', reason=<HotwordToggleReason.DIALOGUE_SESSION: 'dialogueSession'>)
[DEBUG:2022-01-31 19:45:40,636] rhasspymicrophone_pyaudio_hermes: <- AsrStopListening(site_id='cuisine', session_id='cuisine-default-1d102b6a-2cdb-4201-9510-a133dd7c114a')
[DEBUG:2022-01-31 19:45:40,636] rhasspymicrophone_pyaudio_hermes: Enable UDP output
[DEBUG:2022-01-31 19:45:40,636] rhasspywake_porcupine_hermes: Enabled
[DEBUG:2022-01-31 19:45:40,715] rhasspyserver_hermes: <- NluIntent(input='passe le salon en mode film', intent=Intent(intent_name='SetSalonLight', confidence_score=1.0), site_id='cuisine', id=None, slots=[Slot(entity='ambiance', value={'kind': 'Unknown', 'value': 'film'}, slot_name='ambiance', raw_value='film', confidence=1.0, range=SlotRange(start=23, end=27, raw_start=23, raw_end=27))], session_id='cuisine-default-1d102b6a-2cdb-4201-9510-a133dd7c114a', custom_data='default', asr_tokens=[[AsrToken(value='passe', confidence=1.0, range_start=0, range_end=5, time=None), AsrToken(value='le', confidence=1.0, range_start=6, range_end=8, time=None), AsrToken(value='salon', confidence=1.0, range_start=9, range_end=14, time=None), AsrToken(value='en', confidence=1.0, range_start=15, range_end=17, time=None), AsrToken(value='mode', confidence=1.0, range_start=18, range_end=22, time=None), AsrToken(value='film', confidence=1.0, range_start=23, range_end=27, time=None)]], asr_confidence=1.0, raw_input='passe le salon en mode film', wakeword_id='default', lang=None)
[DEBUG:2022-01-31 19:45:40,715] rhasspyremote_http_hermes: <- NluIntent(input='passe le salon en mode film', intent=Intent(intent_name='SetSalonLight', confidence_score=1.0), site_id='cuisine', id=None, slots=[Slot(entity='ambiance', value={'kind': 'Unknown', 'value': 'film'}, slot_name='ambiance', raw_value='film', confidence=1.0, range=SlotRange(start=23, end=27, raw_start=23, raw_end=27))], session_id='cuisine-default-1d102b6a-2cdb-4201-9510-a133dd7c114a', custom_data='default', asr_tokens=[[AsrToken(value='passe', confidence=1.0, range_start=0, range_end=5, time=None), AsrToken(value='le', confidence=1.0, range_start=6, range_end=8, time=None), AsrToken(value='salon', confidence=1.0, range_start=9, range_end=14, time=None), AsrToken(value='en', confidence=1.0, range_start=15, range_end=17, time=None), AsrToken(value='mode', confidence=1.0, range_start=18, range_end=22, time=None), AsrToken(value='film', confidence=1.0, range_start=23, range_end=27, time=None)]], asr_confidence=1.0, raw_input='passe le salon en mode film', wakeword_id='default', lang=None)
[DEBUG:2022-01-31 19:45:40,717] rhasspyserver_hermes: Handling NluIntent (topic=hermes/intent/SetSalonLight, id=a41821d2-b76f-445c-b163-3dec9701696c)
[DEBUG:2022-01-31 19:45:40,718] rhasspyremote_http_hermes: http://192.168.1.3/core/api/jeeApi.php?apikey=APIKEY&plugin=jeerhasspy&type=jeerhasspy
[DEBUG:2022-01-31 19:45:40,729] rhasspyserver_hermes: Sent 656 char(s) to websocket
[DEBUG:2022-01-31 19:45:41,039] rhasspyserver_hermes: TTS timeout will be 30 second(s)
[DEBUG:2022-01-31 19:45:41,042] rhasspyserver_hermes: -> TtsSay(text='Salon en mode film', site_id='cuisine', lang=None, id='10e30518-e7f6-48d4-b9fa-6fff7e0d46e2', session_id='', volume=1.0)
[DEBUG:2022-01-31 19:45:41,043] rhasspyserver_hermes: Publishing 143 bytes(s) to hermes/tts/say
[DEBUG:2022-01-31 19:45:41,131] rhasspyspeakers_cli_hermes: <- AudioPlayBytes(50988 byte(s))
[DEBUG:2022-01-31 19:45:41,132] rhasspyspeakers_cli_hermes: ['aplay', '-q', '-t', 'wav', '-D', 'default:CARD=seeed2micvoicec']
[DEBUG:2022-01-31 19:45:41,137] rhasspyserver_hermes: Handling AudioPlayBytes (topic=hermes/audioServer/cuisine/playBytes/10e30518-e7f6-48d4-b9fa-6fff7e0d46e2, id=ca6b144e-4dcd-4158-8e57-bbb5b6f166ea)
[DEBUG:2022-01-31 19:45:41,746] rhasspyremote_http_hermes: -> TtsSay(text='nop', site_id='cuisine', lang=None, id='9407653f-4f09-4a26-8be0-6c0577a44b23', session_id='cuisine-default-1d102b6a-2cdb-4201-9510-a133dd7c114a', volume=None)
[DEBUG:2022-01-31 19:45:41,747] rhasspyremote_http_hermes: Publishing 181 bytes(s) to hermes/tts/say
[DEBUG:2022-01-31 19:45:41,807] rhasspyserver_hermes: Handling AudioPlayBytes (topic=hermes/audioServer/cuisine/playBytes/9407653f-4f09-4a26-8be0-6c0577a44b23, id=ca6b144e-4dcd-4158-8e57-bbb5b6f166ea)
[DEBUG:2022-01-31 19:45:42,809] rhasspyspeakers_cli_hermes: -> AudioPlayFinished(id='10e30518-e7f6-48d4-b9fa-6fff7e0d46e2', session_id='10e30518-e7f6-48d4-b9fa-6fff7e0d46e2')
[DEBUG:2022-01-31 19:45:42,809] rhasspyspeakers_cli_hermes: Publishing 99 bytes(s) to hermes/audioServer/cuisine/playFinished
[DEBUG:2022-01-31 19:45:42,813] rhasspyspeakers_cli_hermes: <- AudioPlayBytes(35116 byte(s))
[DEBUG:2022-01-31 19:45:42,815] rhasspyspeakers_cli_hermes: ['aplay', '-q', '-t', 'wav', '-D', 'default:CARD=seeed2micvoicec']
[DEBUG:2022-01-31 19:45:42,824] rhasspyserver_hermes: Handling TtsSayFinished (topic=hermes/tts/sayFinished, id=ca6b144e-4dcd-4158-8e57-bbb5b6f166ea)
pi@raspberrypi:~ $
But nothing is logged after that, no wake word test or anything, except if I send tts or wake it manually. Something is not launched?
Here is the top in the container :
pi@raspberrypi:~ $ sudo docker container top rhasspy-satfr
UID PID PPID C STIME TTY TIME CMD
root 864 840 0 19:39 ? 00:00:00 bash /usr/lib/rhasspy/bin/rhasspy-voltron --user-profiles /profiles --profile fr
root 1109 864 0 19:39 ? 00:00:11 python3 -m rhasspyserver_hermes --profile fr --user-profiles /profiles --web-dir /usr/lib/rhasspy/rhasspy-server-hermes/web
root 1110 864 0 19:39 ? 00:00:03 /usr/bin/python2 /usr/bin/supervisord --configuration /profiles/fr/supervisord.conf --logfile /profiles/fr/supervisord.log --pidfile /profiles/fr/supervisord.pid
root 1128 1110 0 19:39 ? 00:00:00 bash /usr/lib/rhasspy/rhasspy-remote-http-hermes/bin/rhasspy-remote-http-hermes --debug --host 192.168.1.3 --port 1883 --site-id cuisine --username jeedom --password pwd --webhook hermes/hotword/+/detected http://192.168.1.3/core/api/jeeApi.php?apikey=APIKREY&plugin=jeerhasspy&type=jeerhasspy
root 1129 1110 0 19:39 ? 00:00:00 bash /usr/lib/rhasspy/rhasspy-microphone-pyaudio-hermes/bin/rhasspy-microphone-pyaudio-hermes --sample-rate 16000 --sample-width 2 --channels 1 --debug --host 192.168.1.3 --port 1883 --site-id cuisine --username jeedom --password pwd --device-index 0 --udp-audio-host 127.0.0.1 --udp-audio-port 12202 --frames-per-buffer 1024
root 1130 1110 0 19:39 ? 00:00:00 bash /usr/lib/rhasspy/rhasspy-remote-http-hermes/bin/rhasspy-remote-http-hermes --handle-url http://192.168.1.3/core/api/jeeApi.php?apikey=APIKREY&plugin=jeerhasspy&type=jeerhasspy --debug --host 192.168.1.3 --port 1883 --site-id cuisine --username jeedom --password pwd
root 1131 1110 0 19:39 ? 00:00:00 bash /usr/lib/rhasspy/rhasspy-wake-porcupine-hermes/bin/rhasspy-wake-porcupine-hermes --keyword bumblebee_raspberry-pi.ppn --sensitivity 0.5 --keyword-dir /profiles/fr/porcupine --debug --host 192.168.1.3 --port 1883 --site-id cuisine --site-id cuisine --username jeedom --password pwd --udp-audio 127.0.0.1 12202 cuisine
root 1132 1110 0 19:39 ? 00:00:00 bash /usr/lib/rhasspy/rhasspy-speakers-cli-hermes/bin/rhasspy-speakers-cli-hermes --play-command aplay -q -t wav -D default:CARD=seeed2micvoicec --list-command aplay -L --volume 1 --debug --host 192.168.1.3 --port 1883 --site-id cuisine --username jeedom --password pwd
root 1139 1128 0 19:39 ? 00:00:05 python3 -m rhasspyremote_http_hermes --debug --host 192.168.1.3 --port 1883 --site-id cuisine --username jeedom --password pwd --webhook hermes/hotword/+/detected http://192.168.1.3/core/api/jeeApi.php?apikey=APIKREY&plugin=jeerhasspy&type=jeerhasspy
root 1145 1131 0 19:39 ? 00:00:06 python3 -m rhasspywake_porcupine_hermes --keyword bumblebee_raspberry-pi.ppn --sensitivity 0.5 --keyword-dir /profiles/fr/porcupine --debug --host 192.168.1.3 --port 1883 --site-id cuisine --site-id cuisine --username jeedom --password pwd --udp-audio 127.0.0.1 12202 cuisine
root 1147 1130 0 19:39 ? 00:00:05 python3 -m rhasspyremote_http_hermes --handle-url http://192.168.1.3/core/api/jeeApi.php?apikey=APIKREY&plugin=jeerhasspy&type=jeerhasspy --debug --host 192.168.1.3 --port 1883 --site-id cuisine --username jeedom --password pwd
root 1150 1129 1 19:39 ? 00:00:22 python3 -m rhasspymicrophone_pyaudio_hermes --sample-rate 16000 --sample-width 2 --channels 1 --debug --host 192.168.1.3 --port 1883 --site-id cuisine --username jeedom --password pwd --device-index 0 --udp-audio-host 127.0.0.1 --udp-audio-port 12202 --frames-per-buffer 1024
root 1152 1132 0 19:39 ? 00:00:02 python3 -m rhasspyspeakers_cli_hermes --play-command aplay -q -t wav -D default:CARD=seeed2micvoicec --list-command aplay -L --volume 1 --debug --host 192.168.1.3 --port 1883 --site-id cuisine --username jeedom --password pwd
there is a porcupine, smthing missing?