#Alexa actionable notification
1 messages · Page 1 of 1 (latest)
add this
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: ```
with media_content_id: with your skill id
i'am try
#node-red-archived message
yu can do this and more from your responds
where did you add this
/config/scripts.yaml
@dawn sluice i'm try using service "reload" but not working
data should be somthing like this:
{"text":"I noticed the TV was turned on, what would you like to play, sun next, hotstart or YouTube?","event_id":"actionable_notification_tv","alexa_device":"media_player._echo_flex"}
change alexa device to your echo
share screenshot of the call service
what is that script.reload?
i don't know i found inside
i don't have activate_alexa_actionable_notification
try to reload nodered or restart home assistant
try to see if you have other service
how are you running nodered? addon in home assistant?
yes
reboot HA but i don't have activate_alexa_actionable_notification
try to run that script from home assistant developer tools > call service and check if it works
how is it possible to do it?
does it call service successfully ?
Are yu able you call service from developer tool ? Or does it show any error
{"text":"I noticed the TV was turned on, what would you like to play, sun next, hotstart or YouTube?","event_id":"actionable_notification_tv","alexa_device":"media_player._echo_flex"}
Replace all with your needs and device
Amy ideas?
it does not work the way you wanted
add this in data
I'm try
and run that call service and check if alexa talks back and asks you
if this part works ..we can move on to the next step
same thing, Alexa answers me and waits but on the alexaresponse tag it remains null
does alexa answers you with the text you added in data ?
share me the screenshot of service node
but I need an on device Activity that is if I say a voice command to alexa
you have to listen to event to get the feedback from you and do the further automation or script
yes, what I meant is that in your way I can't activate my automation with my voice or am I wrong?
Ok
in this
where do i put them?
?
How do I connect them to each other?
you don't have to connect...it will work listening from the events
you can automate from here
alexa asks me the question i tell her yes and she just says okay without going on the speak routine
is working, than you ❤️❤️ goodnight you are the best
good night ....as we learn we share ❤️
good morning! do you by any chance know how not to make Alexa say okay after answering?
You cant do for default reply like 'yes' 'no'
ok
when i answer alexa's question she asks me the same question again
ok, now it seems to work
@dawn sluice Hi! sorry, why when i tell alexa a two digit number this doesn't work?
only works with single-digit numbers
you call it as seven four or seventy four?
seventy four
I don't understand why it doesn't work
try to set debug for the alexa event node and see what does it responds
in this node add debug as msg.payload.event.event_id
#1019369505052438611 message
like this
when ever you say something , this way you can check what alexa actually listened
when i responde answer "what number was it?" (blue circle) she says "I'm sorry I can't use specific data in this case try with a relative date for example"
i really dont understand what are yu tring to do
but this way you can debug anything
I'm doing a test for color blind people, I put a number on the screen and they have to tell what number they see, only that when they say the two-digit numbers alexa tells me "I'm sorry I can't use specific data in this case try with a relative date for example"
try to run the alexa script and try saying anything and check the debug on what alexa takes and share me the screenshot
summary: "fifteen"
alexaResponse: "Sorry, I can't use specific dates in this case, try a relative date, for example ... in 5 hours"
if instead I spell the words for example "seven four" then it works but if I say seventy four it doesn't work
try saying some other work and share me the debug output to make sure it works
actually change it to msg.payload.event.event_response
these are my responses, when i say seventy four and seven four
i want you to check like this and if it does not work i will help you fix it
I noticed that in English it works but in Italian my language doesn't work
Any ideas to set number in my language?
@dawn sluice
May be its not supported by amazon alexa itself or may be developer has to work on it
Shit
Sorry if I disturb you, do you by any chance know how to automatically change "alexa_device" without writing it manually?