logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D)

leonbotha69 3213 3
ADVERTISEMENT
📢 Listen (AI):
  • This is a short teardown of the BNETA IoT Smart WIFI LED Bulb E27 based on - BK7231N with Tuya module CB2L and LED Driver BP5758D

    Basic information:
    Brand: BNETA
    Chip: BK7231N/CB2L/BP5758D
    Local Vendor: https://www.bneta.co.za/product/smartbulb_e27

    Teardown Photos and Extracted bin file.
    Package:

    BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D)

    Bulb:
    BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D)
    BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D)

    PCB:
    BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D)
    BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D)

    Tuya Datasheet and PCB:
    https://images.tuyacn.com/goat/pdf/1660814432...tform_Tuya%20IoT%20Development%20Platform.pdf

    BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D) BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D)

    Image extract - RPI with USB2TTL:


    BNETA IoT Smart WIFI LED Bulb E27 - RGB+2700-6500K bulbs (BK7231N/CB2L/BP5758D)


    CB2L image is in the attached file for "bk7231tools" to dissect and add support.
    Attachments:
    • dump.bin (2 MB) You must be logged in to download this attachment.

    Cool? Ranking DIY
    About Author
    leonbotha69
    Level 4  
    Offline 
    leonbotha69 wrote 7 posts with rating 2. Been with us since 2022 year.
  • ADVERTISEMENT
  • #2 20263582
    leonbotha69
    Level 4  
    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": [
    {
    "code": "switch_led",
    "dp_id": 20,
    "type": "Boolean",
    "values": "{}"
    },
    {
    "code": "work_mode",
    "dp_id": 21,
    "type": "Enum",
    "values": "{\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}"
    },
    {
    "code": "bright_value_v2",
    "dp_id": 22,
    "type": "Integer",
    "values": "{\"min\":10,\"max\":1000,\"scale\":0,\"step\":1}"
    },
    {
    "code": "temp_value_v2",
    "dp_id": 23,
    "type": "Integer",
    "values": "{\"min\":0,\"max\":1000,\"scale\":0,\"step\":1}"
    },
    {
    "code": "colour_data_v2",
    "dp_id": 24,
    "type": "Json",
    "values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}"
    },
    {
    "code": "scene_data_v2",
    "dp_id": 25,
    "type": "Json",
    "values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}"
    },
    {
    "code": "countdown_1",
    "dp_id": 26,
    "type": "Integer",
    "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
    },
    {
    "code": "music_data",
    "dp_id": 27,
    "type": "Json",
    "values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}"
    },
    {
    "code": "control_data",
    "dp_id": 28,
    "type": "Json",
    "values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}"
    },
    {
    "code": "rhythm_mode",
    "dp_id": 30,
    "type": "Raw",
    "values": "{\"maxlen\":255}"
    },
    {
    "code": "sleep_mode",
    "dp_id": 31,
    "type": "Raw",
    "values": "{\"maxlen\":255}"
    },
    {
    "code": "wakeup_mode",
    "dp_id": 32,
    "type": "Raw",
    "values": "{\"maxlen\":255}"
    },
    {
    "code": "power_memory",
    "dp_id": 33,
    "type": "Raw",
    "values": "{}"
    },
    {
    "code": "cycle_timing",
    "dp_id": 209,
    "type": "Raw",
    "values": "{}"
    },
    {
    "code": "random_timing",
    "dp_id": 210,
    "type": "Raw",
    "values": "{}"
    }
    ],
    "status": [
    {
    "code": "switch_led",
    "dp_id": 20,
    "type": "Boolean",
    "values": "{}"
    },
    {
    "code": "work_mode",
    "dp_id": 21,
    "type": "Enum",
    "values": "{\"range\":[\"white\",\"colour\",\"scene\",\"music\"]}"
    },
    {
    "code": "bright_value_v2",
    "dp_id": 22,
    "type": "Integer",
    "values": "{\"min\":10,\"max\":1000,\"scale\":0,\"step\":1}"
    },
    {
    "code": "temp_value_v2",
    "dp_id": 23,
    "type": "Integer",
    "values": "{\"min\":0,\"max\":1000,\"scale\":0,\"step\":1}"
    },
    {
    "code": "colour_data_v2",
    "dp_id": 24,
    "type": "Json",
    "values": "{\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}"
    },
    {
    "code": "scene_data_v2",
    "dp_id": 25,
    "type": "Json",
    "values": "{\"scene_num\":{\"min\":1,\"scale\":0,\"max\":8,\"step\":1},\"scene_units\": {\"unit_change_mode\":{\"range\":[\"static\",\"jump\",\"gradient\"]},\"unit_switch_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"unit_gradient_duration\":{\"min\":0,\"scale\":0,\"max\":100,\"step\":1},\"bright\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"temperature\":{\"min\":0,\"scale\":0,\"max\":1000,\"step\":1},\"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}}}"
    },
    {
    "code": "countdown_1",
    "dp_id": 26,
    "type": "Integer",
    "values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
    },
    {
    "code": "music_data",
    "dp_id": 27,
    "type": "Json",
    "values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}"
    },
    {
    "code": "control_data",
    "dp_id": 28,
    "type": "Json",
    "values": "{\"change_mode\":{\"range\":[\"direct\",\"gradient\"]}, \"bright\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"temperature\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":1000,\"step\":1}, \"h\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":360,\"step\":1},\"s\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1},\"v\":{\"min\":0,\"scale\":0,\"unit\":\"\",\"max\":255,\"step\":1}}"
    },
    {
    "code": "rhythm_mode",
    "dp_id": 30,
    "type": "Raw",
    "values": "{\"maxlen\":\"255\"}"
    },
    {
    "code": "sleep_mode",
    "dp_id": 31,
    "type": "Raw",
    "values": "{\"maxlen\":\"255\"}"
    },
    {
    "code": "wakeup_mode",
    "dp_id": 32,
    "type": "Raw",
    "values": "{\"maxlen\":\"255\"}"
    },
    {
    "code": "power_memory",
    "dp_id": 33,
    "type": "Raw",
    "values": "{}"
    },
    {
    "code": "cycle_timing",
    "dp_id": 209,
    "type": "Raw",
    "values": "{}"
    },
    {
    "code": "random_timing",
    "dp_id": 210,
    "type": "Raw",
    "values": "{}"
    }
    ]
    }
  • ADVERTISEMENT
  • #3 20383993
    leonbotha69
    Level 4  
    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 map the lamp to BGRWC
  • #4 20396733
    wascott
    Level 2  
    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 2 1 0 3 4
📢 Listen (AI):

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]

How do I flash OpenBK7231N firmware with Cloudcutter?

  1. Load OpenBK7231N_UG_1.15.317 profile in Cloudcutter.
  2. Power bulb in pairing mode; start attack; wait until flashing completes.
  3. Reboot and configure pins in the web UI [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]

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]

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]
ADVERTISEMENT