🚀 An IoT + AI powered platform for real-time flood monitoring, weather visualization, and predictive risk analysis.

DripTect integrates ESP32 IoT sensors, a Flask + Machine Learning backend, and a Next.js dashboard to predict and visualize flood risk.
It empowers communities with real-time data, historical insights, and early alerts to build climate resilience.
graph TD
A[🌱 ESP32 Sensors] -->|Soil Moisture, Temp, Humidity, Rainfall, Distance| B[(📡 Flask API)]
B --> C[🤖 ML Model – Random Forest]
C --> D[(📊 Data Storage)]
D --> E[🖥️ Next.js + Tailwind Dashboard]
E --> F[🌍 Globe with Heatmap + Graphs]
C --> G[⚠️ Flood Risk Prediction Engine]
G --> E
- 🌱 IoT Sensor Network → Soil moisture, humidity, temperature, rainfall, water level
- ⚡ Real-time Data Processing → ESP32 → Flask → ML model
- 🤖 Machine Learning → Random Forest predicts flood risk severity
- 🖥️ Interactive Dashboard → Next.js + Tailwind + Shadcn UI
- 🌍 3D Rotating Globe Heatmap → Weather across India (OpenWeather API)
- 📊 Historical Trends → Graphs for past 24h & 7d
⚠️ Risk Analysis → "View Risk" button shows flood probability
Hardware → ESP32, DHT11, Soil Moisture, Rain Sensor, Ultrasonic
Backend → Flask + Python (Random Forest ML Model)
Frontend → Next.js, TailwindCSS, Shadcn UI, Recharts, Framer Motion
API → OpenWeather API
Database → Pandas (logs), PostgreSQL (scalable option)
- ESP32 Sensors collect environmental data.
- Flask Backend stores & forwards to ML model.
- ML Model predicts flood risk levels.
- Next.js Dashboard displays:
- 🌍 Rotating globe with heatmap
- 📊 Weather + API insights
- ⏳ Historical 24h & 7d graphs
⚠️ Flood Risk prediction card
- 👨🔬Aryan Ghosh
- 👨🔬Surajit Ray
- 👨🔬Anshley Mukherjee
- 👨🔬Debnanda Datta
cd Flood Predictor Model ML
pip install -r requirements.txt
python app.py
cd frontend
npm install
npm run dev
- Get your OpenWeather API Key → OpenWeather
- Add it to
.env.local
:
NEXT_PUBLIC_OPENWEATHER_API_KEY=your_api_key_here
====================================================================================================
[2025-08-28 10:15:32] Prediction Log
====================================================================================================
No Soil Moisture (%) Temperature (°C) Humidity (%) Rainfall (mm) Distance (cm) Prediction
1 45.00 29.5 72.0 120.0 30.4 FLOOD LIKELY
====================================================================================================
- ESP32 IoT sensor integration
- Flask API + ML Model
- Next.js Dashboard + Globe Visualization
- SMS / WhatsApp Flood Alerts
- Cloud Deployment (AWS/GCP)
- Mobile App (React Native)
MIT License © 2025 DripTect Team
⭐ If you find this project useful, consider giving it a star on GitHub to support us!
🌍 Together for flood awareness & climate resilience 💧 ✨ DripTect – Because every drop counts, and every life matters. 🌊