Anyone using Node Red and setting the service node from a function or pushing in the proper values in a flow. I can not get that to work for me.
Thanks
Anyone using Node Red and setting the service node from a function or pushing in the proper values in a flow. I can not get that to work for me.
Thanks
I’ve done it a few ways. However, your mistake is that the components need to be objects of the payload. Also, you are setting a string, not a json object. The picture attached is using a node-red template node
This is what I used in a node-red change node (note that it is only for the data, not service and domain). I changed the msg.payload from “full” to the following (choose json as the type, not string).
{“data”:{“message”: “Thanks, I sure was thirsty!!”,“data”: {“tag”: “christmas_tree_full”}}}
Thanks gonna try that!