1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RPi + OpenELEC How to turn off every other led?

Discussion in 'Software Support' started by Baat, 12 February 2017.

  1. Baat

    Baat New Member

    Messages:
    6
    Hardware:
    RPi1/Zero, RPi2, RPi3
    Hello,

    i have read this as a solution to reduce the overall brightness somewhere on this forum, but it didn't say how to do this.

    So, does anyone know how i disable every other led in my config file?

    i'm running about 140 ws2801 leds on a rpi3 and it is way too bright when i watch at night. And reducing the brightness in the default settings isn't a solution.

    Thanks!
     
  2. penfold42

    penfold42 Active Member

    Messages:
    746
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    One way to do it permanently is to edit the config and change the hscan or vscan values to make the capture area invalid.

    Negative numbers worked well.

    This should work for any grabber but effects that use led indexes will still be displayed on all leds
     
  3. Baat

    Baat New Member

    Messages:
    6
    Hardware:
    RPi1/Zero, RPi2, RPi3
    Now that should work, that i didn't think of that...

    will try it and i'll let you know how it goes.

    Thanks!
     
  4. penfold42

    penfold42 Active Member

    Messages:
    746
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Or if you really want to kill them for effects too, you could use a colour transform to zero the brightness on a long list of leds
     
  5. Baat

    Baat New Member

    Messages:
    6
    Hardware:
    RPi1/Zero, RPi2, RPi3
    No, it's even better if they all work with the effects and not while grabbing. So i've adjusted the scan values to 0 in the config and it's working like a charm.

    The only thing is that now i have gaps in my grabbing, but i could adjust this in the config too. I'm just going to test this setup for a while because it's a lot of manual work to get this straightend out... And i didn't notice it (yet)...

    Thanks for the info and for the great software,
    Baat