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

I changed the configuration in that way that it updates the weather data every 15 mins and calculates the bucket once a day at 6 pm automatically. However the bucket as well as the irrigation duration doesn’t change between two calculations (see attached screenshot). This brings the risk that my raised bed gets too dry over the day in case of big heat, since my automation misses the point when the irrigation duration would exceed my defined limit.

Are there any plans on your side to add a “live mode” to your integration, where the bucket value is being updated in small time steps? This would bring a huge benefit in my case, but also for other users as it would allow more flexible automations.

Hello all - I am also having the issue where watering has been reduced to almost nothing per day for about a week now. Has been working perfectly for months and I haven’t made any changes to my setup.

Looks like something with the integration might have changed recently (around 6 April)?

Weather has been warm and sunny for the last week so I don’t understand. I have looked at all of my weather sensors and they are all working correctly.

See chart below.

Screenshot 2024-04-15 at 7.08.13 AM

You can do that already just make an automation that updates and calculates as you want

We have fixed conversion bugs recently. Please check the values your sensors provide and the logs for the integration make sense. If not, please open a bug on github

But a few days before you told me that that’s not the intention how the integration should be set up?

it’s not the original intention of the integration yes, but technically there is nothing stopping you from it if you are ready to just write automations using the various services.

1 Like

Hi @jeroenterheerdt , probally I’m not smart enough, but what do I need to define at the Throughput of a zone? Is it the throughput of the the pump, or do I need to use the outcome of my rainbird pop-up? I measure the outcome which is 26mm/hr, means 0,43l/min? I would say, the second option is the right one?

You should measure the output of all of your sprinklers (rainbird popups) in each zone. That’s the total throughput per minute for that zone.

1 Like

Thanks!

Btw, I created a german video about your integration! :slight_smile: https://youtu.be/1AYLuIs7_Pw

And I got a comment / question, were I didn’t find an answer jet. There is a sensor called humidity. Is this the soil mosiure sensor or the air humidity? I thought it is the one for the soil - but if it is not, can we add this sensor to the calculation? :slight_smile:

Thanks for the video, Ill check it out! It’s air moisture, not soil. Can’t add soil moisture as it’s not an parameter into the typical evaporation models used.

Hi @jeroenterheerdt - as always thanks for the work on this integration.

I still seem to have an issue with watering being much less than i expect (although I have had lots of rain lately).

My rain sensor data looks like this - see below. So it resets daily and records ‘increasing’ amount in mm during the day. What is the correct way to set this up in my sensor group. Should I use ‘last’ or ‘max’?

Also keen to see if I can see the data that is being used for the calculation(s) generally. Can you explain how I can see / view this?

Last or max, in your case it’s the same. You can run calculations manually in the panel en see the information per zone. Just press the calculate button (calculator) for a zone.

Hello, I need some help. I want to stop the irrigation when it is predicted to rain in the next 24 hours. For this information, I am using OpenWeatherMap. I also want to reset the bucket. I am new to Home Assistant, so please excuse my lack of knowledge. Here is my current automation:

alias: Rear Irrigation
description: ""
trigger:
  - platform: time
    at: "08:00:00"
condition:
  - condition: numeric_state
    entity_id: sensor.smart_irrigation_garden_rear
    above: 0
action:
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.garden_pump
  - delay:
      seconds: 10
  - service: switch.turn_on
    data: {}
    target:
      entity_id: switch.garden_irrigation_rear
  - delay:
      seconds: "{{ states('sensor.smart_irrigation_garden_rear') }}"
    alias: then wait the entire irrigation duration
  - service: switch.turn_off
    data: {}
    target:
      entity_id:
        - switch.garden_irrigation_rear
        - switch.garden_pump
  - service: smart_irrigation.reset_bucket
    data: {}
    target:
      entity_id: sensor.smart_irrigation_garden_rear
mode: single

Can anyone help me integrate the weather condition to stop the irrigation if rain is forecasted? Thanks in advance!

I would add a condition template that tests rain forecast. What is rain forecast entity?

I just finished reading through this particular chain of posts and would have a few questions to clarify, if you don’t mind:

  1. Do I understand correctly that I can run the Smart Irrigation: calculate_all_zones service periodically in case I would like to get more frequent updates on the runtime?
  2. I see in the description that this essentially deletes the weather data collected up until that point - is there any risk involved in this?
  3. And if I go with setting up an automation to call this service, let’s say, hourly, how should I modify the Automatic weather data pruning option on the General config page? (I assume in this case it should be turned off?)
  4. Lastly, if an hourly interval is set for recalculating the zones, am I correct in assuming that this could mess up the runtimes in case the recalculation happens while the zone is active?

p.s.: this is an amazing piece of wok, thank you very much for putting it together!

Just came across this tool a couple of weeks ago and trying to set up for my lawn sprinkler system. I seem to have followed all the steps, and before I implement any automation to actually control my sprinklers, I am watching the bucket calculation and calculated durations to see if things make sense. I am using openweathermap and the default sensor group. And for the last 3 days here in Texas, it has been raining almost every day. But my bucket size calculation keeps on decreasing. The only change I have tried thus far is to change the temperature, humidity sensors to the ones provided by my weather entity, but that seems to have no significant impact. Where am I going wrong? As I understand the calculations should use 3 days of forecast to do the calculations?

Hi, is use a scheduler to irrigate more than once a day.
image
That means I can set different time windows during the day and if it is hot an the needed water is high the automation stops at the end of the first window and waits for the next for rest.

1 Like

bug or feature??
I’m not sure if I have a flaw in my setup or this is a bug.
I use two zones and two sensor groups. Both sensor groups are almost the same except one is having a fixed precipitation value of 0. This group I use for the Terrasse zone because there is no rain. I expected that the bucket will stay in the minus that way, because the only way the pots there get water is by irrigation. But in fact the buckets reacts similarly as the zone with precipitation from openweather.

happy to help, but please open an issue on github so you are instructed to generate a diagnostic file.

can you open an issue on github and generate a diag file so we can help?