MQTT broker bridge

From Teltonika Networks Wiki
Revision as of 11:00, 29 October 2024 by Dziugas.Syminas (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
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. In WebUI navigate to Services → MQTT → Broker:

  1. Enable MQTT broker.
  2. Select the Local Port, in this example we will use port number 1883.
  3. Enable Remote Access.

MQTT broker bridge configuration

Next, you will need to add the bridge configuration. You will need to go down below to Bridges section. There we will need to add a new instance:

  1. Choose your desired instance name.
  2. Click on the Add button.


After that you will be prompted to the configuration tab of bridge. You will need to do the following changes:

  1. Enable the option Enable.
  2. Enter the name for this connection, this option is for easy management.
  3. Enter the Remote Address of the MQTT broker you want to make the bridge with.
  4. Enter the Remote Port of the MQTT broker you want to make the bridge with.

  • Note: not specified fields can be configured by your own needs.

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 below.