Overview
A dashboard that auto-collects temperature and humidity from IoT sensors across multiple warehouses and monitors current values and history in one place — continuous environmental logging without manual effort.
Problem
Staff checked and logged warehouse temperature/humidity individually, making real-time awareness and historical analysis hard. Sensor-to-location assignments were managed by hand in JSON.
Approach
Data is fetched periodically from an external IoT sensor API in a two-layer design: latest values served fast from a JSON cache, long-term history stored in the DB. Sensor-to-location assignment is drag-and-drop, with change history recorded automatically.
Key features
- Current-value dashboard by warehouse and sensor
- Scheduled auto-collection from an external IoT API (management command)
- Two-layer design: latest-value cache + long-term history DB
- Drag-and-drop sensor assignment with history
- CSV export by period and warehouse
- Trend visualization with charts
