You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After restarting the Home assistant, I see errors in the log. At the same time, the devices may work correctly, or they may remain in an unmanaged state. Restarting the device integration does not help. Sometimes, after some time, an unmanaged device can be controlled : it starts working correctly.
Log :
Logger: custom_components.localtuya.common
Source: custom_components/localtuya/pytuya/init.py:637
Integration: LocalTuya integration (documentation, issues)
First occurred: 09:56:25 (8 occurrences)
Last logged: 09:56:26
[706...03d] Connect to 192.168.31.243 failed
[002...cda] Connect to 192.168.31.108 failed
[505...1d2] Connect to 192.168.31.176 failed
[237...d12] Connect to 192.168.31.162 failed
[312...51b] Connect to 192.168.31.58 failed
Traceback (most recent call last):
File "/config/custom_components/localtuya/common.py", line 139, in _make_connection
self._interface = await pytuya.connect(
File "/config/custom_components/localtuya/pytuya/init.py", line 637, in connect
_, protocol = await loop.create_connection(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1056, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
return await fut
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionResetError: [Errno 104] Connect call failed ('192.168.31.229', 6668)
Environment
Localtuya version: lasted 3.2.2
Last working localtuya version (if known and relevant): I've been using it for a couple of months
Home Assistant Core version: I observe this from 2021.9.0 - 2021.9.6, now the last one 2021.9.6
[] Are you using the Home Assistant Tuya Cloud component ?
Are you using the Tuya App in parallel ? Smart Life, devices from which they are sent to Localtuya (I do not use it when working in the Home Assistant, I unload it from the smartphone's memory so as not to interfere with LocalTuya connections)
The problem
After restarting the Home assistant, I see errors in the log. At the same time, the devices may work correctly, or they may remain in an unmanaged state. Restarting the device integration does not help. Sometimes, after some time, an unmanaged device can be controlled : it starts working correctly.
Log :
Logger: custom_components.localtuya.common
Source: custom_components/localtuya/pytuya/init.py:637
Integration: LocalTuya integration (documentation, issues)
First occurred: 09:56:25 (8 occurrences)
Last logged: 09:56:26
Traceback (most recent call last):
File "/config/custom_components/localtuya/common.py", line 139, in _make_connection
self._interface = await pytuya.connect(
File "/config/custom_components/localtuya/pytuya/init.py", line 637, in connect
_, protocol = await loop.create_connection(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1056, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
return await fut
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionResetError: [Errno 104] Connect call failed ('192.168.31.229', 6668)
Environment
Steps to reproduce
Configuration
configuration.yaml
orconfig_flow
DP dump
The problem occurs with different my devices
Provide Home Assistant taceback/logs
Additional information
The text was updated successfully, but these errors were encountered: