Telegram chatbot Contact



















Introduction to the MQTT Protocol

The MQTT (Message Queuing Telemetry Transport) Protocol is a lightweight and efficient messaging protocol, widely used in the Internet of Things (IoT). Its design facilitates communication in environments where low latency, minimal bandwidth consumption, and energy efficiency are required, which is essential for connected devices with limited resources.

What is MQTT?

MQTT is a messaging protocol based on the publish-subscribe model. It was designed in 1999 by Andy Stanford-Clark from IBM and Arlen Nipper from Arcom (now Eurotech), aiming to connect oil and gas systems over satellite connections with limited bandwidth and high latency. Today, it is used in a wide range of applications, from home automation to industrial telemetry.

Publish-Subscribe Model

The publish-subscribe model of MQTT is simple yet powerful. In this model, "clients" can subscribe to specific "topics" provided by an MQTT "broker". Other clients can publish messages on these topics, and the broker is responsible for distributing the messages to all clients subscribed to the corresponding topic.

Key Components of MQTT

1. MQTT Client:

A device or application that can publish messages to other clients and/or subscribe to topics to receive messages.

2. MQTT Broker:

A server that receives all messages from the clients and then distributes them to the subscribed clients based on the topics they have subscribed to.

3. Topic:

A message identifier that clients use to filter the messages they need to receive. Topics can have multiple levels of hierarchy.

Operational Scheme

Connection: A client connects to the broker by providing a unique identifier and, optionally, authentication credentials.
Subscription: The client subscribes to one or more topics with the broker.
Publication: Another client publishes a message on a specific topic.
Distribution: The broker receives the message and distributes it to all clients subscribed to the specific topic.
Reception: The subscribed clients receive the message.

Benefits of MQTT

Efficiency: Uses minimal bandwidth and is ideal for networks with limited resources.
Decoupling: The producers and consumers of messages are decoupled, meaning they do not need to know each other.
Scalability: Capable of handling thousands of devices simultaneously.
Reliability: Offers different levels of quality of service to ensure message delivery.

MQTT has established itself as a fundamental pillar in the IoT world due to its simplicity and efficiency. It is particularly useful in applications where devices must communicate reliably and efficiently in resource-limited environments.


Enhancing Connectivity with Micra Max and MQTT

The Micra Max, as a panel indicator and automation measurement device, offers a significant enhancement for users needing advanced communication solutions. This device supports MQTT communication when equipped with an Ethernet communication option. This option is a peripheral that can be connected to the Micra Max motherboard and is typically sold together with the device.

Enabling MQTT on Micra Max

To enable MQTT communication on the Micra Max, users need to install the Ethernet communication option. Once installed, data generated by the Micra Max can be sent to an MQTT broker for storage or further analysis. This setup allows for efficient data handling and integration into broader data management and analysis systems.

Configuration Steps

To activate and configure MQTT communication:

Accessing the Webserver: Navigate to the communications section on the Micra Max webserver.
Activating MQTT: Select the option to enable MQTT communication.
Configuration Settings: Enter the necessary details to establish the connection. These details include:
MQTT Broker URL: mqtt://ditel2.seoxan.es (Note: It is crucial to include "mqtt://" in the URL).
Username and Password: These credentials are required for authentication with the broker.
Transmission Frequency: Set how often the Micra Max sends data to the broker.

Setting Up a Broker Account

To utilize our MQTT server for the Micra Max, users must create an account at broker.ditel.es. This account allows users to manage their device connections securely and to handle the data transmitted via MQTT.

By connecting the Micra Max to an MQTT broker via the Ethernet option, users can greatly enhance the device’s functionality, making it a powerful tool for real-time data integration and analysis in various industrial applications.