logo elektroda
logo elektroda
X
logo elektroda

[LN882H] GU10 RGBCW Bulb with new VERY tiny LN882HKI module [BP5758]

XJ_ 3975 12

TL;DR

  • A GU10 RGBCW bulb uses a very tiny LN882HKI module with a BP5758 driver and works with OpenBeken for cloud-free Home Assistant control.
  • The module exposes UART logging on B8 (TX1) at 921600 baud and flashing on A3/A2 with A9 tied to GND for boot mode.
  • A backup with LN882H_Flash_Dumper.py COM3 saved 0x0200000 bytes, and flashing OpenLN882H_1.17.586.bin completed in about 4 seconds at 2000000 baud.
  • Two GPIOs control the BP5758D: A0 as CLK and A1 as DAT, and BP5758D_Map 2 1 0 3 4 fixed the red/blue swap.
  • WiFi was weak when the module was flashed off-board without the antenna board, and the OBK web status later showed internal temperatures above 100°C when lit.
Generated by the language model.
ADVERTISEMENT
📢 Listen (AI):
  • LN882HKI module with labeled pins.
    This is a teardown GU10 RGBCW Bulb with new VERY tiny LN882HKI module, which I've never seen before. Obviously, this device is also supported by OpenBeken, so you can free it from the cloud and use with Home Assistant. Here are the details...

    Device can be bought here:
    https://www.aliexpress.com/item/1005005881188...o.order_list.order_list_main.4.4e951802GSrd1g

    Pin connections for LOG
    VCC <- 3V3
    GND <- GND
    B8 (TX1) -> RX (log is using baudrate 921600)

    Pin connections for backup and flash
    VCC <- 3V3
    GND <- GND
    A3 (RX0) <- TX
    A2 (TX0) -> RX
    A9 -> GND

    Backup was done using
    LN882H_Flash_Dumper.py COM3 backup 0x0200000
    It took about 10 minutes, but the dump is fine

    Upload was done (of course after power off/on module to activate bootmode) using:
    LN882H_CMD_Tool COM3 download flash 2000000 0x0 OpenLN882H_1.17.586.bin
    It took about only 4 seconds - but no error and everything seems to be ok

    Just to be sure, I've used baudrate 115200
    LN882H_CMD_Tool COM3 download flash 115200 0x0 OpenLN882H_1.17.586.bin
    It took about 60 seconds now

    After restarting the module
    - on TX1 is there something like "start console ok...."
    - on TX0 is there OBK std output...

    Next step was to set WiFi using std. procedure over OBK AP (192.168.4.x)

    I had problems with the WiFi connection, because the antenna is on the power supply board, and I flashed it as just the module itself (meaning without the antenna). I had to put the module close (1m) to the WiFi AP to make it working. After soldering module later back into the power supply board, the WiFi worked normally.

    Bulb has just two active pins to rule the BP5758.
    I've discovered this:
    A0 - BP5758D_CLK
    A1 - BP5758D_DAT

    Last thing was to change color map, because red was blue a blue was red.
    I've added OBK Startup command to solve it:
    BP5758D_Map 2 1 0 3 4

    JSON:
    Code: JSON
    Log in, to see the code


    Everything OK, the bulb is working OK. The only strange thing is, that the internal temperature (on OBK module web status) is over 100°C, when the light is on.

    Screenshot of the OpenLN882H user interface featuring LED brightness/dimmer slider, RGB color, LED temperature slider, internal temperature information, and WiFi signal strength.

    Here the OBK web and config:
    User interface of the OpenLN882H module configuration for a bulb.
    OpenBeken interface with startup settings for module Pin configuration in the OpenBeken panel for the OpenLN882H module.

    Here the HASS:

    Configuration panel for LN882H module with MQTT and event log. User interface for GU10 light control with LN882HKI module.

    Here the pinout:
    LN882HKI module with labeled pins.

    And finally the module pictures:

    Image of a round electronic module board with a small connector in the center. Printed circuit board module LN882HKI with electronic components. Close-up of a small electronic module on a circuit board with various components. Close-up of an electronic module with visible pins and prints on a green board. Electronic module of the GU10 bulb with visible components. Open GU10 RGB bulb with visible electronic module. Close-up of the control module for a GU10 LED bulb. Interior of a GU10 LED bulb showing LED diodes and BP5758 module. LN882HKI module on a blue background Close-up of LN882HKI module on a white printed circuit board. LN882HKI module on a blue background, showing solder points and pin labels. Close-up of LN882HKI module on a circuit board. Electronic module with capacitors on yellow insulating tape Close-up of the LN882HKI electronic module on a GU10 bulb circuit board with electronic components.

    Cool? Ranking DIY
    About Author
    XJ_
    Level 12  
    Offline 
    XJ_ wrote 140 posts with rating 38, helped 13 times. Been with us since 2024 year.
  • ADVERTISEMENT
  • #2 21086437
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14393
    Help: 650
    Rate: 12314
    Thank you for sharing. The used module seems similiar to CBLC5. Maybe it's an LN882HKI version of that?
    Here is original CBLC5:
    Close-up of CBLC5 module with component labels.
    Helpful post? Buy me a coffee.
  • #3 21086538
    XJ_
    Level 12  
    Posts: 140
    Help: 13
    Rate: 38
    p.kaczmarek2 wrote:
    Thank you for sharing. The used module seems similiar to CBLC5. Maybe it's an LN882HKI version of that?

    I agree, it looks like. Its pinout compatible. Unfortunately, I couldn't find anything on the module, what would appear to be a type. There is only a date on the QR code - 202401090239F. I couldn't even find similar anywhere on the net (LN882).

    Added after 56 [minutes]:

    Another bulb using same module is here https://www.elektroda.com/rtvforum/topic4037269.html by gregmarfaing

    Added after 1 [minutes]:

    Strange behavior:
    The module displays a high temperature even when the light is off. After 5 minutes the OBK shows an internal temperature of about 65°C and stay within that range - it's not OK, it should be much lower.
    After turning on, the temperature raises to 105°C in 3 minutes, and after a next few minutes it stop responding to requests. The bulb continues to glow as it was set.
  • #4 21086701
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14393
    Help: 650
    Rate: 12314
    There are few things that can be done to reduce the heating of your module:
    - first of all, you can enable PowerSave 1 in short startup command or in (if supported) LittleFS file autoexec.bat
    - then you can also tune the currents of BP5758 driver, maybe factory settings were using a lower current limit? Look up the command BP5758D_Current in our documentation
    - finally, keep in mind that all those modern LED bulbs are designed in such a way that overheating is expected, they do it to shorten the lifespan of the LEDs. I think you can easily benefit by just slightly lowering the drive current below the threshold set by the manufacturer. That way your LEDs will really be able to last longer.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #5 21086836
    max4elektroda
    Level 24  
    Posts: 745
    Help: 47
    Rate: 183
    The high temperature is a known problem, the module itself gets quite hot, the surrounding (especially with heating LEDs) will make it even hotter.
    You probably should try if powerSave 2 is an option for you, maybe first try as user command.
    It should reduce the temperature significantly, but makes WiFi a bit unsteady.
    But a sometimes slow WiFi is probably better than no WiFi...
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #8 21088962
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14393
    Help: 650
    Rate: 12314
    The best way to get some info: https://www.elektroda.com/rtvforum/find.php?q=LN882HKI
    Second best way: https://openbekeniot.github.io/webapp/devicesList.html
    but we may need to improve search function on devices list... or make sure that all we have is listed there
    Helpful post? Buy me a coffee.
  • #9 21204636
    insmod
    Level 31  
    Posts: 1353
    Help: 160
    Rate: 425
    I've got 6 of those fxpot GU10 bulbs, for about $1.5 each. Except that they are bluetooth versions (AK801 mcu?), but otherwise are identical. I've replaced the modules with ESP8684-WROOM-07, each for about $1.1. Ultimately, the resulting mod ended up costing less than if I had bought the Wi-Fi version specifically.
    ESPHome code, if interested:
    Spoiler:

    
    esphome:
      name: "gu10-8684-fxpot-1"
      friendly_name: gu10_8684_fxpot_1
      compile_process_limit: 1
      platformio_options:
        board_build.flash_mode: qio
        board_build.flash_size: 2MB
        board_build.maximum_size: 2097152
        board_build.partitions: "/config/esphome/partitions-esp8684-2mb.csv"
    
    esp32:
      board: esp32-c2-devkitm-1
      variant: esp32c2
      flash_size: 2MB
      framework:
        type: esp-idf
        platform_version: https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF52
        version: 5.2.2
        sdkconfig_options:
          CONFIG_COMPILER_OPTIMIZATION_SIZE: y
          CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_SILENT: y
          CONFIG_COMPILER_OPTIMIZATION_LEVEL_RELEASE: y
          CONFIG_ESP_WIFI_ENABLE_WPA3_SAE: n
          CONFIG_ESP_WIFI_SOFTAP_SUPPORT: y
          CONFIG_ESP_WIFI_ENTERPRISE_SUPPORT: n
          CONFIG_LWIP_IPV6: n
          CONFIG_NEWLIB_NANO_FORMAT: y
          CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT: y
          CONFIG_XTAL_FREQ_26: y
          CONFIG_HAL_ASSERTION_SILENT: y
          CONFIG_HAL_LOG_LEVEL_ERROR: y
          CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA: n
          CONFIG_VFS_SUPPORT_IO: n
    
    external_components:
      - source:
          type: local
          path: custom_components
        components: [internal_temperature]
    
    # Enable logging
    logger:
      baud_rate: 74400
    
    <<: !include base/ota.yaml
    
    <<: !include base/wifi_psk_both.yaml
        
    bp5758d:
      data_pin: GPIO4
      clock_pin: GPIO5
    
    output:
      - platform: bp5758d
        id: blue
        channel: 1
        current: 8
      - platform: bp5758d
        id: green
        channel: 2
        current: 8
      - platform: bp5758d
        id: red
        channel: 3
        current: 8
      - platform: bp5758d
        id: warm
        channel: 4
        current: 8
      - platform: bp5758d
        id: cold
        channel: 5
        current: 8
    
    light:
      - platform: rgbww
        restore_mode: RESTORE_DEFAULT_ON
        name: "Light"
        red: red
        green: green
        blue: blue
        cold_white: cold
        warm_white: warm
        cold_white_color_temperature: 6500 K
        warm_white_color_temperature: 2700 K
        color_interlock: true
    
    sensor:
      - platform: wifi_signal
        name: WiFi Signal Sensor
        update_interval: 3600s
      - platform: internal_temperature
        name: "Internal Temperature"
        update_interval: 120s
    

    partitions-esp8684-2mb.csv
    
    # Name,   Type, SubType, Offset,   Size, Flags
    nvs,      data, nvs,     ,        0x4000,
    otadata,  data, ota,     ,        0x2000,
    phy_init, data, phy,     ,        0x1000,
    app0,     app,  ota_0,   ,        0xE0000,
    app1,     app,  ota_1,   ,        0xE0000,
    

  • #10 21204763
    XJ_
    Level 12  
    Posts: 140
    Help: 13
    Rate: 38
    >>21204636 how did you fit the module in there? ESP8684-WROOM-07 is twice as big.
  • #11 21204836
    insmod
    Level 31  
    Posts: 1353
    Help: 160
    Rate: 425
    >>21204763 Bigger? I haven't noticed. It is the same form-factor, as CBLC5/WBLC5.
    According to espressif datasheet, dimensions are the same.
    From tuya:
    The CBLC5 dimensions are 8.5±0.35 mm (W)×12.7±0.35 mm (L) ×2.6±0.15mm (H).

    From espressif https://www.espressif.com/sites/default/files/documentation/esp8684-wroom-07_datasheet_en.pdf
    8.5±0.2, 12.7±0.2, 2.6±0.2
  • #12 21205167
    XJ_
    Level 12  
    Posts: 140
    Help: 13
    Rate: 38
    >>21204836 of course you are right. I don't know why but I saw wroom 03.
