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

[Bug]: Connection to device succeeded but no datapoints could be found. Please try set-up again #438

Closed
1 of 3 tasks
simbalolol opened this issue Dec 22, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@simbalolol
Copy link

LocalTuya Version

2024.12.1

Home Assistant Version

2024.12.5

Environment

  • Does the device work using the Home Assistant Tuya Cloud component?
  • Is this device connected to another local integration, including Home Assistant and any other tools?
  • The devices are within the same HA subnet, and they get discovered automatically when I add them

What happened?

I had previously added the device and it was working fine as a test , when i deleted it , and added it again , it was not able to find datapoints
home-assistant_localtuya_2024-12-22T15-15-05.985Z.log

Steps to reproduce.

  1. Click Configure
  2. Add New Device
  3. Select Local Device
  4. Add Device Name And Local Key (Sourced from Tuya Dev Platform)
  5. Product Version 3.4 ( Automatic)
  6. Click

Relevant log output

No response

Diagnostics information.

No response

@simbalolol simbalolol added the bug Something isn't working label Dec 22, 2024
@simbalolol
Copy link
Author

THIS IS THE CORRECT LOG FILE

home-assistant_localtuya_2024-12-22T15-23-33.060Z.log

@dbpage
Copy link

dbpage commented Dec 31, 2024

Same issue with me on two mini smart plugs, one new and one deleted to see if I can add it. Two other previously-configured mini smart plugs work fine. All 4 work fine with Tuya cloud and HA integration. All are version 3.3.

@flavioxavier
Copy link

Same here I deleted a smart switch (to test something ) and can't add it again it was working previously.

@dbpage
Copy link

dbpage commented Jan 3, 2025

I went to tuya.com and renewed my free iotcore subscription another 6 months. That allowed me to restore my deleted and install my new mini smart plug. All my mini smart plugs are active now. That resolved the issue.

@flavioxavier
Copy link

flavioxavier commented Jan 3, 2025

I went to tuya.com and renewed my free iotcore subscription another 6 months. That allowed me to restore my deleted and install my new mini smart plug. All my mini smart plugs are active now. That resolved the issue.

Thanks for the tip hope it helps some people, but that is not my issue since my iotcore only expires at 28/02/2025

@flavioxavier
Copy link

I removed the device from mains and added again and it works now, needed a reset.

@xZetsubou
Copy link
Owner

Since Tuya device has toxic behavior when using them on fully local environment I can't be sure if this related to the integration, I tried following the step you reproduced and deleted many devices as test no issues occurs, well at least glad you fixed it.

The logs you posted seems the device does connect successfully however the dps status payload it reports it fail to decrypted due to payload is empty, so I wonder if toggling a DPS in the device from smart life app would fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants