Research Article

AI-IoT Based Smart Energy System for Multi-Unit Residential Buildings

by  Adeolu S. Aremu, Isaiah A. Adejumobi, Kamoli A. Amusa
journal cover
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 187 - Issue 39
Published: September 2025
Authors: Adeolu S. Aremu, Isaiah A. Adejumobi, Kamoli A. Amusa
10.5120/ijca2025925686
PDF

Adeolu S. Aremu, Isaiah A. Adejumobi, Kamoli A. Amusa . AI-IoT Based Smart Energy System for Multi-Unit Residential Buildings. International Journal of Computer Applications. 187, 39 (September 2025), 39-46. DOI=10.5120/ijca2025925686

                        @article{ 10.5120/ijca2025925686,
                        author  = { Adeolu S. Aremu,Isaiah A. Adejumobi,Kamoli A. Amusa },
                        title   = { AI-IoT Based Smart Energy System for Multi-Unit Residential Buildings },
                        journal = { International Journal of Computer Applications },
                        year    = { 2025 },
                        volume  = { 187 },
                        number  = { 39 },
                        pages   = { 39-46 },
                        doi     = { 10.5120/ijca2025925686 },
                        publisher = { Foundation of Computer Science (FCS), NY, USA }
                        }
                        %0 Journal Article
                        %D 2025
                        %A Adeolu S. Aremu
                        %A Isaiah A. Adejumobi
                        %A Kamoli A. Amusa
                        %T AI-IoT Based Smart Energy System for Multi-Unit Residential Buildings%T 
                        %J International Journal of Computer Applications
                        %V 187
                        %N 39
                        %P 39-46
                        %R 10.5120/ijca2025925686
                        %I Foundation of Computer Science (FCS), NY, USA
Abstract

The growing electricity demand, coupled with challenges such as energy wastage, biased billing in multi-unit buildings, and the absence of adequate predictive energy management, necessitates intelligent solutions. This paper presented the development of a smart energy system tailored for multi-unit residential buildings. By integrating IoT technology with a trained LSTM machine learning model, the system enabled real-time energy monitoring, control, and hourly prediction of energy consumption. Core components include dual PZEM004T sensors, an ESP32 microcontroller, a keypad, an LCD, and relays, all managed via the Blynk IoT platform. The system performed key functions such as threshold-based relay switching, overvoltage and overcurrent protection, and AI-powered forecasting. Results demonstrated high accuracy in monitoring, responsive control through local and remote interfaces, and effective prediction with a low Mean Squared Error (MSE) of 0.0229. The solution ensured fair energy billing, reduced waste, and supported sustainable energy practices.

References
  • Ramadan, R., Huang, Q., Bamisile, O., and Zalhaf, A. S. 2022. Intelligent home energy management using an Internet of Things platform based on the NILM technique. Sustainable Energy Grids and Networks, 31, 100785. https://doi.org/10.1016/j.segan.2022.100785
  • Hasan M.K., Ahmed M.M., Pandey B., Gohel H., Islam S., and Khalid I.F. 2021. Internet of Things-Based Smart Electricity Monitoring and Control System using usage data. Wireless Communications and Mobile Computing. 1–16. https://doi.org/10.1155/2021/6544649.
  • Animireddy, A., Lenkalapalli, U. S., Putta, J., Rekula, R. R., Guvva, Y. 2025. Empowering Energy Efficiency: IoT-Driven Smart Meter Data Analysis with Machine Learning for Precise Energy Consumption Prediction. International Journal of Communication Networks and Information Security, 335-347. https://doi.org/10.48047/IJCNIS.17.3.335-347
  • Ajinkya, V., Priyesh, C., Sheryl, B., Sheetal, D., Soham, J., and Sarthak, B. 2024. AI-Based Smart Home Energy Meter. International Research Journal of Engineering and Technology (IRJET), 2419-2425. https://www.irjet.net/archives/V11/i4/IRJET-V11I4398.pdf
  • Joseph, S. B., Dada, E. G., and Abdullahi, M. S. 2020. Development of an Internet of Things (IoT) based energy consumption monitoring and device control system. NIPES Journal of Science and Technology Research, 2(3), 85. https://doi.org/10.37933/nipes/2.3.2020.9
  • Severiche-Maury, Z., Arrubla-Hoyos, W., Ramirez-Velarde, R., Cama-Pinto, D., Holgado-Terriza, J. A., Damas-Hermoso, M., and Cama-Pinto, A. 2024. LSTM networks for home energy efficiency. Designs, 8(4), 78. https://doi.org/10.3390/designs8040078
  • Msimbe, H., Wilson, D., Salim, J., Rwegoshora, F., Sinde, R., and Kisangiri, M. 2022. Development of an IoT-Based system for monitoring electrical energy consumption of the smart and rental houses in Tanzania. International Journal of Advances in Scientific Research and Engineering, 08(08), 01–10. https://doi.org/10.31695/ijasre.2022.8.8.1
  • Ali, U., Ramzan, M. U., Ali, W., Rana, M. E., and Qayyum, A. 2023. IoT-Driven Smart Energy Monitoring: Real-time Insights and AI-Based Unit Predictions. 2023 IEEE 21st Student Conference on Research and Development (SCOReD), 672–677. https://doi.org/10.1109/scored60679.2023.10563825
  • Hettiarachchi, D., Jaward, G., Tharaka, V., Jeewandara, J., and Hemapala, K. 2021. IoT-Based Building Energy Management System. 2021 3rd International Conference on Electrical Engineering (EECon), 69–73. https://doi.org/10.1109/eecon52960.2021.9580866
  • Essa, M. E. M., El-Shafeey, A. M., Omar, A. H., Fathi, A. E., Maref, A. S. A. E., Lotfy, J. V. W., and El-Sayed, M. S. 2023. Reliable integration of neural networks and the Internet of Things for forecasting, controlling, and monitoring of an experimental building management system. Sustainability, 15(3), 2168. https://doi.org/10.3390/su15032168
  • Starace, G., Tiwari, A., Colangelo, G., and Massaro, A. 2022. Advanced Data Systems for Energy Consumption Optimization and Air Quality Control in Smart Public Buildings Using a Versatile Open Source Approach. Electronics, 11(23), 3904. https://doi.org/10.3390/electronics11233904
  • ESP32 Development Board - DEVKIT V1. n.d. https://grobotronics.com/esp32-development-board-devkit-v1.html
  • PeaceFair PZEM-004T V3 Energy Monitor. n.d. ESPHome. https://esphome.io/ components/sensor/pzemac.html
  • Easy Electronics 16x2 LCD Blue with I2C Module for Arduino : Amazon.in: Industrial & Scientific. n.d. https://www.amazon.in/Easy-Electronics-16x2-Module-Arduino
  • Five volts Dual-Channel Relay Module. n.d. Components101. https://components101.com/switches/5v-dual-channel-relay-module-pinout-features-applications-working-datasheet
  • Four by Four matrix keypad: Input Device for Arduino Projects 2023. Nicrobit Store. https://nicrobit.com.ng/products/4x4-matrix-keypad-input-device-for-arduino-projects/
  • Five Volt DC Power adapter. n.d. Flipkart. https://www.flipkart.com/5v+adapter
  • Taheri, Saman; Jooshaki, Mohammad; Moeini-Aghtaie, Moein 2021. “8 years of hourly heating and electricity consumption data - a residential building”, Mendeley Data, V1, doi: 10.17632/fb7x34b7zs.1
  • Brudermueller Tobias, Fleisch Elgar, Vayá Marina González, and Staake Thorsten. 2025. HEAPO - An Open Dataset for Heat Pump Optimization with Smart Electricity Meter Data and On-Site Inspection Protocols. ArXiv. https://arxiv.org/abs/2503.16993
  • UK Power Networks. 2022. SmartMeter Energy Consumption Data in London Households. https://data.london.gov.uk/dataset/smartmeter-energy-use-data-in-london-households/
Index Terms
Computer Science
Information Sciences
No index terms available.
Keywords

ESP 32 Blynk Machine Learning Long Short-Term Memory Energy Prediction Energy Management.

Powered by PhDFocusTM