fritzinfluxdb icon indicating copy to clipboard operation
fritzinfluxdb copied to clipboard

FritzBox Cable - Channel Information / Modulation

Open leex279 opened this issue 1 year ago • 10 comments

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).

leex279 avatar Mar 16 '23 15:03 leex279

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.

bb-Ricardo avatar Mar 16 '23 17:03 bb-Ricardo

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

leex279 avatar Mar 16 '23 18:03 leex279

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

bb-Ricardo avatar Mar 16 '23 18:03 bb-Ricardo

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"

leex279 avatar Mar 17 '23 07:03 leex279

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?

bb-Ricardo avatar Mar 17 '23 23:03 bb-Ricardo

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").

leex279 avatar Mar 18 '23 12:03 leex279

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.

bb-Ricardo avatar Mar 20 '23 17:03 bb-Ricardo

Hi @bb-Ricardo,

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

image

leex279 avatar Mar 20 '23 18:03 leex279

Also good: State Line: image

leex279 avatar Mar 20 '23 18:03 leex279

Sorry for not working on this. It is currently blocked by this issue https://github.com/bb-Ricardo/fritzinfluxdb/issues/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?

bb-Ricardo avatar Jul 13 '24 08:07 bb-Ricardo