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
74k stars 31.05k forks source link

ASUSWRT: strange statistical values for "download/upload" #119638

Open ildar170975 opened 5 months ago

ildar170975 commented 5 months ago

The problem

ASUSWRT creates sensors for "download" & "upload": изображение

Consider this statistics graph card:

chart_type: line
period: hour
type: statistics-graph
entities:
  - sensor.ac68u_download
stat_types:
  - state
days_to_show: 180
logarithmic_scale: false

изображение

All values on the graph are positive. Here are "change" & "sum" graphs:

изображение

изображение

A strange drop seems to happen here: изображение

Similarly - for "upload": "state": изображение

"change" - similar negative value, a drop happened at another time: изображение

Question is - why these negative changes happen?

What version of Home Assistant Core has the issue?

2024.6.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

ASUSWRT

Link to integration documentation on our website

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

Diagnostics information

No response

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 5 months ago

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

Code owner commands Code owners of `asuswrt` 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 asuswrt` 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)


asuswrt documentation asuswrt source (message by IssueLinks)

issue-triage-workflows[bot] commented 2 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

ildar170975 commented 2 months ago

2024.9 Yesterday I downloaded a 24GB movie - but this is not accounted here: изображение