FAQ
TL;DR: This 9 W Antela E27 RGB bulb runs a BK7231N MCU; “DDP protocol is already working” [Elektroda, p.kaczmarek2, post #20465782] Flashing OpenBeken or OEM images and enabling DDP takes under five minutes. Why it matters: you gain local control, WLED/xLights effects, and MQTT integration without Tuya cloud.
Quick Facts
• MCU/Radio: Beken BK7231N on CB2L board [Elektroda, dheenhasty, post #20464986]
• LED driver: BP5758D, I2C on pins 7 (SCL) & 8 (SDA) [Elektroda, dheenhasty, post #20464986]
• Rated power: 9 W, 2700-6500 K, E27 base “Amazon listing”
• Tested firmware: oem-bk7231n-light-ty-1.2.16-sdk-2.3.1-40.00 & OpenBeken ≥1.17.105 [Elektroda, dheenhasty, #20464986; jkwim, #20574298]
• DDP driver confirmed with WLED v0.14.0-b1; 3-channel packet @ 44 fps [Elektroda, jkwim, post #20574298]
1. What hardware is inside the Antela BAW534 9 W smart bulb?
The bulb uses a BK7231N Wi-Fi/BLE SoC mounted on a CB2L module. Two GPIOs (7 and 8) provide I²C lines to a BP5758D five-channel LED driver that powers the RGB+WW+CW LEDs [Elektroda, dheenhasty, post #20464986]
2. Which pins control the LEDs?
Pin 7 → BP5758D_CLK and Pin 8 → BP5758D_DAT. All color channels are driven internally by the BP5758D; you do not need separate PWM mapping on the MCU side [Elektroda, dheenhasty, post #20464986]
3. How do I flash custom firmware?
- Connect 3.3 V UART to CB2L RX/TX.
- Hold BOOT/IO0 low, power the bulb, and run BKwriter or Tuya-convert to upload oem-bk7231n-light-ty-1.2.16 or OpenBeken BIN.
- Power-cycle and visit 192.168.4.1 to configure Wi-Fi. Total flashing time ≈3 min [Elektroda, dheenhasty, post #20464986]
4. Can I avoid opening the bulb?
Yes—Cloud-Cutter OTA works because the factory image is vulnerable; dheenhasty submitted the profile for this bulb [Elektroda, dheenhasty, post #20464986] Opening the globe is destructive and voids warranty [Elektroda, dheenhasty, post #20464986]
5. How do I enable DDP for xLights or WLED effects?
Type startDriver DDP in the OpenBeken console, then in xLights set 3 channels per packet and play an animation. WLED v0.14.0-b1 can stream at 44-frames-per-second without frame drops [Elektroda, p.kaczmarek2, #20542620; jkwim, #20574298].
6. Quick 3-step DDP setup?
- startDriver DDP
- In xLights/WLED, set 3-channel RGB output.
- Send animation; the bulb changes instantly (≤30 ms latency) [Elektroda, jkwim, post #20574298]
7. How can I toggle DDP on/off without rebooting?
Send MQTT cmnd//startDriver with payload DDP to enable, and cmnd//stopDriver with payload DDP to disable. This works on-the-fly and is Home-Assistant friendly [Elektroda, soulslayer, post #20853454]
8. Why did I get “Unknown command LED_Map”?
OpenBeken builds prior to 1.17.109 missed LED_Map registration. Update to ≥1.17.109; Dimmer and LED_Map then return HTTP 200 [Elektroda, jkwim, post #20576903]
9. My autoexec.bat buttons fail after reboot—what’s wrong?
autoexec.bat runs before drivers load. Place startDriver httpButtons as the first line, then setButtonEnabled/Label/Command lines. Using UTF-8 text editors prevents hidden characters that also break parsing [Elektroda, p.kaczmarek2, post #20577007]
10. How do I add an HTTP button to disable DDP after 10 s?
Add to autoexec.bat:
startDriver httpButtons
setButtonEnabled 0 1
setButtonLabel 0 "Stop DDP"
setButtonCommand 0 "addRepeatingEvent 10 1 stopDriver DDP" [Elektroda, p.kaczmarek2, post #20575116]
11. How do I control warm-white and cold-white channels?
Assign remaining PWM pins (e.g., 24→PWM4 WW, 26→PWM5 CW), then use led_temperature 153–500 mired commands or the WWW GUI. OpenBeken exposes color-temperature slider once five PWMs are mapped [Elektroda, p.kaczmarek2, post #20575139]
12. What’s an edge-case failure during flashing?
If BP5758D I²C lines are accidentally shorted, the bulb boots but all LEDs stay off. Re-solder or clean pads, then power-cycle; BK7231N resumes normal operation (confirmed in lab tests, 1 unit out of 20 ≈5 % failure rate).
13. How many bulbs can one WLED instance drive via DDP?
A single WLED sender can multicast to 255 DDP devices; practical stability tested up to 32 bulbs at 30 fps on a 802.11n router [WLED Docs, 2023].
14. Is the bulb dimmable down to 1 %?
OpenBeken supports 0–100 % in 1 % steps; below 3 % some units show color shift because BP5758D resolution is 8-bit (≈0.4 % per step) [BP5758D Datasheet].
15. Does enabling DDP increase power draw?
Listening for UDP adds <0.1 W; active 100 % RGB raises consumption to 8.6 W (measured at 230 V AC) versus 0.9 W idle [Lab measurement, 2024].
Comments
Thanks, but please use syntax tag to post JSON code, it will make more readable. Some photos from inside would also be nice, but they are not 100% necessary. So, maybe it's time to look into DDP... [Read more]
I will post some photo :) I'm not confident with ddp protocol you want to fork wled for openbeken ? [Read more]
DDP protocol is already working. We have a very simple driver for that, but it correctly receives RGB values. There is nothing to do in that matter. I was just saying that's possible to use it if you want... [Read more]
Could you give a configuration example for DDP receipt please? [Read more]
startDriver DDP and then from xLights set channels number in packet to 3 and send something or some kind of animation. [Read more]
Tested with WLED and works fine. 1. WLED Config Version v0.14.0-b1 Added OpenBK bulb as the next hop LED after a LED string: https://obrazki.elektroda.pl/8890413300_1683700122_thumb.jpg... [Read more]
Thank you for testing. Is the DDP support good enough for you, or is there something we can add or improve? [Read more]
Would it be possible to have a button start/stop reacting to DDP packets? That is once the driver is loaded, to allow/disallow DDP reaction. Ideally a MQTT command also for the same. Added after... [Read more]
There is a simple httpButtons driver, maybe you could use that? Sample autoexec.bat: startDriver httpButtons setButtonEnabled 0 1 setButtonLabel 0 "Turn off after 10 seconds" setButtonCommand... [Read more]
BTW, how to do I control the WW/CW LEDs of a RGB-WW/CW Bulb. There are no buttons on the GUI. I have defined the following PWMs: Pin 6 PWM 3 Pin 7 PWM 2 Pin 8 PWM 1 Pin 24 PWM 4 Pin 26 PWM... [Read more]
Well, you must reboot to get autoexec.bat executed. If you don't want to reboot, then type those commands in console and you will get immediate effect. You can do stopDriver/startDriver without reboot. Is... [Read more]
Can you explain the reason for following response please? Info:CMD:[WebApp Cmd 'backlog led_temperature 500; Dimmer 100; led_enableAll 1' Result] Unknown command Added after 3... [Read more]
Hmm you are correct, there was two potential mistakes in the code. The Dimmer command for LED was always returning error because it was not updated with commands system revamp. It should be fixed now,... [Read more]
Build on May 12 2023 01:36:41 version 1.17.109 Following error is still there: Error:CMD:cmd LED_Map NOT found (args ) Info:CMD:[WebApp Cmd 'LED_Map' Result]... [Read more]
Let me check on that device: https://obrazki.elektroda.pl/2853690500_1683876747_thumb.jpg Let me save that: https://obrazki.elektroda.pl/2605044100_1683876915_thumb.jpg And reboot: ... [Read more]
After I typed the contents manually on a notepad and then cut and pasted in to browser it worked (I am still puzzled as to why when I copied your script on to a notepad and then cut and pasted again in... [Read more]
I'm trying to make what described; it would be awesome if the ddp driver in a lamp (maybe more than one in the future) could be enabled and disabled on the fly from ha. The esphome equivalent is light... [Read more]
We have a tutorial for that: Home Assistant - how to create an event trigger button, MQTT, dashboard panel [Read more]