"I am facing an issue regarding handling multiple devices in Node-RED. How can I manage separate connections for each device, given that only the terminal number is provided in the login packet and not in the data

I am use TCP in node to make connections for devices

Hi and welcome to the forum.

Are you actually creating a custom node? Or is this a more general question? (If so, could you please change the category to "General" for us? Thanks).

If you look at the complete msg (not just the msg.payload) - you should be able to see both a msg.ip and msg._sessionid properties that you should be able to use to tell them apart.

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