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

Yagusmart WiFi wall switch fails to configure in local Tuya #40

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

Yagusmart WiFi wall switch fails to configure in local Tuya #40

AndySymons opened this issue Dec 17, 2022 · 0 comments

Comments

@AndySymons
Copy link

It works fine with cloud Tuya and I have integrated other switches of the same type into local Tuya, so this may be a local issue - but how do I track it down?

Yagusmart Smart Wall Light Switch (1 Gang)
https://www.amazon.co.uk/gp/product/B07Z373K81/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&th=1

When I configure this device in Local tuya it detects 3.3 automatically, but gives the message "An unknown error occurred. See log for details."

Debug Log

This error originated from a custom integration.

Logger: custom_components.localtuya.config_flow
Source: custom_components/localtuya/pytuya/init.py:704
Integration: LocalTuya integration (documentation, issues)
First occurred: 18:54:51 (8 occurrences)
Last logged: 20:33:03

Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/localtuya/config_flow.py", line 580, in async_step_configure_device
self.dps_strings = await validate_input(self.hass, user_input)
File "/config/custom_components/localtuya/config_flow.py", line 245, in validate_input
interface = await pytuya.connect(
File "/config/custom_components/localtuya/pytuya/init.py", line 704, in connect
_, protocol = await loop.create_connection(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1064, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1049, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 960, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 500, in sock_connect
return await fut
File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 535, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('192.168.1.30', 6668)


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