ptvoinfo / zigbee-configurable-firmware

PTVO firmware for CC2530, CC2531, and CC2652 Zigbee chips
https://ptvo.info/zigbee-configurable-firmware-features/
MIT License
192 stars 22 forks source link

Led firmware control only white channel #277

Closed Sennevds closed 2 months ago

Sennevds commented 2 months ago

I've bought the premium features add created following config: image It's for a 24v led strip which has 4 separate inputs (RGBW) This works and I can perfectly control the color and brightness. I can't find how to set the PWM to 0 on the RGB channels and only control the white channel. Is this possible?

ptvoinfo commented 2 months ago

@Sennevds Did you configure your firmware in FirmwareConfigLED.exe?

Sennevds commented 2 months ago

Yes, I've found out that if I send #ffffff all color leds go out but for some reason the white leds won't turn on I will check my pcb on errors this evening. Still strange that only when sending #ffffff it will turn on the white leds I would think that there would be a toggle in Home Assistant between rgb and white

ptvoinfo commented 2 months ago

@Sennevds It is by design. The white channel is active only when colors are inactive. So, you can color or white modes.

Sennevds commented 2 months ago

Okay thanks for the info, probably just a weird way Home Assistant works with rgbw lights. Because I need to manually set the color to white it's not possible to easily toggle between rgb and white.

Sennevds commented 2 months ago

@ptvoinfo I've created a test setup (with the none led firmware because other device and not having a premium for that one). The PWM signal is working great for 3 pin's (P16, P20 and P17) but it's not working on pin P23. This is my config: image pool.txt

ptvoinfo commented 2 months ago

As I see, P23 is used for an external oscillator. Or did you assemble a custom board without it?

Sennevds commented 2 months ago

I'm using this one: https://vi.aliexpress.com/item/4000278462659.html If it's not usable I need to redesign my pcb

ptvoinfo commented 2 months ago

I cannot open this page (product not found). The most boards have 32 kHz oscillators. Check your device.

Sennevds commented 2 months ago

Checked pinout and was indeed connected to oscillator. Last thing about the rgbw configuration. The light is recognized as a RGB light and you automatically switch to the white LEDs when you select white color. Home assistant has a option to identify a light as rgbw and then has a different control for the white LEDs. Is this possible?