How do I rebuild this in Node-RED? Looks that simple but I didn't manage to get it running, yet... Wanted to use a http node for that but how to configure it and what code do I need to set the payload correctly? At least this
msg.headers={ 'Content-Type': 'application/x-www-form-urlencoded'};
Without the Content-Type setting it doesn't... For whatever reason...
If anyone is interested: this code was built to work with the "Text Nachricht" skill from Amazon... Just take this code into a function, use the HTTP Request Node, enter the URL you got from the skill, change Method to "POST" and you're done... Then you get a nice notification on all your Echo devices, the same as you get when you expect a delivery from Amazon...