Inspiration Many cities lose 30–50% of treated water every year due to pipeline leaks, abnormal usage, and inefficient monitoring. We wanted to create a practical system that identifies water loss in real-time and helps authorities take action before it becomes a big problem. WaterWise was inspired by the need for sustainable water management and smart monitoring.
What it does WaterWise monitors water flow across multiple zones using rule-based thresholds. It: Tracks water consumption per zone in real-time Detects high flow, consecutive abnormal readings, and suspicious night-time usage Generates alerts for potential leaks or overuse Provides a dashboard with charts, highlighting zones in red if risk is detected Offers an analytics panel showing top high-loss zones, estimated water loss, and financial impact
How we built it Backend: Python + Flask + SQLAlchemy (SQLite) Frontend: HTML + Jinja2 templating + Bootstrap 5 Visualization: Chart.js for bar and line charts Simulation Engine: Background thread generating flow readings every 5 seconds Alerts: Rule-based logic with database storage and console notifications
We structured the project using clean architecture, separating models, routes, templates, static files, and the simulation/alert engine.
Challenges we ran into Handling real-time simulation of flow readings while keeping the dashboard responsive Designing rule-based alerts that are realistic but simple enough for hackathon implementation Displaying dynamic zone highlights in the dashboard without using JavaScript-heavy frameworks
Accomplishments that we're proud of Functional real-time dashboard highlighting zones with risk Fully rule-based leak detection system without AI or ML Clean, modular, and hackathon-ready architecture Analytics panel estimating water and financial loss
What we learned How to simulate IoT-like sensor data in a backend process Managing Flask with Blueprints, SQLAlchemy, and templates Integrating charts, dynamic styling, and alerts into a web dashboard Designing a scalable and modular project structure for future extension
What's next for WaterWise – Smart Water Leak & Usage Monitoring System Connect to real IoT sensors for live water flow readings Implement email/SMS notifications for alerts Add CSV export and reporting Add admin login and multi-user access Expand analytics with historical trend predictions (still rule-based, no AI)
Log in or sign up for Devpost to join the conversation.