04 / CASE STUDY
Device monitoring & alerts
Turn device exceptions into a response people can follow.
Bring device status, metric trends and alert handling across sites into one workspace. Operators follow a clear record from detection and investigation through acknowledgement and recovery.
The business context
Devices across campuses, equipment rooms and distributed sites continuously report temperature, voltage and operating status, but that information often lives on separate screens. After receiving an exception message, an operator still has to locate the device, find its historical trends and check whether someone is already responding.
This project brings the device registry, live monitoring and event handling into one workspace. Device ownership, current conditions, the person responding and the time of recovery can all be traced through the device and event records.
Following a temperature alert
- Spot the exception in the overview. Operators review device availability and open events. GW-07 reports 72.6°C against a configured 70°C threshold, creating a related alert.
- Investigate with historical trends. Opening the alert reveals the device location, latest report and temperature curve. The threshold provides context for when the exception began and whether it is continuing.
- Acknowledge and follow up. The responding operator acknowledges the alert and adds investigation and handling notes. Their account, timestamps and notes appear in the event timeline for the next shift to follow.
- Record recovery and archive. When readings return to normal, the platform records the recovery time and retains the trigger reading, handling history and trends for later review.
Work organized around devices and events
- Device registry: manage device identities, connection details, availability and latest heartbeats by site, with direct access to related metrics and events.
- Metrics workspace: combine current readings with historical trends, query by device, metric and time, and compare thresholds with the moment an exception began.
- Rule management: configure metric thresholds and heartbeat timeouts separately to distinguish abnormal readings from lost connections.
- Alert centre: review events awaiting acknowledgement, being handled or recovered, together with notification status, operators and activity records.
- Event history: retain the sequence of detection, notification, acknowledgement, handling and recovery for inspections, shift handovers and incident reviews.
From incoming data to event handling
Devices publish metrics and heartbeats through MQTT. The ingestion service checks device identity, payload format and collection time. TimescaleDB stores metrics by device and time, retaining data-quality markers. The React workspace receives status updates over WebSocket and loads historical trends for the selected period.
The rule service evaluates threshold breaches and heartbeat timeouts separately. Continuing exceptions remain within one event, with later readings updating its state. Recovery and human acknowledgement are recorded independently, so a device that has been acknowledged but has not recovered continues to show an exception. A heartbeat timeout creates an offline event, and reconnection records when the device returned.
Notifications are delivered asynchronously with recorded delivery states and retries on failure. Acknowledgements, handling notes and recovery records share an event identifier, keeping the device page, alert list and event details aligned on response progress.
What this changes
Operators move directly from the overview to a device that needs attention and assess current readings alongside historical changes. Maintenance teams document their work in the same event record, while managers review the exception and recovery with clear context for investigations and shift handovers.