First of all, great work on these services en scripts! They helped me a lot starting the sample app on boot.
I had an issue where the alexa sample app did not respond after using this headless-alexa-avs-sample-app. I logged the output of the wake word agent script and noticed this:
ERROR:An error happened in the mainLoop of SensoryWakeWord snsrRun(): task: Input channel audio-pcm: ALSA error: No such file or directory
I solved this by changing this line in headless-alexa-avs-sample-app/scripts/wakeword.sh:
cd wakeWordAgent/src && sudo ./wakeWordAgent -e sensory
to
cd wakeWordAgent/src && ./wakeWordAgent -e sensory
So for me this issue is solved by running the agent without sudo. Not sure if this belongs in this repo, but I thought I'd report it here for anyone looking for it here.
First of all, great work on these services en scripts! They helped me a lot starting the sample app on boot.
I had an issue where the alexa sample app did not respond after using this headless-alexa-avs-sample-app. I logged the output of the wake word agent script and noticed this:
ERROR:An error happened in the mainLoop of SensoryWakeWord snsrRun(): task: Input channel audio-pcm: ALSA error: No such file or directory
I solved this by changing this line in headless-alexa-avs-sample-app/scripts/wakeword.sh:
cd wakeWordAgent/src && sudo ./wakeWordAgent -e sensory
tocd wakeWordAgent/src && ./wakeWordAgent -e sensory
So for me this issue is solved by running the agent without sudo. Not sure if this belongs in this repo, but I thought I'd report it here for anyone looking for it here.