• 1 Post
  • 2 Comments
Joined 1Y ago
cake
Cake day: Aug 02, 2023

help-circle
rss

Interesting, can I ask a couple questions about that setup? How did you go about connecting all the pieces? Is it all handled locally? What hardware are you running it on? Do you have any good resources/tutorials you followed?


Creating your own locally processed hotword / wake word for home assistant assist commands
While I eagerly await a built in wake word function, I decided to see what other options are out there and started looking into open source hotword detection projects, and found snowboy. Combining a snowboy plugin with tasker and an android tablet connected all the dots to run local wake word detection that drops seamlessly into the assist service. The only downside is that recognition for custom phrases is fairly limited (custom wake words are based on only 3 audio samples from the intended speaker), though it seems possible to use them, maybe even to setup different access per speaker, but I haven't gone down that path yet. Thankfully there is a small selection of "universal" built in wake words including: Hey/Ok Google Alexa Jarvis Computer Snowboy Smart Mirror and a few other oddball ones that can be found here: https://github.com/Kitt-AI/snowboy/tree/master/resources/models In short, using any android device (an old phone or tablet), install "Tasker" and "HotwordPlugin" which uses snowboy for the local wake word detection. Assuming you have the assist pipeline setup already and the home assistant app installed, have Tasker call the HA apps assist service whenever HotworkPlugin detects the wake word and triggers the routine. Set it to launch a new assist service with every trigger so it will take consecutive commands. Depending on how the wake word functionality is implemented in HA eventually this may be just a temporary solution, but it's working well enough for the moment. Tasker: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm (It's a paid app, but well worth it considering what you get for $3.50) HotwordPlugin: https://play.google.com/store/apps/details?id=nl.jolanrensen.hotwordPlugin (there is an ad supported free version as well) Snowboy: https://github.com/seasalt-ai/snowboy
fedilink

I have foscam cameras and have been pretty happy with them. Regardless of the brand, make sure you firewall them from the internet or they will phone home.

Reason I went with foscam was because at the time they were the only brand with an outdoor PoE camera that had a spotlight, 2-way audio, PIR, and ONVIF support. Which was what I wanted for an entryway camera. They’ve since discontinued that “SPC” model, so if I had to do it over again I would be just as likely to pick reolink (had shitty luck with amcrest).