AccScience Publishing / AJWEP / Online First / DOI: 10.36922/AJWEP025050028
SHORT COMMUNICATION

Next-generation residential energy management: A web-based self-hosting solution

Jyothilal Nayak Bharothu1 Suma Satyanarayan2 Rayalapalli Ganesh Manikanta1 Pothala Jagadeesh1 Lakshmi Narasimha Sastry Varanasi3 Shravani Kanaka Kumari Palla1*
Show Less
1 Department of Electrical and Electronics Engineering, Rajiv Gandhi University of Knowledge and Technologies Nuzvid, Andhra Pradesh, India
2 Department of Computer Science and Engineering, CMR Technical Campus, Hyderabad, Telangana, India
3 Department of Electrical Engineering, National Institute of Technology Andhra Pradesh, Tadepalligudem, Andhra Pradesh, India
Received: 30 January 2025 | Revised: 11 June 2025 | Accepted: 12 June 2025 | Published online: 17 November 2025
© 2025 by the Author(s). This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution 4.0 International License ( https://creativecommons.org/licenses/by/4.0/ )
Abstract

Rising residential electricity demand, driven by population growth and appliance proliferation, strains non-renewable energy resources and increases carbon emissions. In India, households consume ~25% of total electricity, yet most users receive only monthly aggregated bills without real-time insights or control over individual loads. Existing commercial energy monitors are costly (>USD 100) and lack remote access, whereas open-source alternatives (Raspberry Pi, Arduino) suffer from complexity, high power use, or missing cloud integration. This work presents a low-cost (<USD 20), web-based, self-hosted energy management system using NodeMCU and PZEM-004T V3.0, enabling real-time monitoring, remote control, and data-driven optimization for sustainable residential energy use. This study presents an efficient energy management system for residential buildings, addressing the increasing demand for electrical energy and the need for improved management practices. The system integrates a NodeMCU (ESP8266) microcontroller and a PZEM-004TV3.0 module to monitor and manage electrical energy loads. Real-time data on voltage, current, power, and energy were acquired and transmitted to Google Firebase via the MQTT protocol, enabling remote monitoring and control. Users can manage appliances locally through manual switches and light-emitting diode indicators or remotely through a web interface. The system achieved a calibration efficiency of 98.58% compared to standard instruments, with voltage and current errors of 0.15% and 3.12%, respectively. By providing detailed insights into energy usage and control capabilities, this cost-effective solution empowers users to optimize consumption, reduce wastage, and contribute to energy sustainability efforts.

Keywords
Residential energy management
NodeMCU
PZEM-004TV3.0
MQTT protocol
Google Firebase Internet of Things-based energy control
Cost-effective energy management
Funding
None.
Conflict of interest
The authors declare they have no competing interests.
References
  1. Tsai HL, Truong LP, Hsieh WH. Design and evaluation of wireless power monitoring IoT system for AC appliances. Energies. 2023;16(1):163. doi: 10.3390/en16010127

 

  1. Suryono W, Prabowo AS, Suhanto S, Sazali A. Monitoring and controlling electricity consumption using Wemos D1 mini and smartphone. In: Paper Presented at: International Conference on Advanced Mechanical and Industrial Engineering Banten, Indonesia; 2020.

 

  1. Kamal MFBM, Singh RSS, Anas SA. IoT-based electric monitoring system for smart electric meter application. In: Control and Measurement Applications for Smart Grid. Berlin: Springer; 2022. p. 209-218.

 

  1. Ayeni PO, Adesoba OC. IoT-based home control system using NodeMCU and Firebase. J Edge Comput. 2024;3(2):45-58.

 

  1. Lestari D, Wahyono ID, Fadlika I. IoT Based Electrical Energy Consumption Monitoring System Prototype: Case study in G4 Building Universitas Negeri Malang. In: Paper Presented at: 2017 International Conference on Sustainable Information Engineering and Technology, Malang, Indonesia; 2017.

 

  1. Jonathan F, Putri TWO. Prototype of home power monitoring tool for electrical outlet using ESP32. In: Paper Presented at: 2021 International Conference on ICT for Smart Society, Bandung, Indonesia; 2021.

 

  1. Macheso PS, Thotho D. ESP32 based electric energy consumption meter. Int J Comput Commun Inform. 2022;4(1):23-35.

 

  1. Andrei O, Largi A, Uiburmdiu S, Cziker AC. IoT power monitoring device using Wi-Fi and Arduino. In: Paper Presented at: 2021 9th International Conference on Modern Power Systems, Cluj-Napoca, Romania; 2021.

 

  1. Chooruang K, Meekul K. Design of an IoT energy monitoring system. In: Paper Presented at: 2018 16th International Conference on ICT and Knowledge Engineering, Bangkok, Thailand; 2018.

 

  1. Stone PS, Thotho D. ESP32 based electric energy consumption meter. Int J Comput Commun Inform. 2022;4(1):23-35. doi: 10.34256/ijcci2213

 

  1. Mrudul GV, Rohit G, Harshavardhan G, Dhanush K, Anudeep B. Efficient energy management: practical tips for household electricity conservation. J Mod Technol. 2024;1:1-8. doi: 10.71426/jmt.v1.i1.pp1-8

 

  1. Rao PVLN, Lavanya V, Manasa D, Boggavarapu S, Soni BP. Battery models and estimation techniques for energy storage systems in residential buildings. J Mod Technol. 2024;1:47-58. doi: 10.71426/jmt.v1.i1.pp47-58

 

  1. Sheela M, Gopalakrishnan S, Begum I, Hephzipah JJ, Gopianand M, Harika D. Enhancing energy efficiency with smart building energy management system using machine learning and IoT. Babylon J Mach Learn. 2024;2024:80-88. doi: 10.58496/BJML/2024/0010

 

  1. Allouhi A, El Fouih Y, Kousksou T, Jamil A, Zeraouli Y, Mourad Y. Energy consumption in the public sector: Evidence from Middle Eastern countries. Energy Effic. 2018;11(4):905-921. doi: 10.1007/s12053-017-9602-5

 

  1. Cetin KS, Novoselac A, Zhu M, et al. Optimizing ventilation systems in educational buildings: Energy efficiency and occupant comfort. Energy Build. 2024;317:115266. doi: 10.1016/j.enbuild.2024.115266
Share
Back to top
Asian Journal of Water, Environment and Pollution, Electronic ISSN: 1875-8568 Print ISSN: 0972-9860, Published by AccScience Publishing