Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lesson22 - add RGBW LED strip to home assistant by ESPHome
#1

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:
Reply
#2
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?
Reply
#3
just change the order of setting:

rgb_order: GRB

maybe rgb_order: RGB just change test, change test, change test, until color correctly.
Reply
#4
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
Reply
#5
take a photo , how you wire?
Reply
#6
Please see how i wired and my configuration yaml.


Attached Files Image(s)
           

.txt   aio.txt (Size: 21.17 KB / Downloads: 142)
Reply
#7
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?
Reply
#8
Yes , i use 5 V supply for led strip and 12 V for AIO . 
The power supply grounds are not connected toghether. 
Reply
#9
you should connect together for two "GROUND".
Reply
#10
Alright, you mean to connect together the 5V(-) from led strip power supply with 12V(-) from AIO power supply  ?
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)