fritzbox-munin
fritzbox-munin copied to clipboard
FB 7590 (7.10) and FB 6490 (7.02)
I only get Connection Uptime and WAN Traffic, all other queries do not get any information.
The problem with fritzbox_wifi_devices.py seems to be
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
resulting from HTML code in xhr_data:
b'
I didn't try it with former versions. Only with 7.01 on FRITZ!Box 7362 SL.
I can confirm this on FB 7490 (7.11) and urgently wait for a solution!
If you need something urgently, you could try my fork at https://github.com/RenWal/fritzbox-munin-fast, which is working for 7.10. I assume that 7.10 -> 7.11 will not cause too many issues. However, you'd need to reconfigure the plugins.
I can confirm this on FB 7590 (7.11)
I have change data = json.loads(xhr_data) in data = json.loads(str(xhr_data, "utf-8"))
and the scripts are running. My Solution running.
In another case , my change is wrong. My Solution are not running, but the original scripts are running Fritzbox 7490 (7.11)
In both cases, the scripts are running on a Raspberry with Debian Stretch. I do not know why, but in the moment it works for me