🌱 Smart Garden Irrigation V1.0 beta (Engl. Version)

:seedling: Smart Garden Irrigation V1.0 beta :globe_with_meridians: English version

:droplet: Automatic and manual control of your garden irrigation — all in one blueprint!

:warning: Note:
This blueprint is currently in beta, as the full range of features has not yet been completely tested.
If you encounter any issues or have suggestions for improvement, feel free to reach out!
I’m happy to help with troubleshooting and will do my best to implement your feedback in future versions.

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

:globe_with_meridians: English version


:sparkles: Features

  • :shower: Zone control: Supports lawn, raised bed, vegetables & shrubs — individually configurable.
  • :clock3: Flexible start time:
    • Fixed time (manual input)
    • Night (02:00 AM)
    • Sunset/sunrise (with offset)
    • Manual start via input_select
  • :robot: Parallel or sequential watering: Choose whether all zones run at the same time or one after the other.
  • :cloud_with_rain: Rain and soil moisture check: Automatically cancels watering if it’s raining or soil moisture is sufficient.
  • :sweat_drops: Select water source: Mains water or rainwater (with minimum level check).
  • :electric_plug: Pump control: Optional with start delay for safe operation.
  • :bar_chart: Water consumption: Optional calculation of estimated water consumption in liters.
  • :telephone_receiver: Notifications: Get notified if watering is aborted (e.g., rain, low tank level) or after successful completion.

:gear: Inputs

  • :white_check_mark: Zones: Lawn :ear_of_rice:, Raised bed :potted_plant:, Vegetables :carrot:, Shrubs :deciduous_tree:
  • :white_check_mark: Manual control: Input selects + individual duration per zone
  • :white_check_mark: Sensors: Soil moisture, rain amount, current rain (binary_sensor), water tank level
  • :white_check_mark: Water source: Rainwater or mains water
  • :white_check_mark: Pump: Optional, with delay
  • :white_check_mark: Start time: Flexible options (fixed time, night, sunset/sunrise + offset)
  • :white_check_mark: Water usage: Optional consumption calculation

:key: Highlights

  • :star: Universal — suitable for simple or complex gardens
  • :star: All-in-one — no separate automation needed per zone
  • :star: Manual or automatic — depending on your needs

:pushpin: Requirements

  • Switches/valves per zone (e.g. ESPHome, Zigbee, WiFi)
  • Optional: sensors for rain, soil moisture, water level
  • Optional: controllable pump via Home Assistant

:memo: Notes

  • :arrow_right: All parameters configurable via UI.
  • :arrow_right: Defaults (e.g. duration, thresholds) can be adjusted anytime.
  • :arrow_right: Notifications sent to notify.notify by default — can be customized in the blueprint.

:white_check_mark: Requirements for the Blueprint

:rocket: Smart Garden Irrigation with Flexible Start Time

  1. :house: Home Assistant Installation
    You need a working Home Assistant instance (e.g., on a Raspberry Pi, NAS, or using Home Assistant OS).

  2. :hammer_and_wrench: Access to YAML Editor
    Settings → Automations & Scenes → Blueprints → Import / Upload

  3. :control_knobs: Input Selects for Manual Control
    Example:

input_select:
  lawn_control:
    name: Lawn Control
    options:
      - "Stop"
      - "Start"

  flowerbed_control:
    name: Flowerbed Control
    options:
      - "Stop"
      - "Start"

Create more zones like vegetable_garden_control, etc., using the same structure.

:seedling: Sensors (Optional but Recommended)

Feature Required Entity Type
Soil Moisture sensor.soil_moisture_zone1 Sensor (percentage)
Rain Detection binary_sensor.rain_detected Binary sensor (on/off)
Water Level Monitoring sensor.water_level Sensor (percentage/L)
Pump Control switch.irrigation_pump Switch
Time-Based Control Automation with time triggers -

:toolbox: Manual Controls (Optional)
You can create buttons or a Lovelace dashboard interface for manual zone control.

:gear: Automations & Scenes
Make sure to assign the correct entities (switches, sensors, input selects).

:globe_with_meridians: Internet Connection (if using external services)
For external weather data (e.g. OpenWeatherMap), you’ll need integration + API.


:herb: Guide: Smart Garden Irrigation with Flexible Start Time

:clipboard: Table of Contents

  • Import the Blueprint
  • Create Input Selects (for Zone Control)
  • Set Up Sensors & Devices
  • Create Automation Using the Blueprint
  • Lovelace Dashboard (Optional)
  • Function Test & Troubleshooting

1. :inbox_tray: Import the Blueprint

  • Open Home Assistant
  • Navigate to: Settings → Automations & Scenes → Blueprints
  • Click “Import Blueprint”
  • Paste the blueprint URL or YAML code
  • Click “Import”

:arrow_right: The blueprint will now be available when creating a new automation.


2. :control_knobs: Create Input Selects (for Zone Control)

input_select:
  lawn_control:
    name: Lawn Control
    options:
      - "Stop"
      - "Start"

  flowerbed_control:
    name: Flowerbed Control
    options:
      - "Stop"
      - "Start"

:pushpin: Create one input_select per irrigation zone.
:arrow_right: Restart Home Assistant if you added this via configuration.yaml.


3. :seedling: Set Up Sensors & Devices

Feature Entity Type Example
Soil Moisture sensor.soil_moisture_* Sensor (%) sensor.soil_moisture_zone1
Rain Detection binary_sensor.rain_detected Binary sensor (on/off) e.g., from weather integration
Water Level sensor.water_level Sensor (% or liters) Sensor in a rainwater tank
Pump Control switch.irrigation_pump Switch Smart plug or relay control

:arrow_right: Set up your devices/sensors via integrations or ESPHome.


4. :gear: Create Automation Using the Blueprint

  • Go to: Settings → Automations & Scenes → Add Automation
  • Select “Use Blueprint”
  • Choose: Smart Garden Irrigation with Flexible Start Time
  • Fill out the fields:
    • Which input_select zones to control
    • Optional: rain, moisture, and water level sensors
    • Enable automatic start?
    • Set watering times and durations
  • Click Save

5. :bar_chart: Lovelace Dashboard (Optional)

type: entities
title: Garden Irrigation
entities:
  - entity: input_select.lawn_control
  - entity: input_select.flowerbed_control
  - entity: sensor.soil_moisture_zone1
  - entity: switch.irrigation_pump

:arrow_right: You can also create buttons or use other custom cards.


6. :white_check_mark: Function Test & Troubleshooting

:mag: Testing

  • Set an input_select to “Start” → the pump/valve should activate.
  • Check sensor readings → irrigation pauses if rain/moisture detected.
  • Monitor via Logs or Developer Tools.

:hammer_and_wrench: Common Issues

  • Incorrect entity names → check Developer Tools → States
  • Missing/unassigned input_select
  • Automation not enabled or configured incorrectly

:tada: Done!
Your smart garden irrigation system is now ready. You can expand it anytime (e.g. with weather APIs, notifications, more zones).