I have created a small demo for people wanting to start with Rhasspy.
In this case, I am using Hassio and use the Rhasspy Addon, setting the language to english which is the default.
In the settings of Rhasspy, I have enabled MQTT and pointed the ip address to Hassio.
The siteID is set to matrixvoice, because I use my Matrix Voice Audio Streamer as a remote microphone. These settings are maybe not what other peolple need, but this demo is independent of it.
First, I have two persons in my Home Assistant, see screenshot below:
I have configured the following slots in Rhasspy:
Paul and Susan are person in Hassio, but Xander and Florence are not.
The sentences in Rhasspy:
$person is corresponding with the slot and is sent as and event to Hassio as slotname person
Now, I needed to setup Hassio to respond to the questions like: “Where is paul”.
When a specific name is asked for, the automation has to lookup the person and report back the state.
Also, when a person is not found or at an unknown state, this will be reported as well.
When the question is asked where everybody is, the automation loops over the persons in Hassio and reports their state.
Below screenshot is the automation, a payload is created which is posted to the rest_command.rhasspy_speak:
The rest_command.rhasspy_speak looks like the screenshot below and is in configuration.yaml:
The command posts the payload to the text-to-speech api of rhasspy.
In the video:
Paul = me, I am at home
Susan = my better half, no device tracker is attached, so the state is “unknown”
Xander: not existant person in Home Assistant
Another video link (dutch) with Rhasspy controlling the brightness and using default TTS of Home Assistant (but multiroom with mopidy and snapserver/snapclient
This showing that Rhasspy also supports Dutch
My MQTT streamer repo: