connect sepia to home assistant conversation api #239
royrogermcfreely
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got a little bit time the last days and wanted to show you my sepia skill that can talk to the conversation api from home assistant.
so you can use the build in and custom sentences from home assistant to control home assistant from sepia.
you activate this skill with the phrase "home assistant", wait for the question "yes" and tell the command you wanna send to home assistant.
or you can just say the skill word with the command.
for example: "home assistant turn off all lights" or "run kodi script"
sepia answers with the speech text coming from home assistant.
in home assistant you need to enable the api integration in the "configuration.yaml".
also you need a long live access token from your home assistant user.
As always its just a copy paste code and its working for me ;)
to get this to work, just copy the following code (i wrote it with sepiauser-id: uid1007 - so maybe you have to adapt it a little bit more if you use a different id) to your sepia code ui and change the ip and token.
Line 175 to change Home Assistant IP
Line 179 Long Lived Access Token
Beta Was this translation helpful? Give feedback.
All reactions