I’ve been playing with an Atom Echo and voice assistant. I use a container installation, so I had to make various adjustments to the tutorials, but it’s going well. I have it working with the ‘ok_nabu’ model.
I’ve trained a custom wake word, but I’m having trouble coming up with the docker compose magic to let Open Wake Word find the tflite file. This is what the section of my docker-compose.yml looks like. What’s the docker-compose equivalent of the --custom-model-dir /custom option?
This is how my docker-compose.yml looks now, after searching more in these forums. Still no luck, though. The hey_casper.tflite file is in the indicated directory, but I don’t see it as a choice when configuring my assist. I probably need to have a config file as well…
I’ve separated my docker containers for best resource usage, putting my voice assistant wyoming containers on a machine with lots of CPU and a nice GPU, and keeping the rest of home assistant on my older mini PC.
I can’t figure out how to get custom wake words to show up in Home Assistant with this configuration. It only shows the defaults.
It just started working for me a couple of weeks ago. I’m not sure what fixed it, but you can see a typo in my docker compose above (openwork). Here’s my current section, with the typo fixed. I don’t have anything in the config directory.
Once you add a volume to a docker compose config, you need to recreate the container, not just reload it.
So a simple docker compose up -d to rebuild/restart it picked up the new config and the volume, and then they appeared in Home Assistant.
I’m pretty impressed with the protocol design here, it works very well with the wyoming protocol provider supplying the options and everything. The problem here was just docker admin.