Σύστημα ποτίσματος IoT με συνδυασμό μετρήσεων εδάφους και μετεωρολογικών δεδομένων
IoT irrigation system combining soil measurements and meteorological data

View/ Open
Keywords
IoT ; Έξυπνη άρδευση ; Smart irrigation ; Υγρασία εδάφους ; Μετεωρολογικά δεδομένα ; OpenWeatherMap ; MQTT ; ESP32-S3 ; InfluxDB ; Aισθητήρες ; Grafana ; ΑυτοματισμόςAbstract
This thesis presents the design and implementation of a complete IoT irrigation system that
combines soil measurements with meteorological data to support watering decisions and remote
monitoring. The solution follows a two-node architecture: (a) an ESP32-S3 edge device that reads
a soil moisture sensor, a water flow sensor, and a water tank level sensor (ultrasonic), controls a
pump/relay, and provides both a local web dashboard and a 20×4 LCD status display; and (b) a
Raspberry Pi Zero 2 W backend that operates as an MQTT broker (Mosquitto), stores time-series
data in InfluxDB, and visualizes historical measurements and events through Grafana
dashboards.
Meteorological information is obtained from the OpenWeatherMap Forecast API (3-hour
intervals), enabling the system to derive air temperature/humidity and rainfall forecasts (e.g.,
3h/12h/24h) and to prevent unnecessary irrigation when rain is expected. The firmware
implements rule-based control (thresholds) and safety mechanisms (maximum runtime, cooldown
periods, emergency stop), while the web interface exposes endpoints for real-time monitoring and
manual watering commands.
An earlier prototype included a local environmental sensor; however, the final version retrieves
air temperature and humidity from the weather API, simplifying the hardware while preserving the
system’s core functionality.


