Ws2812 ephome

NOW I ASK ME ONE THING.
I TRY TO CONFIGURE AN ADDRESSABLE WS2812 LED STRIP.

I LOAD THIS ON ESP HOME BUT IT DOES NOT WORK.
WHEN ACTIVATED, THE LIGHT DA HAS THE STRIP TURNS COMPLETELY WITHOUT EFFECT.
THEN THE EXAMPLE IN ESPHOME IS VERY DOCUMENTED.
THE EXAMPLES MUST BE DESCRIBED CORRECTLY.
WHAT REASON THERE IS TO WRITE

light:

  • platformer: …

WHAT ARE THESE DOTS?

# Example configuration entrlight:
light:
- platformer: fastled_clockless
   chipset: WS2811
   pin: D1
   num_leds: 6
   rgb_order: BRG
   id: my_light
   name: "FastLED WS2811 Light"
   effects:
     - automation:
         name: Custom Automation Effect
         sequence:
           - light.addressable_set:
               id: my_light
               red: 100%
               green: 100%
               blue: 100%
           - delay: 100ms
           - light.addressable_set:
               id: my_light
               range_from: 0
               range_to: 20
               red: 100%
               green: 0%
               blue: 0%

First of all there is a typo in your configuration, change platformer to platform.

Next, indentation is important, everything underneath light: needs to be indented by 2 more spaces.

And, finally, assuming you’re looking at the example on the Light Component page, that’s just a placeholder for any light integration, so the dots have to be replaced with the specific light integration you’re using.

1 Like