From 21dc019dd5c58127beb674872bf9ca209f920e15 Mon Sep 17 00:00:00 2001
From: Travis CI Google Assistant is an AI-powered voice assistant that runs on the Raspberry Pi and x86 platforms. It runs on-device and is Private by Design. Google Assistant is an AI-powered voice assistant that runs on the Raspberry Pi and x86 platforms. and interact with [API.ai] with Home-Assistant. To enable access to the Google Assistant API, do the following:
-1) In the Cloud Platform Console, go to the Projects page. Select an existing project or create a new project
-2) Enable the Google Assistant API on the project you selected
-3) Create a service account and download the json credentials. Now install and activate the Samba add-on so you can upload your training data. Connect to the “share” Samba share and copy your training data over. Name the file Now it’s time to start Snips for the first time. When the Snips add-on starts, it will output your audio devices:
- assistant.zip
.**** List of PLAYBACK Hardware Devices ****
+1) In the Cloud Platform Console, go to the Projects page. Select an existing project or create a new [project]
+2) Enable the Google Assistant [API] on the project you selected
+3) Create a [service account][serviceaccount] and download the json credentials.
Now install and activate the [Samba] add-on so you can upload your credential file. Connect to the “share” Samba share and copy your training data over. Name the file service_account.json
.
Now it’s time to start Snips for the first time. When the Google Assistant add-on starts, it will output your audio devices:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
@@ -108,14 +108,20 @@ card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
Configuration variables:
- - mqtt_bridge (Optional): Snips uses MQTT to communicate and defaults to their own broker. Use this config option to bridge their broker to your own.
- - mic: This is the hardware address of your microphone. Look at the Snips
+ - mic: This is the hardware address of your microphone. Look at the add-on output
+ - speaker: This is the hardware address of your speakers. Look at the add-on output
Home Assistant configuration
-Use the Home Assistant Snips.ai component to integrate the add-on into Home Assistant.
+Use the Home Assistant [Snips.ai component][comp] to integrate the add-on into Home Assistant.
snips:
+[API.ai] https://api.ai/
+[Samba]: /addons/samba/
+[comp]: /components/snips/
+[project]: https://console.cloud.google.com/project
+[API]: https://console.developers.google.com/apis/api/embeddedassistant.googleapis.com/overview
+[serviceaccount]: https://console.developers.google.com/apis/credentials/serviceaccountkey