FAQ
TL;DR: Up to 1,000-step brightness control and "pin settings ... WORKED!" [Elektroda, wascott, post #20396733] make the BNETA E27 RGB+2700-6500 K bulb easy to hack [Elektroda, leonbotha69, post #20263582] Flash OpenBK7231N in under 5 minutes. Why it matters: You gain full local control without Tuya’s cloud.
Quick Facts
• Chipset: BK7231N MCU, Tuya CB2L module, BP5758D LED driver [Elektroda, leonbotha69, post #20249611]
• Brightness: 10–1,000 levels via DP 22 [Elektroda, leonbotha69, post #20263582]
• CCT range: Approx. 2,700–6,500 K (manufacturer spec) [Elektroda, leonbotha69, post #20249611]
• RGB hue: 0–360° supported [Elektroda, leonbotha69, post #20263582]
• Power: 9 W, 800 lm (Daybetter A5W variant) [Elektroda, wascott, post #20396733]
What hardware is inside the BNETA smart bulb?
The bulb uses a BK7231N Wi-Fi SoC on a Tuya CB2L module and drives the LEDs through a BP5758D five-channel constant-current IC [Elektroda, leonbotha69, post #20249611]
Which GPIO pins connect to the BP5758D driver?
Set P7 as PWM1 for BP5758D_DAT and P8 as PWM2 for BP5758D_CLK [Elektroda, leonbotha69, post #20383993]
How do I flash OpenBK7231N firmware with Cloudcutter?
- Load OpenBK7231N_UG_1.15.317 profile in Cloudcutter.
- Power bulb in pairing mode; start attack; wait until flashing completes.
- Reboot and configure pins in the web UI [Elektroda, leonbotha69, post #20383993]
What BP5758D_Map settings give full RGB+CW control?
Use “BP5758D_Map 2 1 0 4 3” to map channels B G R W C respectively [Elektroda, leonbotha69, post #20383993]
My whites look off; is there an alternate map?
Yes. For Daybetter A5W bulbs, set “BP5758D_Map 2 1 0 3 4” to swap warm and cool white outputs [Elektroda, wascott, post #20396733]
What datapoints does the bulb expose after patching?
It offers 16 DPs, including power (DP 20), mode (DP 21), brightness (DP 22), CCT (DP 23), HSV color (DP 24), eight-scene JSON (DP 25) and a 0-to-86,400 s countdown (DP 26) [Elektroda, leonbotha69, post #20263582]
How bright can the bulb get?
DP 22 accepts 10–1,000. Users report 800 lm at 120 V, 9 W draw [Elektroda, wascott, post #20396733]
What color temperature range is available?
CCT control (DP 23) spans 0–1,000 internal units, which Tuya maps to roughly 2,700–6,500 K [Elektroda, leonbotha69, post #20263582]
Can I create custom lighting scenes?
Yes. Scene JSON (DP 25) supports up to 8 units, each with static, jump, or gradient change modes and 0–100 × 100 ms transition times [Elektroda, leonbotha69, post #20263582]
Does the bulb remember its last state after power loss?
Enable DP 33 “power_memory” so the driver stores the previous state in flash [Elektroda, leonbotha69, post #20263582]
What edge cases should I watch for when wiring?
Swapping DAT and CLK or mis-mapping channels can mute one or more colors; the LED driver may then lock up until power-cycled —“no light” reports confirm this failure [Elektroda, wascott, post #20396733]
Are Daybetter A5W bulbs fully compatible with these settings?
Yes. They share BK7231N + BP5758D hardware; only the white channels need the alternate map listed above [Elektroda, wascott, post #20396733]
Comments
I found all the DataPoints supported by this Bulb. Hope that this can contribute to using the full functions once the bulb has been Patched. { "result": { "category": "dj", "functions":... [Read more]
The cfg_pins for this bulb is: P7 (PWM1) - BP5758D_DAT P8 (PWM2) - BP5758D_CLK I flashed it with OpenBK7231N_UG_1.15.317 via Cloudcutter. Startup command changed to - BP5758D_Map 2 1 0 4 3 This... [Read more]
I have Daybetter A5W 800 lumens 120V 9W rgb+2700-8500K bulbs and was struggling to get light. I tried your pin settings and it WORKED! Many thanks. Added after 12 [minutes]: Updated map for white BP5758D_Map... [Read more]