Home Assistant guides

Skip irrigation after rain with Home Assistant

Use rain measured at your own weather station to skip a scheduled sprinkler cycle in Home Assistant.

Choose Find my weather to explore the browser dashboard with just a town or postcode.

StormDesk demo dashboard showing a rain gauge and local forecast.
StormDesk 4.13.1 showing recorded demo weather.

Connect the day rain sensor

Your station needs a rain gauge, and StormDesk needs to be running on a host that can reach your Home Assistant MQTT broker. Add the broker to Home Assistant’s MQTT integration, then enable StormDesk’s MQTT publishing and use Test both. Find day rain under the StormDesk device in Home Assistant and check that it has a number and a unit.

On Home Assistant OS, use the StormDesk add-on. You can also run StormDesk on a desktop or Docker host.

Import and set the schedule

  1. In Home Assistant, open Settings → Automations & scenes → Blueprints → Import blueprint and paste this URL
    https://raw.githubusercontent.com/d4vid87/stormdesk/main/blueprints/automation/stormdesk/daily-rain-skip-irrigation.yaml
  2. Create an automation from the blueprint. Select the Day rain sensor, choose a time under Water at, and set the rain amount. Start with 5 mm (about 0.20 in) if that makes sense for your soil and schedule. Enter the number in the unit the Home Assistant entity uses.
  3. Under Watering, select your existing irrigation script or timed valve action. Under When it is skipped, optionally add a notification explaining why the sprinkler stayed off.

Check both branches

Start with a notification in place of the valve action. Set the next run a few minutes ahead and compare the Home Assistant automation trace with the station’s day rain total. The blueprint skips only when the reading is above the threshold. An equal, unknown, or unavailable reading takes the watering branch. Decide whether you want a separate availability condition before putting a valve on that branch.

The blueprint checks the current day’s accumulated rain at the scheduled time. If the station resets at midnight, a 6 a.m. run can miss yesterday evening’s rain. Check your station’s reset behavior and choose the schedule accordingly.

More Home Assistant guides