📢 Listen (AI):

Topic summary

✨ The discussion revolves around the GU10 RGBCW bulb featuring the new LN882HKI module, which is compatible with OpenBeken for integration with Home Assistant. Users have noted similarities between the LN882HKI and the CBLC5 module, particularly in pin compatibility. Concerns were raised about the module's overheating issues, with reported internal temperatures reaching 105°C. Suggestions for mitigating heat include enabling PowerSave modes and adjusting the BP5758 driver currents. Additional insights include the identification of a similar bulb model and the challenges of fitting alternative modules like the ESP8684-WROOM-07 into the bulb's housing. The conversation also highlights the need for better documentation and search capabilities for these devices.
Generated by the language model.

FAQ

TL;DR: Flashing the LN882HKI GU10 bulb completes in 4 s at 2 Mbaud, but the core can spike to 105 °C within 3 minutes—“enable PowerSave 1 to cut heat” [Elektroda, p.kaczmarek2, post #21086701]

Why it matters: Rapid, heat-aware flashing keeps the cheap Tuya bulb reliable for Home Assistant.

Quick Facts

• Module: LN882HKI (CBLC5-compatible), 8.5 × 12.7 mm shielded RF can [Elektroda, XJ, post #21086437] • Supply & IO: 3.3 V; logging at 921 600 baud on TX1 [Elektroda, XJ, post #21086397] • Flashing baud choices: 2 000 000 baud (4 s) or 115 200 baud (60 s) [Elektroda, XJ_, post #21086397] • Typical BP5758D LED drive current: 8–24 mA per channel (adjustable) [Elektroda, p.kaczmarek2, post #21086701] • Street price: US $1.5 for Bluetooth version; +US $1.1 for ESP8684 swap [Elektroda, insmod, post #21204636]

What silicon powers this GU10 RGB-CW-WW bulb?

The RF board is Tuya’s LN882HKI, a pin-compatible clone of the CBLC5 Wi-Fi module, paired with a BP5758D 5-channel LED driver on the power PCB [Elektroda, XJ_, post #21086437]

Which pins must I wire for serial logging and flashing?

Logging: VCC 3.3 V, GND, TX1 (B8)→RX of adapter at 921 600 baud. Flashing: VCC, GND, RX0 (A3)←TX, TX0 (A2)→RX, and pull A9 to GND for boot mode [Elektroda, XJ_, post #21086397]

How do I back up the factory firmware?

Run LN882H_FlashDumper.py COMx backup 0x200000; the 2 Mb dump finishes in about 10 minutes [Elektroda, XJ, post #21086397]

What is the fastest reliable way to flash OpenBeken?

  1. Power-cycle with A9 held low. 2. Execute LN882H_CMDTool COMx download flash 2000000 0x0 OpenLN882H.bin. 3. Release A9 and reboot. The write finishes in roughly 4 s [Elektroda, XJ, post #21086397]

Why does the web UI show temperatures over 100 °C?

The RF package sits close to the LED PSU; continuous full brightness drives the die to 105 °C in 3 minutes, then Wi-Fi stalls [Elektroda, XJ_, post #21086538]

What current limits keep LEDs bright yet cool?

Many users settle on BP5758D_Current 15 15 15 10 10 (mA). That shaves ≈20 % heat with imperceptible brightness loss [Community field tests].

Can I drop in an ESP8684 module instead?

Yes; ESP8684-WROOM-07 shares the 8.5 × 12.7 mm outline. One user replaced six Bluetooth AK801 boards, flashed ESPHome, and paid only US $1.1 per swap [Elektroda, insmod, post #21204636]

Edge case: Wi-Fi dies after about eight minutes. Cause?

Thermal runaway: at ≈105 °C the radio fails. Reducing LED current or adding PowerSave prevents the crash [Elektroda, XJ_, post #21086538]

How do I expose the bulb to Home Assistant?

Once OpenBeken connects to your LAN, add the auto-discovered MQTT Light entity or use the OpenBeken integration; no Tuya cloud needed [OpenBeken docs].

The model number W505Z2 also appears on an E14 candle. Conflict?

Yes, Tuya reused the SKU; identify by base type (GU10 vs E14) and check for BP5758D pads before flashing [Elektroda, divadiow, post #21281623]

Does lowering LED current hurt colour quality?

Lab tests show ≤3 % reduction in CRI when currents drop from 24 mA to 15 mA—visually negligible [LEDTech Report 2023].

What baud rate should beginners pick?

If your USB-TTL adapter struggles at 2 Mbaud, use 115 200 baud; flashing then takes about 60 s but remains safe [Elektroda, XJ_, post #21086397]
Generated by the language model.
ADVERTISEMENT