fritzinfluxdb: Cable Modem lua services not correct (FB 6591)

Hi,

on my 6591 the lua services are not correct … the value “type” doesnt exist in any of them and, to me, the most important “modulation” on docsis30 us channels is missing

my use-case: I use the modulation to have a proof of it in case i need to force vodafone to solve RPI… (like im struggling each year, and since 2 weeks^^) my long-term view

Each color represents a QAM value - Dark Red is 4 QAM, Dark Green 64QAM

image

And this is a quick view of the current quality of the docsis3.0 upload channels (and ping). the first row is the sum of all 4 channels; the lower are the current values of each channel

image

This is my correct version of the “connection_info.py”

    "value_instances": {

        "cable_channel_ds_docsis31_power_level": {
            "data_path": "data.channelDs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("powerLevel"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis31_frequency": {
            "data_path": "data.channelDs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("frequency"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis31_non_corrected_errors": {
            "data_path": "data.channelDs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("nonCorrErrors"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis31_modulation": {
            "data_path": "data.channelDs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("modulation"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis31_plc": {
            "data_path": "data.channelDs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("plc"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis31_mer": {
            "data_path": "data.channelDs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("mer"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis31_fft": {
            "data_path": "data.channelDs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("fft"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },

        "cable_channel_ds_docsis30_modulation": {
            "data_path": "data.channelDs.docsis30",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("modulation"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis30_power_level": {
            "data_path": "data.channelDs.docsis30",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("powerLevel"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis30_frequency": {
            "data_path": "data.channelDs.docsis30",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("frequency"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis30_latency": {
            "data_path": "data.channelDs.docsis30",
            "type": list,
            "next": {
                "type": float,
                "value_function": lambda data: data.get("latency"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis30_mse": {
            "data_path": "data.channelDs.docsis30",
            "type": list,
            "next": {
                "type": float,
                "value_function": lambda data: data.get("mse"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis30_corrected_errors": {
            "data_path": "data.channelDs.docsis30",
            "type": list,
            "next": {
                "type": int,
                "value_function": lambda data: data.get("corrErrors"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },
        "cable_channel_ds_docsis30_non_corrected_errors": {
            "data_path": "data.channelDs.docsis30",
            "type": list,
            "next": {
                "type": int,
                "value_function": lambda data: data.get("nonCorrErrors"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelDs",
                                                                           fallback={}).keys()
        },

        "cable_channel_us_docsis31_modulation": {
            "data_path": "data.channelUs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("modulation"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelUs",
                                                                           fallback={}).keys()
        },
        "cable_channel_us_docsis31_power_level": {
            "data_path": "data.channelUs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("powerLevel"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelUs",
                                                                           fallback={}).keys()
        },
        "cable_channel_us_docsis31_frequency": {
            "data_path": "data.channelUs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("frequency"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelUs",
                                                                           fallback={}).keys()
        },
        "cable_channel_us_docsis31_activesub": {
            "data_path": "data.channelUs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("activesub"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelUs",
                                                                           fallback={}).keys()
        },
        "cable_channel_us_docsis31_fft": {
            "data_path": "data.channelUs.docsis31",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("fft"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis31" not in grab(data, "data.channelUs",
                                                                           fallback={}).keys()
        },

        "cable_channel_us_docsis30_modulation": {
            "data_path": "data.channelUs.docsis30",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("modulation"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelUs",
                                                                           fallback={}).keys()
        },
        "cable_channel_us_docsis30_power_level": {
            "data_path": "data.channelUs.docsis30",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("powerLevel"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelUs",
                                                                           fallback={}).keys()
        },
        "cable_channel_us_docsis30_frequency": {
            "data_path": "data.channelUs.docsis30",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("frequency"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelUs",
                                                                           fallback={}).keys()
        },
        "cable_channel_us_docsis30_multiplex": {
            "data_path": "data.channelUs.docsis30",
            "type": list,
            "next": {
                "type": str,
                "value_function": lambda data: data.get("multiplex"),
                "tags_function": lambda data: {"id": data.get("channelID")}
            },
            "exclude_filter_function": lambda data: "docsis30" not in grab(data, "data.channelUs",
                                                                           fallback={}).keys()
        },
    }
}

) `

connection_info.zip

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Hey Ricardo,

next-release working for me.

Thanks David

@xyrolaith , many thanks for clarifying this:

My 6690, Firtz OS 7.58 branded by Vodafone shows this:

{
	"pid": "docInfo",
	"hide": {
		"shareUsb": true,
		"liveTv": true,
		"dvbradio": true,
		"rrd": true,
		"ssoSet": true,
		"tvhd": true,
		"dvbSet": true,
		"dvbSig": true,
		"tvsd": true
	},
	"timeTillLogout": "1200",
	"time": [],
	"data": {
		"channelDs": {
			"docsis31": [
				{
					"powerLevel": "8.0",
					"nonCorrErrors": 51,
					"modulation": "4096QAM",
					"plc": "264",
					"mer": "41",
					"fft": "4K",
					"channelID": 193,
					"frequency": "134.975 - 324.975"
				}
			],
			"docsis30": [
				{
					"powerLevel": "5.6",
					"nonCorrErrors": 1238,
					"modulation": "256QAM",
					"corrErrors": 373458,
					"latency": 0.32,
					"mse": "-34.9",
					"channelID": 5,
					"frequency": "586.000"
				},
				{
					"powerLevel": "3.4",
					"nonCorrErrors": 17371,
					"modulation": "256QAM",
					"corrErrors": 696153,
					"latency": 0.32,
					"mse": "-34.3",
					"channelID": 3,
					"frequency": "570.000"
				},
				{
					"powerLevel": "4.7",
					"nonCorrErrors": 3290,
					"modulation": "256QAM",
					"corrErrors": 460172,
					"latency": 0.32,
					"mse": "-34.5",
					"channelID": 4,
					"frequency": "578.000"
				},
				{
					"powerLevel": "5.8",
					"nonCorrErrors": 568,
					"modulation": "256QAM",
					"corrErrors": 263157,
					"latency": 0.32,
					"mse": "-34.9",
					"channelID": 6,
					"frequency": "594.000"
				},
				{
					"powerLevel": "6.5",
					"nonCorrErrors": 334,
					"modulation": "256QAM",
					"corrErrors": 193685,
					"latency": 0.32,
					"mse": "-34.9",
					"channelID": 7,
					"frequency": "602.000"
				},
				{
					"powerLevel": "6.7",
					"nonCorrErrors": 31,
					"modulation": "256QAM",
					"corrErrors": 219056,
					"latency": 0.32,
					"mse": "-34.3",
					"channelID": 8,
					"frequency": "618.000"
				},
				{
					"powerLevel": "6.6",
					"nonCorrErrors": 29,
					"modulation": "256QAM",
					"corrErrors": 557938,
					"latency": 0.32,
					"mse": "-34.3",
					"channelID": 9,
					"frequency": "626.000"
				},
				{
					"powerLevel": "6.6",
					"nonCorrErrors": 15,
					"modulation": "256QAM",
					"corrErrors": 285620,
					"latency": 0.32,
					"mse": "-34.3",
					"channelID": 10,
					"frequency": "634.000"
				},
				{
					"powerLevel": "6.7",
					"nonCorrErrors": 10,
					"modulation": "256QAM",
					"corrErrors": 407877,
					"latency": 0.32,
					"mse": "-34.3",
					"channelID": 11,
					"frequency": "642.000"
				},
				{
					"powerLevel": "6.4",
					"nonCorrErrors": 0,
					"modulation": "256QAM",
					"corrErrors": 662148,
					"latency": 0.32,
					"mse": "-34.0",
					"channelID": 12,
					"frequency": "650.000"
				},
				{
					"powerLevel": "6.3",
					"nonCorrErrors": 0,
					"modulation": "256QAM",
					"corrErrors": 471556,
					"latency": 0.32,
					"mse": "-34.3",
					"channelID": 13,
					"frequency": "658.000"
				},
				{
					"powerLevel": "6.1",
					"nonCorrErrors": 0,
					"modulation": "256QAM",
					"corrErrors": 652486,
					"latency": 0.32,
					"mse": "-34.0",
					"channelID": 14,
					"frequency": "666.000"
				},
				{
					"powerLevel": "5.5",
					"nonCorrErrors": 0,
					"modulation": "256QAM",
					"corrErrors": 1124164,
					"latency": 0.32,
					"mse": "-33.8",
					"channelID": 15,
					"frequency": "674.000"
				},
				{
					"powerLevel": "5.3",
					"nonCorrErrors": 0,
					"modulation": "256QAM",
					"corrErrors": 1091382,
					"latency": 0.32,
					"mse": "-33.8",
					"channelID": 16,
					"frequency": "682.000"
				},
				{
					"powerLevel": "5.2",
					"nonCorrErrors": 0,
					"modulation": "256QAM",
					"corrErrors": 2063575,
					"latency": 0.32,
					"mse": "-33.8",
					"channelID": 17,
					"frequency": "690.000"
				},
				{
					"powerLevel": "11.1",
					"nonCorrErrors": 0,
					"modulation": "256QAM",
					"corrErrors": 12,
					"latency": 0.32,
					"mse": "-40.4",
					"channelID": 1,
					"frequency": "114.000"
				},
				{
					"powerLevel": "10.4",
					"nonCorrErrors": 0,
					"modulation": "256QAM",
					"corrErrors": 11,
					"latency": 0.32,
					"mse": "-40.4",
					"channelID": 2,
					"frequency": "130.000"
				},
				{
					"powerLevel": "-1.2",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 6,
					"latency": 0.32,
					"mse": "-32.2",
					"channelID": 65,
					"frequency": "698.000"
				},
				{
					"powerLevel": "-0.9",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 12,
					"latency": 0.32,
					"mse": "-32.3",
					"channelID": 66,
					"frequency": "706.000"
				},
				{
					"powerLevel": "-0.8",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 8,
					"latency": 0.32,
					"mse": "-32.2",
					"channelID": 67,
					"frequency": "714.000"
				},
				{
					"powerLevel": "-1.1",
					"nonCorrErrors": 24692,
					"modulation": "64QAM",
					"corrErrors": 38661,
					"latency": 0.32,
					"mse": "-32.2",
					"channelID": 68,
					"frequency": "722.000"
				},
				{
					"powerLevel": "-1.1",
					"nonCorrErrors": 45883,
					"modulation": "64QAM",
					"corrErrors": 67881,
					"latency": 0.32,
					"mse": "-32.2",
					"channelID": 69,
					"frequency": "730.000"
				},
				{
					"powerLevel": "-0.7",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 8,
					"latency": 0.32,
					"mse": "-32.3",
					"channelID": 70,
					"frequency": "738.000"
				},
				{
					"powerLevel": "-0.9",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 3,
					"latency": 0.32,
					"mse": "-32.2",
					"channelID": 71,
					"frequency": "746.000"
				},
				{
					"powerLevel": "-0.8",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 7,
					"latency": 0.32,
					"mse": "-31.9",
					"channelID": 72,
					"frequency": "754.000"
				},
				{
					"powerLevel": "-0.8",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 6,
					"latency": 0.32,
					"mse": "-31.9",
					"channelID": 73,
					"frequency": "762.000"
				},
				{
					"powerLevel": "-1.0",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 1,
					"latency": 0.32,
					"mse": "-31.9",
					"channelID": 74,
					"frequency": "770.000"
				},
				{
					"powerLevel": "-0.8",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 2,
					"latency": 0.32,
					"mse": "-31.9",
					"channelID": 75,
					"frequency": "778.000"
				},
				{
					"powerLevel": "-0.8",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 8,
					"latency": 0.32,
					"mse": "-31.9",
					"channelID": 76,
					"frequency": "786.000"
				},
				{
					"powerLevel": "-0.8",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 7,
					"latency": 0.32,
					"mse": "-31.9",
					"channelID": 77,
					"frequency": "794.000"
				},
				{
					"powerLevel": "-0.8",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 6,
					"latency": 0.32,
					"mse": "-31.6",
					"channelID": 78,
					"frequency": "802.000"
				},
				{
					"powerLevel": "-0.9",
					"nonCorrErrors": 0,
					"modulation": "64QAM",
					"corrErrors": 0,
					"latency": 0.32,
					"mse": "-31.6",
					"channelID": 79,
					"frequency": "810.000"
				}
			]
		},
		"oem": "avm",
		"readyState": "ready",
		"channelUs": {
			"docsis31": [
				{
					"powerLevel": "39.0",
					"modulation": "1024QAM",
					"activesub": "640",
					"fft": "2K",
					"channelID": 41,
					"frequency": "29.775 - 64.775"
				}
			],
			"docsis30": [
				{
					"powerLevel": "44.5",
					"modulation": "64QAM",
					"multiplex": "ATDMA",
					"channelID": 1,
					"frequency": "51.000"
				},
				{
					"powerLevel": "43.0",
					"modulation": "64QAM",
					"multiplex": "ATDMA",
					"channelID": 4,
					"frequency": "30.800"
				},
				{
					"powerLevel": "43.3",
					"modulation": "64QAM",
					"multiplex": "ATDMA",
					"channelID": 3,
					"frequency": "37.200"
				},
				{
					"powerLevel": "44.0",
					"modulation": "64QAM",
					"multiplex": "ATDMA",
					"channelID": 2,
					"frequency": "44.600"
				}
			]
		}
	},
	"sid": "c20002e328aea381"
}

@todrees1967 As described by bb-Ricardo in his comment.

Open the developer console with F12, click on Network. Then navigate to Internet -> Kabel-Informationen and click on the tab Kanäle. The last entry should be data.lua (or use the filter to find it). Click on that entry and select the Response tab in the right frame. Firefox also has a button to display the raw data.

Check this screenshot fb6591_cable_information

If you do not see this entry on your FritzBox then Vodafone might have disabled it in their custom firmware. I am using an unbranded box.