Using the master branch of the wyoming-openwakeword seems to work pretty well, but this alternative branch enables something called "VAD" or voice activity detection. This allows an additional check to confirm the sounds being detected are actually a form of human speech.
Here is how to install it.
Remove or move your old "wyoming-openwakeword" directory.
sudo mv wyoming-openwakeword wyoming-openwakeword-master
git clone --branch synesthesiam-20240627-openwakeword https://github.com/rhasspy/wyoming-openwakeword.git
cd wyoming-openwakeword
./script/setup
sudo systemctl edit --force --full wyoming-openwakeword.service
[Unit]
Description=Wyoming openWakeWord
[Service]
Type=simple
ExecStart=/home/admin/wyoming-openwakeword/script/run \
--debug \
# --debug-probability \
--vad-threshold .4 \
--uri 'tcp://127.0.0.1:10400' \
--threshold .5 \
--custom-model-dir '/home/admin/home-assistant-wakewords-collection/en/jarvis'
WorkingDirectory=/home/admin/wyoming-openwakeword
Restart=always
RestartSec=1
[Install]
WantedBy=default.target