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
When I try to manually add a Calex contact sensor device (automatic detection doesn't find it even though its in SmartLife and working and the device is Tuya capable), i get this exception error:
Logger: custom_components.localtuya.config_flow
Source: custom_components/localtuya/pytuya/__init__.py:626
Integration: LocalTuya integration (documentation, issues)
First occurred: 12:42:51 (1 occurrences)
Last logged: 12:42:51
Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/localtuya/config_flow.py", line 260, in async_step_basic_info
self.dps_strings = await validate_input(self.hass, user_input)
File "/config/custom_components/localtuya/config_flow.py", line 166, in validate_input
interface = await pytuya.connect(
File "/config/custom_components/localtuya/pytuya/__init__.py", line 626, in connect
_, protocol = await loop.create_connection(
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1025, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1010, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.8/asyncio/base_events.py", line 924, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 496, in sock_connect
return await fut
File "/usr/local/lib/python3.8/asyncio/selector_events.py", line 528, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('192.168.8.xxx', 6668)
The text was updated successfully, but these errors were encountered:
The sensors are not yet supported in this integration, only the devices that supports full time connections. The sensors as, contact or PIR only connects to wifi when value changes and so the integration is not able to connect to them.
SKULSHADY
pushed a commit
to SKULSHADY/localtuya
that referenced
this issue
Dec 28, 2024
When I try to manually add a Calex contact sensor device (automatic detection doesn't find it even though its in SmartLife and working and the device is Tuya capable), i get this exception error:
The text was updated successfully, but these errors were encountered: