When I try manual integration giving the IP and local key, I get this error:
2022-04-03 07:30:28 ERROR (MainThread) [custom_components.localtuya.config_flow] Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/localtuya/config_flow.py", line 283, in async_step_basic_info
self.dps_strings = await validate_input(self.hass, user_input)
File "/config/custom_components/localtuya/config_flow.py", line 189, in validate_input
interface = await pytuya.connect(
File "/config/custom_components/localtuya/pytuya/__init__.py", line 669, 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}')
OSError: [Errno 113] Connect call failed ('192.168.1.63', 6668)
This sensor seems to sleep after a certain amount of time and not always listening to http requests. May be this can be a problem for the local tuya integration. It works well with the Cloud Tuya integration.
There is one X-Sense (very frequent) smoke sensor logs. It will be really great to have this in Local Tuya.
When I try manual integration giving the IP and local key, I get this error:
This sensor seems to sleep after a certain amount of time and not always listening to http requests. May be this can be a problem for the local tuya integration. It works well with the Cloud Tuya integration.