Smart Home Automation Forum
Interfacing WS2812B led strips - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-AIO (https://www.kincony.com/forum/forumdisplay.php?fid=46)
+--- Thread: Interfacing WS2812B led strips (/showthread.php?tid=7524)



Interfacing WS2812B led strips - Krushi - 01-30-2025

Hi I am using KC868 AIO installed for my smart home project, I would like to interface 4 ws2812b led strips how can I do that? Which of the pins can be used as data pins for the same. An example circuit and Yaml also will be appreciated.

Regards
Krushi


RE: Interfacing WS2812B led strips - admin - 01-31-2025

GPIO5 and GPIO14 can use for ws2812b. there is free gpio terminal you can use it.


RE: Interfacing WS2812B led strips - Krushi - 01-31-2025

I would like to connect 4 independent Led strips for different locations, so I might need more than 2 pins. Are there any more pins that I can use for other led strips. Can any other pins on KC868 AIO be used as GPIO?


RE: Interfacing WS2812B led strips - admin - 01-31-2025

KC868-AIO only have 2 free gpio. if you want use more LED strip for WS2812B, you can add another kincony board, such as KinCony S3, there are many free gpio ports can use.


RE: Interfacing WS2812B led strips - iridium913 - 10-17-2026

Dear all,

About WS2812 I made a successful initial configuration.
Here are the easy necessary steps, the test was made with B8 board and firmware v3.27.2

1) choose a free GPIO, in my case 47
2) connect a power source to the led strip with appropriate power according to the lenght of the string.
3) connect the data cable to GPIO47. If you don't take the 12v from the board make sure to connect GND power source to the board too.
4) configure under "Protocol" - "WS2812" your led strip name, GPIO, led count and Enable it
5) after restart you find the strip control under "Monitor"

In Home Assistant add this portion to the mqtt: section of configuration.yaml:

- light:
- name: "LED Strip KCD"
unique_id: "YOURUNIQUEID_light_ws2812_1"
schema: json
state_topic: "homeassistant/light/YOURUNIQUEIDws2812_1/state"
command_topic: "homeassistant/light/YOURUNIQUEIDws2812_1/set"
supported_color_modes:
- rgb
brightness: true
brightness_scale: 255

Do a fast restart of HA to reload configuration.yaml and search for the new entity.
If you don't find it make sure to remove the entity filters to show either activated and deactivated entities.
You will find the brand new entity with brightness control, color, on/off etc.

I can't still enable the effects, kindly asking to Admin if you could eventually complete my configuration.yaml with the appropriate effect section.
Thank you!