Skip to content

Essi2030/smart-energy-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

# 🏒 Smart Energy Monitoring Dashboard with AI & IoT

A real-time, AI-powered dashboard for predicting and monitoring electricity consumption in smart buildings β€” designed for deployment in the UAE Smart City ecosystem.

---

## πŸ”₯ Why this project matters

πŸ™οΈ The UAE is investing heavily in sustainable energy and smart buildings.  
This project aligns with UAE Vision 2031 by offering a real-time dashboard that combines:

- πŸ“‘ IoT sensor data (temperature, humidity, occupancy)
- 🧠 Machine Learning (XGBoost for energy forecasting)
- βš™οΈ FastAPI (for scalable inference)
- πŸ“Š Streamlit dashboard (with bilingual UI: English & Arabic)
- ☁️ Deployed on AWS EC2 with Nginx + HTTPS

---

## πŸš€ Tech Stack

| Layer       | Tech                       |
|-------------|----------------------------|
| Frontend    | Streamlit (bilingual)      |
| Backend     | FastAPI                    |
| ML Model    | XGBoost + pandas           |
| Data        | Simulated IoT (sensor)     |
| Hosting     | AWS EC2 (Ubuntu 22.04)     |
| HTTPS       | Nginx + Certbot SSL        |
| Monitoring  | systemd + journalctl logs  |

---

## πŸ“· Screenshots

<img src="screenshots/form.png" width="400" />
<img src="screenshots/prediction_chart.png" width="400" />

---

## 🌍 Live Demo

πŸ”— https://dashboard.yourdomain.com (Live on AWS)

Username: `demo`  
Password: `smartai2025` (if auth enabled)

---

## πŸ“¦ Project Structure

smart-energy-project/
β”œβ”€β”€ dashboard/ # Streamlit frontend
β”œβ”€β”€ api/ # FastAPI backend
β”œβ”€β”€ model/ # ML training scripts
β”œβ”€β”€ utils/ # Data simulation
β”œβ”€β”€ data/ # Sensor CSVs
β”œβ”€β”€ requirements.txt
└── README.md


---

## 🧠 Future Enhancements

- Connect to real-time IoT sensors (MQTT or AWS IoT Core)
- Add user login (JWT-based)
- Migrate database to AWS RDS (PostgreSQL)
- Deploy via CI/CD pipeline (GitHub Actions)

---

## 🀝 Let's Connect

Feel free to explore, fork, and message me:

πŸ”— LinkedIn: [linkedin.com/in/dr-ehsan-zafari-ai-ml/](https://www.linkedin.com/in/dr-ehsan-zafari-ai-ml/)  
πŸ“§ Email: zafari.ehsan109@gmail.com  
🌍 GitHub: [github.com/Essi2030](https://github.com/Essi2030)

---

About

AI-powered real-time energy monitoring dashboard for smart buildings, deployed on AWS with FastAPI, Streamlit, and SQLite. Built for UAE Smart City use cases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages