Reverse brightness control with commandline

Hi all

I have been using the blinkstick pro beside (with the LED adapter) with command line in Linux without any problem.
This is the command I am using to turn on all the LEDs:
Blinkstick --set-color=FFFFFF --brightness=100
. Recently I opened a new blinkstick out of the package and the brightness works exactly the opposite. So to turn on all the LEDs I have to use zero brightness:
Blinkstick --set-color=FFFFFF --brightness=0

I tried both blink sticks on the same system and the same adapter and they work opposite. Does anybody have an idea why is this the case? Is there a jumper setting or something like that?

Best Regards
Mahyar

Just curious, what happens if you --set-color=000000, and what does --info spit out?

ok very interesting question
$ blinkstick --set-color=000000 --brightness=0
Turns on the led strip. and
$ blinkstick --set-color=000000 --brightness=100
also turn the light on
and after that
$ blinkstick -i
gives:
Found device:
Manufacturer: Agile Innovative Ltd
Description: BlinkStick
Serial: BS009449-2.2
Current Color: #000000
Mode: 0
LEDs: unsupported
Info Block 1:
Info Block 2:


and more interesting is when I do $ blinkstick -i
right after $ blinkstick --set-color=FFFFFF --brightness=0 (lights go on)
The results is surprisingly:

$ sudo blinkstick -i
Found device:
Manufacturer: Agile Innovative Ltd
Description: BlinkStick
Serial: BS009449-2.2
Current Color: #000000
Mode: 0
LEDs: unsupported
Info Block 1:
Info Block 2:

but after --set-color=FFFFFF --brightness=100 (lights go off)
the color shown by --info is
Current Color: #ffffff

Is this insane or am I getting this wrong?

(I just need to declare that I am only using one led strip connected to the “Red” now, but I also tested once with my previous working setup and the problem was the same. However I guess this is not important)

@mahyar_moqimi is it Pro with LED adapter?

Ok I got it. This was on “reverse mode”
The only thing I needed was to set to normal mode
$ sudo blinkstick --set-mode=1

However still the behavior on mode “0” sounds weird to me and I don’t understand it.
But the problem is solved.
Thanks

Hi Arvydas
Yes it is. a pro with adapter

Was about to suggest this :slight_smile: Pro with LED adapter needs to be set to inverse mode 1. This is because LEDs have common anode.

2 Likes