Ambilight mit Rasperry --> keine Ansteuerung

  • Hallo zusammen,


    bin neu hier.

    Auf das Forum bin ich bei meiner Problemsuche aufmerksam geworden.


    Will mit meinen Rasperry 3+ ein Ambilight an meinen Fernseher installieren.


    Bin nach dieser Anleitung gegangen.

    https://tutorials-raspberrypi.…lle-geraete-selber-bauen/

    Hat alles super funktioniert.

    Jetzt hab ich das Hyperion installiert. Die Anzahl meiner LEDs eingegeben und sonst alle Einstellungen vorgenommen.

    Nur leider lassen sich die LEDs nicht ansteuern. Ich weiß nicht, was ich falsch gemacht habe.


    Hardware:

    Rasperry Pi3+

    Video Grabber LogiLink VG0001A

    PChero 30W Universal AC/DC Adapter Schaltnetzteil

    HDMI auf AV Konverter

    BTF-LIGHTING WS2801 5050 SMD RGB 32Leds/m 128leds


    Ich kann meinen Rasperry sowohl mit Putty als auch mit Hyperion ansteuern.


    Wenn ich aber über Hyperion an die LEDs eine bestimmt Farbe senden will, kommt im Protokoll diese Fehlermeldung:

    ssh out: hyperion-remote -c ffffff

    ssh in: hyperion-remote:

    ssh in: version : V1.03.5 (GitHub-66bef6b/fb413cd-1566231780

    ssh in: build time: Aug 25 2019 10:39:08

    ssh out: Unable to connect to host


    Zudem kann ich das Bild des Grabbers nicht laden.

    Fehlermeldung:

    Kein Bild gefunden. Stoppe immer zuerst Hyperion und überprüfe das SSH Protokoll.

    Dort steht:

    ssh in: hyperion-v4l2:

    ssh in: version : V1.03.5 (GitHub-66bef6b/fb413cd-1566231780

    ssh in: build time: Aug 25 2019 10:39:29

    ssh out: VIDIOC_S_STD ERROR 25, Inappropriate ioctl for device

    sftp getFile(./screenshot.png, java.awt.Image)

    ssh out: sudo systemctl stop hyperion.service 2>/dev/null; sudo /etc/init.d/hyperion stop 2>/dev/null ; sudo /sbin/initctl stop hyperion 2>/dev/null ; hyperion-v4l2 --device /dev/video0 --video-standard PAL --input 0 --width -1 --height -1 --crop-left 0 --crop-right 0 --crop-top 0 --crop-bottom 0 --size-decimator 1 --frame-decimator 2 --red-threshold 0.0 --green-threshold 0.0 --blue-threshold 0.0 --screenshot

    ssh in: hyperion-v4l2:

    ssh in: version : V1.03.5 (GitHub-66bef6b/fb413cd-1566231780

    ssh in: build time: Aug 25 2019 10:39:29

    ssh out: VIDIOC_S_STD ERROR 25, Inappropriate ioctl for device

    sftp getFile(./screenshot.png, java.awt.Image)


    Wäre super, wenn mir wer helfen kann, ich bin mit meinen Latein am Ende.

  • Hypercon wird eigentlich nicht mehr unterstützt... Link


    1. Wie viele LEDs hast du insgesamt am TV?

    2. SPI ist aktiviert?

    3. Was gibt die Konsole in PuTTY aus wenn dulsusbeingibst?

    Grüße aus Österreich / Greetings from Austria !

    - Don't wanna miss it anymore !

    3 Mal editiert, zuletzt von Mike72 ()

  • So. hab nun umgestellt auf die neuste Hyperion-Konfiguration.


    Hat alles geklappt, hab für einen Test mal 10 LEDs angeschlossen.


    Leider kann ich die nicht mit ansteuern. Ich finde meinen Fehler nicht.


    Anschluss am Raspberry. Pin 9 = Ground, Pin 19 = DI, Pin 23 = CK.



    Ich sehe in der Vorschau auch das Bild vom Raspberry-Bildschirm, also passt die Verbindung.


    Aber ich kann die LEDs nicht steuern. Die 10 LEDS sind alle an und blau.

  • Ich habe BTF-LIGHTING WS2801 5050 SMD RGB 32Leds/m 128leds Adressierbare Individuell DATA und CLOCK separat NichtWasserdicht Schwarz PCB Pixel Streifen DC5V

  • Das steht zum Beispiel im Protokoll wenn ich die LEDs mit dem Effekt Rainbow Swirl versehen will.


    _____________________

    2021-03-24T18:17:26.088Z [hyperiond EFFECTENGINE] (INFO) Run effect "My Modded Effect" on channel 1 2021-03-24T18:17:44.444Z [hyperiond EFFECTENGINE] (INFO) effect finished 2021-03-24T18:18:33.093Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.11 2021-03-24T18:18:33.105Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.0.11 2021-03-24T18:18:59.589Z [hyperiond EFFECTFILES] (INFO) Reload effect list 2021-03-24T18:18:59.612Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/ 2021-03-24T18:18:59.623Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/ 2021-03-24T18:18:59.625Z [hyperiond EFFECTFILES] (INFO) 1 effects loaded from directory /.hyperion/custom-effects 2021-03-24T18:19:01.801Z [hyperiond EFFECTENGINE] (INFO) Run effect "My Modded Effect" on channel 1 2021-03-24T18:19:01.804Z [hyperiond EFFECTENGINE] (DEBUG) (EffectEngine.cpp:183:runEffectScript()) Start the effect: name [My Modded Effect], smoothCfg [0] 2021-03-24T18:19:01.804Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:161:registerInput()) Register new input 'Web Configuration@::ffff:192.168.0.11/EFFECT' with priority 1 as inactive 2021-03-24T18:19:01.970Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:251:setInputImage()) Priority 1 is now active 2021-03-24T18:19:01.970Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 1 2021-03-24T18:19:01.970Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[1], previousPriority[250] 2021-03-24T18:19:04.267Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.11 2021-03-24T18:19:04.281Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.0.11 2021-03-24T18:20:31.074Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:76:setSourceAutoSelectEnabled()) Source auto select is now disabled 2021-03-24T18:20:31.075Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 254 2021-03-24T18:20:31.075Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [2]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms 2021-03-24T18:20:31.075Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[254], previousPriority[1] 2021-03-24T18:20:47.125Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.11

    ________________________


    In der Visualisierung sehe ich den Rainbow Swirl und meine 10 LEDs werden auch angezeigt.


    Nur bei dem Strip mit dem 10 LEDs kommt nichts an.

    • Offizieller Beitrag

    Das Log enthält nichts zum LEDDevice.

    Kannst Du über die Hyperion Fernsteuerung das LED mal aus und an machen und die Logeinträge posten?


  • Das ist mein Fernbedienungsfeld.


    Das sind Einträge, wenn ich darin was geändert habe:


    2021-03-24T19:17:40.803Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[250], previousPriority[254]

    2021-03-24T19:17:41.548Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 240

    2021-03-24T19:17:41.549Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[240], previousPriority[250]

    2021-03-24T19:17:42.049Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 254

    2021-03-24T19:17:42.049Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [2]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms

    2021-03-24T19:17:42.049Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[254], previousPriority[240]

    2021-03-24T19:17:43.959Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:270:clearInput()) Removed source priority 250

    2021-03-24T19:17:43.959Z [hyperiond COMPONENTREG] (DEBUG) (ComponentRegister.cpp:36:setNewComponentState()) Framegrabber: disabled

    2021-03-24T19:17:43.960Z [hyperiond Dispmanx] (DEBUG) (GrabberWrapper.cpp:58:stop()) Grabber stop()

    2021-03-24T19:18:21.147Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.11

    2021-03-24T19:18:21.195Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1063:handleLoggingCommand()) log streaming deactivated for client ::ffff:192.168.0.11

    2021-03-24T19:21:13.658Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.11

  • Hab ich probiert, hat sich nix geändert.


    Im Log heute steht:

    2021-03-25T16:38:02.652Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.0.11

    2021-03-25T16:38:02.653Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.0.11' switch to Hyperion instance 0

    2021-03-25T16:38:29.230Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:76:setSourceAutoSelectEnabled()) Source auto select is now disabled

    2021-03-25T16:38:29.230Z [hyperiond HYPERION] (DEBUG) (PriorityMuxer.cpp:351:setCurrentTime()) Set visible priority to 254

    2021-03-25T16:38:29.231Z [hyperiond SMOOTHING] (DEBUG) (LinearColorSmoothing.cpp:701:selectConfig()) cfg [2]: Type: linear - Time: 200 ms, outputRate 25.000000 Hz, interpolationRate: 25.000000 Hz, timer: 40 ms, Dithering: 0, Decay: 1.000000 -> HalfTime: 100.000000 ms

    2021-03-25T16:38:29.231Z [hyperiond HYPERION] (DEBUG) (Hyperion.cpp:559:handlePriorityChangedLedDevice()) priority[254], previousPriority[240]

    2021-03-25T16:39:38.781Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1054:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.0.11

  • Endlich meinen Fehler gefunden. Die Testumgebung hatte die falsche Laufrichtung.


    Werde es nun mal auf die LEDs an den Fernseher übertragen. Hoffe, es funtz dann dort auch so gut.

  • So, nun zum hoffentlich letzten Mal.

    Ich krieg keine Verbindung mehr zu meinen Raspberry mehr hin.

    Hat bis gestern funktioniert, nun kann er sich nicht mir ins WLAN einloggen bei mir.


    Es kommt beim Start die Fehlermeldung "a start job is running for dhcpcd on all interfaces".


    ifconfig -a gibt mir keine Adresse mehr aus.


    In der wpa_supplicant.conf steht folgendes drin:

    Natürlich mit meinen Passwort und meinen WLAN


    Code
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    country=GB
      network={    ssid="YOUR_SSID"    psk="YOUR_PASSWORD"    key_mgmt=WPA2-PSK  }

Jetzt mitmachen!

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