shamba smart
# shambaSmart - Smart Agriculture IoT System
## π± Project Overview
shambaSmart is a comprehensive smart agriculture IoT system that combines real-time sensor monitoring, AI-powered crop recommendations, and automated irrigation control. The system helps farmers optimize crop yields through data-driven insights and automated farm management.
### Key Features
- **Real-time Environmental Monitoring** (Temperature, Humidity, Soil Moisture, NPK levels)
- **AI-Powered Crop Recommendations** using Google Gemini AI
- **Market Price Analytics** across multiple African countries
- **SMS Notifications** for critical alerts via Africa's Talking API
- **WebSocket Real-time Data Streaming**
- **Automated Irrigation Control**
- **User Authentication & Profile Management**
## ποΈ System Architecture
```
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β ESP8266/IoT βββββΆβ Django Backend βββββΆβ React Frontend β
β Sensors β β (API) β β (UI) β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β β β
βΌ βΌ βΌ
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Hardware Sensorsβ β SQLite Database β β User Interfaceβ
β - DHT22 (Temp) β β - User Data β β - Dashboard β
β - Soil Moisture β β - Sensor Data β β - Analytics β
β - NPK Sensor β β - AI Messages β β - Chat AI β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
```
## π Project Structure
```
ProjectZero/
βββ frontend/ # React.js Frontend
β βββ src/
β β βββ Components/ # Reusable UI components
β β βββ Pages/ # Main application pages
β β βββ Slices/ # Redux state management
β β βββ api.js # API configuration
β βββ package.json
β βββ vite.config.js
βββ Roblox/ # Django Backend
β βββ back β¦