Smart Home Automation Forum

Full Version: Lesson22 - add RGBW LED strip to home assistant by ESPHome
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

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:
Hello, 

I do experience some strange issues with an led strip WS2812B . 
I configured the GPIO5 of my KC868 AIO as led data strip as you shown -  all good so far. 

I have 5V~ 60 A power supply and i'm testing 5 m of led strip. 
If i want to change the colour all the led's starts to act abnormal . 
Example i set the blue colour ,  the led strip is changing to all colours possible  . first led's are red, after that they are green, followed by blue led's and so on . 
Also any change of colour or brightness i do , all the led strip act like an random effect and when i switch off the led strip from home assistant the last led's are still on. 

Could you share from your experience what could be wrong?
just change the order of setting:

rgb_order: GRB

maybe rgb_order: RGB just change test, change test, change test, until color correctly.
I have changed the order of RGB, but either order the led strip still not behaving as normal. 
When I change the color the led strip is not having the same color across the strip. 
Some places are red, some places are green and some places are mixed color across the strip. 
Also when I turn off the strip first led’s and last 20 led’s are still on
take a photo , how you wire?
Please see how i wired and my configuration yaml.
do you use dc12v power supply for KC868-AIO and dc5v power supply for LED strip?
two power supply whether have connect the "GND" together?
Yes , i use 5 V supply for led strip and 12 V for AIO . 
The power supply grounds are not connected toghether. 
you should connect together for two "GROUND".
Alright, you mean to connect together the 5V(-) from led strip power supply with 12V(-) from AIO power supply  ?
Pages: 1 2