MQTT
This chapter summarizes the MQTT feature available in ELIONA.
Last updated
This chapter summarizes the MQTT feature available in ELIONA.
Last updated
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.
In Eliona, you can click on the Connection icon in the sidebar menu to set up MQTT connections.
Connections: List of all created Connections/Brokers.
Sort connection: Sort the connections.
Open Connection: Click the arrow or name to open the connections.
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.
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.
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.
Create connection: Click to create a new connection.
Search connection: Click to search for connections.
Remove Connection: Click to remove the connection.
After you click on , you can enter the necessary data for the connection in the following form.
Enable connection: Click to enable/disable the connection.
Test connection: Click to test the connection.
Remove connection: Click to remove the connection.
Documentation: Click to access this documentation.
Create subscriptions: Click to create a new subscription.
Remove Subscription: Click to remove the subscription.
Create publication: Click to create a new publication.
Remove publication: Click to remove the publication.
Activate subscription: Click to enable/disable the subscription.
Remove Subscription: Click to remove the subscription.
Documentation: Click to access this documentation.
Create Format: Click to create a new format.
Add pair: Click to create a new pair.
Test publication: Click to test the publication.
Remove publication: Click to remove the publication.
Create Format: Click to create a new format.
Documentation: Click to access this documentation.