View on GitHub

Smart Irrigation

A maintained community fork of the Smart Irrigation Home Assistant integration — precise, evapotranspiration-based irrigation scheduling

Mechanical water distributors

Main page: Configuration
Previous: Experimental
Next: Usage

A mechanical water distributor splits one water supply into several outlets and steps to the next outlet each time the water is pulsed off and on again. There is no electronics and no wiring per outlet — the pressure surge itself advances an internal wheel. The best-known consumer example is the Gardena Water Distributor; the professional equivalent is an indexing valve such as K-Rain or FIMCO.

Smart Irrigation drives one inlet valve (or pump) and waters each of the distributor's outlets in turn, so a handful of zones can share a single supply line and a single controllable valve. Because the device has no position feedback — it cannot tell you which outlet is currently open — Smart Irrigation tracks the position itself, counting each advance. Getting that tracking right is what most of this page is about.

Experimental. This is a new feature that could not be fully hardware-tested before release. Enable it, but watch the first days of use closely and keep the device's manual override (its selector knob) within reach. It is opt-in and you can switch it back off at any time without losing data — see Enabling it.

Enabling it {#enabling-it}

The distributor is an opt-in feature and is off by default. Turn it on under Setup → Experimental → Mechanical water distributors (see Experimental). Enabling it reveals two things that stay hidden otherwise:

Turn the toggle back off and both disappear again; any distributors and zone assignments you already made are kept, not deleted.

Creating a distributor

On the Distributors tab, add a distributor, give it a name, and choose how its inlet is opened and closed:

Then set the pulse duration and its unit (seconds or minutes) — how long the inlet stays open to water an outlet before advancing. Give the distributor a supply with enough pressure and flow to actually step the wheel (see Troubleshooting).

Assigning zones to outlets

A distributor is only useful once zones are mapped onto its outlets. On a zone's settings, the Water distributor selector assigns that zone to this distributor. The distributor's outlets are numbered and arranged on the Distributors tab as a contiguous 1…n map; the distributor page flags any gaps in that mapping.

A zone assigned to a distributor is a member zone: it is watered through its outlet, so its own linked valve and its own schedule are managed by the distributor rather than run independently. A member zone therefore does not need its own valve entity.

An outlet with no mapped zone is not watered — the distributor passes it with a short skip pulse (just long enough to advance the wheel) and moves on to the next mapped outlet.

Commissioning & position tracking

Because the outlets are blind, Smart Irrigation infers the position instead of reading it. An advance is counted on the inlet valve's off-edge — every time the water is switched off, the internal wheel is assumed to have stepped by one. From a known starting outlet, counting off-edges keeps the tracked position aligned with the hardware.

To establish that known starting point and confirm the mapping, the Distributors tab gives you:

If the tracked position ever becomes ambiguous — for example after an unexpected pulse or an interrupted cycle — the distributor is marked uncertain and will not run automatically until you re-sync it (test run, set the current outlet, confirm).

Advance pause & skip pulses

Two timings control how the distributor steps:

Master valve / pump coordination

If you use a master valve or pump, Smart Irrigation switches it for the distributor's cycle. Two interactions are worth knowing:

Watching the inlet for foreign pulses

The inlet may sometimes be opened outside a Smart Irrigation run — a manual turn, a Home Assistant automation, or your own script. If the tracked position is to stay correct, Smart Irrigation needs to know how to react. The optional inlet-watch does this, with three watch modes:

Only pulses that Home Assistant can actually see are detected. A purely mechanical turn of the knob, with no entity change reported to Home Assistant, stays invisible — which is exactly why Set current outlet exists.

Optional flow sensor

If you assign the distributor's shared inlet flow meter, each outlet's delivered volume is measured and credited to the zone's bucket instead of the time-based estimate. And where the inlet can be stopped mid-pulse — a classic inlet valve, or a self-closing device with a stop script — an outlet can also stop early once it has delivered its target volume.

Caveat: this flow-metering path is rate-only and, unlike the rest of the feature, could not be hardware-tested at all. Treat it as the least-proven part of an already-experimental feature: enable it if you have a flow sensor and want to try it, but keep an eye on the delivered volumes at first.

Troubleshooting & tips

Main page: Configuration
Previous: Experimental
Next: Usage