-
Notifications
You must be signed in to change notification settings - Fork 537
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
device22 type devices unable to connect if they do not have dp id 1 #451
Comments
Unable to find device on network (specify IP address) It seems you have not specified the IP address. |
sorry , i wrote the wrong error issue . No w with IP Set i've got "Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect." |
Connection issues can be caused by any number of things. Do you have the mobile app open on the local network? Is localtuya already configured for this device? Do you have a separate Wifi network for your smart devices? is your docker networking set up correctly? |
(Force) closing the android app worked for me. Thanks! |
hello make-all, Here are debug log :
I managed to get DPS value with tinytuya directly on my host with following script:
I've tried to a add manually mydevice.yaml on devices folder of tuya_local :
but the tinytuya script is rrequesting DPS value 1 (and there is no feedback with DPS value 1 on this device) |
#507 I've added Device request with more infos thanks |
I too am having the same issue of "Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect." with the IP address set. I've added a simple YAML config for my device but I'm not sure if it's working or if I've done it right:
|
There is already a generic "dimming lightbulb" that covers that dp layout, so you shouldn't need a new config. Likely this device is also affected by the same issue. |
dpsUsed is required by device22 devices in order to get informmation back from async_refresh. For other devices it doesn't seem to be used. Default if not specified is "1" only, which is not enough for some devices. Other common starting points for dps are 20 and 101. Issue #451
Can't add new device :
Already reset it from the TUYA app, and add the new local key: still not working
Used Main branch
Home assistant docker 2023.2.5
Logger: custom_components.tuya_local.config_flow
Source: custom_components/tuya_local/config_flow.py:41
Integration: Tuya Local (documentation, issues)
First occurred: 12:41:25 (4 occurrences)
Last logged: 13:07:18
Unable to find device on network (specify IP address)
Logger: homeassistant.util.async_
Source: util/async_.py:182
First occurred: 12:41:42 (2 occurrences)
Last logged: 12:43:27
Detected blocking call to sleep inside the event loop. This is causing stability issues. Please report issue to the custom integration author for tuya_local doing blocking calls at custom_components/tuya_local/device.py, line 70: self._api = tinytuya.Device(dev_id, address, local_key)
The text was updated successfully, but these errors were encountered: