rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.82k stars 543 forks source link

Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists #543

Open inventorematto opened 3 years ago

inventorematto commented 3 years ago

Hello folks, i'm facing this error but i don't know why...

"Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists."

Here some details of my setup:

i'm currenty running my hassio istance in a cloud VM hosted in contabo DC. The istance is a docker container updated al the latest possible version as the custom component Localtuya. Everything at network level just works as it should. Form IoT network i can reach hassio and viceversa.

IoT net 10.60.3.0/24 Contabo private net 10.60.0.0/24

i'm tring to add this gateway and this switch

No matter what i've tried i can't get out of this situation.

All info (Device ID, Local Key, Host) are 100% correct and retrivered from tuya dev account using APIs.

Packet Monitor of PFSense

19:20:43.663072 IP 10.60.0.35.53328 > 10.60.3.158.6668: tcp 0 19:20:43.664771 IP 10.60.3.158.6668 > 10.60.0.35.53328: tcp 0 19:20:43.688124 IP 10.60.0.35.53328 > 10.60.3.158.6668: tcp 0 19:20:43.695384 IP 10.60.0.35.53328 > 10.60.3.158.6668: tcp 55 19:20:43.695488 IP 10.60.0.35.53328 > 10.60.3.158.6668: tcp 104 19:20:43.697563 IP 10.60.3.158.6668 > 10.60.0.35.53328: tcp 0 19:20:43.699005 IP 10.60.3.158.6668 > 10.60.0.35.53328: tcp 28 19:20:43.722464 IP 10.60.0.35.53328 > 10.60.3.158.6668: tcp 0 19:20:43.724794 IP 10.60.3.158.6668 > 10.60.0.35.53328: tcp 60

Hope someone can help me😊

Kind Reguards

Mirco

lgwapnitsky commented 1 year ago

I'm having this issue with Aegislink Smoke and CO detectors. I've rebooted a number of times, closed the SmartLife App, disabled Internet access on my IoT VLAN, still no luck. It's either no datapoints, or unknown error.

Shpergl commented 1 year ago

Same issue with Atis IP-box (BCom Majic IPBox). image All my devices in one subnet. Walked through the steps above with no luck. Also I can manage my device in IOT Tuya platform and operate in Tuya smart APP. There are a couple smart sockets already added to localtuya and still work perfect with all DPs. Maybe I should share some additional info to help proceed this issue, or someone can share any ideas? Thanks in advice.

srtxema commented 10 months ago

You won´t believe my solution. After a lot of days losted and reading forums with "no datapoints found" problem, I have solve the problem only closing tuya and smartlife apps and after it adding normally to local tuya in HA