MQTT Engine same topic from multiple brokers

Working on an application where I receive the payloads from multiple mqtt brokers(servers) which has the same topic(Namespace).
How can I receive these different payloads from different mqtt brokers in different tags instead of all of the topics being pointed to the same tag in the ignition?

I’m not aware of a feature in the Cirrus Link modules [yet] that would facilitate this, though perhaps others will chime in. One thing that you might look at is running a local Mosquitto broker using a bridge configuration–this would allow you to “bridge” those remote brokers into separate local prefixes and separate your namespace. You could then connect Ignition to this local mosquitto broker for your data. There is likely some nuance to this approach, but it might be worth a look. See “Configuring Bridges” section of the Mosquitto docs.

2 Likes