Beiträge von wladi

    Habe Hyperion.NG auf RPI 3 b+. Die Befehle sind grob wie folgt (bin jetzt nich tmehr sicher ob vollständig, ist schon weile her):
    System updaten:

    Code
    sudo apt update && sudo apt upgrade


    Nötige Pakete installieren:

    Code
    sudo apt-get install libcec4 wget


    Hyperion.NG Release herunterladen:

    Code
    wget https://github.com/hyperion-project/hyperion.ng/releases/download/2.0.0-alpha.9/Hyperion-2.0.0-alpha.9-Linux-armv7l.deb


    Heruntergeladene Hyperion.NG Release installieren:

    Code
    sudo dpkg -i Hyperion-2.0.0-alpha.9-Linux-armv7l.deb


    Wenn irgendwelche packages fehlen, muss man die ggf manuell noch installieren.

    - Wieviel LEDS sollte ich machen?
    >> Aus meiner Sicht reichen 30 LEDs/Meter völlig aus. nur bei kleineren TVs evtl. 60 LEDs/m.


    - Welche LEDS sollte ich kaufen?
    >> Ich habe SK6812 RGBNW. Bin zufrieden. Empfehle die aber nur, wen man dei Ansteuerung über WLED macht.


    - Welche Kabel oder Verbinder benötige ich?
    >>Ich habe diese und bereue es nicht:


    - Muss ich unbedingt löten?
    >>Für gute Verbindungen würde ich sagen ja. Einige knicken wohl einfach die LED Streife an den Ecken und schneiden gar nicht ab, kann mir aber schlecht vorstellen wie gut es geht.


    - Warum brauche ich einen grabber, splitter oder switch etc..?
    >>Der Prinzip ist ja so, RPi muss über USB ein TV Signal bekommen. Das muss Du also von deiner HDMI Quelle (Fire Stick) irgendwie abzweigen (mit dem Splitter halt) und HDMI zu USB "wandeln" (das macht Grabber). Switch brauchst du nur, wenn Du mehrere HDMI Quellen hast.


    - Warum brauch ich WLED? Brauch ich das?
    >> Nicht unbedingt. Einige (oder alle?) LEDs typen kann man direkt vom RPi über GPIO steuern. Das ist aber eher schwieriger korrekt einzustellen, wie ich es mitbekommen habe. Mit WLED hast Du ein extra Stückchen Hardware, ist aber in Einstellung viel einfacher. Man kann halt LEDs dann nur mit WLED App ansteuern und testen ob sie an sich funktionieren. Also wenn was nicht geht, hat man dann sofort die Klarheit, ob es an LED oder RPi/Hyperion liegt.
    Mit WLED hat man dann auch ein LED Setup, wo man unabhängig von Hyperion Farben, Effekte etc. laufen lassen kann. Wenn man aber mit ESP8266 boards bisher nicht gemacht hat, dann kann natürlich schon an sich eine Herausforderung sein, WLED zu basteln. Dann ist vielleicht ohne direkt am RPi doch schneller.


    Netzteil für LED: würde eine gute nehmen von einem guten Hersteller, die haben dann Übertemperaturschutz, Überlast-Schutz, Power-Korrektion etc., sicherlich keine billige halb-offene (Gefahr!). Man will ja nicht, dass was abbrennt :)


    Splitter/Grabber: entweder ein Feintech (Modell je nach dem, ob man CEC, ARC etc. braucht) und jeder günstiger Grabber mit Macrosolicon Chip, oder - wenn man RPi4 mit USB3 hat - ein ezcap269 / 320 wo halt Splitter und Grabber in einem.

    how your configuration looks like? I have a setup with a rpi 3 and a capture card and I have a slight dalay of 0.7-1 sec and i'm not able to remove it in any method.


    I use RPi 3 too and had a delay until I reduced resolution to 720x480 and set scaling factor = 4. Now Hyperion task takes approximately 15% CPU (before it was 90%). I have USB Grabber.

    I use WLED with D1 mini board, but my RPi3 is connected via LAN to the router. No issues with lag (I had it at the beginning, but because of RPi load, then I reduced capture resolution in hyperion to 720x480 and set scaling factor to 4 - both are more than enough for ambilight. This has helped.).
    I also had flickering before I have added level shifter between D1 mini and LED strip.

    This behaviour have apparently most capture devices. But in another thread (https://hyperion-project.org/threads/Übersicht-tests-digitale-grabber.10564/page-10#post-31098, message # 193) someone has experience with this grabber (https://de.aliexpress.com/item…042311.0.0.300a4c4dlD6ewW) that outputs black screen if there is no input signal.


    There can be, I think, no easy software solution since hyperion can not easily distinguish between just test screen (color bars) and real signal.

    At the beginning it was difficult for me to get it clearly what hardware is needed and how to connect it. Maybe this picture will be useful for others.
    Advantages/Notes:
    1) The Feintech Splitter has CEC support, so I can switch in/off TV using remote control of the Fire TV Stick.
    2) 4k support OK.
    3) Advantage of using WLED is that LED can be controlled separately using WLED App with lots of effects. At the beginning I had some doubts regarding communication from Raspverry Pi to WLED over WiFi, but it is not a problem at all, no delay.
    4) Meanwell power supply is not the cheapest one, but it is fully protected against dust and is touch-protected. It also produces very stable voltage.
    5) Without level shifter (even with very short data line) I had flickers of LEDs time to time. So I recommed using level shifter.
    6) If LEDs are off (I have 128 in total for 65" TV), the power consumption of D1 mini board and LEDs together approximately 1.3 W. It is OK as a standby power, no need to switch them off.
    7) Capture card gets quite warm (approx. 2W power losses too much for this small device). I think it will not survive for a long time under this condition, so it should be preferably switched off when TV is off. For that I am planning to use 5V from TV USB port as shown in the second picture. In this case restart of hyperion must be implemeted on Capture crad USB plug event (please refer to Restart Hyperion.NG on plug in the USB grabber). I do NOT power Raspberry Pi off because it also have other functions for me. you can do it if you only run hyperion on RPi. You can also power Feintech Splitter of, but then you cannot use CEC (turn TV on using Fire Stick remote control).
    8) I bought 60W power supply. For 128 LEDs 45 W should be sufficient. I measured at maximum approximately 36 W.
    9) The problem is also that in standby mode the Fire TV Stick apparently time to time disables HDMI output for some seconds, in that time the capture device see no HDMI input and produce standard test picture (RGB lines) as an output. As a result hyperion recognise it as a valid signal and turns on LEDs. There ar probably two solutions for that:
    a) Switch off the capture device when TV is off (as decribed above under 7)
    b) Use capture device which does not produce test picture but just black screen if there is no input signal. One such grabber is proposed in this post: RE: Übersicht/Tests digitale Grabber, post #193, Noname device from: https://de.aliexpress.com/item…042311.0.0.300a4c4dlD6ewW)



    Capture card powered by TV USB:

    Maybe will be useful for someone:


    System: Hyperion.NG running on Raspberry Pi 3 b+, Raspbian OS, USB capture device
    Problem: if USB graber is plugged off and then again plugged in, then the hyperion does not get video signal and ambilight does not work.
    Solution Idea: restart aitomatically hyperion service if USB graber plugged in. Use udev for that...
    Solution implementation:
    1) Make new udev rule:
    1.1) Execute command:

    Code
    sudo nano /etc/udev/rules.d/99-USBVideo.rules


    1.2) In the nano editor insert the rule line like this (eventually you need to change the device name /dev/video0):

    Code
    ACTION=="add", SUBSYSTEMS=="usb", ENV{DEVNAME}=="/dev/video0", RUN+="/bin/sh -c 'sudo systemctl restart hyperiond@root.service'"


    1.3) Use Ctrl+X, Y, Enter to save and exit the editor
    2) Reload rules using command:

    Code
    sudo udevadm control --reload-rules && sudo udevadm trigger


    If something doies not work, an additional RUN can be added to the rule line to check if it is executed on plug:

    Code
    RUN+="/bin/sh -c 'echo $(date) $(env) >>/tmp/udev-debug.log'"


    In this case the whole rule is like this:

    Code
    ACTION=="add", SUBSYSTEMS=="usb", ENV{DEVNAME}=="/dev/video0", RUN+="/bin/sh -c 'sudo systemctl restart hyperiond@root.service'", RUN+="/bin/sh -c 'echo $(date) $(env) >>/tmp/udev-debug.log'"


    Each time the rule triggers, a new line will be added to the file /tmp/udev-debug.log. You can read this file to check if the rule has triggered.


    Hyperion can also be stopped if usb grabber is unplugged, it reduces prozessor load. For that add second line to the USB-video.rules file:

    Code
    ACTION=="remove", SUBSYSTEMS=="usb", ENV{DEVNAME}=="/dev/video0", RUN+="/bin/sh -c 'sudo systemctl stop hyperiond@root.service'"


    Note: this way hyperion deamon is started as root. You might need to configure hyperion again, if you have used and configured it as pi user before.


    Hallo,
    Ich habe die gleichen Grabber und Splitter und FireTV 4k Stick, SK6812 RGBW LED über WLED (ESP8266 Board). Hyperion läuft aus Raspberry Pi 3 B+.
    Wenn ich HDR bei FireTV 4k erzwinge, dann sehen die Farben schon verfälscht/verblasen aus. Am Anfang dachte ich auch es funktioniert sehr gut, wenn man aber z.B. auf YouTube nach "ambilight test" sucht und das dann mit und ohne HDR anschaut, sieht man den Unterschied deutlich.
    Trotzdem war ich schon positiv überrascht, dass man durchaus ambilight effekt auch mit aktivierter HDR sieht, auch wenn verfälscht, wenn man es genau hinschaut.


    Ich sehe schon einegeringfügigen Lag, vieleliccht liegt aber dran dass bei mir auf RPi noch Home Assistant läft mit einigen Services, die auch CPU gut nutzen.

    Пойдёт. А как сделать чтоб подсветка работала при просмотре ТВ через кабельное?


    Если кабельное подключено напрямую к ТВ то никак, или используя системы основанные на камере. Но сколько смотрел все они тормознутые. Как вариант купить отдельный тюнер для кабельного и подключать его к ТВ через HDMI.


    Ich plane ähnliches, zu deinen Fragen nach meinem Verständnis:
    1) ja genau
    2) nein kein Problem
    3) ich habe VSP01222 bestellt. Wenn Du kein CEC und ARC brauchst, dann sollte 01201 auch reichen. Leider habe beim Samsung auch nicht gefunden, wie man Signal Eigenschaften anschaut. Was noch für mich die Frage ist, ob mit FireTV Stick 4k HDR geht. VSPxxxxx wie wohl alle anderen ausser HDFury können nicht YCbCr 4:2:2 runterskalieren. Der Stick wohl verwendet aber genau dieses Format. Man kann ihn auf RGB Format zwingen, das gibt in Einstellungen, das ist aber dann kein HDR ?? Blicke nicht ganz durch.

    Do I understand correct, that FeinTech splitter will need this special hyperion version from Awawa and Xolorspace S104 do not need it?

    Really good 4k HDR without any issues you can have only with HDFury Diva device.
    The best cheapest option without spending 500$ for this device in my understanding is to by FeinTech VSP01202 Splitter and any HDMI to USB converter that works well (there are some proposals in the forum).


    The alternative is ezcap269 device, but some claims it causes too high delay.


    LED type is not relevant for 4k HDR.


    To have 4k and hdr has two problems:
    1) 4k. You cannot process 4k signal on raspberry pi, so you have to downscale it to HD or even lower resolution, but you still have to have 4k for TV. This is solved by FeinTech VSP01202
    which downscales signal on second HDMI
    output, but keeps 4k on the first one.


    2) HDR. downscaling means also translation from HDR to SDR. The problem is
    tthat some indormation is lost and you get quite bad color information on raspberry pi. Hypeion, however, can be adjusted to get quite good result at the end.


    This is all what I have understood reading lots of information on this forum. I am just planing my ambilight now.