IoT-Based Household Energy Monitoring with Preliminary Large Language Model-Assisted Recommendations


Atikah Tri Budi Utami(1); Hamdan Gani(2*); Annisa Dwi Damayanti(3);

(1) Politeknik ATI Makassar
(2) Politeknik ATI Makassar
(3) Universitas Hasanuddin
(*) Corresponding Author

  

Abstract


IoT-based household energy monitoring systems are effective for real-time data acquisition but often provide limited interpretive support for non-technical users. Most existing implementations focus on measurement and visualization, with less attention to converting raw consumption data into actionable recommendations. This study presents a prototype household energy monitoring system that integrates an ESP32-based IoT platform, PZEM-004T sensors, Firebase Realtime Database, and a cloud-hosted Large Language Model (LLM) in a hybrid edge-cloud architecture. Sensor validation was performed by comparing PZEM-004T readings with clamp meter measurements. The results showed low overall error, with voltage measurement achieving an MAE of 0.505 V, RMSE of 0.678 V, and MAPE of 0.231%, while power measurement achieved an MAE of 0.206 W, RMSE of 0.267 W, and MAPE of 0.889%. The LLM module was assessed through scenario-based functional evaluation, where it generated contextual explanations, identified potential energy-use anomalies, and produced quantified energy-saving suggestions. A real-user evaluation involving 50 respondents further indicated generally positive perceptions of the generated recommendations in terms of clarity, relevance, usefulness, trust, and behavioral intention, although the findings remain limited to perceived user responses rather than long-term behavioral outcomes. Overall, the results demonstrate the feasibility of employing an LLM as an interpretive layer in IoT-based household energy monitoring and indicate its potential to improve the accessibility of energy information for non-technical users.


Keywords


Large Language Model (LLM); Internet of Things (IoT); Household Energy Monitoring; ESP32; Smart Home

  
  

Full Text:

PDF
  

Article Metrics

Abstract view: 65 times
PDF view: 13 times
     

Digital Object Identifier

doi  https://doi.org/10.33096/ilkom.v18i2.3233.333-350
  

Cite

References


L. Gorina, E. Korneeva, O. Kovaleva, and W. Strielkowski, “Energy‐saving technologies and energy efficiency in the post‐ COVID era,” Sustainable Development, vol. 32, no. 5, pp. 5294–5310, Oct. 2024, doi: 10.1002/sd.2978.

B. Gajdzik, R. Wolniak, R. Nagaj, B. Žuromskaitė-Nagaj, and W. W. Grebski, “The Influence of the Global Energy Crisis on Energy Efficiency: A Comprehensive Analysis,” Energies, vol. 17, no. 4, p. 947, Feb. 2024, doi: 10.3390/en17040947.

A. Elkhatat and S. Al-Muhtaseb, “Climate Change and Energy Security: A Comparative Analysis of the Role of Energy Policies in Advancing Environmental Sustainability,” Energies, vol. 17, no. 13, p. 3179, Jun. 2024, doi: 10.3390/en17133179.

M. S. Bakare, A. Abdulkarim, M. Zeeshan, and A. N. Shuaibu, “A comprehensive overview on demand side energy management towards smart grids: challenges, solutions, and future direction,” Energy Informatics, vol. 6, no. 1, p. 4, Mar. 2023, doi: 10.1186/s42162-023-00262-7.

A. Zaboli, S. R. Kasimalla, K. Park, Y. Hong, and J. Hong, “A Comprehensive Review of Behind-the-Meter Distributed Energy Resources Load Forecasting: Models, Challenges, and Emerging Technologies,” Energies, vol. 17, no. 11, p. 2534, May 2024, doi: 10.3390/en17112534.

A. Othman and N. H. Zakaria, “Energy Meter based Wireless Monitoring System using Blynk Application via smartphone,” in IEEE International Conference on Artificial Intelligence in Engineering and Technology, IICAIET 2020, 2020, pp. 1–5, doi: 10.1109/IICAIET49801.2020.9257827.

A. Asit Kumar Majhi and S. Mohanty, “A Comprehensive Review on Internet of Things Applications in Power Systems,” IEEE Internet of Things Journal, vol. 11, no. 21, pp. 34896–34923, Nov. 2024, doi: 10.1109/JIOT.2024.3447241.

P. Franco, J. M. Martínez, Y.-C. Kim, and M. A. Ahmed, “A Cyber-Physical Approach for Residential Energy Management: Current State and Future Directions,” Sustainability, vol. 14, no. 8, p. 4639, Apr. 2022, doi: 10.3390/su14084639.

M. S. Aliero, K. N. Qureshi, M. F. Pasha, and G. Jeon, “Smart Home Energy Management Systems in Internet of Things networks for green cities demands and services,” Environmental Technology & Innovation, vol. 22, p. 101443, May 2021, doi: 10.1016/j.eti.2021.101443.

H. J. El-Khozondar et al., “A smart energy monitoring system using ESP32 microcontroller,” e-Prime - Advances in Electrical Engineering, Electronics and Energy, vol. 9, p. 100666, Sep. 2024, doi: 10.1016/j.prime.2024.100666.

A. L. H. P S, M. Shafiulla, S. Mohammed Naveed, S. Ahmed, S. Mohammed Nawaz, and U. Kumar, “Home Automation Using Wi-Fi: ESP32-Based System for Remote Control and Environmental Monitoring,” in 2024 Third International Conference on Distributed Computing and Electrical Circuits and Electronics (ICDCECE), Apr. 2024, pp. 1–7, doi: 10.1109/ICDCECE60827.2024.10549726.

F. Condon, J. M. Martínez, A. M. Eltamaly, Y.-C. Kim, and M. A. Ahmed, “Design and Implementation of a Cloud-IoT-Based Home Energy Management System,” Sensors, vol. 23, no. 1, p. 176, Dec. 2022, doi: 10.3390/s23010176.

M. S. Hossain and M. M. Hassan, “Smart Energy Meter with Real Time Monitoring System,” in 2024 13th International Conference on Electrical and Computer Engineering (ICECE), Dec. 2024, pp. 761–766, doi: 10.1109/ICECE64886.2024.11024970.

A. Diro, N. Chilamkurti, V.-D. Nguyen, and W. Heyne, “A Comprehensive Study of Anomaly Detection Schemes in IoT Networks Using Machine Learning Algorithms,” Sensors, vol. 21, no. 24, p. 8320, Dec. 2021, doi: 10.3390/s21248320.

D. Arsene, A. Predescu, B. Pahonțu, C. G. Chiru, E.-S. Apostol, and C.-O. Truică, “Advanced Strategies for Monitoring Water Consumption Patterns in Households Based on IoT and Machine Learning,” Water, vol. 14, no. 14, p. 2187, Jul. 2022, doi: 10.3390/w14142187.

J. O. Ojadi, C. S. Odionu, E. C. Onukwulu, and O. A. Owulade, “AI-Enabled Smart Grid Systems for Energy Efficiency and Carbon Footprint Reduction in Urban Energy Networks,” International Journal of Multidisciplinary Research and Growth Evaluation., vol. 5, no. 1, pp. 1549–1566, 2024, doi: 10.54660/.IJMRGE.2024.5.1.1549-1566.

O. Arshi, A. Rai, G. Gupta, J. K. Pandey, and S. Mondal, “IoT in energy: a comprehensive review of technologies, applications, and future directions,” Peer-to-Peer Networking and Applications, vol. 17, no. 5, pp. 2830–2869, Sep. 2024, doi: 10.1007/s12083-024-01725-8.

G. Tyagi, “End-User and Human-Centric IoT, Including IoT Multimedia, Societal Impacts and Sustainable Development,” in The Next Generation Innovation in IoT and Cloud Computing with Applications, Boca Raton: CRC Press, 2024, pp. 90–109.

D. Lerede and L. Savoldi, “Might future electricity generation suffice to meet the global demand?,” Energy Strategy Reviews, vol. 47, p. 101080, May 2023, doi: 10.1016/j.esr.2023.101080.

