Use of non-cloud Voice recognition system with HA ?

Hi

Just discovered at least one voice control system has been released in open-source and not dependant of cloud or other GAFA which sounds really nihttps://community.home-assistant.io/t/sonos-set-sleep-timer/51476ce :grinning: All the more it looks to work as well or even better than Alexa and other Google home products :wink:
https://github.com/snipsco/snips-nlu Any ideas if it can be integrated easily in HA ? or through a dedicated component ?

Thanks

Vincèn

oh oki shame on me, discovered that page on HA website :smiley: https://www.home-assistant.io/components/snips/

Still have a side question about it: an easy way to use a remote microphone ? My Pi running HA is in a closet so I can’t use a local microphone on PI for voice interaction :frowning:

Here is a list with good microphones for snips and here from snips themselves.

Depends on what you mean by remote
You can always use an USB mic and connect it to the pi in your closet.

Alternatively you can use another pi (zero) with microphone as a remote satellite which will connect to your main instance. There is documentation for mutli room setups.

1 Like

Thanks a lot for the mic list, I went for the ReSpeaker 2 mic that I’ll install on some PI Zero (cheap, small and easy to hide in house :wink: and the client/server design you list is perfect for me. I just need to find a documentation that goes in the client/server config for snips to avoid loose too much time to figure it out by myself !

This is also in the documentation
https://github.com/snipsco/snips-platform-documentation/wiki/6.--Miscellaneous#example-of-configuration-file-for-one-main-device-in-the-living-room-and-one-satellite-small-device-in-the-bedroom

Thanks for direct link, looks like I went too fast and missed it :wink: So going to buy all parts and start to build my voice system.
Side question: is it ok to run snips server on same Raspberry that HA is already running on it ? or it really needs a dedicated raspberry for best performance ? I’ll use some Pi Zero 1.3 or Pi Zero W for remote rooms !

Finally succeeded to get my SNIPS system functional on a dedicated PI, but I’m unable to get HA to handle intents received !
Each time snips detects an intent I get that in HA logs:

Sun May 27 2018 09:58:29 GMT+0200 (CEST)
Received unknown intent nextSong

I added that in my intent_script.yaml but no success:

intent_script:
  nextSong:
    speech:
      type: plain
      text: 'OK'
    action:
      service: media_player.tv.next

What did I miss ?