Skip to content

Integration with Mercusys ME60X #219

@areknames96

Description

@areknames96

I tried to set up integration with some of my Mercusys ME60X routers with:
Firmware: 1.0.7 Build 20250320 Rel. 65046
Hardware: ME60X v1.0
using the encrypted password, but I get this error in the logs:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tplink_router/init.py", line 48, in async_setup_entry
firmware, status = await hass.async_add_executor_job(TPLinkRouterCoordinator.request, client, callback)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/tplink_router/coordinator.py", line 58, in request
data = callback()
File "/config/custom_components/tplink_router/init.py", line 44, in callback
stat = client.get_status()
File "/usr/local/lib/python3.13/site-packages/tplinkrouterc6u/client/c6u.py", line 288, in get_status
data = self.request('admin/status?form=all&operation=read', 'operation=read')
File "/usr/local/lib/python3.13/site-packages/tplinkrouterc6u/client/c6u.py", line 74, in request
raise ClientError(error)
tplinkrouterc6u.common.exception.ClientError: TplinkRouter - TplinkC5400XRouter - An unknown response - Expecting value: line 1 column 1 (char 0); Request admin/status?form=all&operation=read - Response Failed to execute call dispatcher target for entry '/admin/status'.
The called action terminated with an exception:
?:0: attempt to call field 'Apcfg' (a nil value)
stack traceback:
[C]: in function 'assert'
?: in function 'dispatch'
?: in function <?:194>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions