Skip to content

AVM FRITZ!Box Tools: no Wifi on/off switches in Access Point mode #118588

@fplanque

Description

The problem

When the integration handles a Fritzbox configured as a router, there are switches like switch.fritz_box_7490_wi_fi_network_name that allow to turn the radios on and off (2 switches, one for 2.4 and one for 5 GHz)

But when the integration handles an (additional) Fritzbox that is configured as a WiFi access point (not router, just connecting to existing network through LAN1 and provding a WiFi access point), then those switches are not present.

I can't think of any reason why those switches would not be exposed by fritz!os in that case, therefore I believe it is an oversight in the integration. Am I mistaken?

What version of Home Assistant Core has the issue?

core-2024.5.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

AVM FRITZ!Box Tools

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fritz/

Diagnostics information

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2024.5.5",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.12.2",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Luxembourg",
    "os_name": "Linux",
    "os_version": "6.6.29-haos",
    "supervisor": "2024.05.1",
    "host_os": "Home Assistant OS 12.3",
    "docker_version": "25.0.5",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "omada": {
      "documentation": "https://github.com/zachcheatham/ha-omada",
      "version": "0.4.0-beta.1",
      "requirements": []
    },
    "hacs": {
      "documentation": "https://hacs.xyz/docs/configuration/start",
      "version": "1.34.0",
      "requirements": [
        "aiogithubapi>=22.10.1"
      ]
    }
  },
  "integration_manifest": {
    "domain": "fritz",
    "name": "AVM FRITZ!Box Tools",
    "codeowners": [
      "@mammuth",
      "@AaronDavidSchneider",
      "@chemelli74",
      "@mib1185"
    ],
    "config_flow": true,
    "dependencies": [
      "network"
    ],
    "documentation": "https://www.home-assistant.io/integrations/fritz",
    "iot_class": "local_polling",
    "loggers": [
      "fritzconnection"
    ],
    "requirements": [
      "fritzconnection[qr]==1.13.2",
      "xmltodict==0.13.0"
    ],
    "ssdp": [
      {
        "st": "urn:schemas-upnp-org:device:fritzbox:1"
      }
    ],
    "is_built_in": true
  },
  "data": {
    "entry": {
      "entry_id": "6b95b9bf47f54553704833d0911c3d99",
      "version": 1,
      "minor_version": 1,
      "domain": "fritz",
      "title": "FRITZ!Box 7490 K3",
      "data": {
        "host": "192.168.178.40",
        "password": "**REDACTED**",
        "port": 49000,
        "username": "**REDACTED**"
      },
      "options": {
        "consider_home": 5,
        "old_discovery": false
      },
      "pref_disable_new_entities": false,
      "pref_disable_polling": false,
      "source": "user",
      "unique_id": null,
      "disabled_by": null
    },
    "device_info": {
      "model": "FRITZ!Box 7490",
      "unique_id": "5C4979XX:XX9",
      "current_firmware": "7.57",
      "latest_firmware": "",
      "update_available": false,
      "connection_type": "WANPPPConnection",
      "is_router": false,
      "mesh_role": "slave",
      "last_update success": true,
      "last_exception": null,
      "discovered_services": [
        "any1",
        "WANCommonIFC1",
        "WANDSLLinkC1",
        "WANIPConn1",
        "WANIPv6Firewall1",
        "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"
      ],
      "client_devices": [
        "**REDACTED**",
        "**REDACTED**"
      ],
      "wan_link_properties": {
        "NewWANAccessType": "Ethernet",
        "NewLayer1UpstreamMaxBitRate": 512,
        "NewLayer1DownstreamMaxBitRate": 1024,
        "NewPhysicalLinkStatus": "Up",
        "NewX_AVM-DE_DownstreamCurrentUtilization": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
        "NewX_AVM-DE_UpstreamCurrentUtilization": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0",
        "NewX_AVM-DE_DownstreamCurrentMaxSpeed": 0,
        "NewX_AVM-DE_UpstreamCurrentMaxSpeed": 0
      }
    }
  }
}

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

drag & drop of diagnostics did not work

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions