Elektroda.com
Elektroda.com
X
Elektroda.com

[BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver

wenkman 900 5
This content has been translated flag-de » flag-en View the original version here.
  • This is a short teardown and flashing guide for C37 6wE14 Smart bulb RGBCW 230V / 50Hz from Amazon.de.

    Wenkman - 07.01.2023
    Brand: Immax
    Model: C37 6wE14 Smart bulb RGBCW 230V / 50Hz
    Chip: BK7231N [CBLC5]
    Shop: Amazon

    I discovered Tasmota some time ago and immediately, without reading through it much, ordered the lamps described above, then did a bit of tinkering and tried to flash the ESP8266, but then had to realize that these lamps are not compatible with Tasmota. They have now BK7231 inside.

    Have then further researched, am then on this Instructions encountered, since I didn't know exactly which chips are installed, I quickly dismantled a lamp.
    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver

    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver

    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver

    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver

    I didn't have to flash by wires, I used a WiFi flashing - tuya-cloudcutter.

    With the information I got to work, exactly according to the instructions, Raspberry Pi 4 set up, software installed, I only had to adapt the command to run it:

    sudo ./tuya-cloudcutter.sh -w wlan0

    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver


    and BÄM, all 6 lamps flashed with the firmware.

    now I only had to figure the pins and the lamps worked
    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver

    
    P24: BP5758D_DAT
    
    P26: BP5758D_CLK
    


    Now there was only one problem, the colors were not correct, BGR instead of RGB, but I solved that with the software control.


    I hope I could help someone with this. Kind regards

    With the help of p.kaczmarek2 I solved the problem with the twisted channels, simply create an /autoexec.bat in the web application under file system
    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver
    and there I pasted this code
    BP5758D_Map 2 1 0 3 4

    after that i clicked the Button "Save, Reset SVM and run file as script thread", now restart and all was clear.
    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver

    many thanks @p.kaczmarek2

    Cool? Ranking DIY
    Do you have a problem with Raspberry? Ask question. Visit our forum Raspberry.
    About Author
    wenkman
    Level 2  
    Offline 
    wenkman wrote 4 posts with rating 4. Been with us since 2023 year.
  • #2
    p.kaczmarek2
    Moderator Smart Home
    wenkman wrote:

    Now there was only one problem, the colors were not correct, BGR instead of RGB, but I solved that with the software control.

    Thank you for your teardown. I will just add that in order to remap the RGBCW channels in case of BP5758D chip you are supposed to use this command:
    
    BP5758D_Map [Ch0][Ch1][Ch2][Ch3][Ch4]
    

    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver
    You can see our commands list here:
    https://github.com/openshwprojects/OpenBK7231T_App/blob/main/docs/commands.md
    The command must be executed on boot, so you can, for example, put it in "early.bat" in LittleFS (if you want it to run at reboot early), or in "autoexec.bat" in LittleFS (if you want it running at delayed startup), or if you don't want to use LittleFS, you can put it here, in "Short startup command":
    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver
  • #3
    wenkman
    Level 2  
    I've found that, but i don't know how to use this, i try'd it like this

    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver
    and
    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver
    and
    [BK7231N/CBLC5] RGBCW GY E14 Smart Led Alexa Lamp 6W (Immax) with BP5758D LED driver

    with many others combinations, but when i load that in autoexec.bat, the lamp won't work any more

    only when i Change colore to #FF0000 the lamp will light white.....
  • #4
    p.kaczmarek2
    Moderator Smart Home
    Autoexec is applied after reboot. If you want to test quickly, do it in console.

    The syntax is:
    
    BP5758D_Map 0 1 2 3 4
    


    wenkman wrote:

    only when i Change colore to #FF0000 the lamp will light white.....

    This is normal - you entered wrong values and they all got parsed to 0, so you basically did BP5758D_Map 0 0 0 0 0, so you remapped all channels to R (0).
  • #5
    wenkman
    Level 2  
    Many thanks for that, now it work's very well.