IoTClassTeacher kit · MQTT

Run sheet · MQTT Python: Reliable Client Patterns · 110 min

TimeTeacher doesLearners doLink
0–5 minOpen the Reliable Clients deck at the reconnect timelineEstimate the first two backoff delaysChapter
5–12 minShow how a client's callbacks and network loop report a connection and a received messageTell a connection event from a received-message event in a traceChapter
12–20 minWork through reconnect backoff and the Last Will message after a dropped linkPredict the next retry delay and what the broker publishes when a client vanishesChapter
20–40 minRun the First MQTT Message lab and compare the sender and receiver outputRecord the line that shows the connection and the line that shows the received payloadLab
40–100 minRun the First MQTT Message lab and compare the sender and receiver outputRecord the line that shows the connection and the line that shows the received payloadLab
105–110 minAsk which printed line proves a message arrivedState the next retry interval and why jitter is addedChapter

Break: 5 minutes after the lab

If the lab fails: Trace the lab's printed output on paper and mark the connect line, the received line and the retry delays. Camera off: Ask pairs to write the retry sequence and the will message they expect.

Next move: If many learners treat a publish print as proof of delivery, trace one message to a subscriber again.