mqtt

How to set up the MQTT connection

MQTT is a network protocol that transports messages inbetween devices. Connect to the Treon Gateway by using SSH. Add a configuration file (ending in .conf) to /opt/iotgw/conf.

How to set up an MQTT broker

An MQTT broker can be used to monitor your Node data and to send DM messages to the Gateway. You can easily setup an MQTT broker on your computer for testing or configuration purposes.

How to modify MQTT subtopics

By changing cloud adapters configuration from /opt/iotgw/conf.d by adding file with name ending with .conf you can change mqtt pub/sub topics. This can be done with for example “nano /opt/iotgw/conf.d/mqtt_topics.conf” and adding configuration below to the file.