Turris 1.x: brightness is decreased on every restart of rainbow
On Turris 1.X running 6.4.2 with rainbow version 0.1.4-1, when brightness is set to less than or equal to 223 (on the precise scale), weird things start to happen:
# rainbow brightness -p 223
# uci show rainbow
rainbow.all=led
rainbow.all.brightness='064'
# rainbow reset -n
# uci show rainbow
rainbow.all=led
rainbow.all.brightness='004'
# rainbow reset -n
# uci show rainbow
rainbow.all=led
rainbow.all.brightness='000'
After the second restart, the LEDs are completely dark. When brightness is set up to more than 223, it will get stored as 255 and this value survives unlimited amount of restarts. But that is just too bright.