kbr / fritzconnection

Python-Tool to communicate with the AVM Fritz!Box by the TR-064 protocol and the AHA-HTTP-Interface
MIT License
303 stars 59 forks source link

Service names may have changed for later version of fritzos #194

Closed turbine2 closed 10 months ago

turbine2 commented 10 months ago

I think this is simalar or linked to issue 88

When I try to use fritzstatus -i -u -p I get the same errors:-

fritzconnection v1.12.2
FRITZ!Box 7530 at http://<IP>
FRITZ!OS: 7.56

FritzStatus:

    is linked             : unsupported attribute "is_linked"
    is connected          : unsupported attribute "is_connected"
    external ip (v4)      : unsupported attribute "external_ip"
    external ip (v6)      : unsupported attribute "external_ipv6"
    internal ipv6-prefix  : unsupported attribute "ipv6_prefix"
    uptime                : unsupported attribute "str_uptime"
    bytes send            : unsupported attribute "bytes_sent"
    bytes received        : unsupported attribute "bytes_received"
    max. bit rate         : unsupported attribute "str_max_bit_rate"

Looking at fritzconnection -i -s I can see the same issue, the difference is that this is not a cable box but is a DSL box.

fritzconnection v1.12.2
FRITZ!Box 7530 at http://<IP>
FRITZ!OS: 7.56

Servicenames:
                    DeviceInfo1
                    DeviceConfig1
                    Layer3Forwarding1
                    LANConfigSecurity1
                    ManagementServer1
                    Time1
                    UserInterface1
                    X_AVM-DE_Storage1
                    X_AVM-DE_WebDAVClient1
                    X_AVM-DE_UPnP1
                    X_AVM-DE_Speedtest1
                    X_AVM-DE_RemoteAccess1
                    X_AVM-DE_MyFritz1
                    X_VoIP1
                    X_AVM-DE_OnTel1
                    X_AVM-DE_Dect1
                    X_AVM-DE_TAM1
                    X_AVM-DE_AppSetup1
                    X_AVM-DE_Homeauto1
                    X_AVM-DE_Homeplug1
                    X_AVM-DE_Filelinks1
                    X_AVM-DE_Auth1
                    X_AVM-DE_HostFilter1
                    X_AVM-DE_USPController1
                    WLANConfiguration1
                    WLANConfiguration2
                    WLANConfiguration3
                    Hosts1
                    LANEthernetInterfaceConfig1
                    LANHostConfigManagement1
                    WANCommonInterfaceConfig1
                    WANDSLInterfaceConfig1
                    X_AVM-DE_WANMobileConnection1
                    WANDSLLinkConfig1
                    WANEthernetLinkConfig1
                    WANPPPConnection1
                    WANIPConnection1

Maybe AVM have renamed their service names (or am I not using it correctly, also a possibility)

turbine2 commented 10 months ago

Actually, looking at issue 88 again it looks like this DSL fritxbox also only has a subset. I don't know if it makes any difference but this FritxBox 7530 isn't actually used as a VDSL router as I have a fibre link rather than a VDSL line.

kbr commented 10 months ago

If you use a fiber-link (cool!) in combination with a 7530 I assume you have a separate fiber-link modem connected to the FritzBox. In this case the internal modem of the FritzBox seems to be deactivated and the box is unable to access the data from the external modem. I don't have a fiber-link and can not reproduce this, but I suppose that the service will work with routers with integrated fiber-modems, like 5590 or 5530.

turbine2 commented 10 months ago

Ah, yes, there is a separate fibre to RJ45 presentation which then goes into one of the LAN ports on the FritzBox. That would explain the reduced instruction set if the FritzBox identifies no VDSL connection, which would also explain why the cable version of the FritzBox also does not have that instruction set. So, not a bug, my apologies.

kbr commented 10 months ago

You are very welcome.