Skip to content
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

FritzBox Cable - Channel Information / Modulation #100

Open
leex279 opened this issue Mar 16, 2023 · 10 comments
Open

FritzBox Cable - Channel Information / Modulation #100

leex279 opened this issue Mar 16, 2023 · 10 comments
Labels
blocked-by-InfluxDB-mess First the way forward with InfluxDB needs to be solved - see #114

Comments

@leex279
Copy link

leex279 commented Mar 16, 2023

As I see now there are no information about the channels/modulation indexed. Would be nice to add this too.

image

Its very useful if you have problems with bad internet quality and can see what is changing and provide information to your provider (currently have this problem).

@bb-Ricardo
Copy link
Owner

Hi,

This could be added. I would need the output of the json response. If you use the browser dev tools you should be able to retrieve them. Also the params which are used to query this data.

@leex279
Copy link
Author

leex279 commented Mar 16, 2023

Hi,

nice and thanks for the fast reply :)

I have a litte JS at the moment to extract the upload modulation, if that helps you. Also added the JSON.
You can find the 2 files here:
https://github.com/leex279/fritzbox-channel/tree/main

Let me know if u need anything else :)

Thanks

@bb-Ricardo
Copy link
Owner

well, exactly what I needed!

how familiar are you with python?

You could add the data to request here: https://github.com/bb-Ricardo/fritzinfluxdb/blob/main/fritzinfluxdb/classes/fritzbox/service_definitions/connection_info.py

@leex279
Copy link
Author

leex279 commented Mar 17, 2023

I scripted some little things but not very much. But I think I can figure out.

image

Seems this is working a basic level. I get the values in the log file and can keep go on:
image
Is there a better way to debug or just like I did with:
./fritzinfluxdb.py -v | grep -A5 -B5 "channelDs"

@bb-Ricardo
Copy link
Owner

That's a good start. I probably have aome time next week to look into it. Which values would be good to monitor? Or just all of them and add them to a dashboard?

@leex279
Copy link
Author

leex279 commented Mar 18, 2023

Sounds good :). I think it would be nice to have all but for my current problem I want to visualize the modulation (type/QAM) and get a stacked bar chart for that, like this:
image

So I can easyli see how often the modulation is changing (according to the vodafone technical guy it should always stay at 64 for all 4 channels :)). In my case just the Upload-Channels are a problem (called "Rückwegstörung").

@bb-Ricardo
Copy link
Owner

Hi @leex279,

I added the parsing of the data to the "next-release" branch. Can you check out this branch and see if the parsing of the data works?

If it works then only the addition to the system dashboard would be needed.

@leex279
Copy link
Author

leex279 commented Mar 20, 2023

Hi @bb-Ricardo,

yeah, mega cool. Vielen Dank :) Excactly what I need :)

image

@leex279
Copy link
Author

leex279 commented Mar 20, 2023

Also good: State Line:
image

@bb-Ricardo bb-Ricardo added the blocked-by-InfluxDB-mess First the way forward with InfluxDB needs to be solved - see #114 label Jul 13, 2024
@bb-Ricardo
Copy link
Owner

Sorry for not working on this. It is currently blocked by this issue #114. I need to find a good way forward with influxDB as I don't like to repeat everything once again.

Any ideas from your side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked-by-InfluxDB-mess First the way forward with InfluxDB needs to be solved - see #114
Projects
None yet
Development

No branches or pull requests

2 participants