[Custom Component] TP-Link Router Integration (supports also Mercusys router)

Is there a way to implement a service that sets the guest Wifi password to a provided string? This way a Home Assistant automation could reset it regularly (daily?) and generate a QR-code for it to be displayed on the dashboard.

1 Like

v2.8.1 Released

Changelog

OlĂĄ. eu nĂŁo extou conseguindo conectar o meu EX511 no Ha tĂĄ dando erro eu jĂĄ coloquei esse cĂłdigo document.getElementById(“login-password”).value; Pra tentar pegar a senha que Ă© gerada e nada, nĂŁo se colocar o Login local e nĂŁo sei nem se esse roteador tem isso, queria ajuda.

1 Like

Try to pass user instead of admin when you got the error

Hello. Still need to try it, but would it be possible to extend it to add device control (allow/disallow) and/or parental control (enable/disable) ?

It need to add for all supported routers with different APIs. So for the start it would be great if you could add these features for your router here GitHub - AlexandrErohin/TP-Link-Archer-C6U: Python package for API access and management for TP-Link and Mercusys Routers. See supported routers list

Hi, I have a TP-Link NX510v router with the firmware version: 1.3.0 3.0.0 v6060.0 Build 250326 Rel.64623n. Do you have a support for it? I got the following error during the connection process:

TplinkRouter - EX - Login failed, wrong user or password. Try to pass user instead of admin in username

On the routers login page only password filed, no user.

UPNP could connect to the router, but only few infos collected from it.

Thanks your reply

@Jakint When you got this error - Try to pass in the field username - user instead of admin

Hi, Not working. Still the same error: TplinkRouter - EX - Login failed, wrong user or password. Try to pass user instead of admin in username. Any router settings I have to check? Also checkef but maybe missed something


v2.8.3 Released

Changelog

  • Some fixes for NX510v and routers that use EX API

Hi ,
Thanks very much for this great component - tested on Deco X55 and works great.
Is there a way to specify on device trackers how long to wait before turning to “Away”?
Devices keep connecting and disconnecting from Wifi - I believe there’s a standard option called consider_home in other native router integrations - not sure if it’s supposed to work here too.
Thanks!

1 Like

v2.8.4 Released

Changelog

  • Added MERCUSYS Halo H80X 1.0 to the supported list
  • Added TP-LINK Archer BE230 v1.0 to the supported list
  • Added TP-LINK TL-MR110-Outdoor v1.0 to the supported list

Hello, receiving the following errors and plugin will not load. Anything I can do to correct?

File "/usr/local/lib/python3.13/site-packages/tplinkrouterc6u/client/c6u.py", line 74, in request
    raise ClientError(error)
tplinkrouterc6u.common.exception.ClientError: TplinkRouter - TPLinkDecoClient - An unknown response - ord() expected a character, but string of length 0 found; Request admin/network?form=wan_ipv4 - Response {'data': ''}

works on Archer AX1500 as well

I couldn’t connect to my mercusys mr-80x router ;( in the first connection window, I specify the correct address and password, click Ok and thinks for a long time and falls off with a timeout error

Ahhh, you’re a fool
 Everything is fine now, it’s working

Hi! I’m getting this error when setting up.

TPlinkRouter - TplinkRouter - Cannot authorize! Error - ‘data’; Response - (‘errorcode’: ‘no such callback’, ‘success’: False)

I’ve logged out of the web admin page of my router BE800 (BE19000) and I’m on version Firmware Version: 1.3.0 Build 20250710 rel.60037(5347)

What is your router hardware version?

It is Archer BE805 v1.0

I noticed that if you go to the router settings page through the browser after installing and configuring the integration, you will be thrown out after a minute. Could this be related to the integration?

router mercusys mr-80x (version: 1.1.1 Build 20230905 rel.66655(4555))