Perancangan Alat Deteksi Kebakaran Berbasis IoT dengan Evaluasi Precision-Recall dan End-To-End Delay
DOI:
https://doi.org/10.55606/jitek.v5i3.8106Keywords:
Fire Detection, Internet of Things, ESP32, Firebase, Telegram Bot, Precision, Recall, End-to-End DelayAbstract
Fires are disasters that can occur suddenly and cause significant losses to both human lives and property. Conventional detection systems are generally limited to smoke or temperature alarms, making them less accurate and often slow in providing warnings. This study aims to design and implement an Internet of Things (IoT)-based fire detection system capable of providing real-time early fire warnings. The system employs an ESP32 microcontroller connected to a DHT22 sensor to measure temperature and humidity, an MQ-2 sensor for flammable gas detection, and a flame sensor for direct flame detection. Sensor data are transmitted to the Firebase Real-time Database and forwarded as automatic notifications via the Telegram application. Testing was conducted on 400 data samples covering both fire and non-fire conditions, with performance evaluation using Precision, Recall, Accuracy metrics, and End-to-End Delay measurement. The results show an accuracy of 91%, precision of 88.55%, recall of 93.19%, and an average notification delivery delay of 2.804 seconds. These findings indicate that the system can detect fires effectively and responsively on a small scale, with potential for further development through additional sensors and testing in more complex environments.
References
[1] M. V. Gultom and I. S. Putro, “Sistem Deteksi Kebakaran Berbasis IoT dengan Mikrokontroler ESP32,” J. Informatika dan Teknik Elektro Terapan (JITET), vol. 13, no. 2, 2025. doi: 10.23960/jitet.v13i2.62364.
[2] I. P. Anhar, R. Mardiana, and R. Sita, “Dampak Kebakaran Hutan dan Lahan Gambut terhadap Manusia dan Lingkungan Hidup (Studi Kasus: Desa Bunsur, Kecamatan Sungai Apit, Kabupaten Siak, Provinsi Riau),” J. Sains Komunikasi dan Pengembangan Masyarakat (JSKPM), vol. 6, no. 1, pp. 75–85, 2022. doi: 10.29244/jskpm.v6i1.967.
[3] S. A. Pambudi, I. M. Rahma, B. Artono, Y. Prasetyo, and I. B. Sumafta, “Sistem Monitoring Alat Pendeteksi Dan Pemadam Ke-bakaran Hutan Bertenaga Solar Cell Berbasis Internet of Things (IoT),” JEECAE: J. Electr., Electron., Control and Automotive Eng., vol. 8, no. 1, pp. 13–21, May 2023.
[4] S. Suhartini, M. Peslinof, and M. F. Afrianto, “Rancang Bangun Sistem Deteksi Kebakaran pada Ruangan Berbasis Internet of Things (IoT),” STRING (Satuan Tulisan Riset dan Inovasi Teknologi), vol. 7, no. 3, pp. 329-338, Apr. 2023.
[5] J. T. Simanungkalit and B. M. Rambe, “Penerapan IoT Dalam Pendeteksi Gas (CO) Dan Kebakaran Dengan Notifikasi Aplikasi Telegram,” J. Minfo Polgan, vol. 14, no. 1, p. 691, May 2025, doi: 10.33395/jmp.v14i1.14843.
[6] P. Kurniawan, H. Yono, and F. Nofandi, “Analisis Kinerja Alarm Kebakaran untuk Keselamatan di Atas Kapal,” Dinamika Bahari, vol. 1, no. 2, pp. 98–103, Oct. 2020.
[7] Z. Erfandi, D. Hartanti, and J. Maulindar, “Implementasi Internet of Things (IoT) Untuk Sistem Pemantauan Kebakaran Dini Dengan Notifikasi Telegram dan Alarm,” Infotek: J. Informatika dan Teknologi, vol. 8, no. 1, pp. 86–93, Jan. 2025, doi: 10.29408/jit.v8i1.28248.
[8] F. T. Arumsari, J. Maulindar, and A. I. Pradana, “Rancang Bangun Sistem Pendeteksi Kebakaran Berbasis Internet of Things,” INFOTECH Journal, vol. 9, no. 1, pp. 175–182, Mei. 2023.
[9] W. Najib, S. Sulistyo, and Widyawan, “Tinjauan Ancaman dan Solusi Keamanan pada Teknologi Internet of Things (Review on Security Threat and Solution of Internet of Things Technology),” J. Nas. Tek. Elektro dan Teknol. Inform., vol. 9, no. 4, Nov. 2020.
[10] F. Susanto, N. K. Prasiani, and P. Darmawan, “Implementasi Internet of Things dalam Kehidupan Sehari-hari,” J. IMAGINE, vol. 2, no. 1, Apr. 2022.
[11] U. A. Saputro and A. Tuslam, “Sistem Deteksi Kebakaran Berbasis Internet Of Things Dengan Pesan Peringatan Menggunakan NodeMCU ESP8266 Dan Platform ThingSpeak,” J. Infomedia: Tek. Inf., Multimedia & Jaringan, vol. 7, no. 1, pp. 24-30 ,Jun. 2022.
[12] D. A. Handoko and A. Priyadi, “Sistem Deteksi Kebakaran Berbasis IoT: Studi Kasus PT Maju Jaya Windraya Ambarawa,” J. GO INFOTECH, vol. 31, no. 1, Jun. 2025, doi: 10.36309/goi.v31i1.358.
[13] D. A. Nugraha and B. Satria, “Prototype Alat Pendeteksi Kebakaran Menggunakan Sensor Flame dan MQ-2 Berbasis Arduino Uno,” Indonesian J. Comput. Sci., vol. 11, no. 3, p. 936, 2022.
[14] Suherman, R. Wahyuni, A. Muhaimin, and Y. Irawan,“Sistem Pendeteksi Dini Kebakaran untuk Penanggulangan Bencana Lingkungan Kebakaran Hutan dan Lahan di Provinsi Riau,”J. Rekayasa Teknologi dan Sistem Komputer, vol. 4, no. 2, pp. 148–154, 2024.
[15] M. Iqbal, “Aplikasi Simulasi IoT untuk Smart Sistem Monitoring dan Data Logging Real-Time Sistem Peringatan Kebakaran,”
Reputasi: J. Rekayasa Perangkat Lunak, vol. 6, no. 1, pp. 52–57, May 2025.
[16] R. A. Nuryadin, A. R. Yusuf, M. Reza, N. F. Alifian, and P. S. D. A.K, “Prototype Sistem Deteksi Kebakaran Menggunakan Sensor MQ-2 dan Flame Sensor Berbasis IoT,” J. Riset dan Apl. Mahasiswa Informatika (JRAMI), vol. 5, no. 4, 2024, e-ISSN: 2715-8756.
[17] Y. A. Susetyo, H. A. Parhusip, and S. Trihandaru, “Herbs Go Digital: IoT Monitors Temperature and Humidity Automatically,” COGITO Smart J., vol. 10, no. 2, pp. 312, Dec. 2024.
[18] M. N. Fachry, H. S. Syah, and Sungkono, “Rancang Bangun Sistem Pemadam Kebakaran Berbasis Internet of Things,” J. Tek. Elektro dan Informatika, vol. 16, no. 2, pp. 65–74, 2021.
[19] M. F. Wicaksono and M. D. Rahmatya, “Implementasi Arduino dan ESP32 CAM untuk Smart Home,” J. Teknol. dan Inform. (JATI), vol. 10, no. 1, Mar. 2020, doi: 10.34010/jati.v10i1.
[20] A. S. Mustaqim, D. Kurnianto, and F. T. Syifa, “Implementasi Teknologi Internet of Things pada Sistem Pemantauan Kebocoran Gas LPG dan Kebakaran Menggunakan Database Pada Google Firebase,” Elektron J. Ilmiah, vol. 12, no. 1, p. 34, Jun. 2020.
[21] O. E. Yudhistira and I. Suharjo, “Prototype Pendeteksi Kebakaran Multiruang Menggunakan NodeMCU ESP8266 dengan Notifikasi Bot Telegram,” J. Informatika dan Tek. Elektro Terapan (JITET), vol. 13, no. 1, 2025, doi: 10.23960/jitet.v13i1.5992.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Jurnal Informatika Dan Tekonologi Komputer (JITEK)

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





