Design and Implementation of NodeMCU ESP8266-Based Smart Home System as Residential Energy Efficiency Solution
DOI:
https://doi.org/10.57152/malcom.v6i3.2902Keywords:
Internet of Things, NodeMCU ESP8266, Smart Home, ThingSpeak, SDGsAbstract
The household sector accounts for approximately 42.41% of Indonesia's total electricity consumption (122,339.69 GWh in 2023), making it a strategic priority for energy efficiency efforts aligned with the Sustainable Development Goals (SDGs), particularly SDG 7, SDG 9, SDG 11, and SDG 13. This study presents the design of a NodeMCU ESP8266-based smart home system integrated with the ThingSpeak platform and an Android application built with MIT App Inventor. This system is capable of integrating three main functions, including controlling and monitoring room lights using an LDR sensor, controlling the AC along with monitoring temperature and humidity using a DHT11 sensor, and monitoring water levels using an HC-SR04 ultrasonic sensor within a single low-cost NodeMCU platform. System performance was evaluated through functional testing of each subsystem using calibrated reference instruments, with accuracy calculated by comparing measured values against theoretical reference values. The DHT11 sensor achieved 95.62% accuracy for temperature and 98.15% for humidity, while the HC-SR04 sensor achieved 97.06% accuracy. With a total component cost below IDR 1.5 million, this system demonstrates that a multi-subsystem smart home solution can be implemented affordably using locally available components, supporting residential energy efficiency and the SDGs 2030 agenda.
Downloads
References
K. M. Al-Obaidi, M. Hossain, N. A. M. Alduais, H. S. Al-Duais, H. Omrany, and A. Ghaffarianhoseini, “A Review of Using IoT for Energy Efficient Buildings and Cities: A Built Environment Perspective,” Energies (Basel)., vol. 15, no. 16, 2022, doi: 10.3390/en15165991.
M. Poyyamozhi, B. Murugesan, N. Rajamanickam, M. Shorfuzzaman, and Y. Aboelmagd, “IoT—A Promising Solution to Energy Management in Smart Buildings: A Systematic Review, Applications, Barriers, and Future Scope,” Buildings, vol. 14, no. 11, 2024, doi: 10.3390/buildings14113446.
BPS-Statistics Indonesia, “Mid-Year Population 2015,” Jakarta, Jun. 2015. Accessed: Jul. 08, 2026. [Online]. Available: https://www.bps.go.id/en/statistics-table/2/MTk3NSMy/mid-year-population.html
BPS-Statistics Indonesia, “Mid-Year Population 2025,” Jakarta, Jun. 2025. Accessed: Jul. 08, 2026. [Online]. Available: https://www.bps.go.id/en/statistics-table/2/MTk3NSMy/mid-year-population.html
Sekretariat Direktorat Jenderal Ketenagalistrikan, “Statistik Ketenagalistrikan 2023,” Jakarta, Aug. 2024.
J. A. Basconcillo and A. Rimkute, “GMM Approach to Residential Electricity Consumption in Indonesia,” Energy RESEARCH LETTERS, vol. 4, no. 3, pp. 1–7, Aug. 2023.
Kementerian ESDM RI, “Konsumsi Listrik Masyarakat Meningkat, Tahun 2023 Capai 1.285 kWh/Kapita.,” Kementerian ESDM RI, Jakarta, Jan. 15, 2024.
ASEAN Centre for Energy, “The 7th ASEAN Energy Outlook 2020–2025,” Jakarta, Sep. 2022. Accessed: Jul. 08, 2026. [Online]. Available: https://www.aseanenergy.org/resources/7th-asean-energy-outlook/
United Nations, “Transforming Our World: The 2030 Agenda for Sustainable Development,” New York, Sep. 2015. Accessed: Jul. 08, 2026. [Online]. Available: https://www.un.org/ga/search/view_doc.asp?symbol=A/RES/70/1
International Monetary Fund, Regional Economic Outlook, Asia and Pacific, October 2025?: Navigating Trade Headwinds and Rebalancing Growth. Washington DC: International Monetary Fund, 2025.
I. M. Agtyaputra, T. Raharjo, and I. Pujiono, “Influencing Factors Analysis IoT Adoption in Indonesian State Housing Management Information System,” Jurnal Informatika Ekonomi Bisnis, vol. 6, no. 2, Jun. 2024, doi: 10.37034/infeb.v6i2.914.
Y. Andi Rozzi, D. Dwi Andiska, and F. Putra Winarta, “Rancang Bangun Sistem Smart Home Berbasis IoT untuk Kendali Lampu dan Pemantauan Suhu,” Jurnal Surya Energy, vol. 10, no. 1, pp. 24–30, Sep. 2025, doi: 10.32502/jse.v10i1.939.
A. A. Mustofa, Y. A. Dagnew, P. Gantela, and M. J. Idrisi, “SECHA: A Smart Energy-Efficient and Cost-Effective Home Automation System for Developing Countries,” Journal of Computer Networks and Communications, vol. 2023, no. 1, p. 8571506, Jan. 2023, doi: 10.1155/2023/8571506.
M. Aminu, A. Yerima, A. Salisu, and A. Adamu, “Design and Implementation of an IOT Based Smart Home Monitoring and Control System Using NodeMCU,” Journal of Engineering Research and Reports, vol. 25, no. 2, pp. 78–88, May 2023, doi: 10.9734/jerr/2023/v25i2881.
P. O. Ayeni and O. C. Adesoba, “IoT-based home control system using NodeMCU and Firebase,” Journal of Edge Computing, vol. 4, no. 1, pp. 17–34, May 2025, doi: 10.55056/jec.814.
M. Hendriawan, H. Haryono, and T. Budiman, “Development of Water Level Monitoring Applications in Smart Home Systems Using Flutter,” Journal of Information System, Informatics and Computing, vol. 7, no. 2, pp. 213–240, Dec. 2023, doi: 10.52362/jisicom.v7i2.1197.
E. Ruslan, S. M. Rozali, E. C. Mid, D. A. Hadi, and S. H. Johari, “IOT-Based Cost-Effective Energy Meter Monitoring System for Smart Home Applications: Design, Implementation, and Analysis,” International Journal Academic Research in Business and Social Sciences, vol. 7, no. 5, pp. 4121–4138, Dec. 2024, doi: 10.6007/IJARBSS/v14-i12/24398.
A. E. Ezugwu et al., “Smart Homes of the Future,” Transactions on Emerging Telecommunications Technologies, vol. 36, no. 1, p. e70041, 2025, doi: 10.1002/ett.70041.
K. Elgazzar et al., “Revisiting the internet of things: New trends, opportunities and grand challenges,” Frontiers in the Internet of Things, vol. 1, pp. 1–18, Nov. 2022, doi: 10.3389/friot.2022.1073780.
P. O. Ayeni and O. C. Adesoba, “IoT-based home control system using NodeMCU and Firebase,” Journal of Edge Computing, vol. 4, no. 1, pp. 17–34, May 2025, doi: 10.55056/jec.814.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Miladina Rizka Aziza, Hafidin Bangun Widyanto, Febrian Daniel Dwiputra, Putri Nur Cahayanti, Enggar Kabisafira Prawimuliasta, Rizky Wahyu Nugroho

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Copyright © by Author; Published by Institut Riset dan Publikasi Indonesia (IRPI)
This Indonesian Journal of Machine Learning and Computer Science is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.










