The bridge is installed on GW and the network and application on another machine. I would like to save the data in the json formed bridge locally in my gateway. I would like to know if it is possible to use two generic MQTT server addresses in bridge configuration? one address would be for an external mqtt broker and another address for local mqtt broker (GW).
I don’t see why this should not work, see:
# Generic MQTT authentication. [integration.mqtt.auth.generic] # MQTT servers. # # Configure one or multiple MQTT server to connect to. Each item must be in # the following format: scheme://host:port where scheme is tcp, ssl or ws. servers=[ "tcp://127.0.0.1:1883", ]
Another option could be to use the bridge option of MQTT server itself. I’m doing that very often and it works fine
Check this out