Simplified voice control for Home Assistant.
"Hey Mycroft, turn on kitchen lights"
Before trainig, create a local TOML configuration file with the following content:
[train.home_assistant]
api_url = '<home assistant url>'
api_token = '<home assistant token>'
[handle.home_assistant]
api_url = '<home assistant url>'
api_token = '<home assistant token>'
Replace <home assistant url>
with something like http://localhost:8123/api
and <home assistant token>
with a long-lived access token.
Run scripts/train.sh --config your-local-config.toml
to train. This will load entities from your home assistant server and train a custom speech to text and intent recognizer model.
Run scripts/run.sh --config your-local-config.toml
to start Rhasspy Junior. You should now be able to say "Hey Mycroft, turn on the kitchen lights" (depending on what devices you have configured).
The following domains are supported:
Sample voice commands and queries are provided below.
turn on the ecobee
turn off ecobee
set ecobee preset to eco
set ecobee temperature to 30
what is the ecobee temperature?
open the garage door
close garage door
is the garage door open?
turn on the ceiling fan
turn off ceiling fan
set ceiling fan speed to 50
what is the ceiling fan speed?
turn on the humidifier
turn off humidifier
set humidifier mode to eco
set humidifier humidity to 50
what is the humidifier humidity?
turn on the kitchen lights
turn off kitchen lights
set the kitchen lights brightness to 50
set the kitchen lights color to red
are the kitchen lights on?
unlock the front door
lock front door
is the front door unlocked?
turn on the AC
turn off AC
toggle AC
is the AC off?