π‘ Stream Real-Time Data with MQTT on Kuika!
MQTT is a lightweight and fast communication protocol that works with low bandwidth. By using this protocol on the Kuika platform, you can easily provide data flow between devices, especially in IoT projects.
In this content, we focus on the features of MQTT π
π§ Key Features of MQTT
πΉ Topic
Messages are delivered through hierarchical headings called βtopicsβ.
π Examples:
home/living_room/temperature β Living room temperature
vehicles/car/speed β Vehicle speed information
πΉ QoS (Quality of Service)
Determines how reliably the message is transmitted.
QoS 0 - At Most Once
The fastest but least secure method. The message is sent once, no confirmation is expected.
QoS 1 - At Least Once
The message arrives at least once. Resend if necessary.
QoS 2 - Exactly Once
The message is delivered only once and in the right way. It is the safest option.
πΉ Retain
It ensures that the last sent message is automatically forwarded to newly connected clients.
Example: The last value from the temperature sensor is stored with the retain feature. When a new user connects, they can see this value.
β To delete the retain message: Send empty message with retain = true.
MQTT is ideal for applications that require instant data, especially with its light weight, real-time data transmission and customizable control level.
π For detailed information: Kuika Academy - MQTT
π¬ What data do you plan to transfer using MQTT? Share and let's explore together!