When i try to add in the custom replies for alexa i get this in my error log for the alexa_confirm.yaml file:
16-12-07 19:42:30 homeassistant.util.yaml: expected '<document start>', but found '{' in "/home/hass/.homeassistant/alexa_confirm.yaml", line 2, column 1
i literally copied the text from above or the same from the Docs.
With YAML, whenever youâve got something that seems like a child of something else, you generally indent. That particular thing you ran into is tricky because the > would typically follow âtext:â, but with it in a separate file, you can lose the plot a bit.
I am trying to change Alexa to respond to a different command/phase rather than just âokâ. I have setup HA using Emulated Hue Bridge. Would the âalexa_confirm.yamlâ work? Can you please help?
No, they are two completely different systems. You can use them together but you only get to customize actions and responses when you use intents. The emulated hue component is all hardwired in Alexa.
You need to use the intents system as described in my original post. The only downside is it is an Alexa skill so you need a keyword (of your choice) to activate it, e.g. âhome assistantâ. You control the keyword and all the words after that but you have to add them all individually. So you would say something like:
Alexa, tell home assistant to open the garage door
I have setup everything but whenever I ask Alexa to activate something it says it couldnt find the device in my account. I was able to switch on and off my kitchen strip lights before with the emulated hue but now I cant. Also the kitchen strip lights are setup using MQTT as a switch.
Do you know what could be the problem? I have used your scenes code and set it up exactly how you described.
Sounds like your Amazon setup is incomplete - go back and check the steps in the docs I linked above. There are some steps to actually activate the skill in your Alexa app once you have created it.
Just as an aside; âHome Assistantâ may be hard for Alexa to understand or parse depending on your pronunciation, location of the device (near a wall, in a room with reverb, etc.). When I set mine up, I used a simple invocation keyword that was easy to say. Something to consider.
No problem. It wasnât something I thought of at first but it did make a difference.
BTW, when you are posting code, itâs a good idea to use the preformatted text option to preserve your formatting. It makes it a lot easier to read and for other to see if there is a formatting error at the root of your issue.
In the forum editor, select your code block and press the button indicated in the image below:
I am using the AWS Lambda Proxy Alexa Custom Skill as I cannot set up SSL with my HA for some reason. When I try to go to the URL to call for each applicaitonID (http://IPADDRESS:8123/api/alexa?api_password=XXXX) it says 405: Method Not Allowed. Could that be a problem?
I have activated the skill in my Alexa app and can see it under âyour skillsâ
Also under Lambda when I test my function using âHello Worldâ it gives me the following error: