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

the Smart Irrigation component just looks at the location you configured in Home Assistant.

Thanks for the quick reply. I have the location in HA set correctly.

Are the attributes in the hourly adjusted run time updated based on a future forecast? We have rain coming today in about an hour. I wonder if the system is calculating the expected rain. My netto_precip is now at 0.24 and still no rain, but itā€™s coming.

it looks at the hourly forecast on every update, so if open weather API is kind of accurate it should pick the rain up. Thatā€™s why the docs says that open weather is not the best way to get accurate results.

Then I donā€™t understand what is going on with my install. The first few days it seemed to be working but now I am seeing

hourly:

daily:
rain: 0.01
snow: 0.0
precipitation: 0.01
evapotranspiration: 0.2
netto_precipitation: -0.19
water_budget: 91.06
adjusted_run_time_minutes: 59.6

water_budget: 0
bucket: 0.11
lead_time: 0
maximum_duration: -1
adjusted_run_time_minutes: 0

I expect to see some runtime in the daily.

I believe Iā€™m having same issue with daily now being updated. Not sure what would cause that. Any info I can post that would be helpful?

I think that mine doesnā€™t appear to reset the daily adjusted run time to zero before adding adding the accumulated evaptransiration for the day which can result in very negative or very large bucket numbers over time.

I think there might be a setting to manually reset the bucket daily.

According to docs, When automation is called. Once it is complete it will call " ```
smart_irrigation.reset_bucket

Yeah, I think perhaps Iā€™ve somehow deactivated that by accident somewhere.

i believe you have to have it added to your automation. It doesnt know when/how to run. its just told when

:man_facepalming:

Iā€™ve been looking at this wrong for agesā€¦ thanks!

1 Like

Have we found a fix on why hourly wont go into daily? @jeroenterheerdt

Here is logs:

2022-06-03 12:20:00 INFO (SyncWorker_7) [custom_components.smart_irrigation.sensor] _bucket_updated, received bucket value 3.0999195809199493 from event_dict: {'event_type': 'Front_Lawn_bucketUpd', 'data': {'bucket': 3.0999195809199493}, 'origin': 'LOCAL', 'time_fired': '2022-06-03T17:20:00.864770+00:00', 'context': {'id': '01812a94c1608364cbba137b38df383e', 'parent_id': None, 'user_id': None}}

2022-06-03 12:20:00 INFO (SyncWorker_7) [custom_components.smart_irrigation.sensor] updated_adjusted_run_time_from_event called.

2022-06-03 12:20:00 INFO (SyncWorker_7) [custom_components.smart_irrigation.sensor] Calculated water_budget = 0 and adjusted_run_time: 0 for type: Daily Adjusted Run Time. Bucket value was: 3.0999195809199493, and base schedule index is: 748.0519185980178, force mode is: False, force mode duration is: 0, lead_time is: 0, maximum_duration: -1, change percentage: 1.0, type: Daily Adjusted Run Time

2022-06-03 12:20:00 INFO (SyncWorker_7) [custom_components.smart_irrigation.sensor] updated_adjusted_run_time_from_event: got result: {'wb': 0, 'art': 0}. Setting attributes of daily adjusted run time (including result['wb']) and state == result['art']

2022-06-03 12:20:00 INFO (SyncWorker_4) [custom_components.smart_irrigation.sensor] _bucket_updated, received bucket value 3.0999195809199493 from event_dict: {'event_type': 'Front_Lawn_bucketUpd', 'data': {'bucket': 3.0999195809199493}, 'origin': 'LOCAL', 'time_fired': '2022-06-03T17:20:00.864770+00:00', 'context': {'id': '01812a94c1608364cbba137b38df383e', 'parent_id': None, 'user_id': None}}

2022-06-03 12:20:00 INFO (SyncWorker_4) [custom_components.smart_irrigation.sensor] updated_adjusted_run_time_from_event called.

2022-06-03 12:20:00 INFO (SyncWorker_4) [custom_components.smart_irrigation.sensor] Calculated water_budget = 0 and adjusted_run_time: 0 for type: Daily Adjusted Run Time. Bucket value was: 3.0999195809199493, and base schedule index is: 748.0519185980178, force mode is: False, force mode duration is: 0, lead_time is: 0, maximum_duration: -1, change percentage: 1.0, type: Daily Adjusted Run Time

2022-06-03 12:20:00 INFO (SyncWorker_4) [custom_components.smart_irrigation.sensor] updated_adjusted_run_time_from_event: got result: {'wb': 0, 'art': 0}. Setting attributes of daily adjusted run time (including result['wb']) and state == result['art']

2022-06-03 12:20:00 INFO (SyncWorker_4) [custom_components.smart_irrigation.sensor] sun_rise: 2022-06-04 10:37:15.927879+00:00

2022-06-03 12:20:00 INFO (SyncWorker_4) [custom_components.smart_irrigation.sensor] Front_Lawn_start will fire at 2022-06-04 10:37:15.927879+00:00

2022-06-03 12:20:00 INFO (SyncWorker_7) [custom_components.smart_irrigation.sensor] sun_rise: 2022-06-04 10:37:15.927879+00:00

2022-06-03 12:20:00 INFO (SyncWorker_7) [custom_components.smart_irrigation.sensor] Front_Lawn_start will fire at 2022-06-04 10:37:15.927879+00:00```

Hi @jeroenterheerdt, Iā€™m trying to update my settings and happy to delve into the configuration files but I canā€™t see what Iā€™m looking to update in the device registry? I want to change the area and flow rate from what I setup. Iā€™m happy that I can just reinstall but that seems a clunky way to achieve this.

Can you tell me what Iā€™m looking to update in the device registry for these values? I canā€™t see the values I initially set.

Thanks,

James

can you do a search in the log for: ā€œAuto refresh is enabled.ā€? this should show once after a reboot. Please see if that is showing up and what time is included in the log as well. If it doesnā€™t show up then the auto refresh for daily never gets scheduled and we may have gotten a bug somehow. Weirdly things work fine on my end.

It appears issue is for the newer build I think .78. I will get back to you on Monday . Thanks for reply

hey, at your own risk, you can edit the files here: .storage/core.config_entries. Just search for ā€˜areaā€™ and you will find the componentā€™s config values.

im having issues with the newer version.

2022-06-03 13:45:03 INFO (MainThread) [custom_components.smart_irrigation] Auto refresh is enabled. Scheduling for 0:00.

Iā€™m still trying to fine-tune my system, Iā€™m curious if the bucket and the netto_precipitation numbers are referencing actual precipitation. So, if my netto_precipitation state is 0.25 does that mean that I got 0.25 inches of net moisture that day? Or is the netto_precipitation number just a number and doesnā€™t necessarily mean thatā€™s the amount of precipitation I received?

  1. The difference between precipitation and evapotranspiration is the netto precipitation: negative values mean more moisture is lost than gets added by rain/snow, while positive values mean more moisture is added by rain/snow than what evaporates.

Yep, Iā€™m aware of how itā€™s calculated. Iā€™m just wondering if the nber (ex 0.25) relates to an actual measurement, like inches.

Another way to put it, if my bucket is at -0.25 does that mean that my yard needs 0.25 inches of water? Or is the -0.25 just a number calculated by the system and not tied to any real-world measurement?

I believe that -.25 is for the bucket after update. There for depending on that number it will calculate how many seconds in needs to run to restore that amount.

The Adjusted Run Time (ART) is the number of seconds the irrigation needs to run to compensate for moisture lost that is not compensated by rain or sno