Controlling a RGB WS2812 GPIO

Continuing the discussion from Control RGB Strip WS2811, WS2812, WS2813:

I’m new on automation world and right now im a bit lost :sweat_smile:
I’m trying to control my ws2812b led strip from openhab, but the code i got is just to play some effects, I need the code to control with a color pick item

Should I combine both codes (ws2801 and ws2812)? I tryied and runs, and my colopick item recieve the correct rgb values, but the script didnt work

I followed the tutorial but I dont know how to modify the code
Thx and i keep learning!