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):
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:
Device Configuration Template
Here is the complete JSON configuration to get the pins mapped correctly, including the AlwaysLow assignments on pins 6 and 24.
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.
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):
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++
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
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.