logo elektroda
logo elektroda
X
logo elektroda

[BK7231N] OpenBK Flashing and MQTT/Alexa Configuration for Casalux LED-RGB WiFi Flexband

alpenbeni 4533 31
ADVERTISEMENT
  • #31 20909352
    luebbe
    Level 6  
    Here's my autoexec.bat trying to match the colors of the original strip as closely as possible. Of course they don't look similar to these on the HA UI, like mentioned in another post.

    // IR driver will start itself automatically after reboot
    // IR events mapped to the buttons of the original remote control
    // trying to match the colors of the original strip
    
    // first row
    addEventHandler2 IR_NEC 0xEF00 0x0 add_dimmer 9
    addEventHandler2 IR_NEC 0xEF00 0x1 add_dimmer -9
    addEventHandler2 IR_NEC 0xEF00 0x2 led_enableAll 0
    addEventHandler2 IR_NEC 0xEF00 0x3 led_enableAll 1
    
    // second row
    addEventHandler2 IR_NEC 0xEF00 0x4 color #FF0000  // red
    addEventHandler2 IR_NEC 0xEF00 0x5 color #00FF00  // green
    addEventHandler2 IR_NEC 0xEF00 0x6 color #0000FF  // blue
    addEventHandler2 IR_NEC 0xEF00 0x7 color #FFFFFF  // white
    
    // third row
    addEventHandler2 IR_NEC 0xEF00 0x8 color #FF2000  // orange
    addEventHandler2 IR_NEC 0xEF00 0x9 color #80C020  // light green
    addEventHandler2 IR_NEC 0xEF00 0xA color #0020E0  // light blue
    addEventHandler2 IR_NEC 0xEF00 0xB color #FFA080  // flash (used as warm white)
    
    // fourth row
    addEventHandler2 IR_NEC 0xEF00 0xC color #A04000  // light orange
    addEventHandler2 IR_NEC 0xEF00 0xD color #90D0C0  // mint
    addEventHandler2 IR_NEC 0xEF00 0xE color #8000A0  // violet
    // addEventHandler2 IR_NEC 0xEF00 0xF                // strobe (unused)
    
    // fifth row
    addEventHandler2 IR_NEC 0xEF00 0x10 color #804000 // yellow with an orange touch
    addEventHandler2 IR_NEC 0xEF00 0x11 color #2090B0 // sky blue
    addEventHandler2 IR_NEC 0xEF00 0x12 color #B00070 // turquoise
    // addEventHandler2 IR_NEC 0xEF00 0x13               // fade (unused)
    
    // sixth row
    addEventHandler2 IR_NEC 0xEF00 0x14 color #FFC000 // yellow
    addEventHandler2 IR_NEC 0xEF00 0x15 color #0050A0 // dark turquoise
    addEventHandler2 IR_NEC 0xEF00 0x16 color #E00050 // pink
    // addEventHandler2 IR_NEC 0xEF00 0x17               // smooth (unused)
    
  • ADVERTISEMENT
  • #32 21373284
    JasonMask
    Level 1  
    Hi everyone,

    Aldi is selling a new Version of this light since last Monday (30.12.2024). Unfortunately for 15€ which is almost twice the price of the original.
    Essentially everything works as described for the original version, except of the pin configuration.

    I brute forced my self through this and want to share the configuration here to spare some time for others.

    P6 (PWM0): PWM 3
    P7 (PWM1): PWM 1
    P8 (PWM2): PWM 2

    P14 (N/A): Btn 0 0
    P20 (N/A): IRRecv

    Surprisingly P24 (PWM4) is also equipped with everything but the final connector for a light. A soldering pad is there and labeled with a C though. 
    In case you added a connector there while flashing the firmware the configuration would be:
    P24 (PWM4): PWM 4

    I´m not sure on what other option the new board provides (more things might be hooked to PWM3 and 5 or other Pins) so feel free to share if anyone finds out more.
    Also let me know in case someone needs pictures. I spared them as the labeling on the pcb board is clearly readable and holds no mystery ;)

    Happy new Year and best regards

Topic summary

The discussion revolves around flashing Casalux LED-RGB WiFi Flexband strips with OpenBK firmware to enable MQTT and Alexa integration. Users share experiences with flashing the BK7231N chipset, troubleshooting issues related to backup failures, and configuring the device for IR control. Key challenges include incorrect baud rates, power supply issues, and the need for proper wiring. Solutions involve using specific flashing tools, adjusting configurations, and rebooting the device to activate the IR driver. Successful flashing was achieved after switching to a reliable USB to UART TTL cable. Sample scripts for IR control and color matching are also provided.
Summary generated by the language model.
ADVERTISEMENT