Irrigation automations: schedules, weather and sensors in practice
How to set up intelligent irrigation automations: rain skip, soil moisture thresholds, frost protection and seasonal adjustment. Practical examples with Tuya Smart Life and Home Assistant.
Fixed timer vs real automation: what is the difference
A fixed timer runs the same programme regardless of rain, saturated soil or temperature. A real automation responds to the environment — it is not just about convenience: a system that waters in the rain wastes water and can cause root rot. For choosing the right controller see /blog/progettare-giardino-smart-sensori-automazione.
The automations covered here work on three levels: weather (forecasts and rain sensors), soil (moisture sensors) and seasonality (automatic winter reduction). Each intercepts a different type of waste and together they cover virtually every real-world scenario.
Basic automations: schedules and weekly programmes
Start with a schedule: set days of the week, start time and duration per zone. Always start before dawn (5:00–6:00) to reduce evaporation and have the lawn dry during use hours. Avoid evening irrigation that leaves the lawn wet overnight, encouraging fungal disease.
In Tuya Smart Life, programmes are set in the app under Scheduling. You can create multiple programmes per zone (e.g. a summer and an autumn schedule) and switch manually by season. For traditional timer and programmer setup see /blog/timer-irrigazione-come-scegliere-programmare.
Rain skip: physical sensor vs weather API
A physical rain sensor blocks irrigation during active rain. It works locally without internet and responds instantly. The limitation is that it reactivates as soon as rain stops, even if the soil is still saturated.
Weather API integration is more sophisticated: the controller checks forecasts hourly and skips the cycle if rain is expected in the next 6–12 hours. Orbit B-hyve and Rachio 3 do this natively. On Home Assistant you can use Open-Meteo integration (free, no API key) and write: IF rain_forecast_6h > 5mm THEN skip_morning_cycle.
Automations based on soil moisture sensors
The soil moisture sensor is the most valuable data point for smart irrigation. A typical operating threshold: water if volumetric moisture drops below 35%, hold if it exceeds 60%. These values vary by soil type and plant — a sandy lawn needs more frequent watering than a clay one. For how soil type affects timing see /blog/calcolare-tempi-irrigazione-tipo-suolo.
On Home Assistant: IF soil_moisture < 35% AND time > 05:00 AND time < 07:00 THEN open_valve_zone_1 FOR 15 minutes. On Tuya Smart Life, conditional automations based on sensors require Tuya-certified devices — always check compatibility before buying.
Frost protection and seasonal adjustment
Frost protection is a critical automation: if temperature drops below 3°C, block all cycles and do not restart until it rises above 5°C. Water freezing in pipes can crack fittings and sprinkler bodies. With an outdoor temperature sensor (under €20) you can create this automation on any smart platform.
Seasonal adjustment automatically reduces cycle duration as a percentage by month: July at 100%, September at 70%, October at 40%. Orbit B-hyve and Rachio 3 calculate it automatically based on estimated evapotranspiration. On Home Assistant it is implemented with a numeric helper that scales cycle duration according to a configurable calendar.
Notifications and consumption monitoring
Set up push notifications for: cycle started/finished, automatic rain skip, anomaly (zone not responding after 3 attempts), sensor battery low. These notifications turn the app from a remote control into an active monitoring panel.
For water consumption monitoring, install a flow meter on the main supply line: pulse-output models connect to Home Assistant and give you litres per zone per cycle. After a couple of seasons you will have enough data to optimise timings and spot leaks before they become serious problems. For the full smart system design see /blog/progettare-giardino-smart-sensori-automazione.
Recommended products
ECOWITT GW2000 gateway + weather sensors
Local weather station with WiFi gateway, rain gauge and temperature/humidity sensor. Native Home Assistant integration via Ecowitt protocol.
~€60-100
Amazon →Sonoff SNZB-02D Zigbee temperature sensor
Zigbee temperature and humidity sensor with LCD display. 2-year battery life. Ideal for frost detection to protect the irrigation system in winter.
~€12-20
Amazon →Shelly 1PM smart relay with power meter
WiFi relay with integrated power meter. Monitor pump consumption and automate switching. Compatible with Home Assistant.
~€15-25
Amazon →Raspberry Pi 5 + case for Home Assistant
Raspberry Pi 5 with ventilated case for Home Assistant OS. Self-hosted platform for advanced automations without cloud subscriptions.
~€60-90
Amazon →2-zone WiFi irrigation timer (Tuya)
Smart 2-zone WiFi irrigation programmer, compatible with Smart Life and Alexa. Hourly schedules, manual rain skip, remote app control. Budget alternative to European brands.
~€15-30
AliExpress →Zigbee temperature & humidity sensor (Tuya)
Compact Zigbee 3.0 temperature and humidity sensor. Up to 2-year battery life on CR2032. Compatible with Zigbee2MQTT and Home Assistant for frost-protection automations.
~€8-15
AliExpress →SprinklerMap Team — Irrigation technical guides
Software development, garden design workflows and technical review on realistic residential cases. Our story →