samhstein / sp108e_ws2815

home assistant sp108e with ws2815 integration
58 stars 20 forks source link

Add while value to use controller with SK6812 RGBW #1

Closed andrewostroumov closed 3 years ago

andrewostroumov commented 3 years ago

Hello there, I've found your perfect component here and It really works for me but unfortunately it doesn't have while value support. So could you please add this? If only I can python I make a PR but my scope is golang / ruby

andrewostroumov commented 3 years ago

According to this repo white brightness is controlled by 0x08 (byte 5) https://github.com/Lehkeda/SP108E_controller#change-white-led-brightness

samhstein commented 3 years ago

hi,

looks like you got to it before i had a chance, welcome to the python world!!! i don't have strips that support white so can't test but your code looks good / is merged.

thanks, sam

andrewostroumov commented 3 years ago

Thanks Sam, let's hope someone in HASS world will use it

Harro65 commented 1 year ago

Is this still available after the changes config UI?

Stability of this is great, however cant seem to control the white channel on the SK6812 RGBW leds. Any ideas how I can include in the integration?