Open pidpawel opened 1 month ago
Yes. My devboard has a WS2812 variant that seems to be using RGB format, instead of GRB one so all led_indicator animations are wrong.
led_indicator
It'd be ideal to add other pixel formats in led_pixel_format_t. ESPHome seems to be supporting any arbitrary format so probably support like this makes the most sense. https://github.com/esphome/esphome/blob/dev/esphome/components/esp32_rmt_led_strip/led_strip.cpp#L129
led_pixel_format_t
In the meantime I'll probably add macrodefinitions for arbitrary colours in the code, with a comment why the order's changed.
No response
Is your feature request related to a problem?
Yes. My devboard has a WS2812 variant that seems to be using RGB format, instead of GRB one so all
led_indicator
animations are wrong.Describe the solution you'd like.
It'd be ideal to add other pixel formats in
led_pixel_format_t
. ESPHome seems to be supporting any arbitrary format so probably support like this makes the most sense. https://github.com/esphome/esphome/blob/dev/esphome/components/esp32_rmt_led_strip/led_strip.cpp#L129Describe alternatives you've considered.
In the meantime I'll probably add macrodefinitions for arbitrary colours in the code, with a comment why the order's changed.
Additional context.
No response