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

set some LEDs to stay always off

Discussion in 'Hyperion General' started by giovanne, 27 February 2018.

  1. giovanne

    giovanne Member

    Messages:
    59
    Hardware:
    RPi2, RPi3, +nodeMCU/ESP8266
    Is it possible and if yes what is the best way, when I have a setup with ws2801 leds on all four sides at the TV.
    For some tests, I want some leds to be disabled (should stay off all the time).
    E.g. if I only want to use the leds 'horizontal top' or 'horizontal top and some on the left and right'.

    So if my hyperion.config.json has defined led index 0 to 129.
    Now I only want to activate led '60 to 94', all the other should stay 'off'

    I found out, that if I set min and max to the same value, than the led is off:
    e.g.
    "index": 60,
    "hscan": { "minimum" : 0.3498, "maximum" :0.3498},
    "vscan": { "minimum" : 0.6118, "maximum" :0.6118}

    Is this the right way? (tested in hyperion classic)
    Or is there a better way to optimize data traffic on the SPI interface?
     
  2. JaY_III

    JaY_III New Member

    Messages:
    9
    Hardware:
    RPi1/Zero
    Have you tried deleting(comment out) the ones you dont want to work out of hyperion.config.json ?