mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
Those are commands
This commit is contained in:
parent
082486b265
commit
7494352689
@ -30,18 +30,18 @@ Snips takes voice or text as input and produces *intents* as output, which are e
|
|||||||
The Snips platform can be installed via the Snips APT/Debian repository.
|
The Snips platform can be installed via the Snips APT/Debian repository.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get update
|
$ sudo apt-get update
|
||||||
sudo apt-get install -y dirmngr
|
$ sudo apt-get install -y dirmngr
|
||||||
sudo bash -c 'echo "deb https://raspbian.snips.ai/$(lsb_release -cs) stable main" > /etc/apt/sources.list.d/snips.list'
|
$ sudo bash -c 'echo "deb https://raspbian.snips.ai/$(lsb_release -cs) stable main" > /etc/apt/sources.list.d/snips.list'
|
||||||
sudo apt-key adv --keyserver pgp.mit.edu --recv-keys D4F50CDCA10A2849
|
$ sudo apt-key adv --keyserver pgp.mit.edu --recv-keys D4F50CDCA10A2849
|
||||||
sudo apt-get update
|
$ sudo apt-get update
|
||||||
sudo apt-get install -y snips-platform-voice
|
$ sudo apt-get install -y snips-platform-voice
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that if the keyserver pgp.mit.edu is down then try to use another one in the 4th line, like pgp.surfnet.nl:
|
Note that if the keyserver pgp.mit.edu is down then try to use another one in the 4th line, like pgp.surfnet.nl:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-key adv --keyserver pgp.surfnet.nl --recv-keys D4F50CDCA10A2849
|
$ sudo apt-key adv --keyserver pgp.surfnet.nl --recv-keys D4F50CDCA10A2849
|
||||||
```
|
```
|
||||||
|
|
||||||
### {% linkable_title Creating an assistant %}
|
### {% linkable_title Creating an assistant %}
|
||||||
@ -51,13 +51,13 @@ Head over to the [Snips Console](https://console.snips.ai) to create your assist
|
|||||||
The next step is to get the assistant to work on your device. Unzip and copy the `assistant` folder that you downloaded from the web console to the path. Assuming your downloaded `assistant` folder is on your desktop, just run:
|
The next step is to get the assistant to work on your device. Unzip and copy the `assistant` folder that you downloaded from the web console to the path. Assuming your downloaded `assistant` folder is on your desktop, just run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
scp -r ~/Desktop/assistant pi@<raspi_hostname.local_or_IP>:/home/pi/.
|
$ scp -r ~/Desktop/assistant pi@<raspi_hostname.local_or_IP>:/home/pi/.
|
||||||
```
|
```
|
||||||
|
|
||||||
Now ssh into your Raspberry Pi:
|
Now ssh into your Raspberry Pi:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ssh pi@<raspi_hostname.local_or_IP>
|
$ ssh pi@<raspi_hostname.local_or_IP>
|
||||||
```
|
```
|
||||||
|
|
||||||
By default, this command is `ssh pi@raspberrypi.local`, if you are using the default Raspberry Pi hostname.
|
By default, this command is `ssh pi@raspberrypi.local`, if you are using the default Raspberry Pi hostname.
|
||||||
@ -82,7 +82,7 @@ Make sure that a microphone is plugged to the Raspberry Pi. If you are having tr
|
|||||||
Start the Snips Voice Platform by starting the `snips-*` services:
|
Start the Snips Voice Platform by starting the `snips-*` services:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo systemctl start "snips-*"
|
$ sudo systemctl start "snips-*"
|
||||||
```
|
```
|
||||||
|
|
||||||
Snips is now ready to take voice commands from the microphone. To trigger the listening, simply say
|
Snips is now ready to take voice commands from the microphone. To trigger the listening, simply say
|
||||||
|
Loading…
x
Reference in New Issue
Block a user