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]: 5LRGB not supported (Rgbwc light with 2 separate lights on 1 device) #416

Closed
2 of 3 tasks
kylerobi opened this issue Dec 9, 2024 · 4 comments
Closed
2 of 3 tasks
Labels
bug Something isn't working stale

Comments

@kylerobi
Copy link

kylerobi commented Dec 9, 2024

LocalTuya Version

3.4

Home Assistant Version

2024.12.1

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?

The On/Off function for both the lights works perfectly (turning this off will turn off both lights, turning it on will turn on to the previous state).

I realized that the code for Mix Color only sends out cgZour// commands. For this device it sends 3 of these commands. "cgZour" for rgb lights only, "cgdour" for both lights, and "cgVour" for white lights only(with temperature).
I then noticed after a bit of diagnostic testing that these changed to "cgU" + rgb color code + cw temp code for white mode only, "cgc" + rgb color code + cw temp code for white mode only, and "cgY" + rgb color code + cw temp code for white mode only

Screenshot 2024-12-08 at 11 13 48 PM

Steps to reproduce.

testing using HA

Relevant log output

No response

Diagnostics information.

No response

@kylerobi kylerobi added the bug Something isn't working label Dec 9, 2024
@xZetsubou
Copy link
Owner

Post the devices diagnostics. even tho I kinda understand what you meant by command//data logic I don't think I'm able to implement this in localtuya due to not fully sure how does this actually works or having any similar devices to this.

@kylerobi
Copy link
Author

Hello,

I attached the full log i have from this device. if there’s a way to edit commands for this thread and test it, I would be happy to set the commands for the colors and figure it out. I would just need instruction is all
history.csv

@xZetsubou
Copy link
Owner

I meant "Device Diagnostics" not the logs :)

Copy link

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Dec 27, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants