Hi home’s!
I would like to make this a guide for beginners to create their own Snips Voice Assistant. I spent the whole day with reading about this topic but i still did not understand the whole thing.
There’s not that much on the web… some things are outdated, thats why i created this here.
What is snips?
Snips is a local voice assistant. The brain is in the device itself, it does not need an internet connection and has a big focus on privacy. Thats the main difference to Alexa and Google Home which need a cloud server to understand/interpret your commands.
Documentations
Hass.io Addon Docs: https://www.home-assistant.io/addons/snips/
Hassbian Docs: Snips - Home Assistant
Built-in intents | Home Assistant Developer Docs
Home Assistant | Latest Platform Version | Snips Dev Center
Home · tschmidty69/hass-snips-bundle-intents Wiki · GitHub
https://forum.snips.ai/t/integrating-snips-with-home-assistant/211
My Plan
I would like have four snips in my flat
I ordered 3x RaspberryPi 3 and 4x ReSpeaker 4-Mic Array
What I understood
Installation
The first steps are pretty easy with hassio.
- Install the mosquitto broker addon
- Install snips.ai addon
- Install samba addon
Click on the snips.ai addon.
If your are a native english speaker you can leave the config as it is. I switched it to “de” for german language.
4) Plug in an USB Mic and Speaker. At the Moment I am using a gaming headset.
The “assistant.zip” is the brain of snips. The snips addon automatically installs an assistant.zip for you.
You can use it but you should create your own assistant. You can follow the tutorial here:
…to be continuted…
My first question: Whats the best setup?
Would you use the hassio main installation and install a respeaker on it?
Hassio ↔ Snips ↔ 3 Snips
Hassio(w/ Snips) ↔ 3 Snips
Second question
How does homeassistant know which light to switch when i say. “Hey snips, turn on the light in the living room”
Are the groups the room they are in?
I dont understand what happens when i tell the assistant to do it. Does it send the data to homeassistant and it does understand it immediately? What are those intent_scripts doing?
I dont understand this part:
As the Snips Platform parses this query into an intent, it will be published on MQTT, on the
hermes/intent/<intentName>
topic. The Snips Home Assistant component subscribes to this topic, and handles the intent according to the rules defined inconfiguration.yaml
file, as explained below.
I will edit this here and keep on reading and getting better at this stuff here. Thanks for any help in advance
Might be useful too:
He is using a HASS installation, uses an extra raspberry for snips and wants to add another “satellite”-snips raspberry.