mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Update google_assistant.markdown
This commit is contained in:
parent
7ba8315200
commit
edbb488300
@ -12,9 +12,9 @@ footer: true
|
||||
[Google Assistant][GoogleAssistant] is an AI-powered voice assistant that runs on the Raspberry Pi and x86 platforms and interact over [api.ai] with Home-Assistant. You can also use [Google Actions][GoogleActions] to make extended functionality.
|
||||
|
||||
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][serviceaccount] and download the json credentials.
|
||||
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 an [OAuth Client ID][oauthclient] as type "others" and download the json file with arrow done on the right site.
|
||||
|
||||
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 `google_assistant.json`.
|
||||
|
||||
@ -39,6 +39,8 @@ card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]
|
||||
|
||||
You need to use this information to configure the `mic` and `speaker` configuration options. The format is `<card #>,<device #>`. On a Raspberry Pi 3, `0,0` is the built-in headset port, `0,1` is the HDMI port.
|
||||
|
||||
We need also connect our Google Assistant with google account. Try open the oauth2 interface with http://hassio.local:9324 and follow the steps on that page.
|
||||
|
||||
Now that you've found the microphone and speaker addresses, it's time to configure Google Assistant and restart the add-on.
|
||||
|
||||
### Add-On configuration
|
||||
@ -68,4 +70,4 @@ Use the Home Assistant [api.ai component][comp] to integrate the add-on into Hom
|
||||
[comp]: /components/apiai/
|
||||
[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
|
||||
[oauthclient]: https://console.developers.google.com/apis/credentials/oauthclient
|
||||
|
Loading…
x
Reference in New Issue
Block a user