question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Asus WRT total transferred data amount resets when reach 4GB

See original GitHub issue

The problem

I have latest Hassio running in docker on RPi 3B+. I added AsusWRT integration but when I streaming/downloading the amount of transferred data can show maximum of 4GB and then it starts form 0. Looks like counter overflow.

Environment

arch | armv7l dev | false docker | true hassio | true os_name | Linux python_version | 3.7.6 timezone | Europe/Bratislava version | 0.104.3 virtualenv | false mode | storage resources | 0 views | 4

Problem-relevant configuration.yaml

asuswrt:
  host: 192.168.1.1
  username: admin
  password: !secret asus_router
  sensors:
    - upload
    - download
    - upload_speed
    - download_speed

Additional information

Link to the download sensor stats https://drive.google.com/open?id=10Nq5VoGWbOcAzAS7jLQm-ZlzfWGRuRQ9

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:32 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mattmoocommented, Oct 8, 2021

Maybe one day this will be fixed, until then I added some sensors using the integration platform that seem to work okay.

- platform: integration 
  source: sensor.asuswrt_upload_speed
  name: asuswrt_upload_integral_total_mbit
  unit_time: s
  round: 0
  method: left
  
- platform: template 
  sensors:
    asuswrt_upload_integral_total_gb:
      friendly_name: "Upload total"
      value_template: "{{ (states('sensor.asuswrt_upload_integral_total_mbit')|float / 8192) | round(1) }}" 
      unit_of_measurement: GB

      
- platform: integration 
  source: sensor.asuswrt_download_speed
  name: asuswrt_download_integral_total_mbit
  unit_time: s
  round: 0
  method: left

- platform: template 
  sensors:
    asuswrt_download_integral_total_gb:
      friendly_name: "Download total"
      value_template: "{{ (states('sensor.asuswrt_download_integral_total_mbit')|float / 8192) | round(1) }}" 
      unit_of_measurement: GB

0reactions
hiatsu0commented, Nov 21, 2022

2022.11.3: this issue still persists.

Is @befantasy ’s statistics method above still the only readonable workaround there is?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Wireless Router] How to reset the router to factory default ...
1-3 Enter your login user name and password on the login page and then click [Sign In]. Notice: If you forgot the user...
Read more >
[Wireless Router] Introduction of Traffic Monitor | Official Support
When the router receives requests from attached network devices, it requests an equal amount of data from the Internet. The network activity the ......
Read more >
[Wireless Router] How to upload the configuration files ... - ASUS
Step1: Enter the router's GUI (ASUSWRT). 1-1 Take router [RT-AC66U B1] as examples. To set up your wireless router via wired connection:.
Read more >
Amazon.com: ASUS AX1800 WiFi 6 Router (RT-AX1800S)
ASUS AX1800 WiFi 6 Router (RT-AX1800S) – Dual Band Gigabit AX Wireless Internet Router, 4 GB Ports, Easy App Setup, AiMesh Compatible, Included...
Read more >
How to Hide Data Usage and Get Truly Unlimited Tethering ...
If you're a farmer like me and you don't live in an area with high-speed internet access, the tethering becomes a make-it-or-break-it deal....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found