logo elektroda
logo elektroda
X
logo elektroda

Arlec Grid Connect Smart RGBW Puck Lights (4-Pack): OpenBeken 4-PWM HA?

hardwire1010 42 0
ADVERTISEMENT
  • #1 21898442
    hardwire1010
    Level 1  
    Posts: 1
    Device: Arlec Grid Connect Smart RGBW Puck Lights (4-Pack)
    Chipset: BK7231N
    Board: CYTT-286 (Main Controller) / CYTT-341 (LED Puck)
    Product Link: Bunnings Australia

    Hi everyone,

    I recently picked up a 4-pack of the Arlec Grid Connect RGBW puck lights from Bunnings and successfully got them running on OpenBeken.

    Hardware / PCB
    Here is the main controller PCB (CYTT-286) containing the BK7231N, and the internal LED puck board (CYTT-341):

    Arlec Grid Connect Smart RGBW Puck Lights (4-Pack): OpenBeken 4-PWM HA? Arlec Grid Connect Smart RGBW Puck Lights (4-Pack): OpenBeken 4-PWM HA?

    The Issue (4-PWM Discovery)
    These lights use a 4-PWM configuration (RGB Cool White). Out of the box, the OpenBeken firmware lacked automatic Home Assistant discovery support for exactly 4 PWM channels. It was throwing a "4 PWM device not yet handled" error in the logs, and manual configurations using schema: json were failing because the firmware defaults to plain text state updates.

    The Fix & Firmware Patch
    To fix the auto-discovery, I applied a patch to src/httpserver/http_fns.c to treat 4-PWM devices as LIGHT_RGBCW during the HA discovery process. I have submitted a PR for this to the main repository. #2104

    Here is the code change:

    Code: C / C++
    Log in, to see the code


    Device Configuration Template
    Here is the complete JSON configuration to get the pins mapped correctly, including the AlwaysLow assignments on pins 6 and 24.

    Code: JSON
    Log in, to see the code


    Once the PR is merged (or if you apply the patch locally), these should auto-discover beautifully in Home Assistant with a full color picker and white channel slider.
  • ADVERTISEMENT
ADVERTISEMENT