logo elektroda
logo elektroda
X
logo elektroda

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

leonbotha69 2706 3
ADVERTISEMENT
  • 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.

    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
ADVERTISEMENT