logo elektroda
logo elektroda
X
logo elektroda

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

XJ_ 4149 16

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 141 posts with rating 39, helped 13 times. Been with us since 2024 year.
  • ADVERTISEMENT
  • #2 21086437
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14589
    Help: 654
    Rate: 12611
    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: 141
    Help: 13
    Rate: 39
    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.
  • ADVERTISEMENT
  • #4 21086701
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14589
    Help: 654
    Rate: 12611
    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.
  • #5 21086836
    max4elektroda
    Level 24  
    Posts: 754
    Help: 48
    Rate: 187
    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
  • #8 21088962
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14589
    Help: 654
    Rate: 12611
    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.
  • ADVERTISEMENT
  • #9 21204636
    insmod
    Level 31  
    Posts: 1389
    Help: 164
    Rate: 433
    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: 141
    Help: 13
    Rate: 39
    >>21204636 how did you fit the module in there? ESP8684-WROOM-07 is twice as big.
  • #11 21204836
    insmod
    Level 31  
    Posts: 1389
    Help: 164
    Rate: 433
    >>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: 141
    Help: 13
    Rate: 39
    >>21204836 of course you are right. I don't know why but I saw wroom 03.
  • #14 21916479
    divadiow
    Level 38  
    Posts: 5038
    Help: 438
    Rate: 891
    p.kaczmarek2 wrote:
    but we may need to improve search function on devices list... or make sure that all we have is listed there

    https://github.com/OpenBekenIOT/webapp/pull/280

    small change to improve search (multi-word) and add more platforms (results include common aliases)

    [LN882H] GU10 RGBCW Bulb with new VERY tiny LN882HKI module [BP5758]
  • #15 21916623
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14589
    Help: 654
    Rate: 12611
    Very nice idea, thank you, merged. What can we add next?
    Helpful post? Buy me a coffee.
  • #16 21917021
    divadiow
    Level 38  
    Posts: 5038
    Help: 438
    Rate: 891
    p.kaczmarek2 wrote:
    Very nice idea, thank you, merged. What can we add next?


    loads probably. generally with web app or the devicelist?

    maybe I should finish: https://github.com/OpenBekenIOT/webapp/pull/261

    Added after 2 [minutes]:

    it needs a clear-all option for the platform checkboxes. also, does the
    Apply filtering
    button location look a little awkward?

    Filtering panel with platform checkboxes and an “Apply filtering” button

    Added after 1 [hours] 47 [minutes]:

    how about..?

    [LN882H] GU10 RGBCW Bulb with new VERY tiny LN882HKI module [BP5758]
  • #17 21918864
    divadiow
    Level 38  
    Posts: 5038
    Help: 438
    Rate: 891
    thanks for merges. the checkbox filtering was OK but this behaves more like one would expect: https://github.com/OpenBekenIOT/webapp/pull/284

    choose one platform -> apply filtering -> get results for that one platform. true whitelisting. added OTHER checkbox for entries that aren't covered by checkboxes. reset all button also now includes resetting 'max' filter to 10.
