How to send notification to Alexa via Node-Red?

Hi all,

Recently I integrated Alexa with my Home Assistant setup - using this method

I got all this to work and could setup automations in HA to send Alexa notifications - all working just fine. However I want to have all my automations in Node-Red; I have managed to move everything there, except for this last Alexa notification that I am unable to get working.

So, in HA to send a notification to Alexa I call a service with some data like so:

service: notify.alexa_media_upstairs_echo_dot

Payload:

{
"message":"The left garage door is still open!",
"data":{"type":"announce", "method":"speak"},
}

However when I attempt to call a service in node-red with this data - I get “API Error” on the node.

Any suggestions on how I can get this to work would be appreciated.

Thanks!

Try this payload

{
    "message": Message.",
    "data": {
        "type": "announce",
        "method": "all"
    },
    "target": [
        "Everywhere"
    ]
}
3 Likes

You legend.
Thank you, this worked perfectly. :smile: