Hello,
this is to document how to control a ws2814 with a esp32 and show the colors you would expect (red = red, white = white, etc.). It took me too long to finally find this onfig, so perhaps it can be of use to you.
I used a sn74ahct245n as a level shifter for the signals. It works perfectly, but I also pulled down not used pins on the a and b side with a 10kohm resistor for each input or output. I also added a 270ohm resistor in front of the data line, just as a precaution. OE is pulled down, DIR ist pulled high to 5V, VCC is 5V, the input pins get connected to the esp32, the outpu pins (called “b” side in the technical diagram) are sourced with 5V from VCC when the input demands it.
I bought this lightstrip:
Link to example strip
Adapt the pin and number of leds as you need in the following example.
in esphome yaml:
- light:
- platform: esp32_rmt_led_strip
rgb_order: RGB
pin: GPIO18
num_leds: 5
is_wrgb: true
rmt_channel: 0
chipset: SK6812 #ws2812
name: "My Light"