Smart garden: how to design an intelligent irrigation system
Complete guide to building a smart irrigation system: WiFi controllers, smart valves, rain sensors and soil moisture sensors. Zigbee and WiFi protocols, Tuya and Home Assistant integration.
What a smart garden is and what you gain
A smart irrigation system is not just a fancier timer: it collects data from the environment (weather, soil moisture, temperature) and automatically adapts watering to real conditions. The result is 20–40% water savings versus fixed-schedule timers, with a healthier garden because it is never under- or over-watered. For a water-saving overview see /blog/risparmio-idrico-irrigazione-domestica.
The practical difference: a classic timer waters Tuesday and Friday regardless of rain. A smart system skips Tuesday because the soil moisture sensor detected the ground is still saturated, and resumes Thursday only if the weather forecast shows no rain. These decisions happen automatically.
System architecture: how the pieces connect
The system has four layers. Sensors (rain, soil moisture, temperature) gather environmental data. The central controller or hub receives and processes sensor data. Solenoid valves open and close water for each zone on command. The phone app shows real-time status.
In its simplest form, all four layers are integrated into a single WiFi controller such as Orbit B-hyve or Rachio 3: buy one device, connect to home WiFi, install the app and you are operational in 30 minutes. The advanced version uses Home Assistant, which talks to any device and gives full customisation freedom.
WiFi vs Zigbee: which protocol to choose
WiFi devices connect directly to your home router: instant setup, no additional hub, but each device uses an IP address and consumes more power. Great for controllers and main valves where you have mains power anyway.
Zigbee is a low-power protocol designed for battery-operated sensors: a Zigbee soil moisture sensor runs for 2 years on a single AA battery. The catch is that it requires a coordinator (a USB dongle connected to a hub). If you already run Home Assistant, adding Zigbee garden sensors costs very little.
Controllers and smart valves
The controller is the brain of the system. Mid-range WiFi models (Orbit B-hyve, Hunter Hydrawise, Rachio 3) cost €60–150 and manage 6–16 zones. They update over-the-air, pull cloud weather forecasts and have polished apps. For existing systems they are direct replacements for the old analogue programmer — see /blog/centraline-smart-wifi-irrigazione.
Smart WiFi solenoid valves are an alternative when you want to make only certain zones smart without replacing the central programmer. They connect directly to the outdoor tap or supply line and are controlled by app.
Sensors to install
Wireless rain sensor: mandatory in any smart system. Mounted on a roof edge or post, it connects wirelessly to the controller and automatically suspends all cycles during rain. Entry-level models cost €20–40.
Soil moisture sensor: goes into the ground at 10–15 cm depth and measures volumetric water content. It does not just skip watering while it is raining (the rain sensor already does that) but also skips watering when the soil is still wet from rain three days ago. Zigbee models have excellent battery life and integrate natively with Home Assistant.
Apps and integrations: Tuya Smart Life and Home Assistant
Most smart garden devices on the market run on the Tuya ecosystem: devices appear in the Smart Life app, support basic automations and integrate with Alexa and Google Home. Best choice if you have no technical background — everything works out of the box.
Home Assistant is the self-hosted platform that integrates any device — Tuya, Zigbee, Z-Wave, WiFi. It gives unlimited automations, local historical data and no cloud dependency. Specific automations (rain skip via weather API, moisture thresholds, frost protection) are covered in detail in /blog/automazioni-irrigazione-smart-tuya-meteo.
Recommended products
Orbit B-hyve XR 8-zone WiFi controller
Smart controller for 8 zones with built-in WiFi, automatic rain skip via weather API, compatible with Alexa and Google Home.
~€70-110
Amazon →Hunter wireless rain sensor
Wireless rain sensor with receiver for connecting to the controller. Automatically suspends irrigation during and after rain.
~€25-45
Amazon →ECOWITT WH51 soil moisture sensor
Volumetric soil moisture sensor with wireless transmission. Up to 2-year battery life on 2 AA cells. Compatible with ECOWITT gateway and Home Assistant.
~€20-35
Amazon →Sonoff Zigbee Bridge Pro
Zigbee 3.0 gateway compatible with Home Assistant via Zigbee2MQTT. Handles up to 128 Zigbee devices. USB-powered, no cloud subscription.
~€18-28
Amazon →4-zone WiFi irrigation controller (Tuya)
Smart 4-zone WiFi controller compatible with Smart Life, Alexa and Google Home. Weekly scheduling, automatic rain skip, native Tuya integration. Great budget alternative to US brands.
~€25-45
AliExpress →Zigbee soil moisture sensor
Zigbee volumetric soil moisture probe with percentage output. Installs 10–15 cm deep and measures actual soil water content. 1–2 year battery life, Home Assistant compatible.
~€12-22
AliExpress →SprinklerMap Team — Irrigation technical guides
Software development, garden design workflows and technical review on realistic residential cases. Our story →