RPI Zero WakeWord not detecting anything on RPI Zero satellite?

Hi there,

I went back on Rhasspy with my new setup, get rid of my numerous RPI 3B+, and now I’ve got a mini PC under proxmox VE with my home automation system and my master Rhasspy as debian VM (with a jabra mic/speaker soooOOOoo great!) My master work absolutely Ok!

I’m trying now to set up my first satellite on an RPI zero 2 W / respeaker 2 / docker / Rhasspy 2.5.11

installation of docker with the convenience script:link:, and rhasspy container as described in the doc.

Everything work fine!.. except my wakeword detection.

I’m using porcupine (both on master and satellite), I manage to have maybe 2 or 3 detection in more than 1 hour repeating different wake word.

I do read : 2.5.8 Satellite Wake Word - no service working - UDP Audio Config problem?

No improvment

as well Satelite Wake word config on Pi Zero - #3 by Gfawkes

but do not have CPU usage issue.

My htop let me see the procupine running, but always with low CPU usage - different with each wakeword ??

as describe here : Wakewords not properly working on Raspberry PI Zero Setup (.deb && docker)
I have tried to upload in my profile the wake word (/profiles/fr/porcupine)

But now some duplicate in wakeword list appears, and yet no improvement.

Every other single function work so well. Have you any other idea?

Tell me if you need any information I missed.

Hi, I have a RasPi Zero W (not the model 2) configured as a satellite to a RasPi 4 running HASS OS with MQTT and Rhasspy add-ons.

On my satellites I have not used Docker, and I recall seeing a comment that Docker didn’t work well on RasPi Zero. You are probably using the fixed install, so I shall not mention it further.

When you say “Everything work fine!” I assume that you

  • have tested that the speaker and microphone are working correctly on your satellite, probably using arecord and aplay. Is the respeaker driver installed in the Rhasspy Docker container ?
  • can access rhasspy on the satellite via its web interface
  • have configured Rhasspy

How have you configured Rhasspy ? Are you using Internal or External MQTT ? Posting your configuration would help. Probably easiest to select Advanced from Rhasspy’s drop-down menu
image


FYI, my configuration is below. Note the sections are listed alphabetically, not in the logical order of the web configuration page.  I am using External MQTT with all the serious processing done on the Base machine.  The udp_audio link between microphone and wakeword detection is optional. 
{
    "handle": {
        "remote": {
            "url": "http://192.168.1.98:8123/"
        },
        "system": "hass"
    },
    "home_assistant": {
        "access_token": "eyJ0e redacted a_XmCZf2SenOU",
        "url": "http://192.168.1.98:8123/"
    },
    "intent": {
        "system": "hermes"
    },
    "microphone": {
        "arecord": {
            "device": "plughw:CARD=seeed2micvoicec,DEV=0",
            "siteId": "sat-0",
            "udp_audio_port": "12203"
        },
        "system": "arecord"
    },
    "mqtt": {
        "enabled": "true",
        "host": "192.168.1.98",
        "password": "rhasspy",
        "port": "1883",
        "site_id": "sat-0",
        "username": "rhasspy"
    },
    "sounds": {
        "aplay": {
            "device": "plughw:CARD=seeed2micvoicec,DEV=0",
            "volume": "0.8"
        },
        "system": "aplay"
    },
    "speech_to_text": {
        "system": "hermes"
    },
    "text_to_speech": {
        "system": "hermes"
    },
    "wake": {
        "porcupine": {
            "udp_audio": "12203"
        },
        "system": "porcupine"
    }
}
1 Like

Hi donburch,

Yes, every other thing works, As I wake the satellite with the “wake button” (so in the web interface), I’ve got the full process from satellilte to master intent recognition, to home automation handling, to desired action, back to satellite tts, and I do hear the answer!

here is my conf :

{
    "dialogue": {
        "system": "hermes"
    },
    "handle": {
        "remote": {
            "url": "http://192.168.1.3/core/api/jeeApi.php?apikey=APIKEY&plugin=jeerhasspy&type=jeerhasspy"
        },
        "system": "remote"
    },
    "intent": {
        "system": "hermes"
    },
    "microphone": {
        "pyaudio": {
            "device": "0",
            "siteId": "cuisine",
            "udp_audio_host": "127.0.0.1",
            "udp_audio_port": "12202"
        },
        "system": "pyaudio"
    },
    "mqtt": {
        "enabled": "true",
        "host": "192.168.1.3",
        "password": "pwd",
        "site_id": "cuisine",
        "username": "jeedom"
    },
    "sounds": {
        "aplay": {
            "device": "default:CARD=seeed2micvoicec"
        },
        "system": "aplay"
    },
    "speech_to_text": {
        "system": "hermes"
    },
    "text_to_speech": {
        "satellite_site_ids": "cuisine",
        "system": "hermes"
    },
    "wake": {
        "porcupine": {
            "keyword_path": "bumblebee_raspberry-pi.ppn",
            "sensitivity": "0.5",
            "udp_audio": "127.0.0.1:12202"
        },
        "satellite_site_ids": "cuisine",
        "system": "porcupine"
    },
    "webhooks": {
        "awake": [
            "http://192.168.1.3/core/api/jeeApi.php?apikey=APIKEY&plugin=jeerhasspy&type=jeerhasspy"
        ]
    }
}

I’ve also give a try to arecord instead of pyaudio btw.

the most surprising for me is that I had some (really few, sporadic) wakeword triggering, with all the process handled after that.

Yes, in the Rhasspy doc you have the mention that docker do not pull the right branch. There’s a trick I’ve also applied.

My first try was to install rahsspy directly in the raspbian (like my master for debian), but I had many issues asa install rhasspy, that why I choose containerization, which works quite “out of the box”

That is both the best and worst thing about Rhasspy and Home Assistant … lots of choices is good … but having no one right way to do anything makes it hard for newbies to guess which method will be best for them ! Too often the documentation is inadequate or out-of-date :frowning:; forcing us to waste time researching a second or third approach - when the first method was probably best,

Anyway, I do not see any problem in your config file (though you are doing several things differently to what is working for me). Maybe someone else will spot something I missed.

Next step is probably to look in the LOG (on the top line next to the drop-down menu). Unfortunately nothing is showing up there on my satellites.

Rhasspy normally reports A LOT of debug statements to the system console, and this is what I would look at next. On my system I have setup rhasspy as a service, so I would SSH to the RasPi Zero and issue command “journalctl -e -u rhasspy.service” and look for occurrences of “porcupine”.

pi@sat-0:~ $ journalctl -e -u rhasspy.service
Jan 31 18:20:31 sat-0 bash[537]: [DEBUG:2022-01-31 18:20:31,906] rhasspyspeakers_cli_hermes: Publishing 99 bytes(s) to hermes/audioServer/sat-0/playFinish
Jan 31 18:20:38 sat-0 bash[537]: [DEBUG:2022-01-31 18:20:38,763] rhasspywake_porcupine_hermes: <- HotwordToggleOn(site_id='sat-0', reason=<HotwordToggleRe
Jan 31 18:20:38 sat-0 bash[537]: [DEBUG:2022-01-31 18:20:38,789] rhasspymicrophone_cli_hermes: <- AsrStopListening(site_id='sat-0', session_id='sat-0-porc
Jan 31 18:20:38 sat-0 bash[537]: [DEBUG:2022-01-31 18:20:38,796] rhasspywake_porcupine_hermes: Enabled
Jan 31 18:20:38 sat-0 bash[537]: [DEBUG:2022-01-31 18:20:38,802] rhasspymicrophone_cli_hermes: Enable UDP output
Jan 31 18:20:38 sat-0 bash[537]: [DEBUG:2022-01-31 18:20:38,833] rhasspywake_porcupine_hermes: Receiving audio sat-0
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,159] rhasspyprofile.download: speech_to_text.system pocketsphinx hermes = False
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,176] rhasspyprofile.download: speech_to_text.system kaldi hermes = False
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,180] rhasspyprofile.download: speech_to_text.system deepspeech hermes = False
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,184] rhasspyprofile.download: speech_to_text.system vosk hermes = False
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,196] rhasspyprofile.download: speech_to_text.pocketsphinx.open_transcription True False = Fals
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,201] rhasspyprofile.download: speech_to_text.kaldi.open_transcription True False = False
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,212] rhasspyprofile.download: speech_to_text.deepspeech.open_transcription True False = False
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,228] rhasspyprofile.download: speech_to_text.pocketsphinx.mix_weight >0 0 = False
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,234] rhasspyprofile.download: speech_to_text.kaldi.mix_weight >0 0 = False
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,240] rhasspyprofile.download: speech_to_text.deepspeech.mix_weight >0 0 = False
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,257] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,261] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,266] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,274] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,307] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,312] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,334] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,358] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,364] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,374] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,379] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,383] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,394] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) 
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,457] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.vocoder) (laryn
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,461] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.vocoder) (laryn
Jan 31 19:22:21 sat-0 bash[537]: [DEBUG:2022-01-31 19:22:21,465] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.vocoder) (laryn
lines 956-1001/1001 (END)

Since you are using Docker, the instructions will be different - and I don’t use Docker so I cant give you specific instructions.

1 Like

Thanks donburch!

That was my very first move! but nothing pop here about porcupine (but other process are showed).

=> And you’re right, I should look for some debug log, I’m not really familiar with docker,
there’s a docker log and docker service log commands that may be of help!!
I will test them tonight.

And I may give another test shot to direct install (that’s just an SD swap!)

It’s really frustrating being so close to a perfect work! But that a way to learn a maximum!

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?

playing with restart and log I’ve found


DEBUG:2022-01-31 21:02:57,643] rhasspywake_porcupine_hermes: Namespace(debug=True, host='192.168.1.3', keyword=['bumblebee_raspberry-pi.ppn'], keyword_dir=['/profiles/fr/porcupine'], lang=None, library=None, log_format='[%(levelname)s:%(asctime)s] %(name)s: %(message)s', model=None, password='pwd', port=1883, sensitivity=['0.5'], site_id=['cuisine'], stdin_audio=False, tls=False, tls_ca_certs=None, tls_cert_reqs='CERT_REQUIRED', tls_certfile=None, tls_ciphers=None, tls_keyfile=None, tls_version=None, udp_audio=[['127.0.0.1', '8888', 'cuisine']], udp_forward_mqtt=None, udp_raw_audio=None, username='jeedom', wakeword_id=None)
[DEBUG:2022-01-31 21:02:57,646] rhasspywake_porcupine_hermes: Keyword dirs: [PosixPath('/profiles/fr/porcupine'), PosixPath('/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/pvporcupine/resources/keyword_files/raspberry-pi')]
[DEBUG:2022-01-31 21:02:57,648] rhasspywake_porcupine_hermes: Loading porcupine (kw=['/profiles/fr/porcupine/bumblebee_raspberry-pi.ppn'], kwdirs=['/profiles/fr/porcupine', '/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/pvporcupine/resources/keyword_files/raspberry-pi'], sensitivity=[0.5])
[DEBUG:2022-01-31 21:02:57,651] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:02:57,656] rhasspywake_porcupine_hermes: Loading porcupine for cuisine
[DEBUG:2022-01-31 21:02:57,664] rhasspywake_porcupine_hermes: Connecting to 192.168.1.3:1883
[DEBUG:2022-01-31 21:02:57,667] rhasspywake_porcupine_hermes: Listening for audio on UDP 127.0.0.1:8888 (siteId=cuisine, raw=False)
[ERROR:2022-01-31 21:02:57,682] rhasspywake_porcupine_hermes: detection_thread_proc
Traceback (most recent call last):
  File "/usr/lib/rhasspy/rhasspy-wake-porcupine-hermes/rhasspywake_porcupine_hermes/__init__.py", line 254, in detection_thread_proc
    sensitivities=self.sensitivities,
  File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/pvporcupine/__init__.py", line 68, in create
    sensitivities=sensitivities)
  File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/pvporcupine/porcupine.py", line 94, in __init__
    raise self._PICOVOICE_STATUS_TO_EXCEPTION[status]()
ValueError
[DEBUG:2022-01-31 21:02:57,694] rhasspywake_porcupine_hermes: Connected to MQTT broker

I may understand that porcupine is trying to do something with the broker :slight_smile, and there 's the word ‘ValueError’!!

What configuration i failed to understand here?

complete log here
pi@raspberrypi:/home $ sudo docker logs rhasspy-satfr
[DEBUG:2022-01-31 21:02:53,585] rhasspyserver_hermes: Restarting Rhasspy
2022-01-31 21:02:53,602 WARN received SIGHUP indicating restart request
2022-01-31 21:02:53,607 INFO waiting for webhooks, microphone, intent_handling, wake_word, speakers to die
2022-01-31 21:02:53,619 INFO stopped: speakers (terminated by SIGTERM)
2022-01-31 21:02:53,623 INFO stopped: wake_word (terminated by SIGTERM)
2022-01-31 21:02:53,627 INFO stopped: intent_handling (terminated by SIGTERM)
2022-01-31 21:02:53,631 INFO stopped: microphone (terminated by SIGTERM)
2022-01-31 21:02:53,637 INFO stopped: webhooks (terminated by SIGTERM)
2022-01-31 21:02:53,709 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2022-01-31 21:02:53,710 INFO supervisord started with pid 173
Shutting down core
[DEBUG:2022-01-31 21:02:54,289] rhasspyprofile.profile: Loading /usr/lib/rhasspy/rhasspy-profile/rhasspyprofile/profiles/fr/profile.json
[DEBUG:2022-01-31 21:02:54,294] rhasspyprofile.profile: Loading /profiles/fr/profile.json
[DEBUG:2022-01-31 21:02:54,296] rhasspyprofile.profile: Loading default profile settings from /usr/lib/rhasspy/rhasspy-profile/rhasspyprofile/profiles/defaults.json
[DEBUG:2022-01-31 21:02:54,303] rhasspyserver_hermes: Starting core
[DEBUG:2022-01-31 21:02:54,304] rhasspyserver_hermes: Connecting to 192.168.1.3:1883 (retries: 0/10)
[DEBUG:2022-01-31 21:02:54,310] rhasspyserver_hermes: Connected to MQTT broker
[DEBUG:2022-01-31 21:02:54,311] rhasspyserver_hermes: Subscribed to hermes/hotword/+/detected
[DEBUG:2022-01-31 21:02:54,312] rhasspyserver_hermes: Subscribed to hermes/asr/textCaptured
[DEBUG:2022-01-31 21:02:54,312] rhasspyserver_hermes: Subscribed to hermes/intent/#
[DEBUG:2022-01-31 21:02:54,313] rhasspyserver_hermes: Subscribed to hermes/nlu/intentNotRecognized
[DEBUG:2022-01-31 21:02:54,314] rhasspyserver_hermes: Subscribed to rhasspy/asr/cuisine/+/audioCaptured
[DEBUG:2022-01-31 21:02:54,314] rhasspyserver_hermes: Subscribed to hermes/audioServer/cuisine/audioSummary
[DEBUG:2022-01-31 21:02:54,315] rhasspyserver_hermes: Subscribed to hermes/nlu/intentNotRecognized
[DEBUG:2022-01-31 21:02:54,316] rhasspyserver_hermes: Subscribed to hermes/hotword/+/detected
[DEBUG:2022-01-31 21:02:54,317] rhasspyserver_hermes: Subscribed to rhasspy/asr/cuisine/+/audioCaptured
[DEBUG:2022-01-31 21:02:54,317] rhasspyserver_hermes: Subscribed to hermes/intent/#
[DEBUG:2022-01-31 21:02:54,318] rhasspyserver_hermes: Subscribed to hermes/audioServer/cuisine/audioSummary
[DEBUG:2022-01-31 21:02:54,319] rhasspyserver_hermes: Subscribed to hermes/asr/textCaptured
[INFO:2022-01-31 21:02:54,319] rhasspyserver_hermes: Started
[DEBUG:2022-01-31 21:02:54,572] rhasspyprofile.download: speech_to_text.system pocketsphinx hermes = False
[DEBUG:2022-01-31 21:02:54,573] rhasspyprofile.download: speech_to_text.system kaldi hermes = False
[DEBUG:2022-01-31 21:02:54,574] rhasspyprofile.download: speech_to_text.system deepspeech hermes = False
[DEBUG:2022-01-31 21:02:54,574] rhasspyprofile.download: speech_to_text.system vosk hermes = False
[DEBUG:2022-01-31 21:02:54,576] rhasspyprofile.download: speech_to_text.pocketsphinx.open_transcription True False = False
[DEBUG:2022-01-31 21:02:54,577] rhasspyprofile.download: speech_to_text.deepspeech.open_transcription True False = False
[DEBUG:2022-01-31 21:02:54,578] rhasspyprofile.download: speech_to_text.pocketsphinx.mix_weight >0 0 = False
[DEBUG:2022-01-31 21:02:54,579] rhasspyprofile.download: speech_to_text.kaldi.mix_weight >0 0 = False
[DEBUG:2022-01-31 21:02:54,580] rhasspyprofile.download: speech_to_text.deepspeech.mix_weight >0 0 = False
[DEBUG:2022-01-31 21:02:54,581] rhasspyprofile.download: speech_to_text.kaldi.open_transcription True False = False
[DEBUG:2022-01-31 21:02:54,582] rhasspyprofile.download: text_to_speech.system larynx hermes = False
[DEBUG:2022-01-31 21:02:54,584] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) (larynx tom) ['hermes', 'tom'] = False
[DEBUG:2022-01-31 21:02:54,584] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) (larynx siwis) ['hermes', 'tom'] = False
[DEBUG:2022-01-31 21:02:54,585] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.default_voice) (larynx gilles_le_blanc) ['hermes', 'tom'] = False
[DEBUG:2022-01-31 21:02:54,587] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.vocoder) (larynx universal_large) ['hermes', 'universal_large'] = False
[DEBUG:2022-01-31 21:02:54,587] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.vocoder) (larynx vctk_medium) ['hermes', 'universal_large'] = False
[DEBUG:2022-01-31 21:02:54,588] rhasspyprofile.download: (and text_to_speech.system text_to_speech.larynx.vocoder) (larynx vctk_small) ['hermes', 'universal_large'] = False
2022-01-31 21:02:54,732 INFO spawned: 'webhooks' with pid 2482
2022-01-31 21:02:54,755 INFO spawned: 'microphone' with pid 2483
2022-01-31 21:02:54,764 INFO spawned: 'intent_handling' with pid 2484
2022-01-31 21:02:54,772 INFO spawned: 'wake_word' with pid 2485
2022-01-31 21:02:54,785 INFO spawned: 'speakers' with pid 2486
2022-01-31 21:02:55,789 INFO success: webhooks entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-01-31 21:02:55,789 INFO success: microphone entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-01-31 21:02:55,790 INFO success: intent_handling entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-01-31 21:02:55,791 INFO success: wake_word entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-01-31 21:02:55,791 INFO success: speakers entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[DEBUG:2022-01-31 21:02:57,125] rhasspyspeakers_cli_hermes: Namespace(debug=True, host='192.168.1.3', list_command='aplay -L', log_format='[%(levelname)s:%(asctime)s] %(name)s: %(message)s', password='pwd', play_command='aplay -q -t wav -D default:CARD=seeed2micvoicec', port=1883, site_id=['cuisine'], tls=False, tls_ca_certs=None, tls_cert_reqs='CERT_REQUIRED', tls_certfile=None, tls_ciphers=None, tls_keyfile=None, tls_version=None, username='jeedom', volume=1.0)
[DEBUG:2022-01-31 21:02:57,128] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:02:57,225] rhasspyspeakers_cli_hermes: Connecting to 192.168.1.3:1883
[DEBUG:2022-01-31 21:02:57,251] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:02:57,254] rhasspyspeakers_cli_hermes: Connected to MQTT broker
[DEBUG:2022-01-31 21:02:57,256] rhasspyspeakers_cli_hermes: Subscribed to hermes/audioServer/cuisine/playBytes/#
[DEBUG:2022-01-31 21:02:57,257] rhasspyspeakers_cli_hermes: Subscribed to hermes/audioServer/toggleOff
[DEBUG:2022-01-31 21:02:57,258] rhasspyspeakers_cli_hermes: Subscribed to rhasspy/audioServer/getDevices
[DEBUG:2022-01-31 21:02:57,259] rhasspyspeakers_cli_hermes: Subscribed to rhasspy/audioServer/setVolume
[DEBUG:2022-01-31 21:02:57,260] rhasspyspeakers_cli_hermes: Subscribed to hermes/audioServer/toggleOn
[DEBUG:2022-01-31 21:02:57,643] rhasspywake_porcupine_hermes: Namespace(debug=True, host='192.168.1.3', keyword=['bumblebee_raspberry-pi.ppn'], keyword_dir=['/profiles/fr/porcupine'], lang=None, library=None, log_format='[%(levelname)s:%(asctime)s] %(name)s: %(message)s', model=None, password='pwd', port=1883, sensitivity=['0.5'], site_id=['cuisine'], stdin_audio=False, tls=False, tls_ca_certs=None, tls_cert_reqs='CERT_REQUIRED', tls_certfile=None, tls_ciphers=None, tls_keyfile=None, tls_version=None, udp_audio=[['127.0.0.1', '8888', 'cuisine']], udp_forward_mqtt=None, udp_raw_audio=None, username='jeedom', wakeword_id=None)
[DEBUG:2022-01-31 21:02:57,646] rhasspywake_porcupine_hermes: Keyword dirs: [PosixPath('/profiles/fr/porcupine'), PosixPath('/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/pvporcupine/resources/keyword_files/raspberry-pi')]
[DEBUG:2022-01-31 21:02:57,648] rhasspywake_porcupine_hermes: Loading porcupine (kw=['/profiles/fr/porcupine/bumblebee_raspberry-pi.ppn'], kwdirs=['/profiles/fr/porcupine', '/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/pvporcupine/resources/keyword_files/raspberry-pi'], sensitivity=[0.5])
[DEBUG:2022-01-31 21:02:57,651] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:02:57,656] rhasspywake_porcupine_hermes: Loading porcupine for cuisine
[DEBUG:2022-01-31 21:02:57,664] rhasspywake_porcupine_hermes: Connecting to 192.168.1.3:1883
[DEBUG:2022-01-31 21:02:57,667] rhasspywake_porcupine_hermes: Listening for audio on UDP 127.0.0.1:8888 (siteId=cuisine, raw=False)
[ERROR:2022-01-31 21:02:57,682] rhasspywake_porcupine_hermes: detection_thread_proc
Traceback (most recent call last):
  File "/usr/lib/rhasspy/rhasspy-wake-porcupine-hermes/rhasspywake_porcupine_hermes/__init__.py", line 254, in detection_thread_proc
    sensitivities=self.sensitivities,
  File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/pvporcupine/__init__.py", line 68, in create
    sensitivities=sensitivities)
  File "/usr/lib/rhasspy/.venv/lib/python3.7/site-packages/pvporcupine/porcupine.py", line 94, in __init__
    raise self._PICOVOICE_STATUS_TO_EXCEPTION[status]()
ValueError
[DEBUG:2022-01-31 21:02:57,694] rhasspywake_porcupine_hermes: Connected to MQTT broker
[DEBUG:2022-01-31 21:02:57,697] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:02:57,699] rhasspywake_porcupine_hermes: Subscribed to hermes/audioServer/cuisine/audioFrame
[DEBUG:2022-01-31 21:02:57,700] rhasspywake_porcupine_hermes: Subscribed to rhasspy/hotword/getHotwords
[DEBUG:2022-01-31 21:02:57,701] rhasspywake_porcupine_hermes: Subscribed to hermes/hotword/toggleOff
[DEBUG:2022-01-31 21:02:57,703] rhasspywake_porcupine_hermes: Subscribed to hermes/hotword/toggleOn
[DEBUG:2022-01-31 21:02:58,049] rhasspymicrophone_cli_hermes: Namespace(channels=1, debug=True, host='192.168.1.3', list_command='arecord -L', log_format='[%(levelname)s:%(asctime)s] %(name)s: %(message)s', output_site_id=None, password='pwd', port=1883, record_command='arecord -q -r 16000 -f S16_LE -c 1 -t raw -D default:CARD=seeed2micvoicec', sample_rate=16000, sample_width=2, site_id=['cuisine'], test_command='arecord -q -D {} -r 16000 -f S16_LE -c 1 -t raw', tls=False, tls_ca_certs=None, tls_cert_reqs='CERT_REQUIRED', tls_certfile=None, tls_ciphers=None, tls_keyfile=None, tls_version=None, udp_audio_host='127.0.0.1', udp_audio_port=8888, username='jeedom')
[DEBUG:2022-01-31 21:02:58,068] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:02:58,073] rhasspymicrophone_cli_hermes: Audio will also be sent to UDP 127.0.0.1:8888
[DEBUG:2022-01-31 21:02:58,095] rhasspymicrophone_cli_hermes: ['arecord', '-q', '-r', '16000', '-f', 'S16_LE', '-c', '1', '-t', 'raw', '-D', 'default:CARD=seeed2micvoicec']
[DEBUG:2022-01-31 21:02:58,100] rhasspymicrophone_cli_hermes: Connecting to 192.168.1.3:1883
[DEBUG:2022-01-31 21:02:58,139] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:02:58,140] rhasspymicrophone_cli_hermes: Recording audio
[DEBUG:2022-01-31 21:02:58,143] rhasspymicrophone_cli_hermes: Connected to MQTT broker
[DEBUG:2022-01-31 21:02:58,145] rhasspymicrophone_cli_hermes: Subscribed to hermes/asr/startListening
[DEBUG:2022-01-31 21:02:58,148] rhasspymicrophone_cli_hermes: Subscribed to hermes/asr/stopListening
[DEBUG:2022-01-31 21:02:58,150] rhasspymicrophone_cli_hermes: Subscribed to hermes/audioServer/toggleSummaryOff
[DEBUG:2022-01-31 21:02:58,152] rhasspymicrophone_cli_hermes: Subscribed to rhasspy/audioServer/getDevices
[DEBUG:2022-01-31 21:02:58,154] rhasspymicrophone_cli_hermes: Subscribed to hermes/audioServer/toggleSummaryOn
[DEBUG:2022-01-31 21:03:01,618] rhasspyremote_http_hermes: Namespace(asr_command=None, asr_train_command=None, asr_train_url=None, asr_url=None, casing='ignore', certfile=None, debug=True, handle_command=None, handle_url='http://192.168.1.3/core/api/jeeApi.php?apikey=APIKREY&plugin=jeerhasspy&type=jeerhasspy', host='192.168.1.3', keyfile=None, lang=None, log_format='[%(levelname)s:%(asctime)s] %(name)s: %(message)s', nlu_command=None, nlu_train_command=None, nlu_train_url=None, nlu_url=None, password='pwd', port=1883, site_id=['cuisine'], tls=False, tls_ca_certs=None, tls_cert_reqs='CERT_REQUIRED', tls_certfile=None, tls_ciphers=None, tls_keyfile=None, tls_version=None, tts_url=None, username='jeedom', voice_before_seconds=0.5, voice_current_energy_threshold=None, voice_max_current_energy_ratio_threshold=None, voice_max_energy=None, voice_max_seconds=None, voice_min_seconds=1.0, voice_sensitivity=3, voice_silence_method=<SilenceMethod.VAD_ONLY: 'vad_only'>, voice_silence_seconds=0.5, voice_skip_seconds=0.0, voice_speech_seconds=0.3, wake_channels=1, wake_command=None, wake_sample_rate=16000, wake_sample_width=2, webhook=None)
[DEBUG:2022-01-31 21:03:01,618] rhasspyremote_http_hermes: Namespace(asr_command=None, asr_train_command=None, asr_train_url=None, asr_url=None, casing='ignore', certfile=None, debug=True, handle_command=None, handle_url=None, host='192.168.1.3', keyfile=None, lang=None, log_format='[%(levelname)s:%(asctime)s] %(name)s: %(message)s', nlu_command=None, nlu_train_command=None, nlu_train_url=None, nlu_url=None, password='pwd', port=1883, site_id=['cuisine'], tls=False, tls_ca_certs=None, tls_cert_reqs='CERT_REQUIRED', tls_certfile=None, tls_ciphers=None, tls_keyfile=None, tls_version=None, tts_url=None, username='jeedom', voice_before_seconds=0.5, voice_current_energy_threshold=None, voice_max_current_energy_ratio_threshold=None, voice_max_energy=None, voice_max_seconds=None, voice_min_seconds=1.0, voice_sensitivity=3, voice_silence_method=<SilenceMethod.VAD_ONLY: 'vad_only'>, voice_silence_seconds=0.5, voice_skip_seconds=0.0, voice_speech_seconds=0.3, wake_channels=1, wake_command=None, wake_sample_rate=16000, wake_sample_width=2, webhook=[['hermes/hotword/+/detected', 'http://192.168.1.3/core/api/jeeApi.php?apikey=APIKREY&plugin=jeerhasspy&type=jeerhasspy']])
[DEBUG:2022-01-31 21:03:01,621] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:03:01,624] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:03:01,632] rhasspyremote_http_hermes: Connecting to 192.168.1.3:1883
[DEBUG:2022-01-31 21:03:01,632] rhasspyremote_http_hermes: Connecting to 192.168.1.3:1883
[DEBUG:2022-01-31 21:03:01,646] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:03:01,649] rhasspyremote_http_hermes: Connected to MQTT broker
[DEBUG:2022-01-31 21:03:01,650] rhasspyremote_http_hermes: Subscribed to rhasspy/handle/toggleOn
[DEBUG:2022-01-31 21:03:01,650] rhasspyremote_http_hermes: Subscribed to hermes/intent/#
[DEBUG:2022-01-31 21:03:01,651] rhasspyremote_http_hermes: Subscribed to rhasspy/handle/toggleOff
[DEBUG:2022-01-31 21:03:01,653] asyncio: Using selector: EpollSelector
[DEBUG:2022-01-31 21:03:01,654] rhasspyremote_http_hermes: Connected to MQTT broker
[DEBUG:2022-01-31 21:03:01,656] rhasspyremote_http_hermes: Subscribed to hermes/hotword/+/detected

Well, that is the sort of error I was expecting to find … but the error messages do not mean anything to me. My expertise has run out :frowning: and I can only hope that someone else can help.

Bben, I guess that porcupine is working on your Base station which has been running several months now; and that your problem is only with porcupine on your new installed satellite ? If so, the problem may be reported in https://github.com/rhasspy/rhasspy-wake-porcupine-hermes/issues/10 that a new version 2.0 of porcupine needs an “Access Key” to use the SDK.
https://github.com/Picovoice/porcupine/blame/master/binding/python/README.md#L30
It appears there’s a work-around here - but honestly it looks complicated to me.

Another option to consider is that with Rhasspy it is very easy to change modules and give them a try …
image

Wake word runs locally on your RasPi Zero 2, so you can try other options without affecting your other machine. When Porcupine is fixed you can change it back … or if you decide you prefer one of the alternatives you can then change your other Rhasspys :wink:

Me neither!!

And yes, only in my new install in my pi zero 2w, but my master is installed on a debian x64.

Many thanks for the links, it looks complicated for me too.

That’s where I landed that night! I’ve tried snowboy (which I used in my previous setup), and it works like a charms!

But I found it a little less efficient, but it will definitely be better than nothing.

(I could swear I had done the test before, but maybe my hermes & co configuration was not correct)

I will let the topic open, if anyone has a clue to spot the error, I can do any test!

1 Like