Posts: 6,265
Threads: 806
Joined: Oct 2020
Reputation:
151
04-29-2022, 12:58 AM
(This post was last modified: 04-30-2022, 11:24 PM by admin.)
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:
Posts: 25
Threads: 0
Joined: Jun 2023
Reputation:
0
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?
Posts: 6,265
Threads: 806
Joined: Oct 2020
Reputation:
151
just change the order of setting:
rgb_order: GRB
maybe rgb_order: RGB just change test, change test, change test, until color correctly.
Posts: 25
Threads: 0
Joined: Jun 2023
Reputation:
0
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
Posts: 6,265
Threads: 806
Joined: Oct 2020
Reputation:
151
take a photo , how you wire?
Posts: 25
Threads: 0
Joined: Jun 2023
Reputation:
0
Posts: 6,265
Threads: 806
Joined: Oct 2020
Reputation:
151
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?
Posts: 25
Threads: 0
Joined: Jun 2023
Reputation:
0
Yes , i use 5 V supply for led strip and 12 V for AIO .
The power supply grounds are not connected toghether.
Posts: 6,265
Threads: 806
Joined: Oct 2020
Reputation:
151
you should connect together for two "GROUND".
Posts: 25
Threads: 0
Joined: Jun 2023
Reputation:
0
Alright, you mean to connect together the 5V(-) from led strip power supply with 12V(-) from AIO power supply ?