This article explains how to monitor the online/offline status change of IoT devices based on the rule engine to obtain the devices' running status.