jeroenterheerdt / HAsmartirrigation

Smart Irrigation custom component for Home Assistant
MIT License
301 stars 47 forks source link

Bucket (in): Shows a Different Value than the Calculation #348

Closed dlindnegm closed 1 month ago

dlindnegm commented 1 month ago

What happened?

After several days of warm weather I noticed that no water was being delivered. My automation listens for the "smart_irrigation_start_irrigation_all_zones" event, grabs the current runtime, runs the water valve, and then resets the bucket. I'm updating weather data every hour, performing an Automatic duration calculation at 23:45, and an Automatic weather data pruning at 23:59. Attached screenshot shows that the Bucket (in) field shows 0.2 but the calculation shows 3.8.

2 issues: 1) I don't understand why the GUI and calculation values for the bucket don't match (same for all 7 zones). 2) I can't figure out why the calculation shows the bucket starting at 7.7 as I've only had 2.079 inches of rain for the month.

Should I be resetting all buckets daily even if there was no need for irrigation???

Untitled

config_entry-smart_irrigation-5154ea7f8196b4cbd9986fbae091721b.json

How to reproduce

As far as I know I've been using the same settings, zones, modules and sensor groups for over a year. Just noticed this when I started the system up for Spring.

Relevant log output

Module returned Evapotranspiration deficiency of -3.9. Bucket was 7.7.
maximum bucket size is 1270.0.New bucket value is [old_bucket]+[delta]=7.7+-3.9=3.8.
Since bucket >= 0, no irrigation is necessary and duration is set to 0

Which version are you running?

v2024.4.3

Diagnostics file

Additional information

No response

jeroenterheerdt commented 1 month ago

It's literally in the screenshot... The system uses metric to calculate things.

dlindnegm commented 1 month ago

METRIC!!! Thanks for the reminder! I need to not work on these things after Midnight. I have some potted plants on that zone that definitely needed water, so I'll play with the multiplier on that one.