Skip to content
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

Smart plug Tapo P110M timeout error #811

Closed
Piotruch88 opened this issue Jan 8, 2025 · 2 comments
Closed

Smart plug Tapo P110M timeout error #811

Piotruch88 opened this issue Jan 8, 2025 · 2 comments

Comments

@Piotruch88
Copy link

Piotruch88 commented Jan 8, 2025

Description

My P115M sockets stopped working. Even when I run a clean 'factory' HAOS installation I am unable to connect to my sockets. Interestingly, it works perfectly on HA in Docker Compose. I set a static IP address, changed the passwords from the TP LINK account and nothing helped.

Reproduction Steps

HA installation as HAOS x64 (not on docker compose)

Expected behavior

connection to the Tapo P115M socket

If applicable, add error logs.

Traceback (most recent call last):
File "/config/custom_components/tapo/config_flow.py", line 314, in _async_get_device
device = await connect(config=config, session=session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/plugp100/new/device_factory.py", line 43, in connect
protocol = await _get_or_guess_protocol(config, session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/plugp100/new/device_factory.py", line 65, in _get_or_guess_protocol
return await _guess_protocol(config, session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/plugp100/new/device_factory.py", line 94, in _guess_protocol
info = await protocol.send_request(device_info_request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/plugp100/protocol/passthrough_protocol.py", line 45, in send_request
response = await self._send_request(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/plugp100/protocol/passthrough_protocol.py", line 65, in _send_request
await self._login_with_version(self._credential)
File "/usr/local/lib/python3.13/site-packages/plugp100/protocol/passthrough_protocol.py", line 84, in _login_with_version
session_or_error = await self._passthrough.handshake(self._url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/plugp100/protocol/securepassthrough_transport.py", line 70, in handshake
response = await self._http.async_make_post(url, json=request_body)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/plugp100/common/utils/http_client.py", line 18, in async_make_post
async with self.session.post(
~~~~~~~~~~~~~~~~~^
url, json=json, headers=self.common_headers
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
) as response:
^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 1425, in aenter
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aiohttp/client.py", line 707, in _request
raise ConnectionTimeoutError(
f"Connection timeout to host {url}"
) from exc
aiohttp.client_exceptions.ConnectionTimeoutError: Connection timeout to host http://192.168.8.157/app

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/config/custom_components/tapo/config_flow.py", line 143, in async_step_user
device = await self._async_get_device(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/tapo/config_flow.py", line 322, in _async_get_device
raise CannotConnect from error

Device Firmware

1.2.3 Build 240617 Rel.153525

Integration Version

latest official version

Using stream component

Yes

Does camera work via official integrations?

No

Camera has all attributes filled out in developer tools

Yes

HASS Environment

HAOS x64

Search for similar issues

Yes

Additional information

image
image

@JurajNyiri
Copy link
Owner

Wrong repo this one is for cameras.

@Piotruch88
Copy link
Author

Wrong repo this one is for cameras.

ok soory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants