Multi-Unit Residential Gas Leak Monitoring with Role-Based Web Dashboards and Dual-Channel Alerting on an ESP32 Platform
Leaks of liquefied petroleum gas (LPG) and other combustible gases in homes are hazardous because they can go unnoticed, and most household detectors raise only a local audible alarm, which is ineffective when occupants are absent or asleep. In apartments, hostels and other managed residences, a further problem is that residents and building managers need different views of the same events. This paper presents the design, implementation and evaluation of a web-based gas leak monitoring system for multi-unit residential settings. MQ-2 gas sensors are read by an ESP32 microcontroller, which averages each reading over ten samples, compares the raw 12-bit reading with a fixed alarm threshold, sounds a local buzzer and posts the reading to an Apache/PHP server with a MySQL database every 2 s. The server feeds two role-based dashboards, an administrator view of all units and a resident view restricted to one unit, and sends a Telegram message to the affected unit’s user when the threshold is exceeded. A two-unit prototype was tested with a butane source on a local Wi-Fi network provided by a 4G-enabled smartphone hotspot, whose LTE uplink carried the Internet-dependent Telegram notification. All 17 dashboard functions passed functional testing by two testers, and all four test scenarios, including a simultaneous leak in both units, produced the expected alerts. Averaged over repeated trials, the detection time was 1.55 s, the Telegram alert delay 2.35 s and the end-to-end response 4.3 s, and the two units differed by at most 0.2 s. The results indicate that unit-level remote alerting can be added to low-cost detectors with a delay of a few seconds, while the local alarm continues to work without the network. Dependence on Internet connectivity, uncalibrated sensor output and the small scale of the prototype remain the main limitations.
Authors
- Nor Azylia Mohd Azam
- Nor Adora Endut
- Iffah Nadhirah Mohd Supian
Institutions
- Universiti Teknologi MARA System (MY)
- Universiti Teknologi MARA (MY)
Publication Details
- Journal
- International Journal of Research and Innovation in Social Science
- Published
- 2026-11-28
- DOI
- https://doi.org/10.47772/ijriss.2026.101100473
- Primary Topic
- IoT-based Smart Home Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00