home automation training -22-add RGBW LED strip to home assistant by ESPHome
1. chose LED strip model
2. connect with wire: VCC,DATA,GND
3. config in ESPHome:
light:
– platform: fastled_clockless
chipset: WS2812B
pin: GPIO33 # Pin Define connected with LED strip
num_leds: 30 #LEDs number
rgb_order: GRB
name: “led_strip”
effects:
– addressable_rainbow: ##defined 7 effects styles
– addressable_color_wipe:
– addressable_scan:
– addressable_twinkle:
– addressable_random_twinkle:
– addressable_fireworks:
– addressable_flicker: