home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.88k stars 30.95k forks source link

Fritz Integration sometimes reporting wrong zero value for data counter #130535

Open ryebreadsalad opened 1 week ago

ryebreadsalad commented 1 week ago

The problem

Hi, the issue I found is the integration reporting the value 0 for the counter of downloaded gigabytes of data sometimes. Likely while the FritzBox is doing a restart or reconnect. See attached screenshot. Also this makes the statistic of downloaded data per day useless because of these massive outliers. The integration should not report the zero value. If it's an issue in the fritzbox itself one might just disregard zero values.

Bildschirmfoto 2024-11-13 um 17 35 49 Bildschirmfoto 2024-11-13 um 17 36 07

What version of Home Assistant Core has the issue?

core-2024.11.1

What was the last working version of Home Assistant Core?

none, issue is there for quite some time now

What type of installation are you running?

Home Assistant OS

Integration causing the issue

fritz

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fritz/

Diagnostics information

config_entry-fritz-5f0664194f6001d5f1ab2872a8e62780.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 week ago

Hey there @aarondavidschneider, @chemelli74, @mib1185, mind taking a look at this issue as it has been labeled with an integration (fritz) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `fritz` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign fritz` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


fritz documentation fritz source (message by IssueLinks)

mib1185 commented 1 week ago

Hi @ryebreadsalad Is your Fritzbox somehow branded by our ISP? Please also check the system events of the Fritzbox itself at the time of this issue. thx :+1:

ryebreadsalad commented 1 week ago

Hi @mib1185 , The Fritzbox is a free model from the market, purchased by myself. Unfortunately the logs don't go back all the way to the event. I will have to wait for this issue to occur again, which it will within the next 1-2 weeks. From the time the issue occurred I can certainly say that the 24h reconnect will have happened right then - the reconnect is usually issued by the fritzbox to gain control over the time of the event. I can also say that there has NOT been a firmware update anywhere near this event.

My though is, that once the fritzbox is somehow unavailable the value gets set to zero instead of unavailable.

mib1185 commented 1 week ago

To ensure, please enable the debug logging as described in the troubleshooting section of the integrations documentation, so we have something we can analyse as soon as the issue re-occur.