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

HyperCon LEDs leuchten nicht

Discussion in 'Software Support' started by Heremeus, 11 May 2019.

  1. Heremeus

    Heremeus New Member

    Messages:
    6
    Hardware:
    RPi3
    Moin,

    ich habe heute mal versucht, Hyperion auf meinem Raspberry 3 zum Laufen zu bekommen, aber scheinbar mache ich was falsch. Bin dem deutschen Tutorial (https://hyperion-project.org/threads/raspberry-pi-3-mediacenter-hyperion-ambilight-ohne-löten.112/) gefolgt. Beim Versuch Hyperion mit HyperCon zu installieren, bekomme ich "sudo: no tty present and no askpass program specified". Habe daraufhin Hyperion manuell per Kommandozeile installiert (Anleitung aus dem Wiki).

    *******************************************************************************
    This script will install/update Hyperion Ambient Light
    Created by brindosch - hyperion-project.org - the official Hyperion source.
    *******************************************************************************
    ---> Stop Hyperion, if necessary
    ---> Install/Update Hyperion dependencies (This may take a while)
    Selecting previously unselected package libjpeg8:armhf.
    (Reading database ... 132178 files and directories currently installed.)
    Preparing to unpack .../00-libjpeg8_8d1-2_armhf.deb ...
    Unpacking libjpeg8:armhf (8d1-2) ...
    Selecting previously unselected package libmng1:armhf.
    Preparing to unpack .../01-libmng1_1.0.10+dfsg-3.1_armhf.deb ...
    Unpacking libmng1:armhf (1.0.10+dfsg-3.1) ...
    Selecting previously unselected package qtcore4-l10n.
    Preparing to unpack .../02-qtcore4-l10n_4%3a4.8.7+dfsg-11+rpi1_all.deb ...
    Unpacking qtcore4-l10n (4:4.8.7+dfsg-11+rpi1) ...
    Selecting previously unselected package libqtcore4:armhf.
    Preparing to unpack .../03-libqtcore4_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
    Unpacking libqtcore4:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Selecting previously unselected package libqt4-xml:armhf.
    Preparing to unpack .../04-libqt4-xml_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
    Unpacking libqt4-xml:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Selecting previously unselected package libqtdbus4:armhf.
    Preparing to unpack .../05-libqtdbus4_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
    Unpacking libqtdbus4:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Selecting previously unselected package qtchooser.
    Preparing to unpack .../06-qtchooser_63-g13a3d08-1_armhf.deb ...
    Unpacking qtchooser (63-g13a3d08-1) ...
    Selecting previously unselected package qdbus.
    Preparing to unpack .../07-qdbus_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
    Unpacking qdbus (4:4.8.7+dfsg-11+rpi1) ...
    Selecting previously unselected package libqt4-dbus:armhf.
    Preparing to unpack .../08-libqt4-dbus_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
    Unpacking libqt4-dbus:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Selecting previously unselected package libqt4-network:armhf.
    Preparing to unpack .../09-libqt4-network_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
    Unpacking libqt4-network:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Selecting previously unselected package libqtgui4:armhf.
    Preparing to unpack .../10-libqtgui4_4%3a4.8.7+dfsg-11+rpi1_armhf.deb ...
    Unpacking libqtgui4:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Selecting previously unselected package qt-at-spi:armhf.
    Preparing to unpack .../11-qt-at-spi_0.4.0-5_armhf.deb ...
    Unpacking qt-at-spi:armhf (0.4.0-5) ...
    Setting up qtcore4-l10n (4:4.8.7+dfsg-11+rpi1) ...
    Setting up qtchooser (63-g13a3d08-1) ...
    Processing triggers for libc-bin (2.24-11+deb9u3) ...
    Setting up libqtcore4:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    Setting up libqt4-xml:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Setting up libjpeg8:armhf (8d1-2) ...
    Setting up libmng1:armhf (1.0.10+dfsg-3.1) ...
    Setting up libqtdbus4:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Setting up libqtgui4:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Setting up qdbus (4:4.8.7+dfsg-11+rpi1) ...
    Setting up libqt4-dbus:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Setting up libqt4-network:armhf (4:4.8.7+dfsg-11+rpi1) ...
    Setting up qt-at-spi:armhf (0.4.0-5) ...
    Processing triggers for libc-bin (2.24-11+deb9u3) ...
    ---> Downloading the appropriate Hyperion release
    2019-05-11 16:26:04 URL:https://netcologne.dl.sourceforge.net/project/hyperion-p roject/release/hyperion_rpi.tar.gz [1640849/1640849] -> "-" [1]
    ---> Installing systemd script
    Created symlink /etc/systemd/system/multi-user.target.wants/hyperion.service → / etc/systemd/system/hyperion.service.
    ---> Starting Hyperion
    *******************************************************************************
    Hyperion Installation/Update finished!
    Please download the latest HyperCon version to benefit from new features!
    To create a config, follow the HyperCon Guide at our Wiki (EN/DE)!
    Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org
    *******************************************************************************

    Nach auswaehlen der Datei und "Send Config" in HyperCon war /etc/hyperion leer, also habe ich hyperion.config.json manuell angelegt und folgende config eingefuegt:

    // Automatically generated configuration file for Hyperion ambilight daemon
    // Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
    // Generated by: HyperCon (The Hyperion deamon configuration file builder)
    // Created with HyperCon V1.03.3 (22.10.2017)

    {
    // DEVICE CONFIGURATION
    "device" :
    {
    "name" : "MyHyperionConfig",
    "type" : "ws2801",
    "output" : "/dev/spidev0.0",
    "rate" : 1000000,
    "colorOrder" : "rgb"
    },

    // COLOR CALIBRATION CONFIG
    "color" :
    {
    "channelAdjustment" :
    [
    {
    "id" : "default",
    "leds" : "*",
    "pureRed" :
    {
    "redChannel" : 255,
    "greenChannel" : 0,
    "blueChannel" : 0
    },
    "pureGreen" :
    {
    "redChannel" : 0,
    "greenChannel" : 255,
    "blueChannel" : 0
    },
    "pureBlue" :
    {
    "redChannel" : 0,
    "greenChannel" : 0,
    "blueChannel" : 255
    }
    }
    ],
    "temperature" :
    [
    {
    "id" : "default",
    "leds" : "*",
    "correctionValues" :
    {
    "red" : 255,
    "green" : 255,
    "blue" : 255
    }
    }
    ],
    "transform" :
    [
    {
    "id" : "default",
    "leds" : "*",
    "hsl" :
    {
    "saturationGain" : 1.0000,
    "luminanceGain" : 1.0000,
    "luminanceMinimum" : 0.0000
    },
    "red" :
    {
    "threshold" : 0.0000,
    "gamma" : 2.5000
    },
    "green" :
    {
    "threshold" : 0.0000,
    "gamma" : 2.5000
    },
    "blue" :
    {
    "threshold" : 0.0000,
    "gamma" : 2.5000
    }
    }
    ],
    // SMOOTHING CONFIG
    "smoothing" :
    {
    "type" : "linear",
    "time_ms" : 200,
    "updateFrequency" : 20.0000,
    "updateDelay" : 0
    }
    },

    // NO V4L2 GRABBER CONFIG
    // FRAME GRABBER CONFIG
    "framegrabber" :
    {
    "width" : 64,
    "height" : 64,
    "frequency_Hz" : 10.0,
    "priority" : 890
    },

    // BLACKBORDER CONFIG
    "blackborderdetector" :
    {
    "enable" : true,
    "threshold" : 0.0,
    "unknownFrameCnt" : 600,
    "borderFrameCnt" : 50,
    "maxInconsistentCnt" : 10,
    "blurRemoveCnt" : 1,
    "mode" : "default"
    },

    // BOOTEFFECT CONFIG
    "bootsequence" :
    {
    "color" : [0,0,0],
    "effect" : "Rainbow swirl fast",
    "duration_ms" : 3000,
    "priority" : 700
    },

    // JSON SERVER CONFIG
    "jsonServer" :
    {
    "port" : 19444
    },

    // PROTO SERVER CONFIG
    "protoServer" :
    {
    "port" : 19445
    },

    // EFFECT PATH
    "effects" :
    {
    "paths" :
    [
    "/storage/hyperion/effects",
    "/usr/share/hyperion/effects"
    ]
    },

    // NO KODI CHECK CONFIG
    // NO BOBLIGHT SERVER CONFIG
    // NO JSON/PROTO FORWARD CONFIG

    // LED CONFIGURATION
    "leds" :
    [
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.9167, "maximum" : 0.9583 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.8750, "maximum" : 0.9167 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 2,
    "hscan" : { "minimum" : 0.8333, "maximum" : 0.8750 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 3,
    "hscan" : { "minimum" : 0.7917, "maximum" : 0.8333 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 4,
    "hscan" : { "minimum" : 0.7500, "maximum" : 0.7917 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 5,
    "hscan" : { "minimum" : 0.7083, "maximum" : 0.7500 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 6,
    "hscan" : { "minimum" : 0.6667, "maximum" : 0.7083 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 7,
    "hscan" : { "minimum" : 0.6250, "maximum" : 0.6667 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 8,
    "hscan" : { "minimum" : 0.5833, "maximum" : 0.6250 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 9,
    "hscan" : { "minimum" : 0.4167, "maximum" : 0.4583 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 10,
    "hscan" : { "minimum" : 0.3750, "maximum" : 0.4167 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 11,
    "hscan" : { "minimum" : 0.3333, "maximum" : 0.3750 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 12,
    "hscan" : { "minimum" : 0.2917, "maximum" : 0.3333 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 13,
    "hscan" : { "minimum" : 0.2500, "maximum" : 0.2917 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 14,
    "hscan" : { "minimum" : 0.2083, "maximum" : 0.2500 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 15,
    "hscan" : { "minimum" : 0.1667, "maximum" : 0.2083 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 16,
    "hscan" : { "minimum" : 0.1250, "maximum" : 0.1667 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 17,
    "hscan" : { "minimum" : 0.0833, "maximum" : 0.1250 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 18,
    "hscan" : { "minimum" : 0.0417, "maximum" : 0.0833 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 19,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0417 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 20,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.9412, "maximum" : 1.0000 }
    },
    {
    "index" : 21,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8824, "maximum" : 0.9412 }
    },
    {
    "index" : 22,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.8235, "maximum" : 0.8824 }
    },
    {
    "index" : 23,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7647, "maximum" : 0.8235 }
    },
    {
    "index" : 24,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.7059, "maximum" : 0.7647 }
    },
    {
    "index" : 25,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.6471, "maximum" : 0.7059 }
    },
    {
    "index" : 26,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5882, "maximum" : 0.6471 }
    },
    {
    "index" : 27,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.5294, "maximum" : 0.5882 }
    },
    {
    "index" : 28,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4706, "maximum" : 0.5294 }
    },
    {
    "index" : 29,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.4118, "maximum" : 0.4706 }
    },
    {
    "index" : 30,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.3529, "maximum" : 0.4118 }
    },
    {
    "index" : 31,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2941, "maximum" : 0.3529 }
    },
    {
    "index" : 32,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.2353, "maximum" : 0.2941 }
    },
    {
    "index" : 33,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.1765, "maximum" : 0.2353 }
    },
    {
    "index" : 34,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.1176, "maximum" : 0.1765 }
    },
    {
    "index" : 35,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0588, "maximum" : 0.1176 }
    },
    {
    "index" : 36,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0588 }
    },
    {
    "index" : 37,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0417 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 38,
    "hscan" : { "minimum" : 0.0417, "maximum" : 0.0833 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 39,
    "hscan" : { "minimum" : 0.0833, "maximum" : 0.1250 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 40,
    "hscan" : { "minimum" : 0.1250, "maximum" : 0.1667 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 41,
    "hscan" : { "minimum" : 0.1667, "maximum" : 0.2083 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 42,
    "hscan" : { "minimum" : 0.2083, "maximum" : 0.2500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 43,
    "hscan" : { "minimum" : 0.2500, "maximum" : 0.2917 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 44,
    "hscan" : { "minimum" : 0.2917, "maximum" : 0.3333 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 45,
    "hscan" : { "minimum" : 0.3333, "maximum" : 0.3750 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 46,
    "hscan" : { "minimum" : 0.3750, "maximum" : 0.4167 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 47,
    "hscan" : { "minimum" : 0.4167, "maximum" : 0.4583 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 48,
    "hscan" : { "minimum" : 0.4583, "maximum" : 0.5000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 49,
    "hscan" : { "minimum" : 0.5000, "maximum" : 0.5417 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 50,
    "hscan" : { "minimum" : 0.5417, "maximum" : 0.5833 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 51,
    "hscan" : { "minimum" : 0.5833, "maximum" : 0.6250 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 52,
    "hscan" : { "minimum" : 0.6250, "maximum" : 0.6667 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 53,
    "hscan" : { "minimum" : 0.6667, "maximum" : 0.7083 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 54,
    "hscan" : { "minimum" : 0.7083, "maximum" : 0.7500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 55,
    "hscan" : { "minimum" : 0.7500, "maximum" : 0.7917 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 56,
    "hscan" : { "minimum" : 0.7917, "maximum" : 0.8333 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 57,
    "hscan" : { "minimum" : 0.8333, "maximum" : 0.8750 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 58,
    "hscan" : { "minimum" : 0.8750, "maximum" : 0.9167 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 59,
    "hscan" : { "minimum" : 0.9167, "maximum" : 0.9583 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 60,
    "hscan" : { "minimum" : 0.9583, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 61,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0556 }
    },
    {
    "index" : 62,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0556, "maximum" : 0.1111 }
    },
    {
    "index" : 63,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1111, "maximum" : 0.1667 }
    },
    {
    "index" : 64,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1667, "maximum" : 0.2222 }
    },
    {
    "index" : 65,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2222, "maximum" : 0.2778 }
    },
    {
    "index" : 66,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2778, "maximum" : 0.3333 }
    },
    {
    "index" : 67,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3333, "maximum" : 0.3889 }
    },
    {
    "index" : 68,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3889, "maximum" : 0.4444 }
    },
    {
    "index" : 69,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4444, "maximum" : 0.5000 }
    },
    {
    "index" : 70,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5000, "maximum" : 0.5556 }
    },
    {
    "index" : 71,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5556, "maximum" : 0.6111 }
    },
    {
    "index" : 72,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6111, "maximum" : 0.6667 }
    },
    {
    "index" : 73,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6667, "maximum" : 0.7222 }
    },
    {
    "index" : 74,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7222, "maximum" : 0.7778 }
    },
    {
    "index" : 75,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7778, "maximum" : 0.8333 }
    },
    {
    "index" : 76,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8333, "maximum" : 0.8889 }
    },
    {
    "index" : 77,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8889, "maximum" : 0.9444 }
    },
    {
    "index" : 78,
    "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9444, "maximum" : 1.0000 }
    },
    {
    "index" : 79,
    "hscan" : { "minimum" : 0.9583, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    }
    ],

    "endOfJson" : "endOfJson"
    }

    Aber selbst wenn ich danach Stop und Start in Hypercon anklicke, passiert nichts. Das ist der Traffic nach Connect => Send Config => Stop => Start => Get Log
    SSH Traffic:
    ssh connected
    sftp Send Hyperion Config - Sourcepath: C:/Users/Armin/Desktop, Targetpath: /etc/hyperion/, Filename: hyperion.config.json
    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
    ssh out: sudo systemctl start hyperion.service 2>/dev/null ; sudo /etc/init.d/hyperion start 2>/dev/null ; sudo /sbin/initctl start hyperion 2>/dev/null
    ssh out: sudo journalctl -u hyperion.service 2>/dev/null


    Die Hardware ist richtig verbunden, bin mir aber nicht sicher, ob alles richtig funktioniert. Gibt es dazu eine Moeglichkeit, die LEDs ohne Hyperion zu testen?


    Edit: Ich benutze einen WS2801 led strip und auf dem Pi läuft Raspbian.
     
    Last edited: 11 May 2019
  2. Heremeus

    Heremeus New Member

    Messages:
    6
    Hardware:
    RPi3
    Scheinbar ist meine config das Problem. Habe gerade mal sudo systemctl start hyperion.service gefolgt von journalctl -xe eingegeben und folgenden Log bekommen:

    May 12 12:33:07 raspberrypi systemd[1]: Started Hyperion Systemd service.
    -- Subject: Unit hyperion.service has finished start-up
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit hyperion.service has finished starting up.
    --
    -- The start-up result is done.
    May 12 12:33:07 raspberrypi hyperiond[1088]: Hyperion Ambilight Deamon (1088)
    May 12 12:33:07 raspberrypi hyperiond[1088]: Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    May 12 12:33:07 raspberrypi hyperiond[1088]: Build Time: Apr 5 2018 01:57:25
    May 12 12:33:07 raspberrypi hyperiond[1088]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    May 12 12:33:07 raspberrypi hyperiond[1088]: terminate called after throwing an instance of 'std::runtime_error'
    May 12 12:33:07 raspberrypi hyperiond[1088]: what(): Failed to parse configuration: * Line 2, Column 1
    May 12 12:33:07 raspberrypi hyperiond[1088]: Syntax error: value, object or array expected.
    May 12 12:33:07 raspberrypi systemd[1]: hyperion.service: Main process exited, code=killed, status=6/ABRT
    May 12 12:33:07 raspberrypi systemd[1]: hyperion.service: Unit entered failed state.
    May 12 12:33:07 raspberrypi systemd[1]: hyperion.service: Failed with result 'signal'.
    May 12 12:33:07 raspberrypi systemd[1]: hyperion.service: Service hold-off time over, scheduling restart.
    May 12 12:33:07 raspberrypi systemd[1]: Stopped Hyperion Systemd service.

    Edit:
    Beim kopieren sind die Zeilenumbrueche verrutscht, was das problem oben verursacht hat. Jetzt bekomme ich folgende Ausgabe bei hyperiond /etc/hyperion/hyperion.config.json:

    [email protected]:~ $ hyperiond /etc/hyperion/hyperion.config.json
    Hyperion Ambilight Deamon (1235)
    Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    Build Time: Apr 5 2018 01:57:25
    INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    HYPERION INFO: ColorTransform 'default' => [0; 0]
    HYPERION INFO: ColorCorrection 'default' => [0; 0]
    HYPERION INFO: ColorAdjustment 'default' => [0; 0]
    LEDDEVICE INFO: configuration:
    {
    "colorOrder" : "rgb",
    "name" : "MyHyperionConfig",
    "output" : "/dev/spidev0.0",
    "rate" : 1000000,
    "type" : "ws2801"
    }

    INFO: Creating linear smoothing
    HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    EFFECTENGINE INFO: Initializing Python interpreter
    INFO: Hyperion started and initialised
    INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    started
    INFO: Json server created and started on port 19444
    INFO: Proto server created and started on port 19445
    DISPMANXGRABBER INFO: Display opened with resolution: 720x480
    BLACKBORDER INFO: threshold set to 0 (0)
    BLACKBORDER INFO: mode:default
    INFO: Frame grabber created and started
    BORDER SWITCH REQUIRED!!
    CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0
    EFFECTENGINE INFO: effect finished


    [email protected]:~ $ sudo hyperion-remote --priority 50 --color red --duration 5000
    hyperion-remote:
    version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    build time: Apr 5 2018 01:57:05
    Connected to localhost:19444
    Set color to 255 0 0


    Habe mal testhalber nur eine einzelne LED angeschlossen aber auch die leuchtet nicht. Hier mal Bilder vom Aufbau:

    [​IMG]

    [​IMG]

    [​IMG]

    // Automatically generated configuration file for Hyperion ambilight daemon
    // Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
    // Generated by: HyperCon (The Hyperion deamon configuration file builder)
    // Created with HyperCon V1.03.3 (22.10.2017)

    {
    // DEVICE CONFIGURATION
    "device" :
    {
    "name" : "MyHyperionConfig",
    "type" : "ws2801",
    "output" : "/dev/spidev0.0",
    "rate" : 1000000,
    "colorOrder" : "rgb"
    },

    // COLOR CALIBRATION CONFIG
    "color" :
    {
    "channelAdjustment" :
    [
    {
    "id" : "default",
    "leds" : "*",
    "pureRed" :
    {
    "redChannel" : 255,
    "greenChannel" : 0,
    "blueChannel" : 0
    },
    "pureGreen" :
    {
    "redChannel" : 0,
    "greenChannel" : 255,
    "blueChannel" : 0
    },
    "pureBlue" :
    {
    "redChannel" : 0,
    "greenChannel" : 0,
    "blueChannel" : 255
    }
    }
    ],
    "temperature" :
    [
    {
    "id" : "default",
    "leds" : "*",
    "correctionValues" :
    {
    "red" : 255,
    "green" : 255,
    "blue" : 255
    }
    }
    ],
    "transform" :
    [
    {
    "id" : "default",
    "leds" : "*",
    "hsl" :
    {
    "saturationGain" : 1.0000,
    "luminanceGain" : 1.0000,
    "luminanceMinimum" : 0.0000
    },
    "red" :
    {
    "threshold" : 0.0000,
    "gamma" : 2.5000
    },
    "green" :
    {
    "threshold" : 0.0000,
    "gamma" : 2.5000
    },
    "blue" :
    {
    "threshold" : 0.0000,
    "gamma" : 2.5000
    }
    }
    ],
    // SMOOTHING CONFIG
    "smoothing" :
    {
    "type" : "linear",
    "time_ms" : 200,
    "updateFrequency" : 20.0000,
    "updateDelay" : 0
    }
    },

    // NO V4L2 GRABBER CONFIG
    // FRAME GRABBER CONFIG
    "framegrabber" :
    {
    "width" : 64,
    "height" : 64,
    "frequency_Hz" : 10.0,
    "priority" : 890
    },

    // BLACKBORDER CONFIG
    "blackborderdetector" :
    {
    "enable" : true,
    "threshold" : 0.0,
    "unknownFrameCnt" : 600,
    "borderFrameCnt" : 50,
    "maxInconsistentCnt" : 10,
    "blurRemoveCnt" : 1,
    "mode" : "default"
    },

    // BOOTEFFECT CONFIG
    "bootsequence" :
    {
    "color" : [0,0,0],
    "effect" : "Rainbow swirl fast",
    "duration_ms" : 3000,
    "priority" : 700
    },

    // JSON SERVER CONFIG
    "jsonServer" :
    {
    "port" : 19444
    },

    // PROTO SERVER CONFIG
    "protoServer" :
    {
    "port" : 19445
    },

    // EFFECT PATH
    "effects" :
    {
    "paths" :
    [
    "/storage/hyperion/effects",
    "/usr/share/hyperion/effects"
    ]
    },

    // NO KODI CHECK CONFIG
    // NO BOBLIGHT SERVER CONFIG
    // NO JSON/PROTO FORWARD CONFIG

    // LED CONFIGURATION
    "leds" :
    [
    {
    "index" : 0,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 1.0000 }
    }
    ],

    "endOfJson" : "endOfJson"
    }

    Klingt als waere es ein Hardware Problem? Habe mir mal ein Multimeter bestellt, um morgen mal die Verbindungen zu testen.
     
    Last edited: 12 May 2019
  3. Arakon

    Arakon Member

    Messages:
    139
    Hardware:
    RPi1/Zero, RPi3, +Arduino
    Haben bei dem großen Block die nebeneinander liegenden Kontakte überhaupt eine Verbindung, hast du das mal geprüft?
     
  4. Heremeus

    Heremeus New Member

    Messages:
    6
    Hardware:
    RPi3
    Werde es morgen mal mit dem Multimeter überprüfen, aber sollten sie. Habe den Block auch in der eigentlichen Konstruktion nicht verwendet, nur für die einzelne Test-LED
     
  5. Arakon

    Arakon Member

    Messages:
    139
    Hardware:
    RPi1/Zero, RPi3, +Arduino
    Ist nur schlecht zu sehen, aber kann es sein, dass deine beiden Datenleitungen sind eins zu weit links sind?
    Mach ausserdem mal den Stecker am Ausgang von der LED ganz ab, der ist komplett unnötig.
    Und kontrollier dann nochmal, ob wirklich + auf + ist und - auf -, die Stecker haben nämlich recht wahllos unterschiedliche Farben. Dazu kommt, dass du schauen musst, dass die Stecker richtigrum sind und auch wirklich Kontakt haben.. wenn möglich, löte die LED mal statt dich auf diese besch-- eidenen Stecker zu verlassen.
     
    Last edited: 12 May 2019
  6. Heremeus

    Heremeus New Member

    Messages:
    6
    Hardware:
    RPi3
    Die Stecker sind im 9. und 11. von links. Ist das richtig?
    Ich dachte der Ausgang soll entsprechend mit 5V und ground vom Eingang und PSU verbunden sein?

    Löten wollte ich vermeiden aber komme ich scheinbar nicht drum herum. Habe gerade dank dem Multimeter gemerkt, dass die Kontakte auf dem LED Streifen mit einer isolierten Schicht ueberzogen sind und nur ein kleines Loch in der Mitte frei ist. Beim Loeten duerfte das egal sein, wenn der Zinn da rein fliest, aber fuer die Stecker ist das natuerlich bescheiden. Loetkolben ist bestellt und sollte morgen da sein, mal schauen, ob es damit geht.
     
  7. Arakon

    Arakon Member

    Messages:
    139
    Hardware:
    RPi1/Zero, RPi3, +Arduino
    10 und 12 von links sind richtig. Die Doppelverbindung Anfang/Ende ist erstmal unwichtig fürs Testen, die wird erst bei langen Streifen wichtiger.

    construction_plan_ambilight_ws2801_raspberry_pi_howto_connect.png
     
  8. Heremeus

    Heremeus New Member

    Messages:
    6
    Hardware:
    RPi3
    Ups, stimmt. Steckt sogar in 10 und 12 von Links, habe mich wohl verzaehlt.

    Habe die Kontakte jetzt verloetet und die Durchgangspruefung ist jetzt positiv. Allerdings leuchtet die LED weiterhin nicht (weder mit hyperion-remote noch mit Adafruit_Python_WS2801). Die einzige Veraenderung die ich beobachten konnte, ist sobald hyperiond laeuft, zeigt das Multimeter keine Spannung mehr auf 5V und GND an. Wenn ich den Prozess kille ist die Spannung wieder da. So langsam gehen mir die Ideen aus, woran es liegen koennte.
     
  9. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,259
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  10. Heremeus

    Heremeus New Member

    Messages:
    6
    Hardware:
    RPi3
    Spi test war positiv, daran liegt es also leider auch nicht.