MQTT broker bridge

From Teltonika Networks Wiki
Main Page > General Information > Configuration Examples > Router control and monitoring > MQTT broker bridge

Introduction

The goal of this manual is to help configuring Teltonika Networking Devices to be able to act as a MQTT broker bridge.

MQTT broker configuration

For this example you will need to enable the MQTT broker on your Teltonika device, that can be achieve using these steps:

  1. In WebUI navigate to Services -> MQTT -> Broker.
  2. Enable MQTT broker.
  3. Select the Local Port, in this example we will use port number 1883.
  4. Enable Remote Access.

MQTT broker.png

MQTT broker bridge configuration

Next, you will need to add the bridge configuration. You will need to go down bellow broker configuration and select the tab called BRIDGE. There we need to add the make the following actions:

  1. Enable the option Enable.
  2. Enter the name for this connection, this option is for easy management.
  3. Chose the MQTT Protocol Version.
  4. Enter the Remote Address of the MQTT broker you want to make the bridge with.
  5. Enter the Remote Port of the MQTT broker you want to make the bridge with.
  6. Enter of upload any of the files or keys required for the connection to the remote broken. In this example no authentication method is used.

MQTT broker bridge options.png

Selecting topics

For the broker to be able to send the topics across the MQTT bridge you will need to specify the topics in the TOPICS menu. Example topics are displayed in the image bellow.


MQTT bridge topics.png