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

SOLVED Hypercon Horizontal LED's

Discussion in 'Software Support' started by Kow, 12 December 2019.

  1. Kow

    Kow New Member

    Messages:
    3
    Hardware:
    32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    Hi there

    I just want to test out hyperion with my WLED based LED's at the moment I only have 60 LED 1 meter strip.
    My plan was to try to get it working on my server with just the top row of LED. Then build the rest later on.

    When i go to hypercon and try to build the config. I set horizontal 59 and 0 out all the rest. I have clicked top left and top right as the construction. Problem is the bottom is still there so LED count is 122. Is there something i am missing to be able to remove the bottom row?

    Thanks
     

    Attached Files:

  2. milhouse

    milhouse New Member

    Messages:
    22
    Hardware:
    RPi3
    Top should be 60 without corners, or 58 with corners. Right now you have 61 on the top (0-61) because it's 59 + 2 corners.

    Bottom gap = 60 to reduce to 0 on the bottom.
     
  3. Akriss

    Akriss Active Member

    Messages:
    544
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    I hand edit the "hyperion.confg.json" for situations like this.

    If you look through the config file you'll notice the led count/index, like this:
    Code:
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.9583, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9500, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.9167, "maximum" : 0.9583 },
                "vscan" : { "minimum" : 0.9500, "maximum" : 1.0000 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.8750, "maximum" : 0.9167 },
                "vscan" : { "minimum" : 0.9500, "maximum" : 1.0000 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.8333, "maximum" : 0.8750 },
                "vscan" : { "minimum" : 0.9500, "maximum" : 1.0000 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.7917, "maximum" : 0.8333 },
                "vscan" : { "minimum" : 0.9500, "maximum" : 1.0000 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.7500, "maximum" : 0.7917 },
                "vscan" : { "minimum" : 0.9500, "maximum" : 1.0000 }
            },
    ,
    You well need to remove the config lines for the unneeded lights.
    Between the index lines 61 and 121:

    Example:
    Code:
            {
                "index" : 61,
                "hscan" : { "minimum" : 0.***, "maximum" : 0.*** },
                "vscan" : { "minimum" : 0.***, "maximum" : *.0000 }
            },
    And the last configured led line:
    Example:
    Code:
            {
                "index" : 121,
                "hscan" : { "minimum" : 0.***, "maximum" : *.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.****}
            }
    Just note how the index is formatted and remove the unneeded leds.
    Notice the lack of a semicolon on the last indexed led line.

    Hope I make sense.
    And I hope it's of help.
     
  4. Kow

    Kow New Member

    Messages:
    3
    Hardware:
    32/64bit, +PhilipsHue, +nodeMCU/ESP8266
    Thanks fixed that

    Will try this thanks :)