Beken SPI LED Strip
This is a component using the Beken SPI DMA interface to drive addressable LED strips.
WARNING
Only works on pin P16, which is not available on many tuya modules.
light: - platform: beken_spi_led_strip channel_colors: GRB pin: P16 num_leds: 30 chipset: ws2812 name: "My Light"Configuration variables
Section titled “Configuration variables”-
pin (Required, Pin): The pin for the data line of the light.
-
num_leds (Required, int): The number of LEDs in the strip. The DMA buffer limits this to 165 LEDs, or 123 LEDs when
channel_colorscontains aW. -
chipset (Required, enum): The chipset to apply known timings from.
WS2812SK6812APA106SM16703
-
channel_colors (Required, string): The order in which the strip expects its color channels. List each of
R,GandBexactly once, optionally with a singleWin any position; for exampleGRB,BGR,GRBW,WRGBorRWGB. The value is case-insensitive. Including aWmakes this a four channel RGBW strip. -
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.
-
All other options from Light.