-
Notifications
You must be signed in to change notification settings - Fork 29
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
UNKNOWN ip address error after switching to access point as operation mode #46
Comments
Ah realized that I am setting the host_name incorrectly, it's always set to the main router IP address for all devices. Could you give more info about that device which is failing? The one with mac It seems like the deco is returning UNKNOWN for the ip address which seems unusual. I can try setting it to null for 'UNKNOWN' value, but either way it seems strange that the value is |
also this errors are appearing:
|
Added code to handle UNKNOWN issue in latest release v2.0.1. 403 error may indicate that the credentials you are using do not have permissions. Did you follow the README to use the admin account? https://github.com/amosyuen/ha-tplink-deco#configuration-important-please-read |
yea I'm using admin account. aha I see that this error appears when I open the Deco app, using the owner account.
unfortunately when I use manager account I lose the option to reboot all devices in one click :( |
Yeah, unfortunately that's a restriction of the deco only allowing admin to log in on web portal and only allowing one session. It does look like the web admin portal has the ability to reboot specific devices or all devices. So that is a feature I could look into adding in the future. Though let's track that in a different issue. Could you open an issue for that? Could you confirm whether the UNKNOWN ip address issue is fixed? |
the issue have been fixed thank you, I'll open a feature request to add restart all devices option. sure I'll open a feature request. I'll close the issue as it been resolved :) |
Version of the custom_component
1.1.0
Configuration
core-2022.3.0
supervisor-2022.01.1
HACS 1.23.0
Describe the bug
I'm using Deco X68 with this integration and every thing was working fine, until I changed the operation mode from wireless router to access point.
after the changing to access point, I started getting this error:
Exception in _async_process_device_data when dispatching 'device_tracker_connected_device_registered': ({'ip': 'UNKNOWN', 'mac': 'B4-C9-B9-A0-69-FE', 'host_name': '192.168.121.113'},) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/dhcp/init.py", line 373, in _async_process_device_data self.async_process_client(ip_address, hostname, _format_mac(mac_address)) File "/usr/src/homeassistant/homeassistant/components/dhcp/init.py", line 177, in async_process_client made_ip_address = make_ip_address(ip_address) File "/usr/local/lib/python3.9/ipaddress.py", line 53, in ip_address raise ValueError('%r does not appear to be an IPv4 or IPv6 address' % ValueError: 'UNKNOWN' does not appear to be an IPv4 or IPv6 address
192.168.121.113 in the main router IP address.
Debug log
The text was updated successfully, but these errors were encountered: