ESP32 RMT LED Strip¶
This is a component using the ESP32 RMT peripheral to drive most addressable LED strips.
light: - platform: esp32_rmt_led_strip rgb_order: GRB pin: GPIO13 num_leds: 30 rmt_channel: 0 chipset: ws2812 name: "My Light"
pin (Required, Pin): The pin for the data line of the light.
num_leds (Required, int): The number of LEDs in the strip.
- rmt_channel (Required, int): The RMT channel to use. If using multiple strips, you need to use different channels.
- chipset (Required, enum): The chipset to apply known timings from. Not used if specifying the timings manually, see below.
- rgb_order (Required, string): The RGB order of the strip.
is_rgbw (Optional, boolean): Set to
trueif the strip is RGBW. Defaults to
max_refresh_rate (Optional, Time): A time interval used to limit the number of commands a light can handle per second. For example 16ms will limit the light to a refresh rate of about 60Hz. Defaults to sending commands as quickly as changes are made to the lights.
These can be used if you know the timings and your chipset is not set above. If you have a new specific chipset, please consider adding support to the codebase and add it to the list above.
bit0_high (Optional, Time): The time to hold the data line high for a
bit0_low (Optional, Time): The time to hold the data line low for a
bit1_high (Optional, Time): The time to hold the data line high for a
bit1_low (Optional, Time): The time to hold the data line low for a