Design and Development of a Prototype MQTT-Based Water-Level Monitoring System for Flood Warning

This study presents an MQTT-based prototype for water-level monitoring, local flood warnings, and remote dashboard monitoring. The system integrates a JSN-SR04T ultrasonic sensor, ESP32, SHT31, LCD, buzzer, relay-controlled lamps, Wi-Fi, an MQTT broker, and a dashboard. Tests included 15 JSN-SR04T readings at each reference distance (20, 30, and 50 cm) and 15 paired SHT31 measurements. MAPE was 0.38% at 30 cm and 0.12% at 50 cm; the 20 cm test point was below the cited 25 cm minimum range. SHT31 MAE was 0.193 °C for temperature and 0.713 percentage points for relative humidity. In the QoS 1 test, 596 of 600 messages were uniquely received, four were not received, and two duplicates were recorded, yielding 99.33% PDR, 0.67% PLR, a reception rate of 0.993 messages/s, and a mean RTT of 137.8 ms. Ten trials per output gave mean response times of 14.0 ms for the buzzer and 26.5 ms for the relay-controlled lamp. Across five 60 s outages, mean MQTT recovery and dashboard update times were 2.14 s and 2.66 s, respectively; local warnings remained active. The recorded threshold states matched the programmed rule at all six tested points (100% agreement, 6/6). Full-range accuracy and field reliability remain unestablished.

Authors

Publication Details

Journal
Andalasian International Journal of Applied Science Engineering and Technology
Published
2026-11-17
DOI
https://doi.org/10.25077/aijaset.v6i3.387
Primary Topic
Arduino and IoT Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Design and Development of a Prototype MQTT-Based Water-Level Monitoring System for Flood Warning

Afif Zuhri Arfianto, Agus Khumaidi, Muhammad Khoirul Hasin, Isa Rachman et al.
Andalasian International Journal of Applied Science Engineering and Technology
Arduino and IoT Applications
article

Design and Development of a Prototype MQTT-Based Water-Level Monitoring System for Flood Warning

Afif Zuhri Arfianto, Agus Khumaidi, Muhammad Khoirul Hasin, Isa Rachman, Riko Satrya Fajar Jaelani Putra, Alfi Hafidz Ramadhani
article en

Abstract

This study presents an MQTT-based prototype for water-level monitoring, local flood warnings, and remote dashboard monitoring. The system integrates a JSN-SR04T ultrasonic sensor, ESP32, SHT31, LCD, buzzer, relay-controlled lamps, Wi-Fi, an MQTT broker, and a dashboard. Tests included 15 JSN-SR04T readings at each reference distance (20, 30, and 50 cm) and 15 paired SHT31 measurements. MAPE was 0.38% at 30 cm and 0.12% at 50 cm; the 20 cm test point was below the cited 25 cm minimum range. SHT31 MAE was 0.193 °C for temperature and 0.713 percentage points for relative humidity. In the QoS 1 test, 596 of 600 messages were uniquely received, four were not received, and two duplicates were recorded, yielding 99.33% PDR, 0.67% PLR, a reception rate of 0.993 messages/s, and a mean RTT of 137.8 ms. Ten trials per output gave mean response times of 14.0 ms for the buzzer and 26.5 ms for the relay-controlled lamp. Across five 60 s outages, mean MQTT recovery and dashboard update times were 2.14 s and 2.66 s, respectively; local warnings remained active. The recorded threshold states matched the programmed rule at all six tested points (100% agreement, 6/6). Full-range accuracy and field reliability remain unestablished.

Andalasian International Journal of Applied Science Engineering and TechnologyVol. 6(3)
Arduino and IoT Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon