Skip to content
Adaptive AgroTech NetworkUniversity of Southern Denmark · SDU Drone Center
Cover for Can MQTT Deliver One Command More Than Once?

Video by Adaptive AgroTech. If the embedded player is unavailable, open the original video ↗.

Can MQTT Deliver One Command More Than Once?

With MQTT QoS 1, a sender can retransmit a message if an acknowledgement is lost.

Understand the concept

The key idea

With MQTT QoS 1, a sender can retransmit a message if an acknowledgement is lost. A physical action triggered by the command may therefore occur more than once.

What to remember

  • Use stable application command IDs
  • Design repeated commands to have a defined effect
Pause & think

Check your understanding

How can a controller avoid actuating twice after a retry?

Show the explanation

Recognize a previously processed command ID and return the stored outcome.