-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fritz!Box integration KeyError: 'WANIPConn1' #83665
Comments
Hey there @mammuth, @AaronDavidSchneider, @chemelli74, @mib1185, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) fritz documentation |
Hi @micium please share a bit more information about your environment (at least the Fritzbox model, firmware version and type on WAN connection) logger:
default: info
logs:
homeassistant.components.fritz: debug
fritzconnection: debug 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. |
Here below all information of the environment and in attach the file with debug logging.
Modello: FRITZ!Box 7590
FRITZ!OS: 7.50 (released last week)
WAN : no connection
[home-assistant.log](https://github.com/home-assistant/core/files/10200680/home-assistant.log)
Kind Regards
Micium
Il Sab 10 Dic 2022, 13:43 Michael ***@***.***> ha scritto:
… Hi @micium <https://github.com/micium>
please share a bit more information about your environment (*at least the
Fritzbox model, firmware version and type on WAN connection*)
Further please enable debug logging, restart HA and provide the
home-assistant.log
<https://www.home-assistant.io/integrations/logger#viewing-logs>
To do so add the following to your configuration.yaml:
logger:
default: info
logs:
homeassistant.components.fritz: debug
fritzconnection: debug
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.
—
Reply to this email directly, view it on GitHub
<#83665 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO5RUO7NFC7E6LF53KTBUUTWMR3ILANCNFSM6AAAAAASZOYXUA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The problem
Logger: homeassistant.components.binary_sensor
Source: components/fritz/common.py:670
Integration: Sensore binario (documentation, issues)
First occurred: 14:09:31 (2 occurrences)
Last logged: 14:09:31
Error while setting up fritz platform for binary_sensor
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/fritzconnection/core/fritzconnection.py", line 375, in call_action
service = self.device_manager.services[service_name]
KeyError: 'WANIPConn1'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 281, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/fritz/binary_sensor.py", line 63, in async_setup_entry
connection_info = await avm_wrapper.async_get_connection_info()
File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 682, in async_get_connection_info
ipv6_active=await self.async_ipv6_active(),
File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 672, in async_ipv6_active
return bool(await self.hass.async_add_executor_job(wrap_external_ipv6))
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/fritz/common.py", line 670, in wrap_external_ipv6
return str(self.fritz_status.external_ipv6)
File "/usr/local/lib/python3.10/site-packages/fritzconnection/lib/fritzstatus.py", line 71, in external_ipv6
return self.external_ipv6_info["NewExternalIPv6Address"]
File "/usr/local/lib/python3.10/site-packages/fritzconnection/lib/fritzstatus.py", line 82, in external_ipv6_info
return self.fc.call_action("WANIPConn", "X_AVM_DE_GetExternalIPv6Address")
File "/usr/local/lib/python3.10/site-packages/fritzconnection/core/fritzconnection.py", line 377, in call_action
raise FritzServiceError(f'unknown service: "{service_name}"')
fritzconnection.core.exceptions.FritzServiceError: unknown service: "WANIPConn1"
What version of Home Assistant Core has the issue?
2022.12
What was the last working version of Home Assistant Core?
2022.11.5
What type of installation are you running?
Home Assistant OS
Integration causing the issue
bynary_sensor
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
The text was updated successfully, but these errors were encountered: