{
"result": {
"properties": [
{
"code": "switch_led",
"custom_name": "",
"dp_id": 20,
"time": 1701165459278,
"value": false
},
{
"code": "work_mode",
"custom_name": "",
"dp_id": 21,
"time": 1701163432151,
"value": "dynamic_mod"
},
{
"code": "colour_data",
"custom_name": "",
"dp_id": 24,
"time": 1696248937973,
"value": "003d03d40386"
},
{
"code": "control_data",
"custom_name": "",
"dp_id": 28,
"time": 1696232883464,
"value": ""
},
{
"code": "music",
"custom_name": "",
"dp_id": 102,
"time": 1696247788543,
"value": "424"
},
{
"code": "RGB_order",
"custom_name": "",
"dp_id": 103,
"time": 1701163432162,
"value": 1
},
{
"code": "LED_QTY",
"custom_name": "",
"dp_id": 104,
"time": 1701163432172,
"value": 30
},
{
"code": "dynamic_mod",
"custom_name": "",
"dp_id": 106,
"time": 1701163432151,
"value": "043263000003e803e8007803e803e800f003e803e8"
},
{
"code": "scene_mod",
"custom_name": "",
"dp_id": 108,
"time": 1696247502001,
"value": "CJ_YS"
}
]
},
"success": true,
"t": 1701276246105,
"tid": "829cbbd58ed611ee83c62e7e80387ed3"
}
Comments
Hello, can you check where is the data signal of LEDs connected? I think it may be connected to P16, which means there is a WIFI module driving LEDs directly, without TuyaMCU. Check Tuya docs to see where... [Read more]
The data pin seems to go into the unmarked black chip. Not sure if it goes to P16 (marked in red which actually is RX1) from there. https://obrazki.elektroda.pl/3997244000_1701278465_thumb.jpg ... [Read more]
You have marked RX, not P16. There is a difference between pin 16 on image and P16 of BK: P16 (SPI_MOSI) used to control LEDs directly is a pin 2 on the CBU image. https://obrazki.elektroda.pl/... [Read more]
I see what you mean - my bad There seems to be a trace coming out of P16: https://obrazki.elektroda.pl/4514204600_1701279587_thumb.jpg Seems to be going to the black chip under HR1 [Read more]
This is RGB + W device, right? So RGB LEDs are addressable and W is driven via PWM? [Read more]
RGB LEDs are addressable. But not sure if W is PWM - how can I tell? The device is still hooked up - if you think there is something to work on I can flash it to OBK. I have a tuya backup as a last... [Read more]
Does the brightness of all white LED always change together? Or can it display different brightness levels per LED? I don't know if OBK supports it, I think we can do some short tests and then restore... [Read more]
As attached to the original post - I think I have the correct back up? https://obrazki.elektroda.pl/7394011900_1701280755_thumb.jpg [Read more]
It seems correct, you can try to flash OBK and for a good start play with GPIO doctor, maybe one of the pins is a simple PWM to control white level. There is 6 available PWMs on CBU, so there is not... [Read more]
OK will do. I tried to dim the white light via Tuya app and all whites dimmed together. We will see what happens in OBK next :) BTW - so you dont end up waiting for me - Ill flash it and go to bed.... [Read more]
Once we finish testing with the GPIO doctor, we will also proceed to test the LEDs with current SM16703 driver. I tested it with WS2812 once, and it was somewhat working, but it wasn't perfect. [Read more]
GPIO Doctor shows that PIN6 = PWM. It controls the white color. https://obrazki.elektroda.pl/8478829600_1701304234_thumb.jpg Toggle and brightness work fine. [Read more]
Ok, now try: 1. Start driver startDriver SM16703P 2. Init Driver - replace 64 with number of LEds SM16703P_Init 64 3. Set Pixel SM16703P_SetPixel 1 255 0 0 SM16703P_SetPixel 2 0 255 0 SM16703P_SetPixel... [Read more]
OK, I get this: https://obrazki.elektroda.pl/9989825700_1701305873_thumb.jpg The first 3 LEDs are cool white. The second lot of 3 LEDs are RED. The third lot of LEDs are GREEN. The fourth lot of... [Read more]
You can try script from this post: https://www.elektroda.com/rtvforum/viewtopic.php?p=20734037#20734037 So the proof of concept works... [Read more]
OK, if I add that code below to autoexec.bat, I restart the device and nothing happens. I think I am doing something wrong. setChannel 10 1 again: addChannel 10 1 SM16703P_SetPixel $CH10-2 0 0 255 SM16703P_SetPixel... [Read more]
@pkaczmarek2 - Would you have some time to see if we can progress the work on this? Cheers :) [Read more]
I will try to look into it soon, but today I am finishing RN8209C driver: https://www.elektroda.com/rtvforum/viewtopic.php?p=20840241#20840241 On your side, I will most likely first do that CW/RGB separation... [Read more]
Hi @pkaczmarek2 - any progress on this yet? [Read more]