-
Notifications
You must be signed in to change notification settings - Fork 528
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
Connection to device succeeded but no datapoints found, please try again. #1041
Comments
I have the same, only does anyone support this project? |
I received the same when adding devices I already had added to another instance of HA and Local Tuya. They are the atomi string lights. I cannot add these lights to Local Tuya anymore. |
To confirm this isn't me, I copied the settings directly from the edit screen in my older/established instance and pasted them into the newer version and I got the same results as above. Something has definitely changed where it's not allowing these devices to establish the connection now. |
You can force it through it you play with the DPS's. I got the settings to expose on the next screen and they're pretty close to what I need, but I couldn't quite make it work. I'm sure if I try every combination, I'll eventually get it. I'm copying the settings from my old HA instance. |
Did you get it work?? |
not yet…. :( What is the DPS???
Az iPademről küldve
… 2022. szept. 26. dátummal, 6:51 időpontban kevvar ***@***.***> írta:
You can force it through it you play with the DPS's. I got the settings to expose on the next screen and they're pretty close to what I need, but I couldn't quite make it work. I'm sure if I try every combination, I'll eventually get it. I'm copying the settings from my old HA instance.
Did you get it work??
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
A guy made it work in this thread I'm waiting his response, maybe you can follow it |
I am also facing the same issue after I bought a brand new simple wifi switch. From SmartLife App, it is working fine.
Tested with both 3.1 and 3.3 Protocols but no success. I found this Error Log entry -
Please suggest how to fix this stupid issue. |
Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists. Logger: custom_components.localtuya.pytuya [638...ad0] Failed to get status: During handling of the above exception, another exception occurred: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): |
I experienced the same issue. Only way to add devices cleanly was to restart HA after each device is added. This may be down to variables not being reset between adding devices (restarting HA ensures everything is torn down). |
Some of these devices might not work because they are using the 3.4 protocol. |
Greate news @rospogrigio, how can I try it? just downloading the add-on? |
Well there are several ways to do it, the simplest is to just download the |
Thanks @rospogrigio I'll try it, and provide some feedback |
My bad @rospogrigio I did not replace the EDIT: All my tuya switches are working @rospogrigio thanks buddy your work is amazing. Blessings |
Yes, sorry I forgot that also config_flow.py had changed. Let me know how it goes... |
Sure @rospogrigio I edited my last comment. All my switches are working!! thanks a lot!! |
Wow! It works! |
After changing the files: _```
SyntaxError: invalid character '·' (U+00B7) Logger: homeassistant.setup Setup failed for custom integration localtuya: Unable to import component: Exception importing custom_components.localtuya
|
Maybe the file name? The correct one is |
Sure, I changed the underscore file After changing back HA shows no errors. |
@milandzuris did you change the 2 files? |
yes |
@milandzuris screenshots are not useful at all, you need to provide debug messages to allow me to understand what's going wrong. |
Check the files code with the code on the pull request, maybe there are differences, when I downloaded the files the browser did a weird thing and changed the code in the files, so I had to copy and paste the code manually |
This error originated from a custom integration. Logger: homeassistant.loader Unexpected exception importing component custom_components.localtuya |
fixed, thx for work @rospogrigio |
Glad to read that @milandzuris . Just for other people who might end in the same situation, what was your problem and how did you solve it? Thank you for your feedback. |
copy code from github and edit file in vscode |
You won´t believe my solution. |
The same for me, I'm trying to integrate temperature sensor TH01CB3S. |
If someone need Data Points for Setup here: https://github.com/DzurisHome/Tuya-Data-Points |
very interesting. Thanks! |
Thank you Chema and Dzuris, after putting 1 and 1 into DP fields and also closing Smartlife app in my phone, my switch was finally linked into Home Assistant - local Tuya integration. Not sure which of the solutions worked though :) |
Hello
What does this mean?
I reinstalled local tuya and since then I am not able to add the devices.
thanks
The text was updated successfully, but these errors were encountered: