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 mini switch fails to configure in local Tuya #39

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

COLOROCK WiFi mini switch fails to configure in local Tuya #39

AndySymons opened this issue Dec 17, 2022 · 0 comments

Comments

@AndySymons
Copy link

(Works fine with cloud Tuya)

COLOROCK Mini WiFi Smart Light
https://www.amazon.co.uk/COLOROCK-Switch-Wireless-Control-Compatible/dp/B08LVC1DP3/ref=dp_prsubs_3

I already logged a very similar issue with another COLOROCK switch; might be the same problem?

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 (12 occurrences)
Last logged: 20:09:57

[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


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