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

TUYA Bulbs not discovered by integration #1709

Open
JohnMcIl opened this issue May 7, 2024 · 5 comments
Open

TUYA Bulbs not discovered by integration #1709

JohnMcIl opened this issue May 7, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@JohnMcIl
Copy link

JohnMcIl commented May 7, 2024

The problem

I have two new Tuya bulbs which the naive Tuya integration is correctly identifying, but localtuya is not.

See screenshots for proof
Screenshot 2024-05-07 at 11 07 05 am
Screenshot 2024-05-07 at 11 07 10 am

Devices are Mirabella 15W Smart Bulbs
https://www.bunnings.com.au/mirabella-genio-smart-wi-fi-dimmable-bc-15w-led-2-pack-globes_p0495711

Environment

Home Assistant Green
localtuya 5.2.1
Core 2024.5.1
Supervisor 2024.04.4
Operating System 12.2
Frontend 20240501.0
I do not control the lights using the Tuya app, but of course the devices are enrolled by that method hence Tuya Cloud works. I have attempted to enrol the lights to localtuya with the Tuya iOS app CLOSED.

Steps to reproduce

  1. Try and add the device
  2. It fails
  3. I tried using Manual DPS but the Switch ID 20 is not found and you cannot switch the device So, adding manually DOES work, but then you cannot control the device.
  4. tl;dr this seels ot be a discovery problem by localtuya because the Tuya Cloud integration has no issue.
@JohnMcIl JohnMcIl added the bug Something isn't working label May 7, 2024
@phinor
Copy link

phinor commented May 10, 2024

Facing the same problem. My HA version and Local Tuya versions are identical to above.

@phinor
Copy link

phinor commented May 10, 2024

When specifying details manually, I 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."

The error log (which has several errors in "discovery.py" is attached.

home-assistant_localtuya_2024-05-10T15-14-31.712Z.log

@DravenSA
Copy link

Just purchased a new Bulb, a brand I have several off, and today I face the same problem
"Connection to device succeeded but no datapoints found, please try again. Create a new issue and include debug logs if problem persists."

Yet last week, I put in the exact same bulb, and had no problems

Localtuya 5.2.1

Core 2024.5.5
Supervisor 2024.05.1
Operating System 12.3
Frontend 20240501.1

I was about to take the bulb back and see if they have "older" stock

@sakibiqbal
Copy link

sakibiqbal commented Jun 4, 2024

Same issue here. Device information from my Tuya developers account is as follows:

"result": [
    {
      "active_time": 1716656986,
      "bind_space_id": "xxxxxxx",
      "category": "dj",
      "create_time": 1716289374,
      "custom_name": "Living Room RGB 2",
      "icon": "smart/icon/bay16191755140180B2P/6a7e51f3d9e9a6b9b5fe0724ad0a5483.png",
      "id": "xxxxxxxxxxxxx",
      "ip": "xx.xx.xx.xx",
      "is_online": false,
      "lat": "xx.xx",
      "local_key": "abcd",
      "lon": "xx.xx",
      "model": "亮牛 芯片上板 BP5758 9w球泡",
      "name": "LED BULB W509Z2",
      "product_id": "xibcsv6dp3ajzth9",
      "product_name": "大货230V球泡芯片上板(请勿更新)",
      "sub": false,
      "time_zone": "+06:00",
      "update_time": 1716656986,
      "uuid": "xxxxxx"
    }

@toddstar
Copy link

toddstar commented Jun 4, 2024

Try https://github.com/xZetsubou/hass-localtuya that updated version of localtuya found my new plug sockets that this version didn't find & wouldn't connect to when setting the IP manually.

Also has some handy updates like auto configuration & save template which make adding devices much quicker

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

5 participants