Pengembangan Sistem Informasi Early Warning System Banjir Berbasis Internet of Things Menggunakan REST API dan WhatsApp Gateway


  • Afriza Akhid Khoiruddin * Mail Universitas Muria Kudus, Kudus, Indonesia
  • (*) Corresponding Author
Keywords: Early Warning System; Internet of Things; Flood Monitoring; ESP32; A02YYUW Ultrasonic Sensor

Abstract

Flooding is one of the most frequent natural disasters caused by increasing rainfall intensity and overflowing rivers, highlighting the need for a monitoring system capable of providing timely and accurate information. This study aims to develop an Internet of Things (IoT)-based Early Warning System (EWS) for flood monitoring that enables real-time water level observation and automatic early warning notifications. The proposed method involves the design of a hardware system using the A02YYUW ultrasonic sensor and ESP32 microcontroller, the development of a REST API-based backend using PHP Native and MySQL, and a web-based monitoring dashboard integrated with the WhatsApp Gateway through the Fonnte API. Water level data collected by the sensor are processed using a .-based classification method to determine three alert levels: NORMAL, ALERT, and DANGER. The processed data are then transmitted to the server in JSON format via a Wi-Fi network. Subsequently, the backend validates the authentication token, stores the data in the database, displays real-time information on the monitoring dashboard, and automatically sends WhatsApp notifications when the water level reaches the ALERT or DANGER status. The experimental results demonstrate that the proposed system operates successfully in an integrated manner, covering sensor data acquisition, data transmission, database storage, dashboard visualization, and automatic notification delivery. The A02YYUW ultrasonic sensor achieved an average measurement error of 0.89%, indicating high measurement accuracy and stability. Therefore, the developed system can serve as an effective solution for real-time flood monitoring and early warning, providing fast, accurate, and easily accessible information to the community. The main contribution of this study is the development of an integrated flood early warning system that combines the waterproof A02YYUW ultrasonic sensor, ESP32 microcontroller, PHP Native-based REST API, web-based monitoring dashboard, token-based authentication, and WhatsApp Gateway into a unified architecture for secure real-time monitoring and early warning dissemination.

Downloads

Download data is not yet available.

References

I. S. Ilyas, C. S. Rahardi, and A. Kurniawan, “The Influence of Flood Disasters on Economic Growth and Poverty in Indonesia,” Ganaya J. Ilmu Sos. dan Hum., vol. 8, no. 1, 2025, doi: 10.37329/ganaya.v8i1.3657.

J. A. Bintang, “Sensitivity Analysis of the Geomorphology Flood Index to Extreme Rainfall Variability in Indonesia,” Calam. A J. Disaster Technol. Eng., vol. 2, no. 1, 2024, doi: 10.61511/calamity.v2i1.2024.1834.

T. D. Hendrawati, “Sistem Peringatan Dini Banjir Berbasis Internet of Things (IoT) dengan Integrasi Multi-Sensor dan Logika Fuzzy,” JTERA (Jurnal Teknol. Rekayasa), vol. 10, no. 2, pp. 131–140, 2025, doi: 10.31544/jtera.v10.i2.2025.131-140.

A. Ovid, E. Yandani, and Asril, “Prototype Sistem Pemantauan Tinggi Muka Air Berbasis ESP32 Untuk Sistem Peringatan Dini Banjir Melalui Telegram,” JEKIN - J. Tek. Inform., vol. 5, no. 3, 2025, doi: 10.58794/jekin.v5i3.1634.

M. D. Iswara and S. Raharjo, “Sistem Peringatan Dini Banjir Dengan Menggunakan ESP32 dan Sensor Ultrasonik,” J. Students’ Res. Comput. Sci., vol. 7, no. 1, pp. 73–84, 2026, doi: 10.31599/3ymf3266.

Diono, M. S. Gozali, and H. T. Guntoro, “IoT Implementation in Water Level Monitoring System Using ESP32 and Antares Platform,” J. Integr., vol. 18, no. 1, 2025, doi: 10.30871/ji.v18i1.12814.

M. Darwis, H. A. Al Banna, S. R. Aji, D. Khoirunnisa, and N. Natassa, “IoT Based Early Flood Detection System with Arduino and Ultrasonic Sensors in Flood-Prone Areas,” J. Tek. Inform., vol. 16, no. 2, 2023, doi: 10.15408/jti.v16i2.32161.

Y. Ratmini, V. Atina, and E. Purwanto, “Flood Monitoring and Early-Warning System Based on the Internet of Things (IoT),” J. Ilm. Teknol. Inf. Asia, vol. 19, no. 1, 2024, doi: 10.32815/jitika.v19i1.1103.

F. Pohan, M. Qamal, and S. F. Anshari, “Implementation of Fuzzy Logic Sugeno on a Website-Based for Flood Monitoring and Early Detection System,” Digit. Zo., vol. 15, no. 2, 2024, doi: 10.31849/digitalzone.v15i2.23356.

Winanti et al., “Early Flood Detection with SIMOBI: IoT and Mobile Integration,” J. Pekommas, vol. 9, no. 2, 2024, doi: 10.56873/jpkm.v9i2.5433.

S. Febriani, M. A. Arrozaq, R. Nugraha, and A. C. Lestari, “Intelligent Flood Monitoring System Using IoT and Real-Time Notifications,” J. Informasi, Sains dan Teknol., vol. 8, no. 2, 2025, doi: 10.55606/isaintek.v8i2.384.

T. R. Rahman, Andrizal, Herizon, and W. E. F. Anggara, “Design and Construction of an Internet of Things (IoT)-Based Water Level Monitoring System Using ESP32 for Early Flood Prevention,” Innov. J. Intell. Control Optim. Electr. Syst., 2025.

I. A. Asrory, M. Shifa, M. A. I. Sya’roni, and B. P. Jati, “Perancangan dan Implementasi Sistem Peringatan Dini Banjir Berbasis IoT dengan ESP32, MQTT, dan Aplikasi Kodular,” Uranus J. Ilm. Tek. Elektro, Sains dan Inform., vol. 3, no. 3, 2025, doi: 10.61132/uranus.v3i3.1056.

I. Hudati, D. Y. Kusuma, N. B. Permatasari, and R. R. Pebriani, “Sensor Ultrasonik Waterproof A02YYUW Berbasis Arduino Uno pada Sistem Pengukuran Jarak,” J. List. Instrumentasi, dan Elektron. Terap., vol. 2, no. 2, pp. 14–20, 2021, doi: 10.22146/juliet.v2i2.71146.

Y. Basir, M. R. A. Pratama, and M. W. Aminullah, “Perancangan Sistem Pendeteksi dan Penanggulangan Banjir Menggunakan ESP32 Berbasis IoT,” J. Ilm. GIGA, vol. 26, no. 1, 2023, doi: 10.47313/jig.v26i1.2127.

A. Husnayayin, Z. Gustina, and D. E. C. Dewi, “Karakteristik dan Langkah-Langkah Metode Penelitian {Research and Development} (Borg & Gall) dalam Pendidikan,” Pendas J. Ilm. Pendidik. Dasar, vol. 9, no. 4, 2024, doi: 10.23969/jp.v9i04.19906.

Umar, M. B. Purwanto, and M. M. Al Firdaus, “Research and Development: As the Primary Alternative to Educational Research Design Frameworks,” JELL (Journal English Lang. Lit., vol. 8, no. 1, pp. 73–82, 2023, doi: 10.37110/jell.v8i01.172.

M. Fauzi and S. N. Bahagia, “Pengambilan Keputusan Komponen Darah dalam Pengendalian Persediaan dengan Menggunakan Metode AHP di PMI Kota Bandung,” J. Ilm. Teknol. Inf. Terap., vol. 5, no. 2, pp. 13–20, 2019, doi: 10.33197/jitter.vol5.iss2.2019.276.

A. J. Azizah and I. G. L. P. E. Prismana, “Implementasi WhatsApp Gateway pada Aplikasi Manajemen Keuangan Pondok Pesantren Tanwirul Qulub Lamongan,” J. Informatics Comput. Sci., vol. 3, no. 4, pp. 403–410, 2022, doi: 10.26740/jinacs.v3n04.p403-410.

A. G. Lengkong, D. T. Salaki, and E. Alfonsius, “Implementation of an Internet of Things (IoT)-Based Water Level Early Warning System With Telegram Notification,” J. Inform. dan Rekayasa Perangkat Lunak, vol. 6, no. 2, 2024, doi: 10.33365/jatika.v6i2.349.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Pengembangan Sistem Informasi Early Warning System Banjir Berbasis Internet of Things Menggunakan REST API dan WhatsApp Gateway

Dimensions Badge
Article History
Submitted: 2026-06-25
Published: 2026-07-14
Abstract View: 19 times
PDF Download: 25 times
How to Cite
Khoiruddin, A. (2026). Pengembangan Sistem Informasi Early Warning System Banjir Berbasis Internet of Things Menggunakan REST API dan WhatsApp Gateway. Journal of Information System Research (JOSH), 7(4), 967-978. https://doi.org/10.47065/josh.v7i4.10453
Issue
Section
Articles