Smart Irrigation - save water by precisely watering your lawn/garden

Nothing at all in the logs. I installed v2024.7.6 and now everything is blank

I am getting the error “weather_service_api_key” however I am not using a weather service. I am using my own things within HA. Any idea why this error?

Also if i reconfigure, and dont select weather service, I get this error.
image

Is there a guide that shows whether we should use the MIN, MAX, AVERAGE, etc of each sensor? This is what I currently have but I don’t feel like it’s calculating correctly. These sensors are all from my Tempest weather station

I’m updating sensors every 10 minutes

It looks good to me. Just make sure that the precipitation is actually the total not the current. The readme contains a lot of details.

Without a config file I can’t help solve this issue.

Which version are you on?

Everything is blank? What do you mean?

Great.
Useful integration

I have a question if it possible to.
Convert seconds from the zone to minutes for using in the other applications.
Thank you again.

2024.7.8 is the version i am on

Not in the integration but for sure using a template helper.

Any chance you can post your config on github? Did you clear your browser cache?

I came from v2024.6.1. that make any difference?

I am fixed up. I deleted integration. Went to reinstall and cross reference stuff. And it worked.

I’m very new to home assistant and I don’t know how to create a template sensor.

something like this? Convert seconds to days, hours, minutes - #8 by fanaticDavid

that’s weird, but thanks for letting me know.


{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.7.3",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.4",
    "docker": true,
    "arch": "aarch64",
    "timezone": "America/New_York",
    "os_name": "Linux",
    "os_version": "6.6.29-haos",
    "supervisor": "2024.06.2",
    "host_os": "Home Assistant OS 12.3",
    "docker_version": "25.0.5",
    "chassis": "embedded",
    "run_as_root": true
  },
  "custom_components": {
    "nws_alerts": {
      "documentation": "https://github.com/finity69x2/nws_alerts/",
      "version": "4.1",
      "requirements": []
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    },
    "smart_irrigation": {
      "documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",
      "version": "v2024.7.8",
      "requirements": []
    },
    "lovelace_gen": {
      "documentation": "",
      "version": "0.1.2",
      "requirements": [
        "jinja2"
      ]
    },
    "flair": {
      "documentation": "https://github.com/RobertD502/home-assistant-flair/blob/05b8e0b7e1eb9601b39a350e7848f7910c275208/README.md",
      "version": "0.2.1",
      "requirements": [
        "flairaio==0.2.0"
      ]
    },
    "adaptive_lighting": {
      "documentation": "https://github.com/basnijholt/adaptive-lighting#readme",
      "version": "1.22.0",
      "requirements": [
        "ulid-transform"
      ]
    },
    "ocpp": {
      "documentation": "https://github.com/lbbrhzn/ocpp/blob/f99a39a13b4bff8d979565d57b169129fff62393/README.md",
      "version": "v0.5.8",
      "requirements": [
        "ocpp>=1.0.0",
        "websockets>=12.0"
      ]
    },
    "ui_lovelace_minimalist": {
      "documentation": "https://ui-lovelace-minimalist.github.io/UI/",
      "version": "v1.3.10",
      "requirements": [
        "aiofiles==0.8.0",
        "aiogithubapi>=22.2.4"
      ]
    },
    "openweathermaphistory": {
      "documentation": "https://github.com/petergridge/openweathermaphistory",
      "version": "2.0.12",
      "requirements": [
        "pyowm==3.2.0"
      ]
    },
    "reolink_discovery": {
      "documentation": "https://github.com/xannor/ha_reolink_discovery",
      "version": "2.0.0",
      "requirements": []
    },
    "cync_lights": {
      "documentation": "https://github.com/nikshriv/cync_lights",
      "version": "1.0.1",
      "requirements": []
    },
    "tapo": {
      "documentation": "https://github.com/petretiandrea/home-assistant-tapo-p100",
      "version": "3.1.2",
      "requirements": [
        "plugp100==5.1.3"
      ]
    },
    "miele": {
      "documentation": "https://github.com/astrandb/miele",
      "version": "2024.5.0",
      "requirements": [
        "flatdict==4.0.1",
        "pymiele==0.1.7"
      ]
    }
  },
  "integration_manifest": {
    "domain": "smart_irrigation",
    "name": "Smart Irrigation",
    "codeowners": [
      "jeroenterheerdt"
    ],
    "config_flow": true,
    "dependencies": [
      "http",
      "panel_custom"
    ],
    "documentation": "https://github.com/jeroenterheerdt/HASmartIrrigation",
    "iot_class": "local_push",
    "issue_tracker": "https://github.com/jeroenterheerdt/HASmartIrrigation/issues",
    "requirements": [],
    "version": "v2024.7.6",
    "is_built_in": false
  },
  "setup_times": {},
  "data": {
    "use_weather_service": true,
    "weather_service": "Open Weather Map",
    "weather_service_api_key": "[redacted]",
    "weather_service_api_version": null,
    "store": {
      "config": {
        "calctime": "22:01",
        "units": "imperial",
        "use_weather_service": true,
        "weather_service": "Open Weather Map",
        "autocalcenabled": true,
        "autoupdateenabled": true,
        "autoupdateschedule": "hours",
        "autoupdatedelay": "0",
        "autoupdateinterval": "1",
        "autoclearenabled": true,
        "cleardatatime": "23:59",
        "starteventfiredtoday": false,
        "continuousupdates": true
      },
      "mappings": [
        {
          "id": 1,
          "name": "Default",
          "mappings": {
            "Dewpoint": {
              "source": "weather_service"
            },
            "Evapotranspiration": {
              "source": "none"
            },
            "Humidity": {
              "source": "weather_service"
            },
            "Precipitation": {
              "source": "weather_service"
            },
            "Pressure": {
              "source": "weather_service"
            },
            "Solar Radiation": {
              "source": "none"
            },
            "Temperature": {
              "source": "weather_service"
            },
            "Windspeed": {
              "source": "weather_service"
            }
          },
          "data": [],
          "data_last_updated": null
        }
      ],
      "modules": [
        {
          "id": 0,
          "name": "PyETO",
          "description": "Calculate duration based on the FAO56 calculation from the PyETO library.",
          "config": {
            "solrad_behavior": "3",
            "forecast_days": "1"
          },
          "schema": [
            {
              "type": "boolean",
              "name": "coastal",
              "optional": true,
              "default": false
            },
            {
              "type": "select",
              "options": [
                [
                  "1",
                  "EstimateFromTemp"
                ],
                [
                  "2",
                  "EstimateFromSunHours"
                ],
                [
                  "3",
                  "DontEstimate"
                ],
                [
                  "4",
                  "EstimateFromSunHoursAndTemperature"
                ]
              ],
              "name": "solrad_behavior",
              "required": true,
              "default": "1"
            },
            {
              "type": "integer",
              "name": "forecast_days",
              "optional": true,
              "default": 0
            }
          ]
        }
      ],
      "zones": [
        {
          "id": 1,
          "name": "Back yard",
          "size": 1500.0,
          "throughput": 5.5,
          "state": "automatic",
          "bucket": 0.0,
          "old_bucket": 0.0,
          "delta": 0.0,
          "duration": 0,
          "module": 0,
          "multiplier": 1.0,
          "explanation": "Note: this explanation uses '.' as decimal separator, shows rounded and metric values. Module returned Evapotranspiration deficiency of 0.0. Bucket was 0.0.<br/>maximum bucket size is 1270.0.New bucket value is [old_bucket]+[delta]=0.0+0.0=0.0.<br/>Since bucket >= 0, no irrigation is necessary and duration is set to 0",
          "mapping": 1,
          "lead_time": 0.0,
          "maximum_duration": 3600.0,
          "maximum_bucket": 50,
          "last_calculated": "2024-07-28T22:01:00.458831",
          "last_updated": "2024-07-28T20:53:42.733812",
          "number_of_data_points": 0
        }
      ]
    }
  }
}

I recently deleted and set this integration up again, except this time using pirate weather API instead of OWM. I was expecting improved accuracy for rain forecast, etc. just based on my experience with pirate weather vs. OWM. However, that doesn’t seem to be the case. For majority of last week, it was raining heavily in Houston area (where I live), and so I had completely disabled irrigation. However, the integration kept decreasing the bucket. This makes me think something is wrong in my config.
Is it possible for someone to verify my configs are okay? How can I generate a log of my configs for this integration?

Exactly the same here. Heavy raining (more than 15mm!) went unnoticed increasing the irrigation time

@raul811 I converted my runtimes from seconds to minutes using this template sensor. Put this in your configuration file. You’ll need to duplicate this for each zone.

  #Irrigation Adjusted Times CONVERTED TO MINUTES FOR LOVELACE CARD- multiplies the calculated time via Smart Irrigation by the adjusted percentage using the input_number
sensor:
  - platform: template
    sensors:
      adjusted_time_zone1_minutes:
        unit_of_measurement: "Minutes"
        value_template: >
          {{ (states('sensor.smart_irrigation_zone_1') | float(0) *
          (states('input_number.irrigation_duration_adjustment') | float(0) / 100) / 60) | round(1) }}
        friendly_name: "Adjusted Irrigation Time_Zone 1"

In which file are the Smart Irrigation settings saved?
I have configured my Smart Irrigation so that the add-on no longer starts.