Created
August 12, 2022 13:13
-
-
Save EverythingSmartHome/a4cd27c28981cc2dbfe2dbb12f683638 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Rhasspy home assistant script download (for home assistant OS only): | |
mkdir -p /share/rhasspy/profiles/en/slot_programs/hass/ | |
cd /share/rhasspy/profiles/en/slot_programs/hass | |
wget https://raw.githubusercontent.com/rhasspy/rhasspy/master/examples/homeassistant/profile/slot_programs/hass/entities | |
chmod +x entities | |
ls -lah entities | |
#Home Assistant Rhasspy Custom intent (for configuration.yaml): | |
intent_script: | |
HassGetTemperature: | |
speech: | |
text: >- | |
{% set sensor = "sensor." + name %} | |
The temperature is currently {{ states(sensor) | int }} degrees |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey @EverythingSmartHome ! 👋
thanks a bunch for putting this guide and video together!! great stuff!!
just a note / correction. The video shows that the
entities
script has to be copied in the home assistant container, while in fact it needs to be copied into the rhasspy container.Also, the path that worked for me inside the container is
/profiles/en/slot_programs/hass/entities