Full reinstall on sattelite wakeword and sound output not working at all (latest 2.5pre)

hey all,

i fully wiped my raspberry pi 3 and reinstalled everything

when i select a wake word agent ( snowboy, porcupine etc…) , save settings , then hit the refresh button to list the available wake words ( jarvis etc… ) i get a time out and cant select anything.

if i bypass the wake-word by clicking on the ‘wake’ button from the main page my voice gets recognized and the intents sent to homeassistant and working alright so the microphone is working…

any help appreciated :slight_smile:

here’s my satellite config

{
    "intent": {
        "system": "hermes"
    },
    "microphone": {
        "pyaudio": {
            "device": "2",
            "udp_audio_host": "localhost",
            "udp_audio_port": "12202"
        },
        "system": "pyaudio"
    },
    "mqtt": {
        "enabled": "true",
        "host": "192.168.1.100",
        "password": "EDITED",
        "site_id": "salon",
        "username": "EDITED"
    },
    "sounds": {
        "aplay": {
            "device": "hw:CARD=ALSA,DEV=0"
        },
        "system": "aplay"
    },
    "speech_to_text": {
        "system": "hermes"
    },
    "text_to_speech": {
        "system": "hermes"
    },
    "wake": {
        "pocketsphinx": {
            "keyphrase": "jarvis",
            "udp_audio": "localhost:12202"
        },
        "snowboy": {
            "udp_audio": "localhost:12202"
        },
        "system": "snowboy"
    }
}

and my server’s:


{
    "dialogue": {
        "satellite_site_ids": "salon",
        "system": "rhasspy"
    },
    "handle": {
        "system": "hass"
    },
    "home_assistant": {
        "access_token": "EDITED",
        "handle_type": "intent",
        "url": "https://EDITED"
    },
    "intent": {
        "fsticuffs": {
            "fuzzy": false
        },
        "satellite_site_ids": "salon",
        "system": "fsticuffs"
    },
    "mqtt": {
        "enabled": "true",
        "host": "192.168.1.100",
        "password": "EDITED",
        "site_id": "rhasspy",
        "username": "EDITED"
    },
    "speech_to_text": {
        "satellite_site_ids": "salon",
        "system": "kaldi"
    },
    "text_to_speech": {
        "espeak": {
            "voice": "fr-fr"
        },
        "marytts": {
            "url": "http://127.0.0.1:59125/process"
        },
        "picotts": {
            "language": "fr-FR"
        },
        "satellite_site_ids": "salon",
        "system": "marytts"
    },
    "wake": {
        "pocketsphinx": {
            "keyphrase": "viki"
        },
        "porcupine": {
            "keyword_path": "jarvis.ppn",
            "sensitivity": "0.3"
        },
        "precise": {
            "model": "athena.pb"
        },
        "satellite_site_ids": "rhasspy-salon",
        "snowboy": {
            "apply_frontend": true,
            "model": "jarvis.umdl",
            "sensitivity": "0.7,0.7"
        }
    }
}

Can you try switching to arecord for recording?

nope arecord is not working either

I guess there are no models in the folder.
Do you use docker?

The strange thing is that in my 2.5-pre profile folder under
/root/.config/rhasspy/profiles/de
is no directory called “porcupine” but i can load the models:
image

If i search for “alexa.ppn” system wide on the host, i get the following output:

/var/lib/docker/overlay2/38b2fd1fa3b84116e4e6ffd34a560db422a118c0ac684b515a0154e94ba21940/diff/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_porcupine_hermes/porcupine/resources/keyword_files/linux/alexa.ppn /var/lib/docker/overlay2/56e30aeeaeda9e54706b262ff9a414bdf900643142b68cf38d36ab5fd766a2e2/merged/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_porcupine_hermes/porcupine/resources/keyword_files/linux/alexa.ppn

