Designing an IoT-Based Smart Home Automation System with Web-Based Monitoring and Control Feature
DOI:
https://doi.org/10.65358/xkqdz649Keywords:
IoT, Smart Home, ESP32, Sensor Automation, Web-Based MonitoringAbstract
In recent years, the demand for smart home systems has increased due to the need for improved security, comfort, and energy efficiency. Many household activities, such as door access control, lighting management, gas leak detection, and clothes drying, are still performed manually, which may lead to safety risks and operational inefficiencies. This study presents the design and testing of an Internet of Things (IoT)-based smart home automation systems using an ESP32 microcontroller integrated with ultrasonic, LDR, MQ-2 gas, and rain sensors. The system is designed to automatically respond to real-time environmental conditions and provide remote monitoring and control through a web-based interface. Experimental results indicate that the rain sensor effectively controls the clothesline mechanism, where the servo motor closes the clothesline at analog sensor output values between 0 and 2499 under wet conditions and opens it at values equal to or above 3200 in dry conditions. The ultrasonic sensor successfully controls automatic door operation at distances of 15 cm or less, while the MQ-2 sensor reliably detects hazardous gas levels and activates an alarm system. In addition, the LDR sensor enables efficient lighting control based on ambient light intensity. The results demonstrate that the proposed system operates reliably and contributes to improved safety, convenience, and efficiency in IoT-based smart home applications.
References
[1] D. Adidrana, H. Suryoprago, and A. R. Hakim, “Perancangan Sistem Smart Door Lock Menggunakan Internet of Things (Studi Kasus: Institut Teknologi Telkom Jakarta),” J. Informatics Commun. Technol., vol. 4, no. 2, pp. 102–108, 2023, doi: 10.52661/j_ict.v4i2.141.
[2] B. Yanto, B. Basorudin, S. Anwar, A. Lubis, and K. Karmi, “Smart Home Monitoring Pintu Rumah Dengan Identifikasi Wajah Menerapkan Camera ESP32 Berbasis IoT”, SISFOKOM, vol. 11, no. 1, pp. 53–59, Mar. 2022, doi: 10.32736/sisfokom.v11i1.1180
[3] R. R. Ababil, Y. Bria, S. M. Rosyid, dan P. Pramono, “Sistem Smart Lighting Berbasis Internet of Things dengan Aplikasi Blynk,” Senatib Journal, vol. 1, no. 1, 2025, doi: 10.47701/5add4003.
[4] A. Syam and A. M. Asmidin, “Alat jemuran otomatis menggunakan rain sensor dan Internet of Things (IoT),” Jurnal MediaTIK, vol. 6, no. 1, pp. 19–23, 2023. [Online]. Available: https://journal.unm.ac.id/index.php/MediaTIK/article/view/1352
[5] M. S. Ayubi and A. Sucipto, “Implementasi sistem smart home untuk mengantisipasi kebakaran dan kebocoran gas,” J. Multidisiplin Ilmu Akad., vol. 2, no. 3, pp. 427–440, 2025, doi: 10.61722/jmia.v2i3.4852.
[6] S. Supiyandi, C. Rizal, M. Iqbal, M. N. H. Siregar, and M. Eka, “Smart Home Berbasis Internet of Things (IoT) Dalam Mengendalikan dan Monitoring Keamanan Rumah,” J. Inf. Syst. Res., vol. 4, no. 4, pp. 1302–1307, 2023, doi: 10.47065/josh.v4i4.3822.
[7] P. Rahayu, S. Sularno, and I. U. Sari, “Perancangan Sistem Smart Home Berbasis IoT Menggunakan ESP32 dan Aplikasi Blynk untuk Otomatisasi Perangkat Rumah Tangga,” J. Sist. Inf. Dan Inform., vol. 3, no. 2, pp. 95–100, 2025, doi: 10.47233/jiska.v3i2.2137.
[8] R. I. Akbar, D. G. Purnama, and A. Salsabila, “Pengembangan Model SmartHome berbasis IoT,” in Proc. Sem. Nas. Penelit. LPPM UMJ, Jakarta, Indonesia, 2023, pp. 1–8. [Online]. Available: https://jurnal.umj.ac.id/index.php/semnaslit/article/view/19365
[9] S. Ndruru, D. Suherdi, and F. Taufik, “Sistem Monitoring Smart Room Berbasis IoT,” J. Sist. Komput. Triguna Dharma (JURSIK TGD), vol. 3, no. 5, pp. 174–182, 2024, doi: 10.53513/jursik.v3i5.8605.
[10] M. Rahmanikivi, C. Pérez-Solà, and V. Garcia-Font, “SmartBLock: a smart lock protocol over the Bitcoin blockchain,” Blockchain Res. Appl., p. 100350, 2025, doi: 10.1016/j.bcra.2025.100350.
[11] T. N. Arifin, G. Febriyani Pratiwi, and A. Janrafsasih, “Sensor Ultrasonik Sebagai Sensor Jarak,” J. Tera, vol. 2, no. 2, pp. 55–62, 2022, doi: 10.59832/jt.v2i2.183.
[12] S. Wijaya and Kma, “Prototipe Sistem Otomasi Jemuran Pintar Menggunakan Mikrokontroler Arduino Uno dan Modul Esp32 Dengan Monitoring Berbasis Aplikasi Android,” J. TICOM Technol. Inf. Commun., vol. 11, no. 1, pp. 50–54, 2022. [Online]. Available: https://jurnal-ticom.jakarta.aptikom.org/index.php/Ticom/article/view/74
[13] Maesyaroh and H. Marcos, “Perancangan Prototipe Deteksi Kebocoran Gas dengan Sensor MQ2 dan NodeMCU ESP8266,” Infotekmesin, vol. 16, no. 2, pp. 465–470, 2025, doi: 10.35970/infotekmesin.v16i2.2595.
[14] A. M. Asmiddin, L. A. La Atina, and W. A. Anjani, “Rancang Bangun Jemuran Pakaian Otomatis Berbasis Internet of Things,” J. Inform., vol. 12, no. 1, pp. 50–59, 2023, doi: 10.55340/jiu.v12i1.1309.
[15] B. Rachman, R. Suppa, and A. A. H. Dani, “Rancang Bangun Smart Lamp Menggunakan Nodemcu Berbasis Internet of Things (Iot),” J. Inform. dan Tek. Elektro Terap., vol. 13, no. 1, 2025, doi: 10.23960/jitet.v13i1.5591.
[16] F. Masykur and F. Prasetiyowati, “Aplikasi Rumah Pintar (Smart Home) Pengendali Peralatan Elektronik Rumah Tangga Berbasis Web,” J. Teknol. Inf. dan Ilmu Komput., vol. 3, no. 1, pp. 51–58, 2016, doi: 10.25126/jtiik.201631156.
[17] I. Tawakkal, M. Arsyad, A. Hafid, and Adriani, “Rancang Bangun Prototype Smart Home System Menggunakan Konsep Berbasis Internet of Things (IoT),” Arus J. Sains dan Teknol., vol. 2, no. 2, pp. 274–284, Oct. 2024, doi: 10.57250/ajst.v2i2.620.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Julio Shesar Rio Sitorus, Annisa Alliyah, Rizki Sakinah Sari, Wianda Aulia Azzahra (Author)

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