J. Wang, S. Ghosh, O. A. Olayinka, B. Doğan, M. I. Shah, and K. Zhong, “Achieving energy security amidst the world uncertainty in newly industrialized economies: The role of technological advancement,” Energy, vol. 261, p. 125265, Dec. 2022, doi: 10.1016/j.energy.2022.125265.

M. Farghali et al., “Strategies to save energy in the context of the energy crisis: a review,” Environmental Chemistry Letters, vol. 21, no. 4, pp. 2003–2039, Aug. 2023, doi: 10.1007/s10311-023-01591-5.

J. Dahihande, A. Jaiswal, A. A. Pagar, A. Thakare, M. Eirinaki, and I. Varlamis, “Reducing energy waste in households through real-time recommendations,” in Fourteenth ACM Conference on Recommender Systems, Sep. 2020, pp. 545–550, doi: 10.1145/3383313.3412212.

P. Pal et al., “IoT-Based Real Time Energy Management of Virtual Power Plant Using PLC for Transactive Energy Framework,” IEEE Access, vol. 9, pp. 97643–97660, 2021, doi: 10.1109/ACCESS.2021.3093111.

C. K. Rao, S. K. Sahoo, and F. F. Yanine, “A comprehensive review of smart energy management systems for photovoltaic power generation utilizing the internet of things,” Unconventional Resources, vol. 7, p. 100197, Jul. 2025, doi: 10.1016/j.uncres.2025.100197.

W. Yaïci, K. Krishnamurthy, E. Entchev, and M. Longo, “Recent Advances in Internet of Things (IoT) Infrastructures for Building Energy Systems: A Review,” Sensors, vol. 21, no. 6, p. 2152, Mar. 2021, doi: 10.3390/s21062152.

S. M. A. A. Abir, A. Anwar, J. Choi, and A. S. M. Kayes, “Iot-enabled smart energy grid: Applications and challenges,” IEEE Access, vol. 9, pp. 50961–50981, 2021, doi: 10.1109/ACCESS.2021.3067331.

D. S. Naga Malleswara Rao, A. Prathyusha, V. L. Priyanka, and M. Mrudhula, “IoT-Enabled Smart Energy Meter for Improved Billing and Usage Monitoring,” in 2023 3rd International Conference on Pervasive Computing and Social Networking (ICPCSN), Jun. 2023, pp. 1019–1023, doi: 10.1109/ICPCSN58827.2023.00173.

I. Plauska, A. Liutkevičius, and A. Janavičiūtė, “Performance Evaluation of C/C++, MicroPython, Rust and TinyGo Programming Languages on ESP32 Microcontroller,” Electronics, vol. 12, no. 1, p. 143, Dec. 2022, doi: 10.3390/electronics12010143.

M. Zong, A. Hekmati, M. Guastalla, Y. Li, and B. Krishnamachari, “Integrating large language models with internet of things: applications,” Discover Internet of Things, vol. 5, no. 1, p. 2, Jan. 2025, doi: 10.1007/s43926-024-00083-4.

M. Giudici, L. Padalino, G. Paolino, I. Paratici, A. I. Pascu, and F. Garzotto, “Designing Home Automation Routines Using an LLM-Based Chatbot,” Designs, vol. 8, no. 3, p. 43, May 2024, doi: 10.3390/designs8030043.

X. Luo, D. Liu, F. Dang, and H. Luo, “Integration of LLMs and the Physical World: Research and Application,” in ACM International Conference Proceeding Series, 2024, pp. 1–5, doi: 10.1145/3674399.3674402.

D. Rivkin et al., “AIoT Smart Home via Autonomous LLM Agents,” IEEE Internet of Things Journal, vol. 12, no. 3, pp. 2458–2472, Feb. 2025, doi: 10.1109/JIOT.2024.3471904.


Refbacks

  • There are currently no refbacks.


Copyright (c) 2026 Atikah Tri Budi Utami, Hamdan Gani, Annisa Dwi Damayanti

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.