-
Notifications
You must be signed in to change notification settings - Fork 6
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
Archer C60 v2.0 and TL-WA1201 3.0 - any chance of adding support? #9
Comments
Since I don’t have the opportunity to test on this version of the router, you can download the client and check which requests are incorrect for this router. |
I have added more logs for errors. |
Hi - Thanks - I deleted my integration components and redownloaded from hacs - version shows as 1.2.3 I re-added the integration and entered the detail for logon but can't get past the configuration page now - I get the below error and the configuration page resets to default 2023-12-14 23:50:18.616 ERROR (MainThread) [custom_components.tplink_router.config_flow] TplinkRouter Integration Exception - Unkown error for pwd: {"errorcode":"no such callback","success":false} |
Your router has different api. Since I don’t have the opportunity to test on this version of the router, you can download the client and check which requests are incorrect for this router. |
Thanks - That will take me a while as I will need to do some learning first .. I will get back when I find out any answers |
@snigehere Please try new version - As TP-link Archer C1200 v2.0 support with different login process was added - your router may also be supported now |
Hi - Thanks for your action .. unfortunately neither work Previously the Archer C60 had to be rebooted after trying the integration as I could not log back on manually .. This time I got the message "You need to use web encrypted password instead. Check the documentation!" so went to try logging on the get the key however the router interface was in a messs again - this time the router seemed to think it did not have a password set so prompted for a new one (like if it was a new setup) but hung on trying to set one so I guess its interface is in a mess again. As I could not follow the encrypted password steps I need to reboot it at the end of the day. The WA1201 gave the same "You need to use web encrypted password instead. Check the documentation!" message so I followed the steps |
Ok - archer c60 rebooted ... I tried again with the standard password just to make sure and still got the "You need to use web encrypted password instead. Check the documentation!" message ... I guess its progress as no lockup on the interface this time. |
Thats mean your router has different API Would be great if you could add support for your router by creating PR with new class that extends https://github.com/AlexandrErohin/TP-Link-Archer-C6U/blob/main/tplinkrouterc6u/client.py#L16 |
Hi - thanks for the integration -
I have an Archer C60 v2.0 Firmware 2.0.0 Build 20161206 rel.60287
and a TL-WA1201 3.0 Firmware 1.10.32 Build 221020 Rel.61052n(4555)
I am looking for some kind of integration that I could use to access them for device tracking - is it possible to add this to the integration? Can I provide any information / detail to help?
I tried to connect both and got errors so guess there is no supported so far....
This is the error from the Archer C60
2023-12-13 23:55:42.549 ERROR (SyncWorker_2) [custom_components.tplink_router.config_flow] can only concatenate str (not "dict") to str
2023-12-13 23:55:42.656 ERROR (SyncWorker_3) [custom_components.tplink_router] can only concatenate str (not "dict") to str
2023-12-13 23:55:42.658 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry http://192.168.1.254 for tplink_router
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tplink_router/init.py", line 40, in async_setup_entry
coord = TPLinkRouterCoordinator(hass, device, config_entry.data[CONF_SCAN_INTERVAL], info, _LOGGER)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tplink_router/coordinator.py", line 19, in init
self.firmware = info[0]
The text was updated successfully, but these errors were encountered: