Skip to content

MQTT Introduction

Legacy documentation

This page is preserved from the previous knowledge base and describes older Treon products and manual configuration workflows. It is kept for reference and is not maintained against current Treon Connect releases.

Caution! Article for developersInformation on this page is intended particularly for users with advanced technical knowledge.

MQTT Introduction

Introduction

MQTT is a network protocol that transports messages in between devices.

MQTT setup

1.

Connect to the Treon Gateway by using SSH. 1.

Add a configuration file (ending in .conf) to /opt/iotgw/conf.d

[CloudAdapter]
CloudType: azure_paho
CloudBackend: mqtt
MqttBaseUrl: <your MQTT broker url or ip address>
MqttPort: <mqtt port>
MqttUserName: <mqtt username>
MqttPassWord: <mqtt password>
  1. Restart the iotgw application
systemctl restart iotgw

Notes on the configuration:

  • The username and password fields are necessary only if they are required by the MQTT broker.
  • The MQTT port default values are 8883 (secure) and 1883 (insecure).
  • If the MQTT broker is not using TLS, an additional parameter is needed to allow insecure connection.
MqttAllowInsecure:yes