Smart Home Automation Forum
Lesson22 - add RGBW LED strip to home assistant by ESPHome - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: Home automation training courses (https://www.kincony.com/forum/forumdisplay.php?fid=18)
+--- Thread: Lesson22 - add RGBW LED strip to home assistant by ESPHome (/showthread.php?tid=1880)

Pages: 1 2


Lesson22 - add RGBW LED strip to home assistant by ESPHome - admin - 04-29-2022


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:


RE: Lesson22 - add RGBW LED strip to home assistant by ESPHome - MariusM - 06-19-2023

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?


RE: Lesson22 - add RGBW LED strip to home assistant by ESPHome - admin - 06-20-2023

just change the order of setting:

rgb_order: GRB

maybe rgb_order: RGB just change test, change test, change test, until color correctly.


RE: Lesson22 - add RGBW LED strip to home assistant by ESPHome - MariusM - 06-20-2023

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


RE: Lesson22 - add RGBW LED strip to home assistant by ESPHome - admin - 06-20-2023

take a photo , how you wire?


RE: Lesson22 - add RGBW LED strip to home assistant by ESPHome - MariusM - 06-21-2023

Please see how i wired and my configuration yaml.


RE: Lesson22 - add RGBW LED strip to home assistant by ESPHome - admin - 06-22-2023

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?


RE: Lesson22 - add RGBW LED strip to home assistant by ESPHome - MariusM - 06-22-2023

Yes , i use 5 V supply for led strip and 12 V for AIO . 
The power supply grounds are not connected toghether. 



RE: Lesson22 - add RGBW LED strip to home assistant by ESPHome - admin - 06-22-2023

you should connect together for two "GROUND".


RE: Lesson22 - add RGBW LED strip to home assistant by ESPHome - MariusM - 06-22-2023

Alright, you mean to connect together the 5V(-) from led strip power supply with 12V(-) from AIO power supply  ?