Smart Irrigation – Only When Watering Is Really Needed

Smart irrigation control with Domoticz

Watering your garden does not have to be wasteful. An intelligent irrigation controller helps prevent unnecessary water consumption while ensuring that plants receive water when they need it.

Developed as part of the Szélessáv Smart Home project, the open-source Domoticz Automatic Watering System (AWS_OA) combines scheduled irrigation with soil moisture measurements and weather data.

The system uses precipitation data from Open-Meteo, taking into account rainfall during the previous 24 hours as well as the expected precipitation over the next 24 hours. This allows irrigation to adapt to actual conditions instead of relying solely on a fixed schedule.

Operation Based on Real Data

The irrigation controller can use several types of information:

The automatic controller determines whether irrigation is necessary based on the configured conditions. If the soil is sufficiently moist or the precipitation reaches the specified threshold, the current watering cycle can be skipped.

Open-Meteo Weather Data

The irrigation controller retrieves precipitation data using the freely accessible Open-Meteo weather API.

Based on the geographical coordinates configured in Domoticz, the system retrieves hourly precipitation data for the selected location and calculates:

Independent precipitation thresholds can be configured for both periods, ranging from 1 to 50 mm. Each precipitation check can also be disabled separately.

Weather data is updated every 30 minutes. If valid precipitation data is unavailable, automatic irrigation is disabled as a safety precaution whenever precipitation monitoring is enabled.

Flexible Automatic Watering Cycles

Irrigation schedules can be configured directly through the Domoticz user interface:

For example, with four watering cycles per day and a starting time of 6:00 AM, the controller can start irrigation every six hours, provided that the automatic operating conditions are satisfied.

Soil Moisture-Based Control

The system can use measurements from one or more soil moisture sensors integrated into Domoticz.

When multiple sensors are configured, the controller calculates the average of their measured moisture values and compares the result with the configured threshold.

Using a soil moisture sensor is optional. The irrigation controller can also operate without one.

Multiple Operating Options

Depending on the available sensors and configuration, the irrigation controller supports several operating methods:

Manual and Automatic Control

Three control states are available through the Domoticz user interface:

Manual activation overrides the automatic conditions. Irrigation may remain active until it is manually switched off or the controller is returned to automatic mode.

Multiple Irrigation Valves and Sensors

Multiple irrigation valves and soil moisture sensors can be configured by entering their Domoticz device identifiers (IDX) in the plugin settings.

All configured irrigation valves operate under shared control, making this solution particularly suitable for irrigation circuits that should be activated simultaneously.

Easy Expansion with Affordable Devices

Zigbee technology is a practical choice for this system, offering a wide selection of affordable soil moisture sensors, switches and irrigation valves.

However, the controller is not limited to Zigbee technology. Other compatible switching devices and sensors integrated into Domoticz can also be used.

Zigbee2Domoticz device compatibility list: https://zigbee.blakadder.com/z4d.html

Some devices not included in the compatibility list may also work, although their compatibility cannot be guaranteed.

For example, we have been using the following Zigbee soil moisture sensor in our own system without problems for more than a year: Zigbee Wireless Soil Moisture Meter

Open-Source, Domoticz-Based Solution

The AWS_OA irrigation controller is part of the Szélessáv Smart Home project. Its control logic runs within the user's own Domoticz system and does not require a proprietary cloud-connected irrigation controller.

An internet connection is required to retrieve weather information. However, with suitable local integration, switches and sensors can be controlled through the user's own local network.

Less Water, Lower Costs, Healthier Gardens

The purpose of intelligent irrigation is to prevent unnecessary watering cycles, reduce water consumption and support the proper water supply of plants.

The system is particularly useful for users who want to extend their existing Domoticz smart home installation with automatic, weather-dependent irrigation control.

A free, open-source solution built around the user's own devices and configuration.

 

Installation, Setup, and Configuration

Setup, features

Installation