Concatenate Two variable strings

image

Hello every one
here I'm reading two variables in mqtt i want both in singe line how can I do

Can you rely on both of them coming in continually ?

If so feed them through a Join node

If not then put them into context variables and access them from there

Craig

yes data is coming continuously

As Craig suggested, I think you'll find you need to 'join' the two variables as although they are being generated continuously - they won't arrive or be processed by Node-RED simultaneously.

Take a look at this posting as it is very similar to your situation.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.