Custom wakeword with wyoming satelitte

I am creating a voice satellite following this tutorial https://github.com/rhasspy/wyoming-satellite/blob/8850100ca658a80708e562e6741739ed27c91f99/docs/tutorial_2mic.md I made it through the tutorial great and everything is working using the built in “hey_jarvis” wake word. I am now trying to create my own custom wake word and I am having problems.

I followed this tutorial Create your own wake word - Home Assistant to create my custom wake word. All of that went fine and I created the file “Hey_Burn.tflite” I then copied that into the folder /share/openwakeword on my HA machine. From within the voice assistant settings, “Hey Burn” now shows up as an option and I have it selected.

On the satellite, I edited the wyoming-satellite.service file and changed the wake word to “Hey_Burn” and saved it. After reloading the daemon and restarting the service I am now getting this error “ValueError: Wake word model not found: Hey_Burn”

Any idea what’s going wrong?

Thanks!

1 Like

I’ve been working on it for two days already with no success. To make it work, you need to include a custom model path using the ‘–custom-model-dir ’ command, but so far, I have been unable to achieve this. I am assuming that the model needs to be uploaded to the satellite and not HA, but I may be mistaken. Let’s hope someone more knowledgeable in this matter will provide insight.

There’s a new tutorial at https://github.com/rhasspy/wyoming-satellite/blob/8850100ca658a80708e562e6741739ed27c91f99/docs/tutorial_installer.md where you use an installer which works a lot eaiers. You can even install the respeaker drivers from within the installer. Afterwards you put your .tflite file in the folder wyoming-satellite/local/custom-wake-words/openWakeWord/ and it will show up in the installer at Wake Word > Choose Wake Word under the name of the model file.
Simply select that one and you’re done.

That sounds great! I’m going give it a go tonight after my work. Thanks a lot.

The new tutorial is indeed much easier to follow. However, one issue is that the LED feedback in the Respeaker HAT is not functioning (nothing work when enabled). You can resolve this by referring to the original tutorial, follow the steps related to LED. Just dont use the installer afterwards as it will override your new service settings.

I tried installing the LED service from the other tutorial after the fact but it seemed to mess everything up. Did you do anything different at all? I definitely want the leds working.

After successfully setting up everything (ensure not to activate LED feedback), I proceeded to follow the LED section of the original tutorial, completing each step as outlined. Following that, avoid running the new installer, as it will overwrite the changes just made. If you need to reload the satellite, simply use:

Copy code

sudo systemctl daemon-reload sudo systemctl restart wyoming-satellite.service

That concludes the process.

That worked perfectly for me this time… must have messed something up last night. Thanks!

Using this method my assistant now responds 3 times, and I have no clue why. If I say “turn the lights off” it will respond “turned the lights off” 3 times.

Hi,
I had the same problems trying to get a custom wake word.
When doing the led part manually after the installer, I still have problems.
Everything works for the first command but then the yellow leds stay on and the satellite is not responding. Any ideas? I can`t finde anything in the logs.

Do I need to start over if I already have the satellite up and running with Hey Jarvis? The only thing I saw in teh installer was downloading community wake words

How can I get my custome wake word in use?

I tried setting things up with the installer and was able to get things going with my own wake word. Unfortunately, the one set up with the installer is very buggy and freezes after a couple of uses.
I did figure out how to load a custom wake word with the long tutorial though.
Upload your wake word to :
/home/yourusername/wyoming-openwakeword/wyoming_openwakeword/models
You have to name your wake word file differently. if its emma.tflite, you need to rename it to emma_v0.1.tflite
Then change it in the wyoming satellite config to just “emma”

7 Likes

thanks…works perfect!

FWIW, after adding 'wheatley_v0.1.tflite` to /home/yourusername/wyoming-openwakeword/wyoming_openwakeword/models and setting the wake word to “wheatley”, I had to completely reload the system:

  sudo systemctl disable --now wyoming-openwakeword.service
  sudo systemctl daemon-reload
  sudo systemctl restart wyoming-satellite.service
  sudo systemctl status wyoming-satellite.service wyoming-openwakeword.service
1 Like