Smart Public Toilet Monitoring
Project screens

Aviation service area smart restroom – live stall map and men's restroom air quality, customised with X2VIEW. 
Smart restroom management system – floor plan with stall status, water and power use, visitor counts and odour removal units, customised with X2VIEW. 
Smart restroom management system – stall availability, people flow and NH3/H2S environment monitoring, customised with X2VIEW.
Customer pain points
Conventional public restrooms rely on fixed cleaning schedules and manual inspections, so managers cannot see real usage or on-site conditions in time. Typical problems include:
- Cleaning cannot be dispatched on demand: without real-time footfall and usage data, cleaning lags behind at peak times, while off-peak hours bring repeated inspections and wasted labour.
- Odours are detected too late: ammonia, hydrogen sulphide and other odours are often noticed only after users complain, hurting the public experience and the operator's image.
- No real-time view of usage: managers cannot remotely see how much each restroom is used, how busy it is or whether it is running normally, so site conditions remain opaque.
- Leaks and abnormal water use go unnoticed: continuous leaks at night or when nobody is on duty are not found promptly, wasting water and even damaging equipment and facilities.
- Multi-site management is inefficient: restrooms across airports, malls, campuses, scenic areas or municipal projects are checked one by one by staff, raising costs and slowing the response to faults.
- No data to support decisions: usage patterns cannot be analysed from footfall, environment and water data to optimise cleaning frequency or assess service quality.
Solution overview
MILESGO gateways collect data from occupancy and people-counting sensors, ammonia / H2S odour sensors, water meters, LoRaWAN wireless sensors over LoRaWAN / Modbus RTU, and deliver it to the city IoT platform, a cloud platform (MQTT), SMS, email and messaging alarms as MQTT. Field equipment keeps its own protocol and control logic; integration is done by configuration and point mapping, not custom code.
Typical scope
- occupancy and people-counting sensors
- ammonia / H2S odour sensors
- water meters
- LoRaWAN wireless sensors
Protocol path
LoRaWAN / Modbus RTU → MQTT
Implementation checklist for the project manager
- Run a LoRaWAN coverage survey and pick the regional band (EU868 / US915 / AU915 / AS923 / KR920 / CN470) before ordering.
- Agree sensor positions (height, airflow, distance from doors and diffusers) so readings are representative.
- Define an alarm matrix (priority, recipient, escalation) and test every alarm end to end at SAT.
- Fix a site / asset naming convention before the first site so data from all sites can be compared.
- Roll out in phases: pilot one site or area, confirm data quality, then replicate.
- Check 4G signal and the SIM data plan at every site before committing to cellular backhaul.
Project deliverables
- Signed point table and protocol mapping
- Gateway configuration files and backups
- IP address plan and network drawing
- FAT and SAT test records
- As-built documentation and operator training
System architecture
Field layer: occupancy and people-counting sensors, ammonia / H2S odour sensors, water meters, LoRaWAN wireless sensors, connected over LoRaWAN / Modbus RTU. Edge and integration layer: MILESGO protocol gateways and edge controllers, mounted on DIN rail in existing panels, polling each device, time-stamping values and buffering them locally. Upper layer: the city IoT platform, a cloud platform (MQTT), SMS, email and messaging alarms, which receives the data as MQTT. Remote access for maintenance runs over VPN rather than open internet ports.
System composition
- Field devices
- occupancy and people-counting sensors, ammonia / H2S odour sensors, water meters, LoRaWAN wireless sensors
- Edge / integration
- MILESGO protocol gateways and edge controllers
- Upper systems
- the city IoT platform, a cloud platform (MQTT), SMS, email and messaging alarms (MQTT)
- Tools and commissioning
- Web-based configuration, point table import/export (Excel), off-site simulation and on-site diagnostic tools
Software and AI capabilities
- Load and consumption forecastingRoadmap
Delivery steps
- 1
Site survey and point list
Inventory devices, protocols, register maps, panel space, power and network paths.
- 2
Design and point table sign-off
Map every point to the target protocol and system; agree it with the client and the upper-system contractor.
- 3
Configuration and FAT
Build the gateway configuration off site, simulate it and test against the signed point table.
- 4
Installation and wiring
Mount gateways on DIN rail, wire RS-485 / I/O / Ethernet, apply the IP plan.
- 5
SAT and alarm tests
Verify values against local readings, test every alarm and command end to end.
- 6
Handover and support
Hand over configuration backups, point table and as-built documents; train operators.
Customer value
- Abnormal conditions seen early, before they become failures
- Alarms reach the right person by SMS, email or messaging apps
- Unattended sites supervised without permanent staff
- Data ready for cloud platforms and analytics
More solutions in Smart City & Municipal
Tell us about your project
Send the protocols, point count and target system. A sales and engineering pair reviews every submission.
Discuss Your Project