You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When decreasing the Update Intervall the reported Mbit/s increases.
I have 1 leg up to my Multi-WAN Router. When I saturate my WAN Connection (Speedtest, large Downloads) the Mikrotik Switch shows traffic on this Interface as ~90Mbits/s.
When I use the default 30 Second Update intervall this gets reported in HA as ~90Mbits/s.
However when I reduce the Update interval of the Integration to 10 Seconds it gets reported as ~135Mbits/s and when I further drop it to 5 Seconds it shows as 160Mbits/s.
So something is not quite right with the calculation of these Values.
The Switch shows ~90Mbits/s for all these tests.
( I am aware that a 5 second update interval is redicoulously short if the update itself takes 5+ seconds, but this is for illustration purposes only)
How to reproduce the issue
Set up a Port Traffic Sensor and put a measurable / consistent amount of traffic overt his port.
Change the Update intervall of the Mikrotik Router Integration and compare values reported by RouterOS vs. HA
Expected behavior
Throughput per Second Values should not change dependant on the duration between updates.
Screenshots
One WAN link was down, so I only got ~50Mbit/s but nevertheless the difference in the reported Values is starkly visbile.
This was with a 5 Second Update intervall.
The Diagnostic Logs are from this test.
The Data has been stopped and connected while the Bandwitdh test was still running.
all interfaces
and on the site of the switch there is nothing special about the "WAN" interface. its just an Ethernet port that connects to the router that is having the WAN Ports.
But for me its the easiest to saturate and thus produce reliable numbers.
Describe the issue
When decreasing the Update Intervall the reported Mbit/s increases.
I have 1 leg up to my Multi-WAN Router. When I saturate my WAN Connection (Speedtest, large Downloads) the Mikrotik Switch shows traffic on this Interface as ~90Mbits/s.
When I use the default 30 Second Update intervall this gets reported in HA as ~90Mbits/s.
However when I reduce the Update interval of the Integration to 10 Seconds it gets reported as ~135Mbits/s and when I further drop it to 5 Seconds it shows as 160Mbits/s.
So something is not quite right with the calculation of these Values.
The Switch shows ~90Mbits/s for all these tests.
( I am aware that a 5 second update interval is redicoulously short if the update itself takes 5+ seconds, but this is for illustration purposes only)
How to reproduce the issue
Expected behavior
Throughput per Second Values should not change dependant on the duration between updates.
Screenshots
One WAN link was down, so I only got ~50Mbit/s but nevertheless the difference in the reported Values is starkly visbile.
![image](https://private-user-images.githubusercontent.com/115449639/275404925-d193eed2-87cb-48a4-97fa-6dbda4b2febc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzNzA5MDksIm5iZiI6MTcyNDM3MDYwOSwicGF0aCI6Ii8xMTU0NDk2MzkvMjc1NDA0OTI1LWQxOTNlZWQyLTg3Y2ItNDhhNC05N2ZhLTZkYmRhNGIyZmViYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMlQyMzUwMDlaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MjRkNDg4NjZhYzE5ZjYxY2RkOWYyZWRkMWUyZDZiMzdkY2MwNWE2M2Q1MzJmNzQwZjIzYzRkNDkyNmUyMGNhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Wz0xoi-9xZp3cFc1hfkW9AZhY7GRjI8JVz_cdfzQ0jc)
This was with a 5 Second Update intervall.
The Diagnostic Logs are from this test.
The Data has been stopped and connected while the Bandwitdh test was still running.
Software versions
Home Assistant 2023.10.0
Supervisor 2023.10.0
Operating System 10.5
Frontend 20231002.0 - latest
Mikrotik Router integration version: v.2.1.4
RouterOS version: v6.49.7 (stable)
Diagnostics data
home-assistant_mikrotik_router_2023-10-16T05-39-33.491Z.log
The text was updated successfully, but these errors were encountered: