Hello all. Hoping to get some helpful insight on an issue I’m having:
I’ve set up a voice assistant, and it works, mostly. I do not have Nabu Casa Cloud, but my HA instance is accessible from outside my local network via Tailscale. I’m running this on a Home Assistant Green. I have Wyoming set up with Piper for TTS and Speech-to-Phrase for STT. I also have openWakeWord set up, currently using the default “OK, Nabu” wake word.
The assistant works. I can type to it, or if I’m connected via HTTPS i can use the mic in my browser, or on my mobile to successfully get the assistant to execute the test automations i have set up.
I got an m5stack atom echo to use as a mic/speaker in conjunction with this setup. It came preinstalled w/ ESPhome firmware for HA, but b/c i couldn’t figure out how to add it in that state, i went ahead and re-flashed it via the instructions here. I put in my WiFi credentials, and when it asked to open the HA instance to add it, i used the tailscale URL. Everything went through successfully. I added it to the ESPhome integration, and it’s linked to my Assistant. The wake word engine is set to On Device.
OK, that’s all good. But now, when i speak the wake word, the atom echo’s light turns blue, and pulsates as it waits to recognize a phrase. Then I speak the trigger sentence that triggers the test automation (to turn on the one light i have exposed to Assist) - and the atom echo light turns red, then turns back to the standby white.
I looked around in various logs for errors, and i did find a clearly correlated one in the Speech-to-Phrase addon:
ERROR (online2-cli-nnet3-decode-faster[5.5]:GetLattice():online2/online-nnet3-decoding.cc:69) You cannot get a lattice if you decoded no frames.
kaldi::KaldiFatalErroronline2-cli-nnet3-decode-faster --config=/data/models/en_US-rhasspy/model/online/conf/online.conf --max-active=7000 --lattice-beam=8.0 --acoustic-scale=1.0 --beam=24.0 /data/models/en_US-rhasspy/model/model/final.mdl /share/speech-to-phrase/train/en_US-rhasspy/graph/HCLG.fst /share/speech-to-phrase/train/en_US-rhasspy/graph/words.txt ark:/tmp/tmpzgncdb9t
LOG (online2-cli-nnet3-decode-faster[5.5]:ComputeDerivedVars():ivector/ivector-extractor.cc:183) Computing derived variables for iVector extractor
LOG (online2-cli-nnet3-decode-faster[5.5]:ComputeDerivedVars():ivector/ivector-extractor.cc:204) Done.
LOG (online2-cli-nnet3-decode-faster[5.5]:RemoveOrphanNodes():nnet3/nnet-nnet.cc:948) Removed 1 orphan nodes.
LOG (online2-cli-nnet3-decode-faster[5.5]:RemoveOrphanComponents():nnet3/nnet-nnet.cc:847) Removing 2 orphan components.
LOG (online2-cli-nnet3-decode-faster[5.5]:Collapse():nnet3/nnet-utils.cc:1488) Added 1 components, removed 2
LOG (online2-cli-nnet3-decode-faster[5.5]:CompileLooped():nnet3/nnet-compile-looped.cc:345) Spent 0.0691831 seconds in looped compilation.
Does anyone have any insight into what might be going on?
i’m so close to this working…