Case File: Is the Locker Offline
A locker that sleeps between messages keeps being reported offline although nothing is wrong. With MQTT a device promises to send something every keepalive seconds and the broker gives up after one and a half periods. From the time of each packet, count every gap longer than the grace time as an offline event, add up the offline time, find the devices that flap, and handle a device that never sent anything. Run it on sessions that you cannot see. The sessions are generated for you alone.
Case File: Is the Locker Offline
A locker that sleeps between messages keeps being reported offline although nothing is wrong. With MQTT a device promises to send something every keepalive seconds and the broker gives up after one and a half periods. From the time of each packet, count every gap longer than the grace time as an offline event, add up the offline time, find the devices that flap, and handle a device that never sent anything. Run it on sessions that you cannot see. The sessions are generated for you alone.
In this lesson:
- mqtt
- keepalive
- last will
- presence
- iot
- python
- case-file
This lesson is part of a paid plan
Upgrade to Pro to unlock this course, its labs and its exam.
View Pricing Plans