I had a problem with the hex_to_rgb
and the name_to_rgb
not converting to rgb, but rather grb.
So #ff0000
(red) would actually turn the lights to green, and vice versa
I changed line 842 of blinkstick.py from
return tuple([int(s, 16) for s in (hex_digits[1:3], hex_digits[3:5], hex_digits[5:7])])
to
return tuple([int(s, 16) for s in (hex_digits[3:5], hex_digits[1:3], hex_digits[5:7])])
Which fixed the problem. Is this a bug, or is there something I’m overlooking?