Automated Gardening with IoT Technology
- Frontend Code
- Backend Code (Current Repository)
Politecnico di Torino / Polytechnic University of Turin
Master of Science program in ICT for Smart Societies
01QWRBH - Programming for IoT applications
The IoT Smart Gardening System is an advanced solution designed to automate and optimize garden maintenance tasks using data collected from environmental sensors. By automating irrigation, lighting, and environmental control, the system enhances plant care through intelligent decision-making, allowing users to remotely monitor and control their gardens in real-time.
- Real-time Data Collection: Monitor soil moisture, temperature, humidity, and light intensity using sensors.
- Automated Watering System: Smart irrigation based on soil conditions and weather forecasts.
- Custom Rules & Schedules: Set up personalized rules for watering, lighting, and alerts.
- Interactive Dashboard & Telebot: Access garden data and control devices through a web interface or telebot.
- Data-Driven Decisions: Receive actionable insights and recommendations for optimal garden care.
You can use the device service instead of the Raspberry Pi
- Raspberry Pi: The central controller for processing sensor data and executing commands.
- Sensors: Soil moisture, temperature, light, and humidity sensors.
- Actuators: Irrigator, oxygen valve, and light switch.
- Mosquitto: Acts as the MQTT broker, facilitating communication between IoT devices and the backend.
- Cherrypy: Provides the lightweight web framework for hosting the backend API and managing automation logic.
- InfluxDB: Used for storing time-series data, such as sensor readings, to support real-time monitoring and analysis.
- MySQL: Manages user data, device configurations, and automation rules in a relational database format.
- Element-Plus(Vue.js): Powers the frontend UI components, enabling a clean, responsive, and interactive user experience.
git clone https://github.com/SaltedFishQAQ/smart_garden_iot.git
git clone https://github.com/SaltedFishQAQ/smart_garden_iot_frontend.git
cd smart_garden_iot
docker-compose up --build -d
3. Start the Frontend Server
cd ../smart_garden_iot_frontend
npm run build:prod
Access the web dashboard:
- Default URL: http://localhost:9527/
- View live sensor data and control your garden devices.
- Configure automation rules and schedules.
- Wenxi Lai
- Davood Shaterzadeh
- Nasrin Hayati Nejad