Home Assistant automation blueprint for intelligent garden irrigation from 1 to 8 sections.
Prepared by Smart Service.
Manual import URL:
https://github.com/SmartServicePL/smart_irrigation_automation/blob/main/blueprints/automation/smart_irrigation_automation/smart_irrigation.yaml
The blueprint calculates irrigation need and runtime independently for every section. It accumulates a modeled water deficit from plant demand, soil, temperature, sunlight, rain and optional soil moisture. A section starts only after its deficit reaches the calculated dose threshold.
The target cycles-per-week setting defines the preferred depth of one irrigation cycle. It does not assign weekdays and never forces watering merely because a scheduled day arrived. With Rain Bird RC2, the last confirmed completion time is persisted by the integration and used by the next decision.
Supported section count is configurable from 1 to 8. Sections above the selected count stay in the blueprint configuration but are ignored by the automation.
Rain Bird is the primary target, with detailed profiles for 5000/3500 rotors, 1800 sprays, R-VAN rotary nozzles and XF dripline. Generic Rain Bird, Hunter and custom mm/h profiles are still available.
For native Rain Bird RC2 switch entities, the blueprint automatically uses
rainbird_rc2.start_zone and passes the calculated runtime in minutes. Other
switch integrations continue to use standard switch.turn_on.
The blueprint waits for the valve or switch to confirm on/open before reporting that watering started. A missing start confirmation or an early controller stop is reported as an irrigation failure instead of a completed section.
Optional logging writes the deficit, start threshold, watering decision and confirmed duration to Home Assistant Logbook and persistent notifications.
Documentation:
Blueprint path:
blueprints/automation/smart_irrigation_automation/smart_irrigation.yaml
- Home Assistant 2025.1.0 or newer.
- One
valveorswitchentity per irrigation section. - A
weatherentity that supports daily forecast. - Optional local weather entity, rain sensor, rain amount sensor, temperature sensor, wind source, UV/sunlight source and soil moisture sensor.
- Optional Logbook and persistent notification logging for irrigation diagnostics.
Do not publish Home Assistant storage files, access tokens, exact home address, raw API responses or screenshots showing private garden details.