A serverless system that helps cities find and fix hidden water leaks. Building meters notice water going missing, citizens confirm it with a phone photo checked by AI, one explainable score ranks the leaks so the crew fixes the worst one first, and a repair only counts as done when the meters show the loss has stopped. I built it solo on AWS for the WeMakeDevs × AWS Bharat Builds hackathon (Heat & Water track).
The demo city is simulated; the phone reports and AI photo checks are real. In the demo run, one verified repair recovers about 1.8 lakh litres a day.
How it works
Meters notice: every 15 minutes, each sector’s unaccounted water is compared with its own pattern from the previous 14 days. Two anomalous slots in a row mark the sector as suspected.
Citizens confirm: anyone can send a phone photo with no app and no login. Amazon Bedrock (Nova 2 Lite) labels it as a burst, major leak, small drip, sewage in supply, or not a leak. Works in English, Hindi and Marathi.
One fixed score: a 0–100 priority built from water lost, evidence, how critical the location is, and whether the signals agree.
Meters verify: a ticket closes only after three clean meter readings. If the leak is still there, the ticket reopens by itself.
A live 3D command centre in React and three.js, with an X-ray view of the pipe network.
Deployed with AWS CDK on CloudFront, S3, Lambda, DynamoDB and Bedrock. Tested with Vitest and Playwright.