📢 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: This GU10 RGBCW bulb uses a 3.3 V LN882HKI module, and one expert noted, "Everything OK" after flashing OpenBeken, setting A0/A1 for BP5758D, and correcting swapped colors with BP5758D_Map 2 1 0 3 4. This FAQ helps smart-bulb modders flash, cool, and integrate the lamp with Home Assistant. [#21086397]

Why it matters: This thread turns an undocumented tiny LN882HKI GU10 bulb into a repeatable OpenBeken and Home Assistant workflow.

Option Main benefit Main drawback Thread-specific detail
Keep LN882HKI + OpenBeken Fast reuse of original hardware High internal temperature Flash at 115200 or 2000000 baud; A0/A1 drive BP5758D
LN882HKI + PowerSave Lower module heat Weaker or less steady Wi-Fi PowerSave 2 cuts heat more than PowerSave 1
Replace with ESP8684-WROOM-07 Full ESPHome path Requires hardware swap Module size matches CBLC5-style footprint

Key insight: The bulb works reliably with OpenBeken once you map BP5758D correctly and keep the RF path intact. The main practical limit is heat, not flashing.

Quick Facts

  • The module was powered and flashed at 3.3 V, with logs read on B8/TX1 at 921600 baud and firmware uploaded at either 2000000 or 115200 baud. [#21086397]
  • A full backup used LN882H_Flash_Dumper.py COM3 backup 0x0200000 and took about 10 minutes, while flashing at 2000000 baud took about 4 seconds. [#21086397]
  • Wi-Fi became unreliable when the module was flashed outside the bulb body; moving it to about 1 m from the access point restored setup until it was soldered back onto the power board with the antenna. [#21086397]
  • Reported internal temperature reached about 65°C after 5 minutes with the light off and about 105°C within 3 minutes after turning it on. [#21086538]
  • The Bluetooth variant of the same fxpot GU10 bulb was bought for about $1.5 each, and the ESP8684-WROOM-07 replacement modules cost about $1.1 each. [#21204636]

How do I flash an LN882HKI GU10 RGBCW bulb with OpenBeken using LN882H_Flash_Dumper.py and LN882H_CMD_Tool?

You flash it by backing up first, then forcing boot mode, then writing the OpenBeken image. 1. Connect 3.3 V, GND, A3/RX0, A2/TX0, and pull A9 to GND for boot mode. 2. Run LN882H_Flash_Dumper.py COM3 backup 0x0200000. 3. Power-cycle the module and run LN882H_CMD_Tool COM3 download flash 115200 0x0 OpenLN882H_1.17.586.bin or use 2000000 baud for a faster write. The backup took about 10 minutes; flashing took about 4 seconds at 2000000 baud or about 60 seconds at 115200. [#21086397]

What are the UART pin connections for reading logs, backing up firmware, and entering boot mode on the tiny LN882HKI module?

The log UART uses B8, while flashing uses A3, A2, and A9. For logs, connect VCC to 3.3 V, GND to GND, and B8/TX1 to your adapter RX; the log stream uses 921600 baud. For backup and flashing, connect A3/RX0 to adapter TX, A2/TX0 to adapter RX, and pull A9 to GND to enter boot mode after a power cycle. TX1 shows lines like "start console ok...." after restart, while TX0 carries standard OpenBeken output. [#21086397]

Why does the OpenBeken web interface show the LN882H internal temperature going above 100°C in this GU10 bulb?

The reading goes above 100°C because the LN882H module already runs hot, and the enclosed GU10 bulb adds heat from nearby LEDs and the driver board. One report showed about 65°C after 5 minutes even with the light off, then about 105°C within 3 minutes after turning the lamp on. After several more minutes, the module stopped responding to requests while the bulb kept its last light state. That behavior points to thermal stress inside the compact bulb enclosure rather than a normal room-temperature operating state. [#21086538]

What startup commands help reduce overheating on LN882H bulbs, and how do PowerSave 1 or PowerSave 2 affect Wi-Fi stability?

Use PowerSave 1 first, and try PowerSave 2 if heat remains too high. The thread recommends PowerSave 1 in a short startup command or autoexec.bat when supported. A second contributor said PowerSave 2 can reduce temperature significantly, but it makes Wi-Fi less steady. In practice, PowerSave 1 is the safer default, while PowerSave 2 trades thermal relief for occasional slow or unstable wireless behavior. [#21086836]

How do I set up the BP5758D pins and color mapping for this GU10 bulb when red and blue are swapped?

Set A0 as BP5758D_CLK, set A1 as BP5758D_DAT, and add BP5758D_Map 2 1 0 3 4 to startup. The bulb uses only two active control pins for the BP5758D driver. After flashing, the lamp worked, but red and blue were reversed until that mapping command was added. The same pin assignment also appears in the posted OpenBeken JSON template for this device. [#21086397]

What does the OpenBeken command "BP5758D_Map 2 1 0 3 4" actually do?

It remaps the BP5758D output channel order so the bulb’s physical LED colors match the software color controls. In this GU10 lamp, the default mapping made red appear as blue and blue appear as red. Applying BP5758D_Map 2 1 0 3 4 swaps the RGB channel order while leaving the two white channels in place. The result is correct color output in OpenBeken and Home Assistant without changing the wiring. [#21086397]

What is the BP5758D LED driver, and how is it used in RGBCW GU10 smart bulbs?

"BP5758D" is an LED-driver IC that controls multiple light channels, using a clock and data interface to set RGB plus warm and cool white outputs. In this GU10 bulb, OpenBeken drives it through just two lines: A0 for clock and A1 for data. The posted JSON and commands show it is the chip responsible for the five-channel RGBCW light engine, including the later color-order correction. [#21086397]

What is LN882HKI, and how is it related to LN882H, CBLC5, or WBLC5-style modules?

"LN882HKI" is a tiny Wi-Fi module based on the LN882H platform, used as a CBLC5- or WBLC5-style drop-in form factor in compact smart bulbs. The thread describes it as a new, very small module and notes that its pinout appears compatible with CBLC5. Another contributor explicitly compared it to original CBLC5 hardware, and a later device entry listed the bulb’s chip as LN882H with keywords including ln882hki. [#21281623]

LN882HKI vs ESP8684-WROOM-07: which is the better option for upgrading or replacing the module in a GU10 smart bulb?

LN882HKI is better for a quick OpenBeken conversion, while ESP8684-WROOM-07 is better if you want a full hardware replacement with ESPHome. The original LN882HKI already works after flashing and pin mapping, so it avoids rework. The ESP8684 path was used on six Bluetooth bulbs, each bought for about $1.5, with replacement modules costing about $1.1. Choose LN882HKI for speed and ESP8684 for a standardized ESP-based retrofit. [#21204636]

Why does Wi-Fi reception become poor when the LN882HKI module is flashed outside the bulb, and how does the power-board antenna affect range?

Wi-Fi gets poor because the antenna is on the power-supply board, not on the loose module being flashed. One user could only complete setup by placing the detached module about 1 m from the Wi-Fi access point. After soldering the module back onto the power board, Wi-Fi worked normally again. The edge case is important: a successful flash on the bench can still look like a bad firmware build when the real problem is missing RF hardware. [#21086397]

How can I tune BP5758D current settings in OpenBeken to lower heat and extend LED lifespan in a GU10 bulb?

Use the BP5758D_Current command to lower channel current below the factory level. The thread advises tuning BP5758 driver current because the stock bulb may have been configured for a lower current limit than the post-flash defaults. One contributor added that slightly lowering drive current can reduce overheating and help the LEDs last longer. This is the most direct thermal-control method besides power-save settings. [#21086701]

Where can I find documentation, device templates, or known device entries for LN882HKI-based bulbs in OpenBeken?

Use the Elektroda forum search first, then the OpenBeken device list and its published template entry. The thread points to a forum search query for LN882HKI, the OpenBeken web device list, and a later JSON template for a 220v 9W GU10 RGB+CW+WW Bulb model W505Z2. That template includes LN882H, BP5758D pin mapping, keywords like ln882hki, and a linked wiki page for the device. [#21281623]

How do I integrate an LN882H OpenBeken GU10 bulb with Home Assistant after flashing and initial Wi-Fi setup?

You integrate it by joining the OpenBeken access point, configuring Wi-Fi, and then using the working light entity in Home Assistant. After flashing, the module was restarted, Wi-Fi was set through the standard OpenBeken AP at 192.168.4.x, and the bulb then appeared correctly in Home Assistant. The posted screenshots show both the OpenBeken web interface and HASS controls working after the BP5758D pins and color map were set. [#21086397]

What is the best way to replace the Bluetooth AK801-style control board in these fxpot GU10 bulbs with an ESP8684-WROOM-07 and ESPHome?

Replace the Bluetooth module with an ESP8684-WROOM-07 and use ESPHome with the BP5758D component on GPIO4 and GPIO5. The shared configuration used bp5758d with data_pin: GPIO4 and clock_pin: GPIO5, plus five outputs for blue, green, red, warm, and cold channels, each set to current 8. It defined an rgbww light with 6500 K cold white and 2700 K warm white. This route was used successfully on six bulbs. [#21204636]

How do the physical dimensions and pin compatibility of ESP8684-WROOM-07 compare with CBLC5 or LN882HKI modules for bulb retrofits?

ESP8684-WROOM-07 matches the CBLC5-style footprint closely enough for this retrofit. The thread cites Tuya dimensions for CBLC5 as 8.5±0.35 mm × 12.7±0.35 mm × 2.6±0.15 mm and Espressif dimensions for ESP8684-WROOM-07 as 8.5±0.2 mm × 12.7±0.2 mm × 2.6±0.2 mm. A contributor also said the tiny LN882HKI module appears pinout compatible with CBLC5. That makes the ESP8684 replacement mechanically realistic in the same GU10 bulb class. [#21204836]
Generated by the language model.
ADVERTISEMENT