Updated LibreELEC&Hyperion, now not used LEDs are lighting

  • Hi,
    i've been using Hyperion on RPi2 with openELEC for quite a long time and it worked (nearly) flawless.
    Today I updated/changed from openELEC to LibreELEC 7.0.1, and after that, I also updated Hyperion to 1.03 (from 1.02 I think). This worked, but of course I had to update my config, too. (HyperCon 1.03.1).
    Wow this will cost me some time to calibrate the colors again, but I managed to bring hyperion back to life =)


    But:
    I'm using a lightstripe from lightberry (WS2801?) and configured 88 LEDs. These 88 LEDs work fine, but now the not used LEDs (89+) are always lighting. Sending a static color with brightness=0, 88 LEDs are dark, the others don't react to anything. I don't know wether the problem came up with LibreELEC or Hyperion 1.03. I think, my config is OK. I don't know how to go on. What can I do/try/test...?


    Thanks in advance,
    Bastian

  • Greetings,
    there were no changes to WS2801 at all. Is Hyperion running fine?
    Check the log: [WIKI]Hyperion Log[/WIKI]


    Why do you have unused leds? I don´t know how WS2801 react on this usualy.
    Is this your first configuration you created yourself? (cause you mentioned lightberry - so not sure)
    Do you have still your old .json? It should work also so you are not really forced to create a new .json if the old one also works.

    • Offizieller Beitrag

    worst case you can set the scans to 0.0000 eg
    {
    "index" : 89,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0000 }
    },

  • oh boy, heureka! :D
    last night i couldn't fall asleep thinking of this issue. but then I got the right idea ;)
    I hope it is ok to explain it in german. there was no bug, whether in config nor elsewhere.


    In der alten .json war als Typ "lightberry" eingetragen, womit diese prima funktioniert hat. Da das aktuelle HyperCon diese Option nicht mehr bietet habe ich ein paar Möglichkeiten ausprobiert. Ich dachte eigentlich, es wären APA102-LEDs, doch mit dieser Option leuchteten einfach alle LEDs und waren nicht zu steuern. Als ich dann offenbar korrekt auf WS2801 gestellt habe, lief Hyperion mit der Config korrekt. Wenn mans genau nimmt, habe ich meinen eigenen Fehler im ersten Beitrag sogar selbst gelöst :D Die LEDs, welche nicht durch das .json konfiguriert waren, haben einfach ihre letzte Einstellung beibehalten. Da diese also durch die erste Fehlkonfiguration alle leuchteten, blieben sie halt einfach an.
    Lösung:
    Ich musste den lightstrip einfach kurz stromlos machen damit alle LEDs aus sind, wieder einstecken, fertig. Nicht konfigurierte LEDs bleiben aus, die 88 anderen werden durch Hyperion wie gewünscht gesteuert.
    Die bessere Lösung wär vielleicht gewesen, die nicht verwendeten LEDs "schwarz" zu konfigurieren, damit diese aktiv deaktiviert werden. Wie könnte ich das am einfachsten erreichen?


    Um euere Frage zu beantworten:
    Nicht verwendete LEDs deshalb, weil der Lightstrip 5m lang ist, mein TV aber einen geringeren Umfang hat. Ich muss ihn ja nicht abschneiden sondern brauche einfach nur nicht alle LEDs zu konfigurieren.


    OK now back to english, maybe this is interesting for somebody else:
    yes the old .json did not break Hyperion, but it worked quite bad. I had to cut off many pixels from the bottom, because the LEDs stayed dark. I'm using an external usb-grabber.


    And, I forgot this to mention yesterday, I can't get a logfile from hyperion! HyperCon answers, there is no such file.


    Thank you very much guys! This project is awesome =)

  • wow lightberry-support/wiki has grown :)
    to deactivate unused LEDs:


    "transform":[
    {
    "id":"default",
    "leds":"0-87",
    [...]
    {
    "id":"turnedoff",
    "leds":"88-120",

    "hsv":{
    "saturationGain":1.0000,
    "valueGain":0.0000
    },


    Lightberry still recommends following entry in .json for WS2801-LEDs. This works fine (also does type = WS2801).
    "device": {
    "name" : "MyPi",
    "type" : "lightberry",
    "output" : "/dev/spidev0.0",
    "rate" : 1000000,
    "colorOrder" : "rgb"
    },

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!