Trying to get local voice assistant up and running (whisper, piper & openWakeWord).
I’m running HA 2023.10.1 on a docker container (Synology 918+).
I have Piper & Whisper containers up and running - and I’ve them as integrations in HA.
My openWakeWord container is up and running as well - but I do not find any integration to add in HA
(Settings–>Devices & Services → Add integration). I.e. the Wake Word engine states “No matching entities found” when I configure a voice assistant.
Great - thanks for input! Still get “Failed to connect” when in try to add it. What am I missing? (Whisper, Piper & OneWakeWord containers are up and running. My MQTT broker is working as it should).
broker: <Removed>
port: 1883
username: <Removed> # Login to broker. Delete if not required
password: <Removed> # Login to broker. Delete if not required
# Open Wake Word config
oww:
model_names: # From https://github.com/dscripka/openWakeWord/blob/2d663e8c680320360738813ecd4a71faad3213e2/openwakeword/__init__.py
- alexa # Delete to ignore this wake-word
activation_samples: 3 # Number of samples in moving average
activation_threshold: 0.7 # Trigger wakeword when average above this threshold
deactivation_threshold: 0.2 # Do not trigger again until average falls below this threshold
# OWW config, see https://github.com/dscripka/openWakeWord#recommendations-for-usage
vad_threshold: 0.5
enable_speex_noise_suppression: false
udp_ports:
base: 12202 # Delete or change as needed type or paste code here
Thanks a lot! Seems like a good setup to run it all in one stack - but I will probably do them one-by-one since I already got Piper & Whisper good to go (I suppose this make no difference?).
3 Question:
for the volumes - I suppose I should put “/volume2/docker/openWakeWord/data:/data” & “/volume2/docker/openWakeWord/custom:/custom” then? (I need to create the custom folder)? and the timezone and local time I can skip?
what does the user part do?
for the command (–preload-model ‘ok_nabu’ --custom-model-dir /custom) - do I need to download anything and put in the custom folder or how does this work?
Yes, you can point the volume mounts wherever you like, and they can both point to the same folder for OWW as far as I can tell…
The user part runs the container as user with uid ‘1001’ rather than root… this limits the permissions the container has. Need to be aware of permissions on the containers data folders when you do this.
Nope, there is 5 or 6 ‘built-in’ wakewords that can be used, you only need to add something if you want a custom wakeword.
Cheers.
Awesome - my docker-compose is up an running, and the Voice assistant in HA is configured with openWakeWord. So now I’m just waiting to receive my Atom Echo’s to try it out…
hey Fraddles, thanks! I’ve set up using this compose and it worked like a charm! I’m now having a little trouble with the AtomEcho part (link to topic here) , but the pipeline + wake word are fine
Can anyone share some tips on how to get openWakeWord installed via Wyoming? I’ve been able to install Whisper and Piper fairly easily, but openWakeWord is causing issues. I’ve used the same docker file as in this post:
When I try to add OpenWakeWord via Wyoming, I enter the IP of the server running this docker container and enter 10400 as the port, however it’s not found. I used this approach for Piper and Whisper and it installed fine.
And how have you integrated it with HA? According to the official tutorial there should be openWakeWord integration but I can’t find it and my docker openwakeword is not discovered neither…
Edit: forget it, works with the Wyoming integration although not auto-discovered.