logo elektroda
logo elektroda
X
logo elektroda

[BK7231N CB2L] Antela - smart bulb E27 RGB BAW534 9W

dheenhasty  18 2457 Cool? (+2)
📢 Listen (AI):

TL;DR

  • Teardown of an Antela smart bulb E27 RGB BAW534 9W to identify the pinout and firmware needed for flashing.
  • The bulb uses a Beken BK7231N around a CB2L, with only two pins connected for SCL and SDA to the BP5758.
  • Cloud Cutter has an update for it, and any device running oem-bk7231n-light-ty-1.2.16-sdk-2.3.1-40.00 should flash it.
  • The teardown is destructive, so the bulb must be sacrificed to extract the information.
Generated by the language model.
Just buy a couple of this smart bulb and teardown one to have the correct pin out and firmware :

https://www.amazon.fr/ANTELA-Multicouleurs-27...-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&psc=1

So simple beken7231 around a CB2L. seems like only two pin is used to SCL and SDA of the BP5758


i have submited the update on Cloud Cutter, but if someone need to flash them any device of oem-bk7231n-light-ty-1.2.16-sdk-2.3.1-40.00 will do the trick.

I will post some pic of the teardown later.

Code: JSON
Log in, to see the code


as promise heres teardown :


the process is destructive, so don't do it ... now that i done it you just had to flash it :)
Attachments:
  • Antela_smart-bulb-E27-RGB-BAW534-9W.bin (2 MB) You must be logged in to download this attachment.

About Author
dheenhasty wrote 111 posts with rating 17 , helped 2 times. Been with us since 2023 year.

Comments

p.kaczmarek2 02 Mar 2023 09:37

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]

dheenhasty 02 Mar 2023 10:21

I will post some photo :) I'm not confident with ddp protocol you want to fork wled for openbeken ? [Read more]

p.kaczmarek2 02 Mar 2023 10:23

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]

jkwim 16 Apr 2023 17:07

Could you give a configuration example for DDP receipt please? [Read more]

p.kaczmarek2 16 Apr 2023 17:26

startDriver DDP and then from xLights set channels number in packet to 3 and send something or some kind of animation. [Read more]

jkwim 10 May 2023 08:41

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]

p.kaczmarek2 10 May 2023 08:43

Thank you for testing. Is the DDP support good enough for you, or is there something we can add or improve? [Read more]

jkwim 10 May 2023 19:56

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]

p.kaczmarek2 10 May 2023 19:57

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]

jkwim 10 May 2023 20:02

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]

p.kaczmarek2 10 May 2023 20:17

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]

jkwim 11 May 2023 23:52

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]

p.kaczmarek2 12 May 2023 03:10

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]

jkwim 12 May 2023 09:19

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]

p.kaczmarek2 12 May 2023 09:38

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]

jkwim 12 May 2023 21:46

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]

soulslayer 09 Dec 2023 14:20

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]

p.kaczmarek2 09 Dec 2023 15:25

We have a tutorial for that: Home Assistant - how to create an event trigger button, MQTT, dashboard panel [Read more]

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?

  1. Connect 3.3 V UART to CB2L RX/TX.
  2. 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.
  3. Power-cycle and visit 192.168.4.1 to configure Wi-Fi. Total flashing time ≈3 min [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?

  1. startDriver DDP
  2. In xLights/WLED, set 3-channel RGB output.
  3. 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].
Generated by the language model.
%}