Question about adding separate controls for RGB and White LEDs on the same lamp #518
buguniao55555
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I recently purchased a ceiling light, and there are RGB LEDs on the side of the light and White/Yellow light at the front. I can separately control them in tuya app (turn on and off separately, adjust brightness separately). However, I can't figure out a way to separately control them using localtuya. I've looked into the dp data and noticed that it changes DP51 when I adjust RGB, brightness, temperature and on/off.


This screenshot is captured when I only turn on the RGB LEDs. Only DP51 changed.
After decoding using base64, the only difference between the two binary codes is this bit.
I also tried with white light and it will toggle the next bit after the RGB on/off bit.
When adjusting RGB color and temperature of the white light, no other DP except this DP51 changes. So I guess tuya put all controls all in this DP.
Is there any way I can directly send instructions to that DP? I'm wondering if there's a starting guide for such task.
Beta Was this translation helpful? Give feedback.
All reactions