Send payload value to node

Hi
I want to send the value in payload to a node, i can send a fixed value, but can't figure out how to send the payload value.
What do I miss?

Hi @SKL

I'm not sure what you are asking. You send messages between nodes and they can have whatever properties and values you set on them.

Can you explain a bit more what you are trying to do? What is the relevance of the screenshot you've shared?

I can try.
For test purpose i inject a value, when i find the right way i will read a Modbus value and write it to a IHC ( Home control system).
I have tried to change "msg.payload" with a number and my node-red can send the fixed value to the IHC.
I want the to send a floating point msg.
image

This one works
image

generally if you want a node to use a value from the flow you need to construct that part before the config screen and leave that part blank.

e.g in the http-request node you can either add the URL in the http-request node OR pass the URL to the http-request node as msg.url.

so you could try creating the msg.Data before the node in a function node. and leaving that part of the node properties blank.

But it does depend on the node, and you haven't said which node you are using...

@SKL Did you find a solution for this?

I am struggeling with similar needs.
My temperature is from Xiaomi BLE sensor via ESPhome.

@candstand Since the OP hasn't been on the forum for two years I'm going to close this thread and ask you to open a new one describing your issue and what you have done so far. It's also a good idea to provide the environment you are working in like:

  1. What platform you are running on
  2. Node-red and node.js versions
  3. are you using docker
  4. what contrib nodes you are using