IoT Based Realtime Energy Monitoring in Academic Buildings
摘要
This work delivers an end-to-end energy monitoring solution for a multi-wing academic building, turning raw electrical behaviour into secure, real-time insights for labs and classrooms in our department building. At the edge, an ESP32 gateway polls RS-485 energy meters via Modbus, validates frames (CRC-16), and publishes compact JSON over MQTT/TLS to Azure IoT Hub using short-lived SAS tokens. In the cloud, a route stores events in Cosmos DB with device identity and server enqueued time. Power BI connects directly to this store, decodes payloads, and renders live trend panels (voltage, current, power, energy, frequency, power factor) with rolling time windows for operational visibility.