The AI-Powered Plant Monitoring System automates and optimizes plant care by integrating IoT sensors, AI-based health analysis, and a user-friendly web/Telegram interface. Designed for smart gardening enthusiasts, researchers, or anyone who wants healthier plants with minimal effort.
-
Real-Time Monitoring:
- Tracks soil moisture, light levels, temperature, and humidity.
- Automatically updates sensor data every minute.
-
AI-Based Plant Health Analysis:
- Detects diseases, water needs, and light deficiencies.
- Provides actionable recommendations.
-
Automation:
- Scheduled watering and lighting controls.
- Intelligent actions based on sensor data.
-
Interactive Interfaces:
- Web Dashboard: Visualize data and manage the system.
- Telegram Bot: Get notifications and control the system remotely.
-
Notification System:
- Alerts for low moisture or unhealthy plants.
- Daily summaries via Telegram or email.
- IoT Sensors: Measure environmental parameters.
- AI Analysis: Uses TensorFlow to analyze plant health.
- Database: SQLite stores historical data and logs.
- Web Interface: Flask-powered dashboard.
- Telegram Bot: Sends notifications and takes commands.
- Python 3.8+
- Virtual environment (recommended)
- Libraries: TensorFlow, Flask, schedule, SQLite3, Matplotlib, Telegram Bot API.
-
Clone the repository:
git clone https://github.com/your-repo/plant-monitoring.git cd plant-monitoring
-
Install dependencies:
pip install -r requirements.txt
-
Initialize the database:
python database.py
-
Start the web interface:
python web_interface.py
-
Run the Telegram Bot:
python telegram_bot.py
-
Train the AI Model (optional):
python ml_training.py
- Access the dashboard at
http://localhost:5000
. - View real-time sensor data, history, and AI analysis results.
/status
: View sensor data./analyze
: Perform AI analysis./set_schedule
: Schedule watering or lighting./reset
: Reset the system.
© 2023 Oleksii Hrachov. This project is licensed, Proprietary License. See the LICENSE file for details. """