An Iot-Based Forest Fire Prediction System Using Fuzzy Logic Method
DOI:
https://doi.org/10.21771/jrtppi.2025.v16.no2.p158-167Keywords:
IoT, Fuzzy Logic, FiresAbstract
Forest and land fires represent a recurring environmental challenge in Indonesia, especially during the prolonged dry season. These incidents result in significant consequences, including the destruction of ecosystems, threats to human health, and considerable economic disruption. To address this problem, the present research focuses on the development of an Internet of Things (IoT)-based system designed to predict and monitor the risk of forest fires by implementing the Fuzzy Logic method. The prototype integrates several sensors, namely a DHT22 sensor for measuring temperature and humidity, an MQ-2 sensor for detecting gas and smoke concentrations, and a flame sensor for identifying the presence of fire. All sensors are connected to a NodeMCU ESP8266 microcontroller that serves as the core of data processing and wireless communication. The collected sensor data is evaluated using a Fuzzy Logic algorithm, which classifies the fire risk into three distinct levels: “Safe,” “Caution,” and “Hazardous.” Experimental testing demonstrates that the system responds effectively to fluctuations in temperature, humidity, smoke levels, and visible flame in real time, with alerts displayed through a web-based dashboard. The DHT22 sensor exhibits an average error rate between 4.8% and 5% for temperature readings and between 4.1% and 4.5% for humidity measurements. In addition, the flame sensor successfully detects fire sources at distances reaching 300 cm. The outcomes confirm that the system achieves a high degree of reliability and accuracy, thereby providing valuable support for early warning, strengthening preventive strategies, and assisting authorities in mitigating the severe impacts of forest and land fires.
References
Ali, M., Song, W., Khan, A., & Ali, M. (2025). Machine learning hybrid dynamic best model selection algorithm for real- time fire prediction using IoT-enabled multi-sensor data in buildings. Journal of Safety Science and Resilience, 6(3), 1–31. https://doi.org/10.1016/j.jnlssr.2025.100236
Bino, J., Islam, M. M., Mouni Boppana, U., Hossain, M. A. M., Fiazul Haque, M., Fatme, N., & Manjula, C. (2024). FireEye: An IoT-Based Fire Alarm and Detection System for Enhanced Safety. ISML 2024 - Intelligent Systems and Machine Learning Conference, 58–62. https://doi.org/10.1109/ISML60050.2024.11007412
Imran, Ahmad, S., & Kim, D. H. (2021). A task orchestration approach for efficient mountain fire detection based on microservice and predictive analysis in IoT environment. Journal of Intelligent and Fuzzy Systems, 40(3), 5681–5696. https://doi.org/10.3233/JIFS-201614
Jaber, K. M., & Alkhatib, A. A. A. (2025). EFFSIP: Efficient forest fire system using IoT and parallel computing. Egyptian Informatics Journal, 29(February), 1–13. https://doi.org/10.1016/j.eij.2025.100631
Kushnir, A., Kopchak, B., & Oksentyuk, V. (2023). Development of Heat Detector Based on Fuzzy Logic Using Arduino Board Microcontroller. 2023 IEEE 17th International Conference on the Experience of Designing and Application of CAD Systems, CADSM 2023 - Proceedings, 1, 46–50. https://doi.org/10.1109/CADSM58174.2023.10076536
Lertsinsrubtavee, A., Kanabkaew, T., & Raksakietisak, S. (2023). Detection of forest fires and pollutant plume dispersion using IoT air quality sensors. Environmental Pollution, 338(May), 1–8. https://doi.org/10.1016/j.envpol.2023.122701
Lianda, J., & Amri, H. (2023). Application Cosmic Lora Ray for the Development of Peatland Forest Fire Prevention System in Indonesia. International Journal of Intelligent Systems And Applications In Engineering, 11(2), 864–869.
Meera, K. V., Arya Sankar, K., & Pai, M. L. (2023). Forest Fire classification of Montesinho Park using Artificial Neural Network and Fuzzy Logic. 2023 Innovations in Power and Advanced Computing Technologies, i-PACT 2023, 1–6. https://doi.org/10.1109/I-PACT58649.2023.10434394
Park, S. H., Kim, D. H., & Kim, S. C. (2023). Recognition of IoT-based fire-detection system fire-signal patterns applying fuzzy logic. Heliyon, 9(2), e12964. https://doi.org/10.1016/j.heliyon.2023.e12964
Raju, B. E., Chandra, K. R., Gupta, K. N. V. N., Naga Venkateshwara Rao, K., Devi, R., & Kumar, P. J. N. V. V. S. M. V. (2024). Fuzzy Logic-Enhanced Multi-Sensor Hardware Module for Real-time Fire Detection and Notification. Proceedings of International Conference on Contemporary Computing and Informatics, IC3I 2024, 7, 827–832. https://doi.org/10.1109/IC3I61595.2024.10828880
Ramadan, M. N. A., Basmaji, T., Gad, A., Hamdan, H., Akgün, B. T., Ali, M. A. H., Alkhedher, M., & Ghazal, M. (2024). Towards early forest fire detection and prevention using AI-powered drones and the IoT. Internet of Things (Netherlands), 27(February), 1–22. https://doi.org/10.1016/j.iot.2024.101248
Rehman, A., Qureshi, M. A., Ali, T., Irfan, M., Abdullah, S., Yasin, S., Draz, U., Glowacz, A., Nowakowski, G., Alghamdi, A., Alsulami, A. A., & Węgrzyn, M. (2021). Smart fire detection and deterrent system for human savior by using internet of things (IoT). Energies, 14(17), 1–31. https://doi.org/10.3390/en14175500
Sorokin, A. A., Odnogulov, I. O., Maltseva, N. S., Dzhalmukhambetova, E. A., Rudenko, M. F., & Esaulenko, V. N. (2024). Computing Platform for Monitoring Fire Hazards in Forest Areas using the IoT. International Seminar on Electron Devices Design and Production, SED 2024 - Proceedings, 1–6. https://doi.org/10.1109/SED63331.2024.10741064
Wang, C., Chen, S., Hu, H., & Fan, X. (2025). A distributed cluster-based routing protocol using fuzzy logic and deep reinforcement learning for wireless sensor networks. Cluster Computing, 28(August), 1–17.
Ali, M., Song, W., Khan, A., & Ali, M. (2025). Machine learning hybrid dynamic best model selection algorithm for real- time fire prediction using IoT-enabled multi-sensor data in buildings. Journal of Safety Science and Resilience, 6(3), 1–31. https://doi.org/10.1016/j.jnlssr.2025.100236
Bino, J., Islam, M. M., Mouni Boppana, U., Hossain, M. A. M., Fiazul Haque, M., Fatme, N., & Manjula, C. (2024). FireEye: An IoT-Based Fire Alarm and Detection System for Enhanced Safety. ISML 2024 - Intelligent Systems and Machine Learning Conference, 58–62. https://doi.org/10.1109/ISML60050.2024.11007412
Imran, Ahmad, S., & Kim, D. H. (2021). A task orchestration approach for efficient mountain fire detection based on microservice and predictive analysis in IoT environment. Journal of Intelligent and Fuzzy Systems, 40(3), 5681–5696. https://doi.org/10.3233/JIFS-201614
Jaber, K. M., & Alkhatib, A. A. A. (2025). EFFSIP: Efficient forest fire system using IoT and parallel computing. Egyptian Informatics Journal, 29(February), 1–13. https://doi.org/10.1016/j.eij.2025.100631
Kushnir, A., Kopchak, B., & Oksentyuk, V. (2023). Development of Heat Detector Based on Fuzzy Logic Using Arduino Board Microcontroller. 2023 IEEE 17th International Conference on the Experience of Designing and Application of CAD Systems, CADSM 2023 - Proceedings, 1, 46–50. https://doi.org/10.1109/CADSM58174.2023.10076536
Lertsinsrubtavee, A., Kanabkaew, T., & Raksakietisak, S. (2023). Detection of forest fires and pollutant plume dispersion using IoT air quality sensors. Environmental Pollution, 338(May), 1–8. https://doi.org/10.1016/j.envpol.2023.122701
Lianda, J., & Amri, H. (2023). Application Cosmic Lora Ray for the Development of Peatland Forest Fire Prevention System in Indonesia. International Journal of Intelligent Systems And Applications In Engineering, 11(2), 864–869.
Meera, K. V., Arya Sankar, K., & Pai, M. L. (2023). Forest Fire classification of Montesinho Park using Artificial Neural Network and Fuzzy Logic. 2023 Innovations in Power and Advanced Computing Technologies, i-PACT 2023, 1–6. https://doi.org/10.1109/I-PACT58649.2023.10434394
Park, S. H., Kim, D. H., & Kim, S. C. (2023). Recognition of IoT-based fire-detection system fire-signal patterns applying fuzzy logic. Heliyon, 9(2), e12964. https://doi.org/10.1016/j.heliyon.2023.e12964
Raju, B. E., Chandra, K. R., Gupta, K. N. V. N., Naga Venkateshwara Rao, K., Devi, R., & Kumar, P. J. N. V. V. S. M. V. (2024). Fuzzy Logic-Enhanced Multi-Sensor Hardware Module for Real-time Fire Detection and Notification. Proceedings of International Conference on Contemporary Computing and Informatics, IC3I 2024, 7, 827–832. https://doi.org/10.1109/IC3I61595.2024.10828880
Ramadan, M. N. A., Basmaji, T., Gad, A., Hamdan, H., Akgün, B. T., Ali, M. A. H., Alkhedher, M., & Ghazal, M. (2024). Towards early forest fire detection and prevention using AI-powered drones and the IoT. Internet of Things (Netherlands), 27(February), 1–22. https://doi.org/10.1016/j.iot.2024.101248
Rehman, A., Qureshi, M. A., Ali, T., Irfan, M., Abdullah, S., Yasin, S., Draz, U., Glowacz, A., Nowakowski, G., Alghamdi, A., Alsulami, A. A., & Węgrzyn, M. (2021). Smart fire detection and deterrent system for human savior by using internet of things (IoT). Energies, 14(17), 1–31. https://doi.org/10.3390/en14175500
Sorokin, A. A., Odnogulov, I. O., Maltseva, N. S., Dzhalmukhambetova, E. A., Rudenko, M. F., & Esaulenko, V. N. (2024). Computing Platform for Monitoring Fire Hazards in Forest Areas using the IoT. International Seminar on Electron Devices Design and Production, SED 2024 - Proceedings, 1–6. https://doi.org/10.1109/SED63331.2024.10741064
Wang, C., Chen, S., Hu, H., & Fan, X. (2025). A distributed cluster-based routing protocol using fuzzy logic and deep reinforcement learning for wireless sensor networks. Cluster Computing, 28(August), 1–17.
Downloads
Published
How to Cite
License
Copyright (c) 2025 Jefri Lianda, Hikmatul Amri, Adam Adam, Johny Custer, Dea Fitriana

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

