-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix downstream_max/upstream_max for cable devices #82
Conversation
Implements a new query algorithm for the methods downstream_max and upstream_max. The new algorithm will now perform multiple queries since the needed information to calculate the values for the methods downstream_max and upstream_max can be stored in additional sync groups. The first query will always determine how many sync groups are found. If only one sync group is found the result from this query will be used for calculation, if multiple sync groups are found the algorithm queries all sync groups but stops when a supported sync group mode is found. Currently only the sync group modes VDSL and CABLE are supported. refs #72
Pre-Compiled binaries for this PR can be found here: https://github.com/mcktr/check_fritz/actions/runs/130094218 @dirkpauli @uclara Can you do me a favor and test this PR? :-) Please have a look if the speed is now calculated correctly for the methods |
@mcktr it seems working fine on my FRITZBox 6591 Cable, but not on my DSL FRITZ!Boxes. There i get the following messages:
I have some with DSL and some that runs in IP-Client mode Ulli |
@uclara Thanks for testing! 👍 I updated this PR to support New pre-compiled binaries can be found here: https://github.com/mcktr/check_fritz/actions/runs/131363772 Do you know about another connection technology which should be supported? I only have fiber in my mind but I don't know the SyncGroup definition. I tried to lookup the SyncGroupMode definitions but unfortunately the documentation from the manufacture does not provide any information about it (or I just can't find them). I also can add a hidden parameter where you can pass the name from the SyncGroupMode. This way every connection technology should be covered as long as the calculation stays the same. When you find a unsupported mode you make a debug run, you extract the SyncGroupMode and pass it via the hidden parameter and in theory you now should be able to get correct downstream_max and upstream_max values. I am unsure about this. I like to hear your opinion on this @uclara :-) |
@mcktr I discovered an other SyncGroup, with a FRITZ!Box 7490 International, based on a custom profile for Internet connection. It's located behind an Microtik FTTH router that forwards the whole incoming traffic via "Full NAT" to the FRITZ!Box
The option selected for this "other Internet Provider" is the following: Ulli |
Mh, Thanks for testing though! I highly appreciate your effort here to test a bunch of connection types.:heart:. |
Closing here since this PR is not suitable for fixing the linked issue. |
Implements a new query algorithm for the methods
downstream_max
andupstream_max
. The new algorithm will now perform multiple queries since the needed information to calculate the values for the methodsdownstream_max
andupstream_max
can be stored in additional sync groups. The first query will always determine how many sync groups are found. If only one sync group is found the result from this query will be used for calculation, if multiple sync groups are found the algorithm queries all sync groups but stops when a supported sync group mode is found. Currently only the sync group modesVDSL
andCABLE
are supported.fixes #72