Sorry for posting this, I feel a bit ashamed. I'm an absolute newbie to node-red, and I cannot find how to do something that I assume should be quite easy to do. I want to read several inputs from an external device (a Siemens S7 PLC). I managed to do that and it's working. I am also writing some values in MQTT broker.
But the problem I am trying to solve is the following one: I wan't to format these inputs, naming them with a fix name (different for each input), and adding a timestamp for each input (It can be the same), and then pack all the lines in a message before sending to the MQTT broker.
And the truth is that I am not being able to even format just one input. I don't find the way to go on with this.
Any advice? Or any place that I can find information that could help me?
Many thanks in advance.