[BK7231T][WB3S] MCU Dimmer SL-02 Firmware Flashing & Configuration Issue
TL;DR
- A BK7231T WB3S-based SL-02 MCU dimmer is being flashed and configured after the original module was removed and dumped.
- TX traffic from the stock firmware shows Tuya SetDP packets for dpId 21 Enum V=1 and dpId 24 Str V=008303e803e8 while setting green.
- Using `tuyaMcu_setupLED 24 0` makes dimmer buttons appear in the web UI.
- The buttons still do not work, and the missing `[TasFormat] [dpIDPower]` mapping seems to be the remaining problem.
Removing WB3S with soldering iron wasn't easy, cause copper is very thin and easy to torn apart.
Otherwise usual flashing.
I've dump tx pin on original firmware when setting color(green)
//R 2024-02-23 14:13:14 WiFi received:
55AA00060005150400010125
//R 2024-02-23 14:13:15 WiFi received:
55AA000600101803000C30303833303365383033653807
Received by WiFi module:
55 AA 00 06 00 05 1504000101 25
HEADER VER=00 SetDP LEN dpId=21 Enum V=1 CHK
Received by WiFi module:
55 AA 00 06 00 10 1803000C303038333033653830336538 07
HEADER VER=00 SetDP LEN dpId=24 Str V=008303e803e8 Col: ■ CHK
And tried config
startDriver TuyaMCU
tuyaMcu_setupLED 24 0with this I see dimmer buttons on web, but they don't work.
I guess I missed something in
>[TasFormat] [dpIDPower]
Could someone please point me in the right direction
Comments
Here is TuyaMCU guide: https://www.elektroda.com/rtvforum/topic4038151.html I'd start with: // Start TuyaMCu driver startDriver TuyaMCU // set TuyaMCU baud rate //tuyaMcu_setBaudRate 115200 //... [Read more]
lamp is RGB + contrast and brightness. With startDriver TuyaMCU tuyaMcu_setBaudRate 115200 tuyaMcu_defWiFiState 4 in autoexec.bat, here is result of tuyaMcu_sendQueryState Info:CMD:[WebApp... [Read more]
PR https://github.com/OpenBekenIOT/webapp/pull/79/commits/3abb6e3d9cb29dc4c4cbe95d162eac0ecef8fd7e [Read more]
@babaganesh thank you for providing TuyaMCU captures. However, it is not clear from your post, is the device working now with the OBK config I suggested, or is something still missing? The LED devices... [Read more]