Is there any inconsistency by saving data to the profile (e.g. saving models directly to the docker image an not in the profile folder?

Does arecord and then aplay work on the command line?

I know @rolyan_trauts will disapprove, but I had the same issue and tried pulseaudio and direct arecord in that case and ended up using pulseaudio with parec.

However, you should see first, if you can record in 16000 Hz mono with arecord (eventually specifying the right device - check with aplay -L).

1 Like

i do use docker 's version
on my host system there s only aplay but no arecord ( it s libreelec… )

but the cards do work:

cat /proc/asound/cards
0 [ALSA ]: bcm2835_alsa - bcm2835 ALSA bcm2835 ALSA
1 [CameraB409241 ]: USB-Audio - USB Camera-B4.09.24.1 OmniVision Technologies, Inc. USB Camera-B4.09.24.1 at usb-3f980000.usb-1.3, hi

aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
sysdefault:CARD=ALSA
bcm2835 ALSA, bcm2835 ALSA
Default Audio Device
iec958:CARD=ALSA,DEV=0
bcm2835 ALSA, bcm2835 IEC958/HDMI
IEC958 (S/PDIF) Digital Audio Output

EDIT: by the way arecord nerver worked for me even with raspbian lite

I haven’t used rhasspy docker much, though I would still ensure that arecord and aplay work on the host before mapping them to docker.

Can’t you install alsa-utils in libreelec?

You can also use sox or ffmpeg for testing recording or playing.

none of them available ( sox ffmpeg )

and no pakages management either this distrib is not very usefull forlots of things… :confused:

i try to run kodi and rhasspy on the same raspberrypi

raspbian: kodi + rhasspy = overheating + slowdowns when navigating my movies ( i do have heatsinks on it )
openelec : kodi + rhasspy : no overheating nor slowdowns

:slight_smile: Its not that I dissaprove as pulseaudio is great but it also has it problems.
The only thing I dissagree is that pulse is a standalone alternative as it still stands on a basic foundation of Alsa.

Alsa I agree can be a nightmare to configure but pulseaudio isn’t perfect either and can be even more problematic and confusing in containers.

I am just saying its not a binary choice, but often with alsa its a simple conf error that is a simple matter of selecting the right pcm and device.
Installing a whole new soundserver rather than just finding the error is a spagetti solution.

We all have opinion on here and I am just pointing out that Alsa is going to be there whatever and that at least at first try and find the alsa error as pulseaudo may just be unessacary bloat.

We all have different opinions on here and with satelites I just think lite is beuatiful and effective.
If I had my way we would be scrapping the whole Hermes audio bloat and doing KWS on satelites via alsa and using snapcast to send a stream to Deepspeech direct with a slight delay buffer based on KWS response time and that would be it for a sattelite.
I really like the possibillities with distributed wide array microphones and how the speakers can also became a latency compensated multichannel speaker system.
Needs little more than Alsa, Snapcast and KWS and all else is bloat :slight_smile:
But my focus is blinkered as I feel software AEC is effective and can be done Pi3 or above and works better with zero latency and as little as load as possible.

Do we have a snapcast thread here somewhere - would enjoy exchanging about it - the one second delay would be a bit much for voice recognition, but I haven’t looked where I can decrease this. I have also built some interesting combinations here locally with snapcast and ffmpeg (streaming also video), but I guess that’s for another thread - though @lilbuh might be interested in the solution I have here where my pi just renders a stream I cast from an old linux laptop - that might free some resources for rhasspy (though I have that running on the table laptop too, where I select the media that is displayed on my home cinema system).

I have standalone installation and updated my 2.5pre several days ago…
And yes, snowboy is not working anymore. Also I have no beep sounds.

I see the same behavior…
@lilbuh as I have same issues, l guess it’s a bug on rhasspy side. But I haven’t checked last commits yet

@ulno

If you want to :slight_smile:

Guys, does anyone else have the same issue after update of your 2.5pre?
Still can’t make snowboy working… :neutral_face:

just pulled the latest one ( 28/05 00H30 GMT+1)
still cant select the hotword with snowboy ( time out )

i extracted the docker’s log of a rhasspy restart

2020-05-30 11:01:37,077 WARN received SIGHUP indicating restart request
2020-05-30 11:01:37,078 INFO waiting for microphone, speakers to die
2020-05-30 11:01:38,096 INFO stopped: speakers (terminated by SIGTERM)
2020-05-30 11:01:38,110 INFO stopped: microphone (terminated by SIGTERM)
2020-05-30 11:01:38,157 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.
2020-05-30 11:01:38,159 INFO supervisord started with pid 144
2020-05-30 11:01:39,173 INFO spawned: ‘microphone’ with pid 625
2020-05-30 11:01:39,188 INFO spawned: ‘speakers’ with pid 626
2020-05-30 11:01:39,204 INFO spawned: ‘wake_word’ with pid 627
[DEBUG:2020-05-30 11:01:40,110] rhasspyspeakers_cli_hermes: Namespace(debug=True, host=‘192.168.1.100’, list_command=‘aplay -L’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, password=‘EDITED’, play_command=‘aplay -q -t wav’, port=1883, site_id=[‘salon’], tls=False, tls_ca_certs=None, tls_cert_reqs=‘CERT_REQUIRED’, tls_certfile=None, tls_ciphers=None, tls_keyfile=None, tls_version=None, username=‘EDITED’)
[DEBUG:2020-05-30 11:01:40,115] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:40,117] rhasspyspeakers_cli_hermes: Connecting to 192.168.1.100:1883
[DEBUG:2020-05-30 11:01:40,132] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:40,135] rhasspyspeakers_cli_hermes: Connected to MQTT broker
[DEBUG:2020-05-30 11:01:40,137] rhasspyspeakers_cli_hermes: Subscribed to hermes/audioServer/salon/playBytes/#
[DEBUG:2020-05-30 11:01:40,139] rhasspyspeakers_cli_hermes: Subscribed to rhasspy/audioServer/getDevices
[DEBUG:2020-05-30 11:01:40,141] rhasspyspeakers_cli_hermes: Subscribed to hermes/audioServer/toggleOn
[DEBUG:2020-05-30 11:01:40,143] rhasspyspeakers_cli_hermes: Subscribed to hermes/audioServer/toggleOff
[DEBUG:2020-05-30 11:01:40,185] rhasspywake_snowboy_hermes: Namespace(debug=True, host=‘192.168.1.100’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, model=[[‘jarvis.umdl’, ‘0.5,0.5’, ‘1.0’, ‘True’]], model_dir=[’/profiles/fr/snowboy’], password=‘EDITED’, port=1883, site_id=[‘salon’], 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=[[‘localhost’, ‘12202’, ‘salon’]], username=‘EDITED’, wakeword_id=None)
2020-05-30 11:01:40,186 INFO success: microphone entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-05-30 11:01:40,187 INFO success: speakers entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[DEBUG:2020-05-30 11:01:40,186] rhasspywake_snowboy_hermes: Loading model from jarvis.umdl
[DEBUG:2020-05-30 11:01:40,196] asyncio: Using selector: EpollSelector
2020-05-30 11:01:40,198 INFO success: wake_word entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[DEBUG:2020-05-30 11:01:40,202] rhasspywake_snowboy_hermes: Listening for audio on UDP localhost:12202
Traceback (most recent call last):
File “/usr/lib/rhasspy/bin/rhasspy-wake-snowboy-hermes”, line 8, in
sys.exit(main())
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/main.py”, line 138, in main
hermes.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
2020-05-30 11:01:40,375 INFO exited: wake_word (exit status 1; not expected)
[DEBUG:2020-05-30 11:01:40,656] rhasspymicrophone_cli_hermes: Namespace(channels=1, debug=True, host=‘192.168.1.100’, list_command=‘arecord -L’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, output_site_id=None, password=‘EDITED’, port=1883, record_command=‘arecord -q -r 16000 -f S16_LE -c 1 -t raw -D sysdefault:CARD=CameraB409241’, sample_rate=16000, sample_width=2, site_id=[‘salon’], 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=12202, username=‘EDITED’)
2020-05-30 11:01:40,664 INFO spawned: ‘wake_word’ with pid 637
[DEBUG:2020-05-30 11:01:40,660] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:40,662] rhasspymicrophone_cli_hermes: Audio will also be sent to UDP 127.0.0.1:12202
[DEBUG:2020-05-30 11:01:40,667] rhasspymicrophone_cli_hermes: [‘arecord’, ‘-q’, ‘-r’, ‘16000’, ‘-f’, ‘S16_LE’, ‘-c’, ‘1’, ‘-t’, ‘raw’, ‘-D’, ‘sysdefault:CARD=CameraB409241’]
[DEBUG:2020-05-30 11:01:40,669] rhasspymicrophone_cli_hermes: Connecting to 192.168.1.100:1883
[DEBUG:2020-05-30 11:01:40,690] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:40,692] rhasspymicrophone_cli_hermes: Connected to MQTT broker
[DEBUG:2020-05-30 11:01:40,693] rhasspymicrophone_cli_hermes: Recording audio
[DEBUG:2020-05-30 11:01:40,696] rhasspymicrophone_cli_hermes: Subscribed to hermes/audioServer/toggleSummaryOn
[DEBUG:2020-05-30 11:01:40,698] rhasspymicrophone_cli_hermes: Subscribed to hermes/asr/startListening
[DEBUG:2020-05-30 11:01:40,701] rhasspymicrophone_cli_hermes: Subscribed to hermes/asr/stopListening
[DEBUG:2020-05-30 11:01:40,703] rhasspymicrophone_cli_hermes: Subscribed to rhasspy/audioServer/getDevices
[DEBUG:2020-05-30 11:01:40,705] rhasspymicrophone_cli_hermes: Subscribed to hermes/audioServer/toggleSummaryOff
[DEBUG:2020-05-30 11:01:41,472] rhasspywake_snowboy_hermes: Namespace(debug=True, host=‘192.168.1.100’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, model=[[‘jarvis.umdl’, ‘0.5,0.5’, ‘1.0’, ‘True’]], model_dir=[’/profiles/fr/snowboy’], password=‘EDITED’, port=1883, site_id=[‘salon’], 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=[[‘localhost’, ‘12202’, ‘salon’]], username=‘EDITED’, wakeword_id=None)
[DEBUG:2020-05-30 11:01:41,474] rhasspywake_snowboy_hermes: Loading model from jarvis.umdl
[DEBUG:2020-05-30 11:01:41,478] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:41,483] rhasspywake_snowboy_hermes: Listening for audio on UDP localhost:12202
Traceback (most recent call last):
File “/usr/lib/rhasspy/bin/rhasspy-wake-snowboy-hermes”, line 8, in
sys.exit(main())
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/main.py”, line 138, in main
[ERROR:2020-05-30 11:01:41,512] rhasspywake_snowboy_hermes: detection_thread_proc
Traceback (most recent call last):
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 221, in detection_thread_proc
self.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
hermes.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
2020-05-30 11:01:41,638 INFO exited: wake_word (exit status 1; not expected)
2020-05-30 11:01:42,646 INFO spawned: ‘wake_word’ with pid 646
[DEBUG:2020-05-30 11:01:43,646] rhasspywake_snowboy_hermes: Namespace(debug=True, host=‘192.168.1.100’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, model=[[‘jarvis.umdl’, ‘0.5,0.5’, ‘1.0’, ‘True’]], model_dir=[’/profiles/fr/snowboy’], password=‘EDITED’, port=1883, site_id=[‘salon’], 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=[[‘localhost’, ‘12202’, ‘salon’]], username=‘EDITED’, wakeword_id=None)
2020-05-30 11:01:43,648 INFO success: wake_word entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
[DEBUG:2020-05-30 11:01:43,649] rhasspywake_snowboy_hermes: Loading model from jarvis.umdl
[DEBUG:2020-05-30 11:01:43,653] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:43,657] rhasspywake_snowboy_hermes: Listening for audio on UDP localhost:12202
Traceback (most recent call last):
File “/usr/lib/rhasspy/bin/rhasspy-wake-snowboy-hermes”, line 8, in
sys.exit(main())
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/main.py”, line 138, in main
[ERROR:2020-05-30 11:01:43,687] rhasspywake_snowboy_hermes: detection_thread_proc
Traceback (most recent call last):
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 221, in detection_thread_proc
self.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
hermes.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
2020-05-30 11:01:43,812 INFO exited: wake_word (exit status 1; not expected)
2020-05-30 11:01:44,819 INFO spawned: ‘wake_word’ with pid 651
[DEBUG:2020-05-30 11:01:45,671] rhasspywake_snowboy_hermes: Namespace(debug=True, host=‘192.168.1.100’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, model=[[‘jarvis.umdl’, ‘0.5,0.5’, ‘1.0’, ‘True’]], model_dir=[’/profiles/fr/snowboy’], password=‘EDITED’, port=1883, site_id=[‘salon’], 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=[[‘localhost’, ‘12202’, ‘salon’]], username=‘EDITED’, wakeword_id=None)
[DEBUG:2020-05-30 11:01:45,673] rhasspywake_snowboy_hermes: Loading model from jarvis.umdl
[DEBUG:2020-05-30 11:01:45,678] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:45,684] rhasspywake_snowboy_hermes: Listening for audio on UDP localhost:12202
Traceback (most recent call last):
File “/usr/lib/rhasspy/bin/rhasspy-wake-snowboy-hermes”, line 8, in
sys.exit(main())
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/main.py”, line 138, in main
[ERROR:2020-05-30 11:01:45,715] rhasspywake_snowboy_hermes: detection_thread_proc
Traceback (most recent call last):
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 221, in detection_thread_proc
self.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
hermes.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
2020-05-30 11:01:45,844 INFO success: wake_word entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-05-30 11:01:45,844 INFO exited: wake_word (exit status 1; not expected)
2020-05-30 11:01:46,851 INFO spawned: ‘wake_word’ with pid 656
[DEBUG:2020-05-30 11:01:47,610] rhasspywake_snowboy_hermes: Namespace(debug=True, host=‘192.168.1.100’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, model=[[‘jarvis.umdl’, ‘0.5,0.5’, ‘1.0’, ‘True’]], model_dir=[’/profiles/fr/snowboy’], password=‘EDITED’, port=1883, site_id=[‘salon’], 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=[[‘localhost’, ‘12202’, ‘salon’]], username=‘EDITED’, wakeword_id=None)
[DEBUG:2020-05-30 11:01:47,611] rhasspywake_snowboy_hermes: Loading model from jarvis.umdl
[DEBUG:2020-05-30 11:01:47,616] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:47,622] rhasspywake_snowboy_hermes: Listening for audio on UDP localhost:12202
Traceback (most recent call last):
File “/usr/lib/rhasspy/bin/rhasspy-wake-snowboy-hermes”, line 8, in
sys.exit(main())
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/main.py”, line 138, in main
[ERROR:2020-05-30 11:01:47,652] rhasspywake_snowboy_hermes: detection_thread_proc
Traceback (most recent call last):
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 221, in detection_thread_proc
self.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
hermes.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
2020-05-30 11:01:47,777 INFO exited: wake_word (exit status 1; not expected)
2020-05-30 11:01:48,784 INFO spawned: ‘wake_word’ with pid 661
[DEBUG:2020-05-30 11:01:49,596] rhasspywake_snowboy_hermes: Namespace(debug=True, host=‘192.168.1.100’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, model=[[‘jarvis.umdl’, ‘0.5,0.5’, ‘1.0’, ‘True’]], model_dir=[’/profiles/fr/snowboy’], password=‘EDITED’, port=1883, site_id=[‘salon’], 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=[[‘localhost’, ‘12202’, ‘salon’]], username=‘EDITED’, wakeword_id=None)
[DEBUG:2020-05-30 11:01:49,597] rhasspywake_snowboy_hermes: Loading model from jarvis.umdl
[DEBUG:2020-05-30 11:01:49,601] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:49,622] rhasspywake_snowboy_hermes: Listening for audio on UDP localhost:12202
Traceback (most recent call last):
File “/usr/lib/rhasspy/bin/rhasspy-wake-snowboy-hermes”, line 8, in
sys.exit(main())
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/main.py”, line 138, in main
[ERROR:2020-05-30 11:01:49,636] rhasspywake_snowboy_hermes: detection_thread_proc
Traceback (most recent call last):
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 221, in detection_thread_proc
self.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
hermes.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
2020-05-30 11:01:49,758 INFO exited: wake_word (exit status 1; not expected)
2020-05-30 11:01:51,767 INFO spawned: ‘wake_word’ with pid 666
[DEBUG:2020-05-30 11:01:52,522] rhasspywake_snowboy_hermes: Namespace(debug=True, host=‘192.168.1.100’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, model=[[‘jarvis.umdl’, ‘0.5,0.5’, ‘1.0’, ‘True’]], model_dir=[’/profiles/fr/snowboy’], password=‘EDITED’, port=1883, site_id=[‘salon’], 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=[[‘localhost’, ‘12202’, ‘salon’]], username=‘EDITED’, wakeword_id=None)
[DEBUG:2020-05-30 11:01:52,523] rhasspywake_snowboy_hermes: Loading model from jarvis.umdl
[DEBUG:2020-05-30 11:01:52,527] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:52,532] rhasspywake_snowboy_hermes: Listening for audio on UDP localhost:12202
Traceback (most recent call last):
File “/usr/lib/rhasspy/bin/rhasspy-wake-snowboy-hermes”, line 8, in
sys.exit(main())
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/main.py”, line 138, in main
hermes.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
[ERROR:2020-05-30 11:01:52,562] rhasspywake_snowboy_hermes: detection_thread_proc
Traceback (most recent call last):
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 221, in detection_thread_proc
self.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
2020-05-30 11:01:52,685 INFO exited: wake_word (exit status 1; not expected)
2020-05-30 11:01:55,695 INFO spawned: ‘wake_word’ with pid 671
[DEBUG:2020-05-30 11:01:56,515] rhasspywake_snowboy_hermes: Namespace(debug=True, host=‘192.168.1.100’, log_format=’[%(levelname)s:%(asctime)s] %(name)s: %(message)s’, model=[[‘jarvis.umdl’, ‘0.5,0.5’, ‘1.0’, ‘True’]], model_dir=[’/profiles/fr/snowboy’], password=‘EDITED’, port=1883, site_id=[‘salon’], 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=[[‘localhost’, ‘12202’, ‘salon’]], username=‘EDITED’, wakeword_id=None)
[DEBUG:2020-05-30 11:01:56,518] rhasspywake_snowboy_hermes: Loading model from jarvis.umdl
[DEBUG:2020-05-30 11:01:56,522] asyncio: Using selector: EpollSelector
[DEBUG:2020-05-30 11:01:56,545] rhasspywake_snowboy_hermes: Listening for audio on UDP localhost:12202
Traceback (most recent call last):
File “/usr/lib/rhasspy/bin/rhasspy-wake-snowboy-hermes”, line 8, in
sys.exit(main())
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/main.py”, line 138, in main
hermes.load_detectors()
File “/usr/lib/rhasspy/lib/python3.7/site-packages/rhasspywake_snowboy_hermes/init.py”, line 126, in load_detectors
assert model.model_path.is_file(), f"Missing {model.model_path}"
AssertionError: Missing jarvis.umdl
2020-05-30 11:01:56,679 INFO exited: wake_word (exit status 1; not expected)
2020-05-30 11:01:57,681 INFO gave up: wake_word entered FATAL state, too many start retries too quickly

because of this line: AssertionError: Missing jarvis.umdl i tried to add jarvis.umdl in ~/.config/rhasspy/profile/fr/snowboy but it didnt work either

Shame on me… I’ve copied snowboy.umdl from here (https://github.com/Kitt-AI/snowboy/tree/master/resources/models) to the created snowboy folder in my profile.
So now snowboy is working… But I still do not have beep sounds :neutral_face:

yes me too i forgot to post my workaround here

i copied the jarvis.umdl file from the repo
and in the snowboy settings i entered the FULL path in the Model textbox:
/profiles/fr/snowboy/jarvis.umdl
still cant refresh the available hotwords

Which permissions folder did you use for your snowboy folder in your profile ?

i used 755 for the folder and 644 for the model file inside

Finally I had to make the sound work! just removed pulseaudio from the host system.
So happy! :upside_down_face:

upd: also I have changed wake sounds to my custom… With default ones it doesn’t work. Looks like they are missing