I followed the write up about Alexa Actionable Notifications. I created my skill and linked it to HA without issue. I have Alexa media player loaded and straight notify service will notify an Alexa device.
My issue came up when testing the Alexa Actionable Notifications in Developer tools. The service would show a success but nothing would play on the selected Alexa until I said “Alexa start custom actions”. What am I missing in order for her to ask me without needing to say “Alexa start custom actions”?
Yes, part of the setup instructions is loading the script file which is used to generate this service call and allows for it to be selected at the menu of the automation or in the developer tools.
Here is the script from my script.yaml file.
activate_alexa_actionable_notification:
description: 'Activates an actionable notification on a specific echo device'
fields:
text:
description: 'The text you would like alexa to speak.'
example: 'What would you like the thermostat set to?'
event_id:
description: 'Correlation ID for event responses'
example: 'ask_for_temperature'
alexa_device:
description: 'Alexa device you want to trigger'
example: 'media_player.bedroom_echo'
sequence:
- service: input_text.set_value
data:
entity_id: input_text.alexa_actionable_notification
value: '{"text": "{{ text }}", "event": "{{ event_id }}"}'
- service: media_player.play_media
data:
entity_id: "{{ alexa_device }}"
media_content_type: skill
media_content_id: amzn1amzn1.ask.skill.-f280c79e0f47
Here’s the script minus some characters from my skill ID.
Here is the video which links to the Github documentation that I followed.
At timestamp: 15:18 he tests the connection between HA and Alexa. Mine does this as well. It will run the actions when I say “Alexa, start custom actions” only.
At timestamp 17:20 he starts the test in Developer Tools and his runs as soon as he calls the service. Mine acts like it was successful but will not play on the Alexa device until I saw “Start custom actions”.
Yeah- I turned Debug on. Nothing major showed up. I checked the skill ID and it’s the right one. I’m going back through and rebuilding and then redeploying.
Do you use SSL on yours? I have mine set to false.
the original instructions that I used had you pick the “hello world” skill template. But that skill doesn’t exist as a template as far as I can see even tho the wiki hasn’t been updated to reflect that.
in the video you posted he said to pick the “start from scratch” skill template which I think is under the “custom” model selection as you show above.
so “custom” and “alexa hosted (python)” then on the next page pick the “start from scratch” template.
When I didn’t see the “hello world” I might have selected “smart_home”. I’m starting over with a new skill and making sure I’m selecting custom. I’ll let you know if that changes anything. Any luck on your issue?