Load and update configuration files for Home Assistant from a Git repository.
Google Assistant is an AI-powered voice assistant that runs on the Raspberry Pi and x86 platforms and interact via the DialogFlow integration with Home-Assistant. You can also use Google Actions to extend its functionality.
These instructions are outdated - the add-on has been updated and these are no longer accurate or complete. Any help in improving the add-on or this document is highly appreciated.
If you want to integrate your Google Home or mobile phone running Google Assistant, with Home Assistant, then you want the Google Assistant integration.
Follow these steps to get the add-on installed on your system:
- Navigate in your Home Assistant frontend to Hass.io -> Add-on Store.
- Find the "Google Assistant SDK" add-on and click it.
- Click on the "INSTALL" button.
Fist, select the input and output audio devices to use for the Assistant in the "Audio" section of the add-on configuration.
To enable access to the Google Assistant API, do the following:
- In the Cloud Platform Console, go to the Projects page. Select an existing project or create a new project
- Open the project. In the top of the page search for Google Assistant API or use this link and enable it.
- Create an OAuth Client ID, pick type "Other", click "Create" and download the JSON file by clicking the Download JSON button on the right side.
Now install and activate the Samba add-on so you can upload your credential file. Connect to the "share" Samba share and copy your credentials over. Name the file google_assistant.json
.
The next step is to authenticate your Google account with Google Assistant. Start the add-on and click on the "OPEN WEB UI" button to start authentication.
Add-on configuration:
{
"client_secrets": "google_assistant.json",
"project_id": "project_id_from_google",
"model_id": "model_id_from_google"
}
The name of the client secrets file to you've downloaded from Google and placed in your /share
folder.
Project ID of the project you've created at Google for this add-on.
The ID of the model you've registered at Google for this add-on.
Got questions?
You have several options to get them answered:
- The Home Assistant Discord Chat Server.
- The Home Assistant Community Forum.
- Join the Reddit subreddit in /r/homeassistant
In case you've found a bug, please open an issue on our GitHub.