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

COLOROCK WiFi cable switch fails to configure in local Tuya #38

Open
AndySymons opened this issue Dec 17, 2022 · 0 comments
Open

COLOROCK WiFi cable switch fails to configure in local Tuya #38

AndySymons opened this issue Dec 17, 2022 · 0 comments

Comments

@AndySymons
Copy link

AndySymons commented Dec 17, 2022

(Works fine with Cloud Tuya)

Colorock CR-LN2
https://www.amazon.co.uk/gp/product/B08RD4W89S/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

See also my similar issue with the COLOROCK cable switch

When I configure this device in Local tuya it fails to detect either protocol 3.1 or 3.3 automatically. I selected each in turn manually, but for both received the error message "Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists."

Debug Log

This error originated from a custom integration.

Logger: custom_components.localtuya.pytuya
Source: custom_components/localtuya/pytuya/init.py:259
Integration: LocalTuya integration (documentation, issues)
First occurred: 19:20:34 (8 occurrences)
Last logged: 19:40:52

[bf4...5ke] Failed to get status:
[bfb...ul7] Failed to get status:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/locks.py", line 390, in acquire
await fut
asyncio.exceptions.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 456, in wait_for
return fut.result()
asyncio.exceptions.CancelledError

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

Traceback (most recent call last):
File "/config/custom_components/localtuya/pytuya/init.py", line 574, in detect_available_dps
data = await self.status()
File "/config/custom_components/localtuya/pytuya/init.py", line 507, in status
status = await self.exchange(STATUS)
File "/config/custom_components/localtuya/pytuya/init.py", line 486, in exchange
msg = await self.dispatcher.wait_for(seqno)
File "/config/custom_components/localtuya/pytuya/init.py", line 259, in wait_for
await asyncio.wait_for(self.listeners[seqno].acquire(), timeout=timeout)
File "/usr/local/lib/python3.10/asyncio/tasks.py", line 458, in wait_for
raise exceptions.TimeoutError() from exc
asyncio.exceptions.TimeoutError


@AndySymons AndySymons changed the title WiFi switch fails to configure in local Tuya COLOROCK WiFi cable switch fails to configure in local Tuya Dec 17, 2022
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

1 participant