Design and Implementation of an IoT-Based House Energy Monitoring System (HEMS) Using ESP32

Authors

W. M. Bukhari

Faculty of Artificial Intelligence & Cyber Security, Universiti Teknikal Malaysia Melaka (Malaysia)

Article Information

DOI: 10.47772/IJRISS.2026.100700592

Subject Category: IoT

Volume/Issue: 10/7 | Page No: 8647-8659

Publication Timeline

Submitted: 2026-07-26

Accepted: 2026-07-31

Published: 2026-08-08

Abstract

In an era of rising energy costs and environmental concerns, traditional monthly electricity bills fail to provide households with the real-time insights needed to optimize their energy usage. To address this gap, this project details the development of a House Energy Monitoring System (HEMS) designed to continuously and accurately measure domestic energy consumption. The HEMS prototype utilizes an ESP32 microcontroller equipped with Wi-Fi capabilities as its central processing unit. It integrates a ZMPT101B voltage sensor and an SCT-013-050 non-invasive AC current sensor to safely read analog electrical signals directly from the home's distribution box. The microcontroller processes these signals to calculate essential electrical parameters, including Root Mean Square Voltage (VRMS), Root Mean Square Current (IRMS), real power (Watts), and cumulative energy consumption (kWh). For user accessibility, the processed data is displayed locally on an LCD screen and transmitted wirelessly to a user's mobile phone via the Blynk application. This dual-display setup provides data logs updated every five seconds, allowing users to track immediate power dynamics and identify high-energy appliances. While prototype testing revealed minor sensor noise and inaccuracies at very low currents (0-0.9 Amps), the system successfully empowers users to adjust their daily habits and strategically utilize off-peak electric tariff blocks to save money. Ultimately, this HEMS aligns with the United Nations Sustainable Development Goals, specifically promoting affordable and clean energy (SDG 7) and responsible consumption (SDG 12). By illuminating hidden power usage, the system empowers consumers to reduce their carbon footprints, lower electricity bills, and actively contribute to a more sustainable energy future.

Keywords

House Energy Monitoring Systems; ESP32 Microcontroller; Internet of Things; Sustainable Development Goal

Downloads

References

1. Ahmad, S., & Zainal, A. (2021). Household behavioral adaptation towards domestic electricity consumption under the TNB block tariff structure in Malaysia. Elsevier Energy Policy, 156, Article 112410. https://doi.org/10.1016/j.enpol.2021.112410 [Google Scholar] [Crossref]

2. Al-Kuwari, M., Ramadan, A., Ismael, Y., Al-Suwaidi, L., Al-Naimi, R., & Al-Marri, S. (2022). Smart home energy management system using ESP32 and IoT cloud platforms. IEEE Access, 10, 84321–84334. https://doi.org/10.1109/ACCESS.2022.3198124 [Google Scholar] [Crossref]

3. Carullo, A., & Parvis, M. (2021). Accuracy and limitation analysis of split-core current transformers (SCT-013) under low-load current regimes. Elsevier Measurement, 174, Article 109012. https://doi.org/10.1016/j.measurement.2021.109012 [Google Scholar] [Crossref]

4. Castano-Rosa, R., & Solis-Guzman, J. (2021). The role of residential digital energy tracking tools in achieving United Nations Sustainable Development Goal 7. MDPI Sustainability, 13(11), Article 6123. https://doi.org/10.3390/su13116123 [Google Scholar] [Crossref]

5. Fischer, M., & Weber, S. (2022). Verification of embedded power tracking designs using EasyEDA and cloud-integrated SPICE simulation platforms. International Journal of Electronics, 109(6), 1011–1025. https://doi.org/10.1080/00207217.2021.1994012 [Google Scholar] [Crossref]

6. Gonzalez, O., Silva, J., & Castano, S. (2019). Calibration and signal processing methodologies for ZMPT101B voltage sensor modules in single-phase AC grids. IEEE Transactions on Instrumentation and Measurement, 68(11), 4321–4330. https://doi.org/10.1109/TIM.2018.2889012 [Google Scholar] [Crossref]

7. Hashim, N. M., & Rahman, M. A. (2023). Real-time energy dashboard tracking as a strategy to prevent consumers from shifting to higher electric tariff blocks. IEEE Transactions on Smart Grid, 14(1), 512–523. https://doi.org/10.1109/TSG.2022.3199041 [Google Scholar] [Crossref]

8. Jones, B. V., & Harrison, G. P. (2022). Reducing carbon footprints at the grid edge: Empowering responsible consumption (SDG 12) through granular home energy insights. Elsevier Renewable and Sustainable Energy Reviews, 158, Article 112104. https://doi.org/10.1016/j.rser.2022.112104 [Google Scholar] [Crossref]

9. Khan, A. A., & Malik, M. S. (2023). Mitigating noise and power supply fluctuations in non-invasive electrical current measurement systems. Springer Electrical Engineering, 105(4), 2145–2156. https://doi.org/10.1007/s00202-023-01811-y [Google Scholar] [Crossref]

10. Kodali, R. K., & Sahu, A. (2021). An IoT-based household energy monitoring system using ESP32. Elsevier Procedia Computer Science, 191, 344–351. https://doi.org/10.1016/j.procs.2021.07.045 [Google Scholar] [Crossref]

11. Kumar, P., & Sandhu, K. S. (2020). Real power calculation methods in single-phase non-linear household loads under non-sinusoidal conditions. Taylor & Francis Electric Power Components and Systems, 48(12-13), 1311–1324. https://doi.org/10.1080/15325008.2020.1861541 [Google Scholar] [Crossref]

12. Moore, T., & Horne, R. (2023). Smart residential nodes for sustainable cities and communities (SDG 11): Post-occupancy evaluations of home energy management architectures. Springer Urban Transformations, 5(1), Article 3. https://doi.org/10.1186/s42854-023-00048-w [Google Scholar] [Crossref]

13. Nguyen, H. T., & Robert, J. (2021). Thermal and spatial management inside wall-mounted IP56 enclosures containing low-voltage regulated DC switch-mode power units. Elsevier Microelectronics Reliability, 124, Article 114251. https://doi.org/10.1016/j.microrel.2021.114251 [Google Scholar] [Crossref]

14. Patel, D., & Shah, M. (2023). A review of consumer behavioral responses to real-time mobile app push notifications regarding energy optimization thresholds. IEEE Transactions on Engineering Management, 70(4), 1530–1542. https://doi.org/10.1109/TEM.2021.3089104 [Google Scholar] [Crossref]

15. Permana, I., & Nugroho, A. (2023). Real-time monitoring of electrical parameters via Blynk IoT application using ESP32 core module. International Journal of Electrical and Computer Engineering (IJECE), 13(2), 1420–1429. https://doi.org/10.11591/ijece.v13i2.pp1420-1429 [Google Scholar] [Crossref]

16. Shinde, S. V., & Prasad, J. R. (2020). Performance analysis of ESP32 microcontroller in internet of things (IoT) applications for smart grid infrastructure. Springer Journal of Ambient Intelligence and Humanized Computing, 11(9), 3821–3832. https://doi.org/10.1007/s12652-020-01954-4 [Google Scholar] [Crossref]

17. Taher, M. A., & Rashid, M. H. (2022). Design and implementation of an affordable smart home energy meter using Blynk server communication. IEEE Transactions on Consumer Electronics, 68(3), 289–297. https://doi.org/10.1109/TCE.2022.3175402 [Google Scholar] [Crossref]

18. Tan, J. X., & Lim, Y. S. (2020). Optimization of appliance scheduling under stepped residential electricity tariffs using home energy management systems. Elsevier Applied Energy, 261, Article 114402. https://doi.org/10.1016/j.apenergy.2019.114402 [Google Scholar] [Crossref]

19. Wong, C. K., & Ramasamy, S. (2022). Experimental evaluation of magnetic core saturation impacts on split-core current sensors during low fractional current loads. IEEE Sensors Journal, 22(8), 7654–7663. https://doi.org/10.1109/JSEN.2022.3159011 [Google Scholar] [Crossref]

Metrics

Views & Downloads

Similar Articles