MQTT
This chapter summarizes the MQTT feature available in ELIONA.
MQTT - The standard for IoT messaging
MQTT is an OASIS standard messaging protocol for the Internet of Things (IoT). It is designed as a lightweight publish/subscribe message transport that is ideal for connecting remote devices with low code footprint and minimal network bandwidth. MQTT is used in a wide range of industries today, such as automotive, manufacturing, telecommunications, oil and gas, etc. An MQTT broker is a server that receives all messages from the MQTT clients (publishers) and then forwards the messages to the corresponding target clients (subscribers). The broker is the heart of every publish/subscribe protocol.
MQTT Overview
Connections: List of all created Connections/Brokers.
Sort connection: Sort the connections.
Open Connection: Click the arrow or name to open the connections.
Create Connection/Broker
Name: Enter the name of the connection.
Client ID: Enter the client ID.
Host: Enter the host.
Port: Enter the port.
User name: Enter the login of a user.
Password: Enter the password of the user.
Connection Timeout: Time in seconds to wait for a timeout to occur.
Maintain connection: Time in seconds that the connection should be maintained.
SOCKS5 Proxy Host: Enter the host name for the SOCKS5 proxy server.
SOCKS5 Proxy Port: Enter the port for the SOCKS5 proxy server.
Proxy Login: Enter the login for the proxy server.
Proxy Password: Enter the password of the proxy login.
Save: Click the Save button to keep the changes.
Connection Status: Here you can see whether the connection is enabled or disabled.
Subscriptions list: List of existing subscriptions.
Configure Subscription: Click > to configure the subscription.
Publication List: List of existing publications.
Configure publication: Click > to configure the publication.
Subscription
After the broker has been set up, any number of target clients can be connected, e.g. a mobile device. Subscriptions must be set up for this.
MQTT Explorer: Select a file in the file structure to get the path of the file.
Name: Enter the name of the subscription.
Topic: Enter the topic of the subscription.
QoS: Select QoS.
Single/Multiple Formats: Select single or multiple formats.
Configure pair: How should the messages received with this subscription be decoded? Single: Each message will be decoded according to a selected format. Multiple: Define any number of "pattern - format" pairs. This option is available only for subscriptions with topics containing a wildcard (+ and/or #). It allows messages to be forwarded to different formats based on the actual topic in which the message was received. For example, if you subscribe to the topic "building/storey/level_one/#" and there are messages from different sensors with different payload layouts under the "#" placeholder, you can forward them as follows: 'building/storey/level_one/ambi*' → format01, 'building/storey/level_one/hum*' →. Format02, etc.
Save: Click the Save button to keep the changes.
Publication
Name: Enter the name of the subscription.
Topic: Enter the topic of the subscription.
QoS: Select QoS.
Select Format: Select a format.
Save: Click the Save button to keep the changes.
Last updated