Having trouble with orange and yellow colors

I’ve just bought a square, and I’m having trouble seeing orange and yellow colors, as they are pretty much “green”.
Is there any adjustment I can make?

bstick.set_color(red=255, green=255, blue=0, index=0)
This was supposed to be yellow, but it’s actually a light green

bstick.set_color(red=255, green=165, blue=0, index=0)
This was supposed to be orange, but its also a light green as well (a bit more warmer then “yellow”)


You may need to experiment wiith values. Also you can do:

blinkstick --set-mode 3

This way when you send single color, it will light up all 8 LEDs

To go back just run the following command:

blinkstick --set-mode 2

Hey @arvydas, thanks for the response.
I’ve tried to play with modes before, but I always get an error:

 [Errno 5] Input/Output Error
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/blinkstick/blinkstick.py", line 249, in _usb_ctrl_transfer
    return self.device.ctrl_transfer(bmRequestType, bRequest, wValue, wIndex, data_or_wLength)
  File "/usr/local/lib/python3.9/site-packages/usb/core.py", line 1072, in ctrl_transfer
    ret = self._ctx.backend.ctrl_transfer(
  File "/usr/local/lib/python3.9/site-packages/usb/backend/libusb1.py", line 893, in ctrl_transfer
    ret = _check(self.lib.libusb_control_transfer(
  File "/usr/local/lib/python3.9/site-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 5] Input/Output Error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/blinkstick", line 330, in <module>
  File "/usr/local/bin/blinkstick", line 263, in main
  File "/usr/local/lib/python3.9/site-packages/blinkstick/blinkstick.py", line 562, in set_mode
    self._usb_ctrl_transfer(0x20, 0x9, 0x0004, 0, control_string)
  File "/usr/local/lib/python3.9/site-packages/blinkstick/blinkstick.py", line 257, in _usb_ctrl_transfer
    raise BlinkStickException("Could not communicate with BlinkStick {0} - it may have been removed".format(self.bs_serial))
blinkstick.blinkstick.BlinkStickException: Could not communicate with BlinkStick BS037649-3.0 - it may have been removed

Do you have any idea of what might be the problem?

Could you post your code sample?

There’s no code, I just run blinkstick --set-mode 3
But, there’s a caveat, I’m using docker and blinkstick actually translates to:
docker run --rm -ti --volume $(pwd):/app --privileged -v /dev/bus/usb:/dev/bus/usb -w /app blinkstick blinkstick $@

The python scripts I have use the same container and work perfectly, so does commands like blinkstick --pulse red