Closed SeriousPat closed 11 months ago
Hey there @mammuth, @aarondavidschneider, @chemelli74, @mib1185, mind taking a look at this issue as it has been labeled with an integration (fritz
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
fritz documentation fritz source (message by IssueLinks)
Is your fritz infrastructure configured in mesh ?
Simone
Yes, i had Mesh active. I delete the Mesh connection. Same problem.
I deleted all my fritz devices in HA and added only the AP. Same Problem.
at the moment, we do not generate any switches for mesh slave devices (eq. repeaters). but when mesh is correct configured, than switchen wifi of on the mesh master (eq. FritzBox) will also turn off the wifi on the repeater (if applicable). so maybe your repeater is not correct configured as mesh slave device? to verify, please provide a screenshot of the mesh overview page from the Fritzbox.
Further please download and provide the diagnostics data for both devices (box and repeater)
Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.
I know, to handle that with mesh. I had the Switch für the guest wlan, from the router before. with mesh to the repeater i used it to diable and enable. but i doesnt want to use the wlan from the router. i want use the wlan only from the repeater/accesspoint. so i delete the mesh and only added the repeater/accespoint to HA. same problem, only the same entitys.
i want enable/diable the guestwlan from the repeater/accespoint. i dont want to use wlan on my router is there a problem to get alle functionaly entitiys for the accesspoint?
or just imagine there is no router. i want set the wlans from the ap on and off. config_entry-fritz-c11884696147bb2ca2f577f0a537983b.json.txt
config_entry-fritz-d9c31771ca1567f32a27f0a9f019a765.json.txt
I have the same issue... In the Log I can find the following showing "again & again"...:
2023-07-31 07:26:18.043 INFO (SyncWorker_9) [fritzconnection] Unable to retrieve resource 'http://192.168.66.161:49000/igddesc.xml' from the device. 2023-07-31 07:26:23.702 ERROR (MainThread) [homeassistant.components.fritz.common] Unexpected error fetching fritz-192.168.66.161-coordinator data: 'X_AVM-DE_WANAccess' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 307, in _async_update_data await self.async_scan_devices() File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 479, in async_scan_devices wan_access="granted" in host["X_AVM-DE_WANAccess"],
KeyError: 'X_AVM-DE_WANAccess'
@BerT666 this is an different issue, please open a new report and already add debug logs
To do so add the following to your configuration.yaml
and restart HA:
logger:
default: info
logs:
homeassistant.components.fritz: debug
fritzconnection: debug
Further if possible please download and provide the diagnostics data for this integration.
Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.
@SeriousPat could you please provide the output of the following python script runs against the Fritz!Box and the FritzRepeater?
replace <IP>
, <USERNAME>
and <PASSWORD>
according to the device to run the script agains
from fritzconnection import FritzConnection
from fritzconnection.lib.fritzhosts import FritzHosts
fc = FritzConnection(address="<IP>", user="<USERNAME>", password="<PASSWORD>")
fh = FritzHosts(fc)
topology = fh.get_mesh_topology()
for node in topology.get("nodes", []):
if node.get("device_manufacturer") == "AVM":
print("=====================================================")
for key in [
"device_name",
"device_model",
"is_meshed",
"mesh_role",
"meshd_version",
"device_firmware_version",
"device_capabilities",
"enabled_device_capabilities",
]:
print(f"{key} : {node.get(key)}")
it will fetch the mesh topology and print out details about any found AVM devices in the network
example:
$ python test.py
=====================================================
device_name : fritz.box
device_model : FRITZ!Box 7530 AX
is_meshed : True
mesh_role : master
meshd_version : 4.128
device_firmware_version : 256.07.56
device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT', 'ROUTER']
enabled_device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT', 'ROUTER']
@mib1185
There is no Mesh setup
Fritzbox: device_name : fritz.box device_model : FRITZ!Box 5530 Fiber is_meshed : True mesh_role : master meshd_version : 4.128 device_firmware_version : 257.07.56 device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT', 'ROUTER'] enabled_device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT', 'ROUTER']
device_name : WeitblickAP device_model : FRITZ!Repeater 6000 is_meshed : False mesh_role : unknown meshd_version : 4.128 device_firmware_version : 253.07.56 device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT'] enabled_device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT']
FritzRepeater6000:
@mib1185
I reconfigure Mesh:
Fritzbox: device_name : fritz.box device_model : FRITZ!Box 5530 Fiber is_meshed : True mesh_role : master meshd_version : 4.128 device_firmware_version : 257.07.56 device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT', 'ROUTER'] enabled_device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT', 'ROUTER']
device_name : WeitblickAP device_model : FRITZ!Repeater 6000 is_meshed : True mesh_role : slave meshd_version : 4.128 device_firmware_version : 253.07.56 device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT'] enabled_device_capabilities : ['MAC_BRIDGE_COMPONENT', 'WLAN_ACCESS_POINT']
FritzRepeater6000:
@mib1185
I want to Explain my usecase again:
It doesn't matter if i have mesh enabled or disabled. I have disabled the wlan at the FritzBox. I have enabled the wlan at the FritzRepeater6000. I have disables "get settings from mesh master" at the FritzRepeater6000. I want to enable/disable the GuestWlan from the FritzRepeater6000 in HA.
I know fi i activate "gett settings from mesh master", that i can enable/disable the GuestWlan at the FritzBox in HA, that will enable/disable the GuestWlan from the FritzRepeater6000 over mesh.
But my FritzBox is in a network rack. I want use the wlan at the FritzRepeater6000 only.
Is ist possible to get the WLAN entitiys from the FritzRepeater6000 in HA?
@BerT666 your issue is related to #97637
@SeriousPat i've marked this as feature-request
because this needs to be implemented as new feature. at the moment we only create some basic entities for Fritz!Repeaters.
First, we need to implement a logic to reliably and stable detect a Fritz!Repeater as standalone (not meshed)
Please contact me via discord mib1185
, so we can work on it together.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
Hello, i use the Intergration with my fritzbox (everything is fine) and my fritzrepeater. On the fritz repeater there many entitys missing. actually i need the wlan on/off buttons für al the wlans.
What version of Home Assistant Core has the issue?
2023.7.3
What was the last working version of Home Assistant Core?
2023.7.3
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
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response