Development Of A Realtime IoT Smart Home Monitoring System Using ESP8266, ThingsBoard, And Telegram Bot
Main Article Content
Abstract
The rapid advancement of Internet of Things (IoT) technology has significantly contributed to the development of intelligent automation systems for residential environments. This study aims to design and implement an IoT-based Smart Home system using the NodeMCU ESP8266 microcontroller for realtime monitoring and control applications. The proposed system integrates several hardware components, including the YF-S201 water flow sensor for monitoring water flow rate and total water consumption, the MQ2 gas sensor for gas leakage detection, a 3-channel relay module for household lighting control, and a buzzer alarm as an early warning mechanism. Furthermore, the system is integrated with ThingsBoard Cloud and Telegram Bot to support realtime monitoring, remote control, and automatic notification services through internet communication using the MQTT protocol. This research employed an experimental method with a prototype-based development approach involving system requirement analysis, hardware and software design, system integration, implementation, and performance testing. The system was implemented and tested at a residential environment located in North Lampung Regency, Indonesia. The testing process evaluated the performance of water monitoring, gas detection, notification delivery, and lighting control functionalities. The results demonstrated that the developed Smart Home system successfully performed realtime monitoring of water flow rate, total water usage, gas leakage conditions, and remote lighting control through cloud-based communication. The water flow sensor achieved an average reading of 8.82 liters per minute with cumulative water usage reaching 50 liters during testing. In addition, the MQ2 gas sensor successfully detected dangerous gas conditions and automatically activated the buzzer alarm while simultaneously sending warning notifications through Telegram Bot with a testing success rate of 100%. The relay module also successfully controlled all household lighting devices remotely through the ThingsBoard dashboard with stable MQTT communication and low delay response. Overall, the developed IoT-based Smart Home system demonstrated strong capability in improving household monitoring efficiency, environmental safety, and user convenience through intelligent realtime automation technology.
Downloads
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
References
A. R. Yanes, P. Martinez, and R. Ahmad, “Towards automated aquaponics: a review on monitoring, IoT, and smart systems,” www.sciencedirect.com/science/article/pii/S0959652620316188, Aug. 2020, doi: 10.1016/j.jclepro.2020.121571.
A. Shaikh, S. Gurav, A. Jagdale, P. Kamble, S. Chavan, and R. Scholar, “IoT-Based Connected Environmental Monitoring System Using NodeMCU.” [Online]. Available: www.ijfmr.com
A. W. Adi and F. Kurniawan, “Implementasi Keamanan Ruangan Berbasis IoT dengan Sensor PIR, Telegram, dan Peringatan Suara,” Journal of Applied Computer Science and Technology, vol. 5, no. 2, p. press, Dec. 2024, doi: 10.52158/jacost.v5i2.860.
F. Chuzaini, P. Studi Fisika, J. Fisika, and U. Negeri Surabaya, “IoT Monitoring Kualitas Air Dengan Menggunakan Sensor Suhu, pH, dan Total Dissolved Solids (TDS),” Jurnal Inovasi Fisika Indonesia (IFI), vol. 11, pp. 46–56, 2022.
I. C. Panagou, S. Katsoulis, E. Nannos, F. Zantalis, and G. Koulouras, “A Comprehensive Evaluation of IoT Cloud Platforms: A Feature-Driven Review with a Decision-Making Tool,” Aug. 01, 2025, Multidisciplinary Digital Publishing Institute (MDPI). doi: 10.3390/s25165124.
Mauli Fathia Zahra and Muhammad Irwan Padli Nasution, “Manajemen Data Real-Time Untuk Aplikasi Internet Of Things (IOT),” Jurnal Penelitian Sistem Informasi (JPSI), vol. 2, no. 2, pp. 111–120, May 2024, doi: 10.54066/jpsi.v2i2.1917.
M. Faisal, A. Nuur Bachtiar, and M. Darwis, “IoT Implementation for Hydroponic Water Monitoring Using Web-Based pH and TDS Sensors with Node-Red,” JISA (Jurnal Informatika dan Sains), vol. 8, pp. 81–91, 2025.
R. Alfia, A. Widodo, and N. Kholis, “Sistem Monitoring Kualitas Air pada Sistem Akuaponik Berbasis IoT 707,” JURNAL TEKNIK ELEKTRO UNESA, vol. 10, pp. 707–714, 2021, doi: https://doi.org/10.26740/jte.v10n3.p707-714.
R. F. Pratama, R. S. R. Wicaksono, and A. N. Pramudhita, “Perancangan Dan Implementasi Protokol Mqtt Pada Sistem Parkir Cerdas Berbasis IoT,” Jurnal Informatika dan Teknik Elektro Terapan, vol. 11, no. 3, Aug. 2023, doi: 10.23960/jitet.v11i3.3191.
R. Gustia, W. Febriani, M. Hasanah, and A. Fradana, “Perancangan Smart Home Berbasis Iot Menggunakan Esp32, Telegram dan Spreadsheet,” Jurnal Pustaka AI (Pusat Akses Kajian Teknologi Artificial Intelligence), vol. 5, no. 3, pp. 695–700, Dec. 2025, doi: 10.55382/jurnalpustakaai.v5i3.1482.
R. R. Daharmi, A. Bhawiyuga, and A. Basuki, “Pengembangan IoT Cloud Platform berbasis pada Layanan Serverless Computing,” Jurnal Pengembangan Teknologi Informasi dan Ilmu Komputer, vol. 6, no. 12, pp. 5905–5914, 2022, [Online]. Available: http://j-ptiik.ub.ac.id
S. X. Soares, A. Frisca, F. I. Is’ad, S. B. Yudanto, and R. Susanto, “Sistem Pendeteksi Asap Menggunakan Sensor MQ-2 Dengan Memanfaatkan Media Bambu.”
U. Muzakir, R. Ginting, and R. Munadi, “Sistem Identifikasi Menggunakan Rfid Dan Sensor Infrared Berbasis IoT Terhadap Pengembangan Kampus Pintar,” Jurnal Pendidikan Teknologi informasi, vol. 7, no. 2, 2023.
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, pp. 24–30, Sep. 2025, doi: 10.32502/jse.v10i1.939.
Y. Hao et al., “Soil moisture controls over carbon sequestration and greenhouse gas emissions: a review,” Dec. 01, 2025, Nature Research. doi: 10.1038/s41612-024-00888-8.
Z. Rozikhin and A. Faizin, “Rancang Bangun Sistem Monitoring Water Flow dan Kontrol Valve Jarak Jauh Dengan Teknologi Internet Of Things Berbasis Android,” 2024.