Skip to content

Dynamic-Web-Lab/UtilityWise-UAE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ’‘ UtilityWise UAE

The Open-Source Utility Bill Analyzer & Cost Optimization Platform

License: MIT Laravel 11 Python 3.10+ DynamicWebLab

⚠️ Disclaimer: This software is for personal tracking and analysis only. It is not affiliated with DEWA, FEWA, ADDC, or any UAE utility provider. Bill data is processed locally and never shared with third parties.

This is a public open-source repository. See CONTRIBUTING.md and SECURITY.md for how to contribute or report security issues.


πŸ“– Table of Contents


πŸ“’ About

UtilityWise UAE is a privacy-first, open-source platform that helps UAE residents track, analyze, and optimize their utility bills (Electricity, Water, Gas, Internet, AC District Cooling).

Using AI-powered OCR and anomaly detection, the platform identifies unusual consumption patterns, predicts future bills, and provides actionable savings tipsβ€”all while keeping sensitive data under user control.

Built by DynamicWebLab, this project addresses the widespread frustration of unexplained bill spikes in the UAE while demonstrating transparent, ethical data handling.


😣 The Problem

UAE residents face significant challenges with utility bills:

  1. Unexpected Spikes: Bills can double without clear explanation (AC issues, leaks, meter errors).
  2. No Historical Tracking: Provider portals show limited history, making trend analysis difficult.
  3. Complex Tariffs: Time-of-day pricing, slab rates, and seasonal adjustments are hard to understand.
  4. Privacy Concerns: Users hesitate to upload bills to closed apps due to address and account number exposure.
  5. No Community Benchmarking: Residents don't know if their consumption is normal for their villa/apartment size.

✨ Features

πŸš€ MVP (Phase 1)

  • Bill Upload & OCR: Upload PDF/image bills; Python extracts amount, date, consumption units.
  • Consumption Dashboard: Visual charts showing monthly trends (kWh, gallons, AED).
  • Anomaly Alerts: Notifications when bill exceeds normal range by X%.
  • Provider Support: DEWA, FEWA, ADDC, SEWA, Empower, Tabreed, Du, Etisalat.

πŸ€– AI & Advanced (Phase 2)

  • Bill Forecasting: Weighted-avg prediction from historical bills (dashboard + AI /forecast).
  • Community Benchmarking: Anonymous comparison with similar properties (same area, type) β€” paid add-on.
  • Leak Detection Alert: Heuristic water spike detection; creates leak alert when consumption is 1.5x+ average.
  • Solar ROI Calculator: Basic payback estimate (formula-based; see Solar ROI in app).
  • Export (CSV/PDF): Download bill history as CSV or print-friendly PDF.

🏒 Enterprise (Phase 3)

  • Landlord Dashboard: Track multiple property utilities for tenant billing.
  • Property Management API: Integrate with building management systems.
  • White-Label: Utility companies can use for customer engagement.

πŸ†“ Free vs Paid Modules

UtilityWise UAE is open source (MIT). The core platform is free and self-hostable:

  • Free (open source): Bill upload & OCR, consumption dashboard, anomaly alerts, multi-provider support, Docker setup, encryption, andβ€”as we ship themβ€”basic forecasting, leak detection, basic solar ROI, multi-property (single user), and read-only API.

  • Paid (optional): Managed cloud hosting, community benchmarking service, advanced solar ROI, weather-enhanced forecasting, landlord/property-management features, white-label, and premium/enterprise support. These fund maintenance and keep the core free.

See docs/ROADMAP.md for the full phased plan and free/paid breakdown.


πŸ›  Tech Stack

Component Technology Purpose
Backend Laravel 11 (PHP 8.3) Auth, Dashboard, Alerts, Scheduling
AI Service Python (FastAPI) OCR, Anomaly Detection, Forecasting
Frontend Blade + Chart.js Interactive Bill Visualizations
Database MySQL 8.0 Encrypted Bill Data
Queue Redis Async OCR processing
CMS WordPress (Headless) Savings tips, UAE tariff guides, SEO
Hosting Docker Self-hostable for privacy

πŸ“‚ Project Structure

utilitywise-uae/
β”œβ”€β”€ app/                    # Laravel Backend
β”‚   β”œβ”€β”€ Http/
β”‚   β”‚   β”œβ”€β”€ Controllers/
β”‚   β”‚   β”‚   β”œβ”€β”€ BillController.php
β”‚   β”‚   β”‚   β”œβ”€β”€ DashboardController.php
β”‚   β”‚   β”‚   └── AlertController.php
β”‚   β”‚   └── Middleware/
β”‚   β”‚       └── EncryptBillData.php
β”‚   β”œβ”€β”€ Models/
β”‚   β”‚   β”œβ”€β”€ User.php
β”‚   β”‚   β”œβ”€β”€ Bill.php
β”‚   β”‚   └── ConsumptionRecord.php
β”‚   β”œβ”€β”€ Services/
β”‚   β”‚   β”œβ”€β”€ BillParsingService.php
β”‚   β”‚   └── AnomalyDetectionService.php
β”‚   └── Jobs/
β”‚       └── ProcessBillOCR.php
β”œβ”€β”€ ai-service/             # Python Microservice
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ ocr_extractor.py
β”‚   β”œβ”€β”€ anomaly_detector.py
β”‚   β”œβ”€β”€ forecast_model.py
β”‚   └── requirements.txt
β”œβ”€β”€ resources/
β”‚   β”œβ”€β”€ views/
β”‚   β”‚   β”œβ”€β”€ dashboard.blade.php
β”‚   β”‚   └── bills.blade.php
β”‚   └── js/
β”œβ”€β”€ tests/                  # PHPUnit & PyTest
β”œβ”€β”€ docker/
β”‚   β”œβ”€β”€ docker-compose.yml
β”‚   β”œβ”€β”€ Dockerfile.php
β”‚   └── Dockerfile.python
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ UAE_Utility_Tariffs.md
β”‚   └── Privacy_Guidelines.md
β”œβ”€β”€ .env.example
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ CONTRIBUTING.md
└── CODE_OF_CONDUCT.md

πŸš€ Installation

(See docs/ROADMAP.md for current phase. Full installation steps will be added as the codebase is built.)

  1. Clone the repo and copy .env.example to .env.
  2. Backend: composer install, configure DB and app key.
  3. AI service: from ai-service/, create a venv and pip install -r requirements.txt.
  4. Optional: use Docker from docker/ for a full stack.

βš™οΈ Configuration

Configure .env with your database, Redis, and (if used) AI service URL. Never commit .env β€” it is in .gitignore.


πŸ”’ Security & Privacy

  • Bill data is encrypted at rest; processing is local or self-hosted.
  • No bill data is sent to third parties by the open-source core.
  • See docs/Privacy_Guidelines.md (when added) for details.

🀝 Contributing

Contributions are welcome. Please read CONTRIBUTING.md for setup and pull request flow, and CODE_OF_CONDUCT.md for community standards.


πŸ“„ License

This project is licensed under the MIT License.

About

UtilityWise UAE is a privacy-first, open-source platform that helps UAE residents track, analyze, and optimize their utility bills (Electricity, Water, Gas, Internet, AC District Cooling).

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors