OpenDTU icon indicating copy to clipboard operation
OpenDTU copied to clipboard

Improve Statistics Counters

Open broth-itk opened this issue 5 months ago • 3 comments

Is your feature request related to a problem? Please describe.

Statistics are a great new feature! Thank you for the enhancement!

Unfortunately the stats get "poisoned" by the attempts to reach the inverters in the early morning hours.

These failure counts makes it impossible to justify the link quality between DTU and the inverter.

I was helping myself by rebooting the DTU. Now the values look fine and allow to check if the reachability is fine.

Describe the solution you'd like

Proposal:

The stats already get reset at midnight. This will collect offline stats.

At the first successful response from the inverter, reset stats and set a flag.

Now we count fresh online stats.


First I like to collect feedback from other users and devs.

I'll be happy to code the required changes and issue a pull request on positive feedback :)

Describe alternatives you've considered

No response

Additional context

No response

broth-itk avatar Sep 23 '24 08:09 broth-itk