IoT-based home control system using NodeMCU and Firebase
Main Article Content
Abstract
Integrating Internet of Things (IoT) technology in home control systems has led to a significant advancement in the control and monitoring of home appliances and environmental conditions. This study presents the development of an IoT-based home control system that uses the NodeMCU ESP8266 microcontroller to manage several home appliances. This system connects to a Firebase real-time database to store or retrieve data in real-time. The user interacts with the IoT system through a mobile application named My Home, developed using Java programming language, and this mobile application is also interfaced with the Firebase cloud server. The developed IoT system allows users to control home appliances such as lights, sockets, fans, and cookers, and it also provides real-time updates of environmental parameters, such as temperature and humidity, which are measured by a DHT11 sensor. In addition, a PIR motion sensor was integrated into the system to enhance the home's security by detecting intrusion. The system's hardware functionality is based on a written Arduino code, which establishes Wi-Fi connectivity to a predefined network, communicates with the Firebase database, handles appliance control and manages sensor data. This IoT-based home control system shows the potential of integrating microcontrollers with cloud services to create a smart, responsive and user-friendly home control platform. The developed IoT system offers a foundation for advancements, thereby making it a valuable contribution to the growing field of smart home technology.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
References
Aliero, M.S., Qureshi, K.N., Pasha, M.F. and Jeon, G., 2021. Smart Home Energy Management Systems in Internet of Things networks for green cities demands and services. Environmental Technology & Innovation, 22, p.101443. Available from: https://doi.org/10.1016/j.eti.2021.101443. DOI: https://doi.org/10.1016/j.eti.2021.101443
García-Tudela, P.A. and Marín-Marín, J.A., 2023. Use of Arduino in Primary Education: A Systematic Review. Education Sciences, 13(2), p.134. Available from: https://doi.org/10.3390/educsci13020134. DOI: https://doi.org/10.3390/educsci13020134
Hamidli, N., 2023. Introduction to UI/UX Design: Key Concepts and Principles. Available from: https://www.academia.edu/98036432/Introduction_to_UI_UX_Design_Key_Concepts_and_Principles.
Islam, R., Rahman, M.W., Rubaiat, R., Hasan, M.M., Reza, M.M. and Rahman, M.M., 2022. LoRa and server-based home automation using the internet of things (IoT). Journal of King Saud University - Computer and Information Sciences, 34(6, Part B), pp.3703–3712. Available from: https://doi.org/10.1016/j.jksuci.2020.12.020. DOI: https://doi.org/10.1016/j.jksuci.2020.12.020
Joha, M.I. and Islam, M.S., 2021. IoT-Based Smart Home Automation Using NodeMCU: A Smart Multi-Plug with Overload and Over Temperature Protection. 2021 24th International Conference on Computer and Information Technology (ICCIT). pp.1–6. Available from: https://doi.org/10.1109/ICCIT54785.2021.9689913. DOI: https://doi.org/10.1109/ICCIT54785.2021.9689913
Lima, R., Cruz, A.M.R. da and Ribeiro, J., 2020. Artificial Intelligence Applied to Software Testing: A Literature Review. 2020 15th Iberian Conference on Information Systems and Technologies (CISTI). pp.1–6. Available from: https://doi.org/10.23919/CISTI49556.2020.9141124. DOI: https://doi.org/10.23919/CISTI49556.2020.9141124
Lokesh, S., Patil, S.B. and Gugawad, A., 2020. Home Security And Automation Using NodeMCU-ESP8266. 2020 IEEE Bangalore Humanitarian Technology Conference (B-HTC). pp.1–6. Available from: https://doi.org/10.1109/B-HTC50970.2020.9297917. DOI: https://doi.org/10.1109/B-HTC50970.2020.9297917
Lu, C., Hong, J., Chen, F. and Ma, S., 2020. Elementary school students learn Arduino programming to assemble Sensory-Controlled works. International Journal of Information and Education Technology, 10(4), pp.265–270. Available from: https://doi.org/10.18178/ijiet.2020.10.4.1374. DOI: https://doi.org/10.18178/ijiet.2020.10.4.1374
Malhotra, P., Singh, Y., Anand, P., Bangotra, D.K., Singh, P.K. and Hong,W.C., 2021. Internet of Things: Evolution, Concerns and Security Challenges. Sensors, 21(5), p.1809. Available from: https://doi.org/10.3390/s21051809. DOI: https://doi.org/10.3390/s21051809
Matsun, M., Boisandi, B., Sari, I.N., Hadiati, S. and Hakim, S.L., 2021. Use of Arduino Microcontroller and Proteus Software in Physics Lesson in Review of Mathematics Ability and Critical Thinking Skills. Jurnal Penelitian Pendidikan IPA, 7(SpecialIssue), p.20–27. Available from: https://doi.org/10.29303/jppipa.v7iSpecialIssue.916. DOI: https://doi.org/10.29303/jppipa.v7iSpecialIssue.916
Mouha, R., 2021. Internet of Things (IoT). Journal of Data Analysis and Information Processing, 9(2), p.77–101. Available from: https://doi.org/10.4236/jdaip.2021.92006. DOI: https://doi.org/10.4236/jdaip.2021.92006
Nikam, S. and Kulkarni, S., 2021. IOT Based Environmental Monitoring System. International Journal of Engineering Research & Technology (IJERT), 10(6), pp.845–848. Available from: https://doi.org/10.17577/IJERTV10IS060401.
Nižetić, S., Šolić, P., López-de-Ipiña González-de-Artaza, D. and Patrono, L., 2020. Internet of Things (IoT): Opportunities, issues and challenges towards a smart and sustainable future. Journal of Cleaner Production, 274, p.122877. Available from: https://doi.org/10.1016/j.jclepro.2020.122877. DOI: https://doi.org/10.1016/j.jclepro.2020.122877
Saleh, A.L., Obed, A.A., Hassoun, Z.A. and Yaqoob, S.J., 2020. Modeling and Simulation of A Low Cost Perturb & Observe and Incremental Conductance MPPT Techniques In Proteus Software Based on Flyback Converter. IOP Conference Series: Materials Science and Engineering, 881(1), p.012152. Available from: https://doi.org/10.1088/1757-899X/881/1/012152. DOI: https://doi.org/10.1088/1757-899X/881/1/012152
Salih, K.O.M., Rashid, T.A., Radovanovic, D. and Bacanin, N., 2022. A Comprehensive Survey on the Internet of Things with the Industrial Marketplace. Sensors, 22(3), p.730. Available from: https://doi.org/10.3390/s22030730. DOI: https://doi.org/10.3390/s22030730
Shehu Yalli, J., Hilmi Hasan, M. and Abubakar Badawi, A., 2024. Internet of Things (IoT): Origins, Embedded Technologies, Smart Applications, and Its Growth in the Last Decade. IEEE Access, 12, pp.91357–91382. Available from: https://doi.org/10.1109/ACCESS.2024.3418995. DOI: https://doi.org/10.1109/ACCESS.2024.3418995
Sivapriyan, R., Rao, K.M. and Harijyothi, M., 2020. Literature Review of IoT based Home Automation System. 2020 Fourth International Conference on Inventive Systems and Control (ICISC). pp.101–105. Available from: https://doi.org/10.1109/ICISC47916.2020.9171149. DOI: https://doi.org/10.1109/ICISC47916.2020.9171149
Tripathy, S. and Das, S.S., 2022. Automated home using firebase and Google assistant. Journal of Information and Optimization Sciences, 43(5), pp.1021–1028. Available from: https://doi.org/10.1080/02522667.2022.2093437. DOI: https://doi.org/10.1080/02522667.2022.2093437
Wang, J., Lim, M.K., Wang, C. and Tseng, M.L., 2021. The evolution of the Internet of Things (IoT) over the past 20 years. Computers & Industrial Engineering, 155, p.107174. Available from: https://doi.org/10.1016/j.cie.2021.107174. DOI: https://doi.org/10.1016/j.cie.2021.107174
Yar, H., Imran, A.S., Khan, Z.A., Sajjad, M. and Kastrati, Z., 2021. Towards Smart Home Automation Using IoT-Enabled Edge-Computing Paradigm. Sensors, 21(14), p.4932. Available from: https://doi.org/10.3390/s21144932. DOI: https://doi.org/10.3390/s21144932