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
-
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.
![image](https://private-user-images.githubusercontent.com/45143313/407160782-ccf322e1-bc92-47df-9aed-ca0ebff199d9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwOTIzNjUsIm5iZiI6MTc0MDA5MjA2NSwicGF0aCI6Ii80NTE0MzMxMy80MDcxNjA3ODItY2NmMzIyZTEtYmM5Mi00N2RmLTlhZWQtY2EwZWJmZjE5OWQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDIyNTQyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3NDBjZmVkNTgwNjY3NmZhNzcyMDRmOGNlZTM5MjcyZDZmMzFjMzBlNmE2OTM1NGZjMGJmZDU1MjJmNDliZTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.-Brs6stPRY3NaDHLcr20I3bWC96zm18s9-uuZydYWrE)
![image](https://private-user-images.githubusercontent.com/45143313/407161137-5e6bfb49-9cc0-4b5f-922a-177c3bd442dd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NDAwOTIzNjUsIm5iZiI6MTc0MDA5MjA2NSwicGF0aCI6Ii80NTE0MzMxMy80MDcxNjExMzctNWU2YmZiNDktOWNjMC00YjVmLTkyMmEtMTc3YzNiZDQ0MmRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjIwVDIyNTQyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJhYzQxY2ZmODRjMWE2YTk4MDMwMzgyOGI0YzM4NzFjMjhkMGMyOWNlYmFhZDZhMDhkNDBkZDc5MzZiMjg0ODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.DWK4CF-ZsU1EnP48KeL8mUnHmz3RZrqqxJbWmVK0JAw)
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