logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

BK7231T Globe Fairy Lights - can't get GPIO config config template or cloud-cutter profile

MnM1 5064 49
Best answers

How can I configure a BK7231T Globe Fairy Lights device when the Tuya GPIO config and CloudCutter profile do not reveal a usable LED layout?

You likely cannot solve this with a normal PWM GPIO template because the lights are individually addressable and not a simple TuyaMCU/PWM setup [#20658806][#20658944] The thread confirms the LED bundle has only three wires, V+, LED, and GND, which points to an internal driver such as WS2812B rather than separate RGB PWM channels [#20658887][#20658944] The recommended next step was to identify the exact LED controller by opening one LED or testing the strip with an Arduino/ESP32 WS2812 example, since OpenBK did not yet support that driver on BK7231T at the time [#20659400][#20659424] One later confirmation found the LEDs are indeed WS2812B, and the workaround that worked reliably was to move the strip to an ESP32 and drive it with ESPHome/WLED-style WS2812 support [#20754527][#20825703] For OpenBK specifically, WS2812 animations were still noted as supported on BK7231N but pending for BK7231T, so waiting for firmware support or switching hardware were the practical options [#21234855][#21728417]
Generated by the language model.
ADVERTISEMENT
  • ADVERTISEMENT
  • #32 21233172
    Nimierkki
    Level 6  
    Posts: 10
    Christmas is coming and light is still not running, any luck with this one without buying esp board ? :D
  • #33 21234845
    jshstadler
    Level 4  
    Posts: 6
    >>21233172
    No, not as far as I'm aware.
    The experience with an ESP has been much more reliable so far than with the previous board and Tuya firmware. I'd say the ESP is worth it.
  • #34 21234855
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14622
    Help: 655
    Rate: 12641
    WS2812 with animations is supported by OBK on BK7231N platform, but T is still pending. See PixelAnim driver info: https://www.elektroda.com/rtvforum/topic4057187.html
    Helpful post? Buy me a coffee.
  • #35 21359022
    openbaker
    Level 2  
    Posts: 2
    Has there anyone been successful with flashing this WB8 module? I connected wires from the GND, RX1, TX1 test pins (see picture above #6) of the WB8 module to a Serial-UART adapter but was not able to flash. The module was powered via barrel socket, the adapter from USB. But even with several attempts to disconnect and reconnect the module from power the flasher application was not able to communicate. It seems btw that the wiring at least for TX1, RX1, Vcc and GND is the same as for the WB3S module. Now that we have the SPI driver integrated it would be cool if we could reflash the BK7231T chip.
  • #36 21373382
    tozim
    Level 4  
    Posts: 3
    >>21359022
    I managed to flash it without any issues, using a CH340 UART adapter connected to the measure points on the back for GND, 3.3V, RX1 and TX1 (the latter two switched on the UART adapter obviously), and without connecting the barrel plug.
    I haven't been able to get the LED string to work however.
  • ADVERTISEMENT
  • #37 21720184
    MnM1
    Level 10  
    Posts: 175
    Help: 4
    Rate: 13
    I have updated to the latest ALT firmware for this device.
    It seems that WS2812 with animations is still not supported. Is this correct?

    With this latest firmware there was little progress - I get random led lights turning on upon reboot (while light, blue or red - a mix of these sometime) but I cant control anything (on/off, dimmer, rgb, speed or animations).
  • #39 21720688
    MnM1
    Level 10  
    Posts: 175
    Help: 4
    Rate: 13
    Yeah saw that but no idea how to make it work. Guess I still need to wait till it makes it into the OBK firmware.
  • ADVERTISEMENT
  • #40 21720699
    insmod
    Level 31  
    Posts: 1397
    Help: 164
    Rate: 436
    >>21720688
    It already did 2 months ago, but only in ALT firmware.
    I checked it on BK7231U, which is just an original non-Tuya BK7231T, and it worked fine.
    T OTA image - https://github.com/openshwprojects/OpenBK7231...ownload/1.18.194/OpenBK7231T_ALT_1.18.194.rbl

    And in autoexec or startup command and replace {LEDs} with how many LEDs you have:
    startDriver SM16703P
    SM16703P_Init {LEDs} GRB
    startDriver PixelAnim
  • #41 21720723
    divadiow
    Level 38  
    Posts: 5068
    Help: 438
    Rate: 894
    insmod wrote:
    T OTA image

    ah, maybe @MnM1 used download link in web gui and updated to latest old SDK? hence the direct link to ALT rbl..?
  • #42 21722225
    MnM1
    Level 10  
    Posts: 175
    Help: 4
    Rate: 13
    The file I am using is called "OpenBK7231T_ALT_1.18.194.rbl" so I think is the correct one.
    Also I have the the correct lines in the autoexec file.

    As mentioned before nothing is happening hen I press buttons/sliders in the GUI
    All I get are some LEDs (not all of them) lighting up when I reboot the device. After each reboot the color of the LEDs are different (sometimes all white, other times some red, blue, yellow, sometime ALL LEDs white, etc).
    What I have noticed is that I have to press the Toggle Light button in the GUI and then preform a reboot for the LEDs to turn on (in the colors/manner mentioned above)
  • #43 21722531
    insmod
    Level 31  
    Posts: 1397
    Help: 164
    Rate: 436
    Re-checked on BK7231U.
    It works, but one bug is still there (last led in series is always on for me), and a new one - animations are bugged if brightness is higher than half.
    Is data pin connected to P16 on your board?
  • #44 21722589
    MnM1
    Level 10  
    Posts: 175
    Help: 4
    Rate: 13
    Not sure about P16 - I just flashed the firmware. Hardware wise is exactly the same as it was from factory, never changed anything.
  • ADVERTISEMENT
  • #45 21727936
    Nimierkki
    Level 6  
    Posts: 10
    @MnM1, could you provide me your GPIO pin settings / flags?
    I still didn't get my fairy light to work / light up, maybe this Christmas :D

    Here is mine:

    Screenshot of GPIO pin settings with PWM assigned to pin 16OpenBK7231T configuration screen with startup commands for SM16703P driver
  • #46 21728138
    MnM1
    Level 10  
    Posts: 175
    Help: 4
    Rate: 13
    Hi @Nimierkki - I have what you have in autoexec file (but with 33 leds that is what my device has).
    I don't have any other flags/GPIO/Settings done. I resisted moving to ESPHome as I really like the enclosure and power for this device, but come Christmas I will move to it if OBK does not support this device by then.
  • #48 21728417
    insmod
    Level 31  
    Posts: 1397
    Help: 164
    Rate: 436
    >>21728401
    It doesn't matter for beken, since the only SPI output is at P16.
    >>21728138
    As far as i know ESPHome doesn't support addressable leds for BK7231T.
    SPI_DAT is set to SPI_BASE + 3 * 4
    https://github.com/esphome/esphome/blob/6edbb...ponents/beken_spi_led_strip/led_strip.cpp#L28
    Which is a BK7231N and newer address.
    For earlier chips, like BK7231U, BK7231T and BK7252 it should be SPI_BASE + 2 * 4
    https://github.com/openshwprojects/OpenBK7231...bba9f1b1daf0dab3e/src/driver/drv_spidma.h#L33
  • #49 21728421
    divadiow
    Level 38  
    Posts: 5068
    Help: 438
    Rate: 894
    insmod wrote:
    It doesn't matter for beken, since the only SPI output is at P16.

    sure, but @MnM1's image also showed PWM set, so just to clear that (assuming that would manifest as an issue)
  • #50 21728868
    MnM1
    Level 10  
    Posts: 175
    Help: 4
    Rate: 13
    >>21728401

    I have downloaded the one you linked and update to it (as I was running an earlier version). So yes I can confirm that.
    Set PIN16 too as suggested - no difference the issue is still there.

    After pressing some of the GUI buttons and rebooting the unit, white lights come (and sometimes RGB lights depending on what buttons I have pressed in the GUI before the reboot). These lights come on after the reboot by themselves and without me pressing anything. GUI shows all buttons off.

    >>21728417

    That is correct ESPHome does not support this chipset yet. But (as discussed earlier in this thread) and can move the LEDs to an ESP32 module and run it that way. I would lose the existing casing and power supply - that's why I have mentioned that is not an ideal solution.

Topic summary

✨ The discussion centers on configuring BK7231T-based Globe Fairy Lights, specifically addressing difficulties obtaining a usable GPIO configuration template or cloud-cutter profile. Attempts to read the GPIO Tuya config and use cloud-cutter JSON profiles failed to yield functional results. The device features three buttons mapped to GPIO pins P7 (Music), P9 (Colour), and P24 (On/Off). The LED wiring includes three wires: V+, LED data, and GND, indicating individually addressable LEDs likely using WS2812B or a similar driver. The device does not appear to use TuyaMCU protocol, as indicated by log errors. Disassembly revealed LEDs encased in hard plastic, complicating direct inspection. Users confirmed the LEDs support individual color control. Current firmware (OpenBK or ESPHome) lacks WS2812B driver support for BK7231T, though such support exists for BK7231N and is pending porting. As a workaround, users successfully desoldered the LED strip and controlled it via an ESP32 using ESPHome with fastled and esp32_rmt_led_strip components, achieving basic lighting and color control. Flashing the BK7231T module via UART is possible with CH340 adapters, but LED control remains unsupported in native firmware. The community awaits official WS2812B driver implementation for BK7231T to enable native control without external hardware.
Generated by the language model.

FAQ

TL;DR: These 33-LED Globe Fairy Lights use a 3-wire string, and one tester said it "worked like a charm" only after rewiring the strip to an ESP32. This FAQ helps BK7231T owners when GPIO templates, TuyaMCU detection, CloudCutter, and PWM tests all fail because the lights are addressable LEDs, not simple PWM channels. [#20825703]

Why it matters: If you treat this controller like a normal PWM RGB board, you can waste hours on wrong GPIO roles, wrong tools, and firmware paths that will never light the strip.

Option What the thread confirmed Result
OpenBeken GPIO/PWM discovery Buttons were found, but no PWM pin lit the LEDs Not usable for direct LED control
OpenBK7231T ALT + PixelAnim Partial progress on BK7231T, but users still reported broken control and random LEDs after reboot Experimental/problematic
ESP32 + ESPHome Rewired 3 strip wires to ESP32 and got on/off, color, and scenes working on first try Best confirmed workaround

Key insight: The board inputs work, but the light string is the real issue. A 3-wire V+, LED, GND string with individually addressable bulbs points to WS2812B-class control, so PWM templates and TuyaMCU checks do not solve it.

Quick Facts

  • GPIO Doctor identified P7 = Music, P9 = Colour, and P24 = On/Off on the BK7231T board. [#20658806]
  • The light string exposes 3 wires labeled V+, LED, and GND, which strongly indicates an addressable LED data line rather than separate PWM color channels. [#20658887]
  • A working ESP32 rewire used LED → GPIO19, V+ → VIN (5V), and GND → GND, powered from a 5V USB supply. [#20825703]
  • One owner saw the device described in Tuya IoT as *"33IC MSL5", and another confirmed the set had 33 LEDs**. [#20675737]
  • Successful UART flashing of the WB8/BK7231T module was reported with 3.3V, RX1, TX1, and GND on test pads, without the barrel plug connected. [#21373382]

How can I find the correct GPIO configuration for BK7231T Globe Fairy Lights when the Tuya config binary from the WebApp won’t open in Easy UART Flasher?

Start with hardware probing, not the WebApp binary. In this thread, the usable path was: 1. run GPIO Doctor, 2. identify button inputs, 3. open the controller and inspect the LED wiring. That process found valid buttons on P7, P9, and P24, but also showed the strip was a 3-wire addressable string, so a normal GPIO template was never going to reveal PWM LED channels. [#20658887]

Why does OpenBeken show 'Consumed 256 unwanted non-header byte in Tuya MCU buffer' on BK7231T fairy lights, and what does that indicate about TuyaMCU compatibility?

It indicates the board is not speaking a valid TuyaMCU serial protocol. The log repeatedly showed OpenBeken consuming 256 unwanted non-header bytes and skipping long runs of 00 data, which means the firmware saw no real TuyaMCU frames. In practice, that ruled out TuyaMCU as the active LED control path on this fairy-light controller. [#20658806]

What is TuyaMCU, and how can I tell whether a BK7231T fairy lights controller is actually using it?

"TuyaMCU" is a secondary microcontroller interface that exchanges structured serial packets with the Wi‑Fi chip, letting a device offload button, relay, or light control to a separate controller. If enabling the TuyaMCU driver only produces repeated 256-byte non-header junk and no valid headers, the controller is not using TuyaMCU for the light engine. [#20658806]

What is Tuya CloudCutter, and why might the tuya-generic-msl6-globe-fairy-lights profile fail to reveal a usable pin configuration?

"Tuya CloudCutter" is a profile-based Tuya provisioning and analysis tool that matches known devices to canned definitions, but it only helps when the target hardware follows the same pin and feature model. Here, the generic MSL6 fairy-lights profile showed nothing useful because this board drove a 3-wire addressable string, not simple PWM outputs. [#20658283]

Which GPIO pins were identified for the ON/OFF, Colour, and Music buttons on this BK7231T fairy lights board, and how do I test them with GPIO Doctor?

The buttons mapped to P24 for On/Off, P9 for Colour, and P7 for Music. Test them by opening GPIO Doctor, watching for state changes, and pressing each physical button one at a time. Those three pins reacted reliably, which confirmed the inputs were discoverable even though the LEDs were not. [#20658806]

Why don’t any PWM pin assignments light up these Globe Fairy Lights, even though the board has working button inputs?

No PWM assignment works because the lights are not driven as separate PWM color channels. The board exposed only 3 strip wires—V+, LED, and GND—and later testing confirmed WS2812B LEDs, which need a serial data stream instead of plain PWM duty changes on 3 color pins. [#20754527]

How do I determine whether a 3-wire fairy light string labeled V+, LED, and GND is using WS2812B or another addressable LED driver?

Check whether the bulbs can show different colors individually and whether the strip uses only V+, data, and GND. In this case, both clues were present: the bulbs displayed different colors per LED, and the wiring was 3-wire, so the thread concluded the string had an onboard driver like WS2812B rather than a direct PWM layout. [#20658944]

What happens if I cut out one LED from an individually addressable fairy light string like WS2812B while trying to identify the controller?

The rest of the string should still work, just one LED shorter. The thread’s expert reply said that if the string behaves like WS2812B, removing one LED should only shorten the chain by one pixel while effects continue on the remaining LEDs. That makes a single-LED test a practical diagnostic step. [#20659400]

How can I test a suspected WS2812B fairy light string with an Arduino or NodeMCU without destroying the original light set?

Use an external controller and test the strip before committing to a full rebuild. The suggested method was to desolder the strip from the IoT board, connect GND, proper power, and the data line to an Arduino or NodeMCU, then run a basic WS2812B tutorial sketch. That confirms the LED protocol without opening every bulb. [#20659424]

What does the Tuya IoT description '33*IC MSL5' mean, and how useful is it for identifying the LED controller inside Globe Fairy Lights?

It is only a weak clue, not a usable controller ID. The thread reported the Tuya IoT label "33*IC MSL5," which likely reflects a 33-IC light set, but nobody used that string alone to derive a working GPIO map or firmware setup. Practical identification still came from wiring inspection and later WS2812B confirmation. [#20675737]

What’s the best way to rewire a BK7231T fairy light strip to an ESP32, including which strip wires go to GPIO, 5V, and GND?

Connect the strip exactly as follows: LED to GPIO19, V+ to VIN, and GND to GND on an ESP32 powered from 5V USB. One user desoldered the 3 strip wires from the Tuya board, moved them to an ESP32, and got basic on/off, color, and scenes working on the first try. [#20825703]

ESPHome fastled vs esp32_rmt_led_strip vs WLED with MQTT: which approach works best for replacing a BK7231T fairy lights controller with an ESP32?

ESPHome was the best proven option in this thread. The user tested esp32_rmt_led_strip first and said it "worked like a charm," then confirmed FastLED also worked perfectly, while WLED with MQTT was listed only as a future option. So the strongest evidence favors ESPHome because two ESPHome light methods were actually validated. [#20825703]

Why is WS2812 animation support available on OpenBeken for BK7231N but still problematic or pending on BK7231T devices?

Because BK7231T support arrived later and remained less mature. The thread explicitly said WS2812 with animations was supported on BK7231N, while BK7231T was still pending in September 2024; later posts showed ALT-firmware progress, but users still reported bugs such as a stuck last LED and broken animations above half brightness. [#21722531]

How do I configure OpenBK7231T ALT firmware for addressable fairy lights using SM16703P_Init and PixelAnim, and what role does P16 play on BK7231T boards?

Use the ALT firmware, then add startup commands for the SPI LED driver and animation engine. The posted sequence was startDriver SM16703P, SM16703P_Init {LEDs} GRB, and startDriver PixelAnim. P16 matters because one developer stated that, on Beken, the only SPI output is on P16, so that is the expected data path for this setup. [#21720699]

Why do some LEDs randomly light up after reboot on BK7231T ALT firmware while the GUI sliders and toggle controls still don’t properly control the fairy lights?

Because the BK7231T implementation was still incomplete and buggy. Users reported random white, red, blue, or mixed LEDs after reboot, no reliable response to GUI sliders, and the need to press Toggle Light before reboot to see any LEDs light at all. Another tester also reported a permanently lit last LED and animation faults above 50% brightness. [#21722225]
Generated by the language model.
ADVERTISEMENT