-
Notifications
You must be signed in to change notification settings - Fork 530
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, #1468
Comments
Sharing this problem trying to set up localtuya for first time today. Attempting to add heaters and bulbs both yield same message and stack trace. |
I have had this same issue for nearly a year now on multiple versions. I'm currently using HA core 2023.7.3 and the latest HACS localTuya version and I just tried getting it to work again (since my free year of Tuya cloud is almost up) but I am still seeing the same problem. I only have 1 Tuya compatible device on my account and on my network. It is a pet feeder, which has a "Tuya Scene" (this toggles the feeder switch) and a security camera. These show up as 2 separate devices on the regular cloud based Tuya integration but they both work perfectly there. I have not been able to get anything to work on Local Tuya. i've got the device id and the looked-up local_key but when I attempt to add the device using protocol version 3.3, I immediately get the error "Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists." If I attempt to add the device with protocol version 3.4, it spins there for a minute before coming back with that same error. |
I have the sam problem. I cannot get the camera's in homeassistant tuya nor localtuya. |
I actually have no problems with the camera using the regular cloud-based tuya integration. With the cloud-based tuya integration the cam shows up as a sensor and all of it's extras show up as configuration controls (flip [switch], motion alarm [switch], motion detection sensitivity [drop down list], motion recording [switch], record mode [drop down list], video recording [switch]) and they all work great. The localtuya integration is where I'm seeing the no-datapoints-found error and this is preventing me from using the camera and replacing the cloud-based tuya integration with the localtuya integration. I'm curious, gootr00, do you see this same error with the cloud-based tuya integration as well? |
Same here cloud-based tuya works but got the same error as lcsneil in the local tuya hope its fixet soon |
Im facing same issue |
i am also getting this same error while trying to add a breaker with energy monitor feature, whereas i am using 7 other on/off switches with energy monitor (the switches work fine while also giving me readings regarding current, voltage and watts usage) config_entry-localtuya-0f4d0723e6185c802cc31923261f5da4.json.txt |
While local-tuya works fine for me for my Wifi smart dimmers I have the same issues reported here when trying to add an outdoor RGB LED; i.e.
Log file of the process of adding the RGB LED I can add the device in the Tuya Smart app and it works fine. When adding it to Home Assistant I get the above error. Did a bit more digging around datapoints. I have used the method described by Jimmy James (https://www.youtube.com/watch?v=Q1ZShFJDvE0&t=372s) to find the keys. In the referenced time stamp he also shows how to check the info on data points from the IOT cloud service. I have done the same with the RGB light and I don't get a What I get from my light is the following specs; you see that So I wonder whether there's a firmware issue or a setting to make this available... |
Same issue here too with PJ-1103 WiFi Digital Meter
|
i have switched to standard toya integration by Home Assistant and problem
resolved. Now the WiFi breaker with energy meter works fine and all the
entities are displayed ie current, voltage and energy for phase A, B, C
(though B and C have zero values as this is a single phase device, so i
disabled the entities for B and C)
…On Wed, Aug 16, 2023 at 11:37 PM Márton Szalai ***@***.***> wrote:
Same issue here too with PJ-1103 WiFi Digital Meter
- I have tried Local Tuya integration, with and without Cloud API
- I also tried downloading and using the Local Tuya master branch
- The Tuya integration shows that "WiFi Digital Meter (unsupported)",
so it doesn't list any entities
- And I also renewed my subscription to Tuya IoT
- And many-many restarts and Local Tuya reinstallations
—
Reply to this email directly, view it on GitHub
<#1468 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5Q3KNAQXWHZQCFGFQSDIALXVUHNTANCNFSM6AAAAAA24KDP7E>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Just so there's no confusion...the problem technically isn't resolved, as the "no datapoints found" issue is with LocalTuya. The standard Tuya integration does work for many of us but it requires that cloud connection, which is what LocalTuya helps us get away from. |
yes you are right
…On Thu, Aug 17, 2023 at 12:25 AM gh69 ***@***.***> wrote:
Just so there's no confusion...the problem technically isn't *resolved*,
as the "no datapoints found" issue is with *LocalTuya*. The standard Tuya
integration does work for many of us but it requires that cloud connection,
which is what LocalTuya helps us get away from.
—
Reply to this email directly, view it on GitHub
<#1468 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5Q3KNGCVYOBJON2GBTIY2DXVUND3ANCNFSM6AAAAAA24KDP7E>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm geting the same issues :( |
There are 2 main reason that can cause this error, as far that I know
Some said restart router or HA can fix this issue is probably because by restarting those u probably disconnected the client that connected to the device. |
Just a quick update that I was able to successfully add the device via Tuya Local. I know this doesn't really address why it's not working in LocalTuya but at least there's a workaround. I'm also impressed that both integrations can coexist (i.e. Tuya Local and LocalTuya) |
Tried removing localtuya, rebooting, installed xZetsubou' fork reboot and and got exactly the same issue (with all 4 protocol versions). No datapoints found. lcsneil |
Ok - I have solved it for me. End user error. Given that others sound like they have the same symptoms I will embarrass myself by admitting what I did wrong. Basically RTFM! I was using the 'secret' key on the Tuya cloud account, as the local key. This is NOT the one you need for the local key. That you find as per the instructions. Using that cloud key as the local one gives you device found but no data points as per my original problem. As the installations instructions say... Off to hang my head in shame ........ lcsneil |
Adding to the mix - in case someone else may benefit: |
I get this error message with 5.2.1 and Local key, ip address of the device, user id etc are all set up correctly. Tho in my old home assistant instance where I use 3.2.4.2 with the protocol version 3.5 everything is working fine. in 5.2.1 there is no 3.5 protocol version. Below is my log;
|
Stò provando a configurare la centralina RainPoint TTV103FRF_wifi con localTuya ma ricevo anche io lo stesso errore:
Quello che ho potuto notare è che il configuratore di localTuya trova solo l'HUB connesso alla rete. Effettuando un controllo attraverso il pannello sviluppatore di Tuya IoT Platform, rispettivamente in Cloud > Development > My Project > Devices è possibile notare che l'HUB non ha nessun DP instruction, mentre la Valvola di controllo dell'acqua (Water valve controller) e la Presa (Socket)" si, ma senza local_key non riesco ad aggiungerle. Qualcuno si trova nella mia stessa situazione ed è riuscito ad ovviare al problema in qualche modo?? Di seguito il debug dell'errore:
|
The problem
Device connects fine to Tuya Cloud and works with the phone app no issues. Try to then configure it on localtuya.
The device is found and I have put in the parameters from the web account and get error that device is found but no data points.
Environment
Using Version 5.2.1 (have also tried 5.0.0 with same results)HA running on RPi4
DP dump
Provide Home Assistant traceback/logs
Additional information
The text was updated successfully, but these errors were encountered: