Warm/White LED Controller with ESPHome?

Has anyone done a Warm/White LED String controller with ESP Home? Wondering if there is an easy way to integrate the Warm/White controllers with HA

Which controller?

Good question - it’s a P9813 module from Aliexpress Full Color Rgb Led Strip Driver Module Shield For Arduino R3

That is an rgb controller by the look of the pin labeling.

Correct - you can use two of the channels for controlling Warm & White leds. E.g. Red for Warm and Green for White. I’ve already wired the whole thing with a Raspberry pi and it works.

I was wondering if HA and ESPHome have any known methods of controlling led strings with Warm & White.

Have a look at the NeoPixelBus Light - that in conjunction with options from the base Light Component should give you some ideas.

This one definitely handles the P9813 but then it doesn’t have any built-in support for WW or RGBWW so not sure where I could convert the messages between HA and ESPHome to convert WW into RGB.

However, I noticed this component RGBWW Light — ESPHome. What kind of controller would I use? Looks like it is from D pin directly to LED.

That’s for driving individual LEDs. You have addressable LEDs - you need to drive them with a compatible component/driver.

Did you look at color_mode in the base light component?

I don’t see what leds he has in this thread.

Which I believe is a Neopixel controller.

yeah I see that upon further investigation.

Ah interesting - so the color_mode supports my lights but it sounds like it would still need a controller that supports the WW mode. Well - that seems relatively close, I’m going to see if I can fork the code base and possibly submit a patch for the P9813 module with WW support.

I am totally new to ESPHome - but I assume that magically it will relay the color_mode to home assistant and the controller will just appear as a light?