View on GitHub

Smart Irrigation

A Home Assistant integration to optimize irrigation

Troubleshooting

Main page: Usage
Previous: Off-the-shelf controllers

In order to troubleshoot this integration or get help, it's important to check two sources:

Reading the diagnostic / storage file

The diagnostic / storage file is in a JSON format and lists your configuration settings, your zones, sensor groups and modules. It also lists the weather data collected. The weather data is stored in the metric system, so might not match up with what you see in the UI. Here's a list of units:

The reason we're using these units is consistency but also because the most-used module (PyETO) requires the data to be provided in these units (at least, that's what the limited documentation and code seem to imply). For those interested, here's the function that does this most of the conversion in code (with the exception of the absolute to relative conversion for pressure):

"The calculated duration looks wrong"

The diagnostic file shows the current state, not how it was reached. To find out why a particular day watered the way it did, switch on the calculation log in the general settings. From then on every calculation appends one line to config/smart_irrigation/calc_log.jsonl with the sensor records and their aggregation, the module intermediates (solar radiation and whether it was measured or estimated, net radiation, ET0) and the resulting bucket, duration and volume - so two days can simply be diffed against each other. The most recent records are also included in the diagnostics download (coordinates rounded, entity ids removed), which makes them easy to attach to an issue.

Main page: Usage
Previous: Off-the-shelf controllers