-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] weird spikes in bucket - collecting feedback. #35
Comments
Yes, since I installed the integration, about two weeks ago, I have noticed it. I have been trying to figure out if it is occurring after I restart HA. |
it is occurring at restarts, but I cannot figure out why. I must be missing something. Next step is to add rigorous logging everywhere and see what is going on. |
I assumed it was my settings since I just took a guess at the flow rate and sq ft of my yard, but I set everything up correctly last night and saw the spike again today. I can add a debug to my logger and see if anything pops up. |
…orted is used to calculate the bucket_delta - this assumes you use a cumulative daily sensor, which seems to be the most common case. Also adding lots and lots of logging to try to hunt down #35. Please provide your logs to help fix that bug.
added lots of logging in v0.0.45. please have a look at the logs |
I rebooted the host and restarted HA about ten times yesterday but didn't see a spike while the bucket was empty. Today, the bucket was at 108 seconds but spiked to 2692 sec after a restart. Debug is below: |
thanks for sharing this @Justahobby01 - the values you refer to are for adjusted run time, not for the bucket, but I was able to find them. The part where the problem occurs is this:
The bucket is erroneously set to -109.67... but as you can see the bucket value discovered to restore is -0.17, which seems much more normal. As a result is bucket = -109 your water budget and daily adjusted run time go sky-high. |
…ast one bug that potentially might have caused the spikes as tracked in #35. Please continue to help us fix this bug by providing your logs!
I have found a bug! not sure if we have now solved the problem, but at least it looks better on my side now. Please continue monitoring it @Justahobby01, you're a big help! I appreciate it! Oh and by the way, are you running in metric or imperial system? |
…'re tracking in #35. Thanks for helping!
Awesome! I'm honored to be of assistance. What was the bug, if you don't mind me asking? I am using imperial and use smartweather for everything except minimum and maximum temps since I didn't see where smartweather provided that info. |
I changed the refresh time to get new values and then restarted HA.......and the values stayed the same. Looks promising! |
ok, so we're in the same boat, I am on imperial as well as using smart weather where I can (but OWM for min and max temps). Figured I could always create a min and max temperature sensor in HA some time. Not for now though :). The bug was that in some cases I converted twice from metric (this is what the system uses internally) to imperial. Not sure that is fully responsible for the weird behavior, but it was a bug no doubt. |
…orted is used to calculate the bucket_delta - this assumes you use a cumulative daily sensor, which seems to be the most common case. Also adding lots and lots of logging to try to hunt down jeroenterheerdt#35. Please provide your logs to help fix that bug.
…ast one bug that potentially might have caused the spikes as tracked in jeroenterheerdt#35. Please continue to help us fix this bug by providing your logs!
…'re tracking in jeroenterheerdt#35. Thanks for helping!
Describe the bug
We have seen situations where suddenly the daily adjusted run time bucket is jumping up for no good reason. Please let us know if you see this as well and under what circumstances.
The text was updated successfully, but these errors were encountered: