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

Matrix configuration Script

Discussion in 'Hyperion Extensions' started by Rybka, 2 January 2017.

  1. Rybka

    Rybka New Member

    Messages:
    5
    Hardware:
    RPi3, +PhilipsHue
    Hi,

    I'm trying to run JS to create LED matrix but getting strange result..

    Code:
    Node.exe Node.js -w 58 -h 34 -s top-right  > leds.json
    leds.json contain too many lines, last index is 1971. I'm expecting #184. Any idea why?

    I'm trying it because HyperCon is counting wrong number of LEDs for 58+58+34+34 = 185?? wrong.jpg
    I know there is LED #0 but 0 is only one, so can't enter 57. With 57 it will count only 183 LEDs :(
    That's why I'd like to create own matrix.
     

    Attached Files:

  2. Brindosch

    Brindosch Administrator Administrator

    Messages:
    679
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Greetings,
    it's a matrix script (quadrat) 58x34=1972 leds. It's for "led walls".
    The led creation bugs a little bit sometimes, higher and lower the value again. Wait until the progress bar is gone before you "change" the value again.
     
  3. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    925
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    Bildschirmfoto 2017-01-02 um 23.01.56.png
    This is what you try...but think thats wrong :)
     
  4. Rybka

    Rybka New Member

    Messages:
    5
    Hardware:
    RPi3, +PhilipsHue
    TPmodding & Brindosh :
    Guys thank you for reply it is clear.

    Brindosh:
    (I'm sorry, I knew this is different forum section, but could be more effective than create new thread)

    1. Regarding refresh of led-count in HyperCon.. I know that refresh is buggy but this look like bug in counting (I gave to refresh about 10mins to be sure, many times and result is always same) see attached printscreen vs. json file. (device section added by hand). My HyperCon input was 58,34,34 displayed result is 185 = correct index in json file 0 to 184 (185leds).

    2. If my config is vu/enigmalight as client/grabber, am I right that enigmalight should take care about black-border detection, not hyperion server? (not working for me)

    BTW: What is usual donation ammount??
     

    Attached Files:

    Last edited: 3 January 2017
  5. Brindosch

    Brindosch Administrator Administrator

    Messages:
    679
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    As i see the picture, i see the issue. The checkbox of top right led is enabled (which adds one additional led). In future these options are no longer available :)
    Decision is up to you. Choose what's working better for you. I noticed that proto pictures (like yours) are not always (0,0,0). Higher the threshold of blackborder detection to make it work. (In future we start by default with a higher value here to avoid a adjustment for at least some people.)

    That's funny. I think you are the first person that is asking :). Usual it's 10€

    Have fun and thank you for your appreciation/support
     
  6. Rybka

    Rybka New Member

    Messages:
    5
    Hardware:
    RPi3, +PhilipsHue
    YES! Checkbox removed, counting is correct now.
    Blackborder: Does it mean that hyperlight client is sending whole grabbed pictures to hyperion server isntead of some coordinate-instructions?

    Anyway thank you for help. It solved my problem.
     
  7. Brindosch

    Brindosch Administrator Administrator

    Messages:
    679
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Yes, and the threshold controls the grey-ness of borders. (Even if they are not grey, but (1,1,1) is already no threshold of 0)