You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_addons/google_assistant.markdown
+19-12Lines changed: 19 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,28 @@
1
1
---
2
2
layout: page
3
3
title: "Google Assistant"
4
-
description: "Enhance your Hass.io installation with google assistant."
4
+
description: "Enhance your Hass.io installation with Google Assistant."
5
5
date: 2017-04-30 13:28
6
6
sidebar: true
7
7
comments: false
8
8
sharing: true
9
9
footer: true
10
+
featured: true
10
11
---
11
12
12
-
[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.
13
+
[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 extend its functionality.
13
14
14
15
To enable access to the Google Assistant API, do the following:
15
-
1. In the Cloud Platform Console, go to the Projects page. Select an existing project or create a new [project]
16
-
2. Enable the Google Assistant [API] on the project you selected
17
-
3. Create an [OAuth Client ID][oauthclient] as type "others" and download the json file with arrow done on the right site.
18
16
19
-
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`.
17
+
1. In the [Cloud Platform Console][project], go to the Projects page. Select an existing project or create a new project
18
+
2. Open the project. In the top of the page search for Google Assistant API or use [this link][API] and enable it.
19
+
3. Create an [OAuth Client ID][oauthclient], pick type "Other", click "Create" and download the JSON file by clicking the Download JSON button on the right side.
20
20
21
-
Now it's time to start Google Assistant for the first time. When the Google Assistant add-on starts, it will output your audio devices:
21
+
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`.
22
22
23
-
```plain
23
+
Now it's time to start Google Assistant for the first time. When the Google Assistant add-on starts, it will output your audio devices in the "Logs" card. You might have to hit "refresh" to get the latest logs:
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.
45
+
You need to use this information to point the add-on at the right speakers and microphone. The information describes different cards and devices. On a Raspberry Pi 3, card 0 - device 0 is the built-in headset port, card 0 - device 1 is the HDMI port. In the example above, the USB microphone showed up as card 1 - device 0.
41
46
42
-
We need also connect our Google Assistant with google account. Try open the oauth2 interface with http://hassio.local:9324and follow the steps on that page.
47
+
Find the microphone and speakers that you want to use and note down their device and card number. We will need that to configure the add-on options `mic` (microphone to use) and `speaker` (speaker to use). The format for these options is `<card #>,<device #>`. Change the configuration options and click save.
43
48
44
-
Now that you've found the microphone and speaker addresses, it's time to configure Google Assistant and restart the add-on.
49
+
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.
45
50
46
51
### Add-On configuration
47
52
53
+
Configuration example that uses the USB microphone and use the built-in headset audio output on the Raspberry Pi. Note that card and device numbers can differ on your device.
Copy file name to clipboardExpand all lines: source/_addons/lets_encrypt.markdown
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ sidebar: true
7
7
comments: false
8
8
sharing: true
9
9
footer: true
10
+
featured: true
10
11
---
11
12
12
13
Setup and manage a [Let's Encrypt](https://letsencrypt.org/) certificate. This will create a certificate on the first run and renew it if the certificate is expiring in the next 30 days.
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.
37
+
You need to use this information to point the add-on at the right speakers and microphone. The information describes different cards and devices. On a Raspberry Pi 3, card 0 - device 0 is the built-in headset port, card 0 - device 1 is the HDMI port. In the example above, the USB microphone showed up as card 1 - device 0.
38
38
39
-
Now that you've found the microphone and speaker addresses, it's time to configure Snips and restart the add-on.
39
+
Find the microphone and speakers that you want to use and note down their device and card number. We will need that to configure the add-on options `mic` (microphone to use) and `speaker` (speaker to use). The format for these options is `<card #>,<device #>`. Change the configuration options and click save.
Copy file name to clipboardExpand all lines: source/_addons/ssh.markdown
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ sidebar: true
7
7
comments: false
8
8
sharing: true
9
9
footer: true
10
+
featured: true
10
11
---
11
12
12
13
Setting up an [SSH](https://openssh.org/) server allows access to your Hass.io folders with any SSH client. It include also a cli to access into Hass.IO api. Try it out:
Copy file name to clipboardExpand all lines: source/addons/index.html
+18-5Lines changed: 18 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,17 +12,30 @@
12
12
13
13
<p>Add-ons for Hass.io allows the user to extend the functionality around Home Assistant. This can be running an application that Home Assistant can integrate with (like an MQTT broker) or to share the configuration via Samba for easy editing from other computers. Add-ons can be configured via the Hass.io panel in Home Assistant.</p>
14
14
15
+
<p>
16
+
Check the Hass.io forums for <ahref='https://community.home-assistant.io/tags/hassio-repository'>add-on repositories managed by the community</a>.
Copy file name to clipboardExpand all lines: source/hassio/index.markdown
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,14 +21,15 @@ The advantages of using Hass.io:
21
21
- Easy installation and updates (powered by [ResinOS] and [Docker])
22
22
- Management user interface integrated into Home Assistant
23
23
- Easily create and restore full backups of your whole configuration.
24
-
-One click install of many popular add-ons including voice assistant via [Snips.ai], encryption via [Let's Encrypt] and dynamic DNS via [Duck DNS].<br><br>[Browse available add-ons »][all]
25
-
- Active community that is helpful and sharing add-ons including AppDaemon, Homebridge and InfluxDB.<br><br>[Browse the forums »][forums]<br>[Join the Hass.io chat »][chat]<br>[Browse community add-on repositories »][comm-add-ons]
24
+
-Easily install many popular add-ons including [Google Assistant], encryption via [Let's Encrypt] and dynamic DNS via [Duck DNS].<br><br>[Browse available add-ons »][all]<br><br>
25
+
- Active community that is helpful and sharing add-ons including AppDaemon, Homebridge and InfluxDB.<br><br>[Browse the forums »][forums]<br>[Join the Hass.io chat »][chat]<br>[Browse community add-on repositories »][comm-add-ons]<br><br>
0 commit comments