Many-to-One modelling

Hi all,

I'm very new to Node-RED and I have a use case where many sensors (around 500) need to connected to a flow application in Node-RED.

  • Is there a way of modelling this many-to-one relationship in the flow-graph?
  • Is there any built-in support to differentiate the readings from different sensors coming into the graph?


It will depend entirely on how those sensors are connected. For example, if they are publishing their data via MQTT, then each would use a unique topic and you could have a single flow subscribed to all of those topics, using msg.topic to identify which device each individual reading came from.

1 Like

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