Development of a Water Tank Monitoring and Pump Control System Using ESP32 and the ThingsBoard Platform with Telegram Notifications at PDAM Kota Surabaya

Authors

  • Selma Humayra Politeknik Elektronika Negeri Surabaya (PENS)
  • Saniyatul Mawwadah Politeknik Elektronika Negeri Surabaya (PENS)
  • Much Chafid Politeknik Elektronika Negeri Surabaya (PENS)

DOI:

https://doi.org/10.52158/javict.v1i3.1703

Keywords:

Internet of Things, ESP32, HC-SR04, ThingsBoard, MQTT, Telegram Bot

Abstract

Conventional water tank monitoring at PDAM Surya Sembada Kota Surabaya causes delayed information and risks of overflow or underflow. This study develops an IoT-based monitoring and automatic pump control system utilizing an ESP32 microcontroller, an HC-SR04 ultrasonic sensor, the ThingsBoard platform via MQTT, and Telegram notifications. A single ultrasonic sensor simultaneously derives water level, cylindrical volume, and flow rate (Q = ΔV/Δt), eliminating physical flowmeters. Pump control is automated using two-threshold hysteresis logic. Experimental results demonstrate a water level measurement accuracy of 98.63% (MAE = 0.14 cm, R² = 0.9998). The derived flow rate was empirically validated against manual measurements, achieving 99.26% accuracy with an error of only 0.06 L/min. Telemetry latency averaged 0.53 seconds on ThingsBoard, while Telegram early warning alerts were delivered within 2.38 seconds. Furthermore, a three-layer security architecture successfully thwarted unauthorized access scenarios, and expert validation confirmed a 92.0% feasibility rate (Highly Feasible). Thus, the proposed system provides an accurate, robust, and cost-effective solution for municipal water distribution facilities.

Author Biographies

  • Selma Humayra, Politeknik Elektronika Negeri Surabaya (PENS)

    Department of Informatics and Computer Engineering

  • Saniyatul Mawwadah, Politeknik Elektronika Negeri Surabaya (PENS)

    Department of Informatics and Computer Engineering

  • Much Chafid, Politeknik Elektronika Negeri Surabaya (PENS)

    Department of Informatics and Computer Engineering

Downloads

Published

2026-10-06

Issue

Section

Articles

How to Cite

Humayra, S., Mawwadah, S., & Chafid, M. (2026). Development of a Water Tank Monitoring and Pump Control System Using ESP32 and the ThingsBoard Platform with Telegram Notifications at PDAM Kota Surabaya. Journal of Advanced Vocational Information and Communication Technology, 1(3), 193-208. https://doi.org/10.52158/javict.v1i3.1703

Similar Articles

You may also start an advanced similarity search for this article.