Hey Guys,
I worked on this project for a while now and now I am ready to share it with you. In adevance, I am sorry my englisch is not the best.
At first: my goal was to make alexa do 2 things:
-
Start the sunrise automation by saying “Alexa, Guten Morgen”, this wasn´t a big Problem when using routins.
-
After saying “Alexa, Guten Morgen” she shoud ask if I would like to have Coffee (I´ve got a smarter coffee maschine) If I only say “Yes” she shous ask me how many cups I want.
because of the second part a routin wasn´t possible anymore, because Alexa cannot respond with costum ansers, as some of you know.
So I started to implement an custom skill useing intents, the Python 2.7 Runtime of aws lambda und the home assistant Restful api.
I uploaded the lamda code to github
the Alexa_skill.json is the JSON file for the Alexa custon skill.
A few Informations
-
switch.kaffe* are the triggers for a Python script with send the information frim my pi to the smart coffee,´
-
light.aufstehen is the trigger for my sunrise automation with limitlessLed bulbs.
If someone wants to see the config for the automation and the script for the coffee maschine as well, just ask.
best regards
MA5K