core: Asus WRT Download/Upload data bug

Home Assistant release with the issue:

0.83.x

Last working Home Assistant release (if known):

NONE

Operating environment (Hass.io/Docker/Windows/etc.):

Hassio

Component/platform:

ASUS WRT

Description of problem:

Download and Upload sensors shows data incorrectly, both sensors sums each other speeds, like this:

image

image

In this example, I was just downloading at 26 mbps, no upload whatsoever. I wish I had a 26 mbps upload data plan 😃

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

asuswrt:
  host: 192.168.1.1
  username: !secret asus_user
  password: !secret asus_password

Traceback (if applicable):

NONE

Additional information: Using SSH connection.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 39 (8 by maintainers)

Most upvoted comments

There is work being done to this, not sure how much time it will take but just hang on and great things will come your way ❤️

Hi!

There is a possible solution, it takes time to develop and that is something I don’t have atm. I will do it if and when I get some spare time though (have some automations that needs this).

I’m seeing the same issue on 0.104.2 (just set up the asuswrt integration for the first time, today). Upload and download are showing almost the same numbers which doesn’t match up with reality. The numbers are correct in the “Traffic Analyzer” section of the asuswrt web page so the router definitely has the correct numbers somewhere but whatever method the integration is using to access them apparently isn’t getting the correct values for each field.

Sorry for a late respons! Is this stil a problem?

@kennedyshead Do you mind jumping in here and providing a status update on if your PR got merged (couldn’t find it quickly)?

There is a bug in Asuswrt kernel that causes this. There is a new version of aioasuswrt that reads from /sys/class/net/eth0/statistics/(tx_bytes, rx_bytes) and that seems to be more accurate in my system.

Thanks! Do you know if this update will be available on version 84?

No, it is not version bumped yet, I’m currently doing some tests with the new version and want a telnet fix to be ready before bumping.