#NodeRed notify.send_message alexa devices

3 messages · Page 1 of 1 (latest)

undone laurel
#

Hi.
Previously with nodered and alexa_media_player, I was able in node red to notify.alexa_media and {"message":"my message with {{payload}}."} and it wold read up the message + whatever the msg.payload from the previous node was.

I'm trying now to migrate it to alexa devices (specially since alexa_media_player just broke with the last update) but when I notify.send_message and {"message":"my message with {{payload}}."} it will announce literally "my message with payload"

anyone knows of a way to actually make it read the payload? unfortunately my google fu has been lacking.

thanks.

tropic yarrowBOT
undone laurel
#

Ok, AI-fu triumphed where my google-fu couldn't.

created a function node with

msg.payload = {
  message: `my message with ${msg.payload}.`
};
return msg;

then the action node with notify.send_message just had data: msg.payload