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

Externer Grabber funktioniert nicht

Discussion in 'German Talk' started by Bauminho, 21 April 2019.

  1. Bauminho

    Bauminho New Member

    Messages:
    4
    Hardware:
    RPi3
    Hallo zusammen und frohe Ostern!!

    Ich habe es geschafft, das mein Ambilight zumindest über Kodi (HDMI --> HDMI2 am TV) läuft.
    Jetzt möchte ich natürlich gerne auch externe Geräte (HDMI1 am TV) mit Ambilight nutzen.

    Nur leider funktioniert das Ganze nur direkt mit Kodi. Ich habe beide Grabber in der Konfig aktiviert.

    hyperion.config.json:
    Code:
    // 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"  : "Wohnzimmer",
     "type"  : "ws2801",
     "output"  : "/dev/spidev0.0",
     "rate"  : 500000,
     "colorOrder" : "rbg"
     },
     // 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
     }
     },
     // V4L2 GRABBER CONFIG
     "grabber-v4l2" : 
     {
     "device" : "/dev/video0",
     "input" : 0,
     "standard" : "PAL",
     "width" : -1,
     "height" : -1,
     "frameDecimation" : 2,
     "sizeDecimation" : 8,
     "priority" : 1000,
     "mode" : "2D",
     "cropLeft" : 18,
     "cropRight" : 17,
     "cropTop" : 4,
     "cropBottom" : 4,
     "redSignalThreshold" : 0.0,
     "greenSignalThreshold" : 0.0,
     "blueSignalThreshold" : 0.0
     },
     // FRAME GRABBER CONFIG
     "framegrabber" : 
     {
     "width" : 64,
     "height" : 64,
     "frequency_Hz" : 10.0,
     "priority" : 800
     },
     // BLACKBORDER CONFIG
     "blackborderdetector" : 
     {
     "enable" : true,
     "threshold" : 0.15,
     "unknownFrameCnt" : 600,
     "borderFrameCnt" : 50,
     "maxInconsistentCnt" : 10,
     "blurRemoveCnt" : 1,
     "mode" : "default"
     },
     // KODI CHECK CONFIG
     "xbmcVideoChecker" : 
     {
     "xbmcAddress" : "192.168.178.13",
     "xbmcTcpPort" : 9090,
     "grabVideo" : true,
     "grabPictures" : true,
     "grabAudio" : true,
     "grabMenu" : false,
     "grabPause" : true,
     "grabScreensaver" : true,
     "enable3DDetection" : true
     },
     // 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 BOBLIGHT SERVER CONFIG
     // NO JSON/PROTO FORWARD CONFIG
     // LED CONFIGURATION
     "leds" : 
     [
     {
     "index" : 0,
     "hscan" : { "minimum" : 0.4063, "maximum" : 0.4375 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 1,
     "hscan" : { "minimum" : 0.3750, "maximum" : 0.4063 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 2,
     "hscan" : { "minimum" : 0.3438, "maximum" : 0.3750 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 3,
     "hscan" : { "minimum" : 0.3125, "maximum" : 0.3438 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 4,
     "hscan" : { "minimum" : 0.2813, "maximum" : 0.3125 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 5,
     "hscan" : { "minimum" : 0.2500, "maximum" : 0.2813 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 6,
     "hscan" : { "minimum" : 0.2188, "maximum" : 0.2500 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 7,
     "hscan" : { "minimum" : 0.1875, "maximum" : 0.2188 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 8,
     "hscan" : { "minimum" : 0.1563, "maximum" : 0.1875 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 9,
     "hscan" : { "minimum" : 0.1250, "maximum" : 0.1563 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 10,
     "hscan" : { "minimum" : 0.0938, "maximum" : 0.1250 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 11,
     "hscan" : { "minimum" : 0.0625, "maximum" : 0.0938 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 12,
     "hscan" : { "minimum" : 0.0313, "maximum" : 0.0625 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 13,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0313 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 14,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.9444, "maximum" : 1.0000 }
     },
     {
     "index" : 15,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.8889, "maximum" : 0.9444 }
     },
     {
     "index" : 16,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.8333, "maximum" : 0.8889 }
     },
     {
     "index" : 17,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.7778, "maximum" : 0.8333 }
     },
     {
     "index" : 18,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.7222, "maximum" : 0.7778 }
     },
     {
     "index" : 19,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.6667, "maximum" : 0.7222 }
     },
     {
     "index" : 20,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.6111, "maximum" : 0.6667 }
     },
     {
     "index" : 21,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.5556, "maximum" : 0.6111 }
     },
     {
     "index" : 22,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.5000, "maximum" : 0.5556 }
     },
     {
     "index" : 23,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.4444, "maximum" : 0.5000 }
     },
     {
     "index" : 24,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.3889, "maximum" : 0.4444 }
     },
     {
     "index" : 25,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.3333, "maximum" : 0.3889 }
     },
     {
     "index" : 26,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.2778, "maximum" : 0.3333 }
     },
     {
     "index" : 27,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.2222, "maximum" : 0.2778 }
     },
     {
     "index" : 28,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.1667, "maximum" : 0.2222 }
     },
     {
     "index" : 29,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.1111, "maximum" : 0.1667 }
     },
     {
     "index" : 30,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.0556, "maximum" : 0.1111 }
     },
     {
     "index" : 31,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0556 }
     },
     {
     "index" : 32,
     "hscan" : { "minimum" : 0.0000, "maximum" : 0.0313 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 33,
     "hscan" : { "minimum" : 0.0313, "maximum" : 0.0625 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 34,
     "hscan" : { "minimum" : 0.0625, "maximum" : 0.0938 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 35,
     "hscan" : { "minimum" : 0.0938, "maximum" : 0.1250 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 36,
     "hscan" : { "minimum" : 0.1250, "maximum" : 0.1563 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 37,
     "hscan" : { "minimum" : 0.1563, "maximum" : 0.1875 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 38,
     "hscan" : { "minimum" : 0.1875, "maximum" : 0.2188 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 39,
     "hscan" : { "minimum" : 0.2188, "maximum" : 0.2500 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 40,
     "hscan" : { "minimum" : 0.2500, "maximum" : 0.2813 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 41,
     "hscan" : { "minimum" : 0.2813, "maximum" : 0.3125 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 42,
     "hscan" : { "minimum" : 0.3125, "maximum" : 0.3438 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 43,
     "hscan" : { "minimum" : 0.3438, "maximum" : 0.3750 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 44,
     "hscan" : { "minimum" : 0.3750, "maximum" : 0.4063 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 45,
     "hscan" : { "minimum" : 0.4063, "maximum" : 0.4375 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 46,
     "hscan" : { "minimum" : 0.4375, "maximum" : 0.4688 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 47,
     "hscan" : { "minimum" : 0.4688, "maximum" : 0.5000 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 48,
     "hscan" : { "minimum" : 0.5000, "maximum" : 0.5313 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 49,
     "hscan" : { "minimum" : 0.5313, "maximum" : 0.5625 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 50,
     "hscan" : { "minimum" : 0.5625, "maximum" : 0.5938 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 51,
     "hscan" : { "minimum" : 0.5938, "maximum" : 0.6250 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 52,
     "hscan" : { "minimum" : 0.6250, "maximum" : 0.6563 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 53,
     "hscan" : { "minimum" : 0.6563, "maximum" : 0.6875 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 54,
     "hscan" : { "minimum" : 0.6875, "maximum" : 0.7188 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 55,
     "hscan" : { "minimum" : 0.7188, "maximum" : 0.7500 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 56,
     "hscan" : { "minimum" : 0.7500, "maximum" : 0.7813 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 57,
     "hscan" : { "minimum" : 0.7813, "maximum" : 0.8125 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 58,
     "hscan" : { "minimum" : 0.8125, "maximum" : 0.8438 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 59,
     "hscan" : { "minimum" : 0.8438, "maximum" : 0.8750 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 60,
     "hscan" : { "minimum" : 0.8750, "maximum" : 0.9063 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 61,
     "hscan" : { "minimum" : 0.9063, "maximum" : 0.9375 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 62,
     "hscan" : { "minimum" : 0.9375, "maximum" : 0.9688 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 63,
     "hscan" : { "minimum" : 0.9688, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
     },
     {
     "index" : 64,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.0000, "maximum" : 0.0556 }
     },
     {
     "index" : 65,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.0556, "maximum" : 0.1111 }
     },
     {
     "index" : 66,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.1111, "maximum" : 0.1667 }
     },
     {
     "index" : 67,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.1667, "maximum" : 0.2222 }
     },
     {
     "index" : 68,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.2222, "maximum" : 0.2778 }
     },
     {
     "index" : 69,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.2778, "maximum" : 0.3333 }
     },
     {
     "index" : 70,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.3333, "maximum" : 0.3889 }
     },
     {
     "index" : 71,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.3889, "maximum" : 0.4444 }
     },
     {
     "index" : 72,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.4444, "maximum" : 0.5000 }
     },
     {
     "index" : 73,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.5000, "maximum" : 0.5556 }
     },
     {
     "index" : 74,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.5556, "maximum" : 0.6111 }
     },
     {
     "index" : 75,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.6111, "maximum" : 0.6667 }
     },
     {
     "index" : 76,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.6667, "maximum" : 0.7222 }
     },
     {
     "index" : 77,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.7222, "maximum" : 0.7778 }
     },
     {
     "index" : 78,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.7778, "maximum" : 0.8333 }
     },
     {
     "index" : 79,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.8333, "maximum" : 0.8889 }
     },
     {
     "index" : 80,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.8889, "maximum" : 0.9444 }
     },
     {
     "index" : 81,
     "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.9444, "maximum" : 1.0000 }
     },
     {
     "index" : 82,
     "hscan" : { "minimum" : 0.9688, "maximum" : 1.0000 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 83,
     "hscan" : { "minimum" : 0.9375, "maximum" : 0.9688 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 84,
     "hscan" : { "minimum" : 0.9063, "maximum" : 0.9375 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 85,
     "hscan" : { "minimum" : 0.8750, "maximum" : 0.9063 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 86,
     "hscan" : { "minimum" : 0.8438, "maximum" : 0.8750 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 87,
     "hscan" : { "minimum" : 0.8125, "maximum" : 0.8438 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 88,
     "hscan" : { "minimum" : 0.7813, "maximum" : 0.8125 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 89,
     "hscan" : { "minimum" : 0.7500, "maximum" : 0.7813 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 90,
     "hscan" : { "minimum" : 0.7188, "maximum" : 0.7500 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 91,
     "hscan" : { "minimum" : 0.6875, "maximum" : 0.7188 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 92,
     "hscan" : { "minimum" : 0.6563, "maximum" : 0.6875 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 93,
     "hscan" : { "minimum" : 0.6250, "maximum" : 0.6563 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 94,
     "hscan" : { "minimum" : 0.5938, "maximum" : 0.6250 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     },
     {
     "index" : 95,
     "hscan" : { "minimum" : 0.5625, "maximum" : 0.5938 },
     "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
     }
     ],
     "endOfJson" : "endOfJson"
    }
    
    Wenn ich über HyperCon ein Bild vom Grabber lade, sieht es so aus wie im Screenshot. Die Qualität der Grafik ist eher mau. Aber vielleicht gehört das auch so?

    Hypercon-Log:
    Code:
    SSH Traffic:
    ssh connected
    ssh out:     killall hyperiond 2>/dev/null
    ssh out:     /storage/.config/autostart.sh > /dev/null 2>&1 &
    ssh out:     cat /storage/logfiles/hyperion.log
    ssh in:     Hyperion Ambilight Deamon (8138)
    ssh in:         Version   : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
    ssh in:         Build Time: Apr  5 2018 01:57:25
    ssh in:     INFO: Selected configuration file: /storage/.config/hyperion.config.json
    ssh in:     HYPERION INFO: ColorTransform 'default' => [0; 95]
    ssh in:     HYPERION INFO: ColorCorrection 'default' => [0; 95]
    ssh in:     HYPERION INFO: ColorAdjustment 'default' => [0; 95]
    ssh in:     LEDDEVICE INFO: configuration:
    ssh in:     {
    ssh in:         "colorOrder" : "rbg",
    ssh in:         "name" : "Wohnzimmer",
    ssh in:         "output" : "/dev/spidev0.0",
    ssh in:         "rate" : 500000,
    ssh in:         "type" : "ws2801"
    ssh in:     }
    ssh in:     INFO: Creating linear smoothing
    ssh in:     HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    ssh in:     EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects
    ssh in:     EFFECTENGINE INFO: Initializing Python interpreter
    ssh in:     INFO: Hyperion started and initialised
    ssh in:     INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    ssh in:     BLACKBORDER INFO: threshold set to 0.15 (39)
    ssh in:     BLACKBORDER INFO: mode:default
    ssh in:     started
    ssh in:     INFO: Kodi checker created and started
    ssh in:     INFO: Json server created and started on port 19444
    ssh in:     INFO: Proto server created and started on port 19445
    ssh in:     DISPMANXGRABBER INFO: Display opened with resolution: 1920x1080
    ssh in:     BLACKBORDER INFO: threshold set to 0.15 (39)
    ssh in:     BLACKBORDER INFO: mode:default
    ssh in:     INFO: Frame grabber created and started
    ssh in:     V4L2GRABBER INFO: width=720 height=576
    ssh in:     V4L2GRABBER INFO: pixel format=YUYV
    ssh in:     BLACKBORDER INFO: threshold set to 0.15 (39)
    ssh in:     BLACKBORDER INFO: mode:default
    ssh in:     V4L2GRABBER INFO: signal threshold set to: {0,0,0}
    ssh in:     V4L2GRABBER INFO: started
    ssh in:     INFO: V4L2 grabber created and started
    ssh in:     KODICHECK INFO: Kodi Connected
    ssh in:     KODICHECK INFO: switching to OFF mode
    ssh in:     BORDER SWITCH REQUIRED!!
    ssh in:     CURRENT BORDER TYPE: unknown=0 hor.size=8 vert.size=0
    ssh in:     V4L2GRABBER INFO: stopped
    ssh in:     EFFECTENGINE INFO: effect finished
    
    Es wäre toll, wenn ihr hilfreiche Tipps für mich hättet. Ich weiß nämlich gar nicht mehr weiter. :(

    Aufbau der Verkabelung:
    Kodi (HDMI --> HDMI2 am TV)
    XBOX (HDMI --> HDMI-SWITCH-Eingang)
    HDMI-SWITCH (HDMI-OUT2 --> Grabber)
    GRABBER über USB am KODI
    HDMI-SWITCH (HDMI-OUT1 --> HDMI1 am TV)

    Falls ich noch etwas nachreichen sollte, lasst es mich wissen. Ich hoffe, ich habe sonst alle hilfreichen Angaben gemacht.
     

    Attached Files:

  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,280
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    probier mal die
    "priority" : 1000,
    von deinem usb grabber niedrieger zu stellen...aber schweres thema...die erkennung funktioniert meist nicht so wie man es sich wünscht...daher würde ich dir eher ne manuelle umschaltung empfehlen
     
  3. Bauminho

    Bauminho New Member

    Messages:
    4
    Hardware:
    RPi3
    Danke für den Tipp. Ich werde es nachher mal testen.
    Aber es scheint ja zumindest nichts falsch eingestellt zu sein. Hoffe ich zumindest. ;)
     
  4. Bauminho

    Bauminho New Member

    Messages:
    4
    Hardware:
    RPi3
    Also mit dem folgenden hyperion.config.json läuft jetzt zumindest auch der Externe Grabber.

    Code:
    // 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"       : "Wohnzimmer",
            "type"       : "ws2801",
            "output"     : "/dev/spidev0.0",
            "rate"     : 1000000,
            "colorOrder" : "rbg"
        },
    
        // 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
            }
        },
    
        // V4L2 GRABBER CONFIG
        "grabber-v4l2" :
        {
            "device" : "/dev/video0",
            "input" : 0,
            "standard" : "PAL",
            "width" : -1,
            "height" : -1,
            "frameDecimation" : 2,
            "sizeDecimation" : 8,
            "priority" : 800,
            "mode" : "2D",
            "cropLeft" : 18,
            "cropRight" : 17,
            "cropTop" : 4,
            "cropBottom" : 4,
            "redSignalThreshold" : 0.0,
            "greenSignalThreshold" : 0.0,
            "blueSignalThreshold" : 0.0
        },
    
        // FRAME GRABBER CONFIG
        "framegrabber" :
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 10.0,
            "priority" : 850
        },
    
        // BLACKBORDER CONFIG
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.15,
            "unknownFrameCnt" : 600,
            "borderFrameCnt" : 50,
            "maxInconsistentCnt" : 10,
            "blurRemoveCnt" : 1,
            "mode" : "default"
        },
    
        // KODI CHECK CONFIG
        "xbmcVideoChecker" :
        {
            "xbmcAddress" : "192.168.178.13",
            "xbmcTcpPort" : 9090,
            "grabVideo" : true,
            "grabPictures" : true,
            "grabAudio" : true,
            "grabMenu" : false,
            "grabPause" : true,
            "grabScreensaver" : true,
            "enable3DDetection" : true
        },
    
        // 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 BOBLIGHT SERVER CONFIG
        // NO JSON/PROTO FORWARD CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.4063, "maximum" : 0.4375 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.3750, "maximum" : 0.4063 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.3438, "maximum" : 0.3750 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.3125, "maximum" : 0.3438 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.2813, "maximum" : 0.3125 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.2500, "maximum" : 0.2813 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.2188, "maximum" : 0.2500 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.1875, "maximum" : 0.2188 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.1563, "maximum" : 0.1875 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.1250, "maximum" : 0.1563 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.0938, "maximum" : 0.1250 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.0625, "maximum" : 0.0938 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.0313, "maximum" : 0.0625 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0313 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9444, "maximum" : 1.0000 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8889, "maximum" : 0.9444 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8333, "maximum" : 0.8889 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7778, "maximum" : 0.8333 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7222, "maximum" : 0.7778 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6667, "maximum" : 0.7222 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6111, "maximum" : 0.6667 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5556, "maximum" : 0.6111 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5000, "maximum" : 0.5556 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4444, "maximum" : 0.5000 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3889, "maximum" : 0.4444 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3333, "maximum" : 0.3889 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2778, "maximum" : 0.3333 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2222, "maximum" : 0.2778 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1667, "maximum" : 0.2222 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1111, "maximum" : 0.1667 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0556, "maximum" : 0.1111 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0556 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0313 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.0313, "maximum" : 0.0625 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.0625, "maximum" : 0.0938 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.0938, "maximum" : 0.1250 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.1250, "maximum" : 0.1563 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.1563, "maximum" : 0.1875 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.1875, "maximum" : 0.2188 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.2188, "maximum" : 0.2500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.2500, "maximum" : 0.2813 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.2813, "maximum" : 0.3125 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.3125, "maximum" : 0.3438 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.3438, "maximum" : 0.3750 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.3750, "maximum" : 0.4063 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.4063, "maximum" : 0.4375 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 46,
                "hscan" : { "minimum" : 0.4375, "maximum" : 0.4688 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 47,
                "hscan" : { "minimum" : 0.4688, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 48,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.5313 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 49,
                "hscan" : { "minimum" : 0.5313, "maximum" : 0.5625 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 50,
                "hscan" : { "minimum" : 0.5625, "maximum" : 0.5938 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 51,
                "hscan" : { "minimum" : 0.5938, "maximum" : 0.6250 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 52,
                "hscan" : { "minimum" : 0.6250, "maximum" : 0.6563 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 53,
                "hscan" : { "minimum" : 0.6563, "maximum" : 0.6875 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 54,
                "hscan" : { "minimum" : 0.6875, "maximum" : 0.7188 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 55,
                "hscan" : { "minimum" : 0.7188, "maximum" : 0.7500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 56,
                "hscan" : { "minimum" : 0.7500, "maximum" : 0.7813 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 57,
                "hscan" : { "minimum" : 0.7813, "maximum" : 0.8125 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 58,
                "hscan" : { "minimum" : 0.8125, "maximum" : 0.8438 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 59,
                "hscan" : { "minimum" : 0.8438, "maximum" : 0.8750 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 60,
                "hscan" : { "minimum" : 0.8750, "maximum" : 0.9063 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 61,
                "hscan" : { "minimum" : 0.9063, "maximum" : 0.9375 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 62,
                "hscan" : { "minimum" : 0.9375, "maximum" : 0.9688 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 63,
                "hscan" : { "minimum" : 0.9688, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 64,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0556 }
            },
            {
                "index" : 65,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0556, "maximum" : 0.1111 }
            },
            {
                "index" : 66,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1111, "maximum" : 0.1667 }
            },
            {
                "index" : 67,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1667, "maximum" : 0.2222 }
            },
            {
                "index" : 68,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2222, "maximum" : 0.2778 }
            },
            {
                "index" : 69,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2778, "maximum" : 0.3333 }
            },
            {
                "index" : 70,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3333, "maximum" : 0.3889 }
            },
            {
                "index" : 71,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3889, "maximum" : 0.4444 }
            },
            {
                "index" : 72,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4444, "maximum" : 0.5000 }
            },
            {
                "index" : 73,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5000, "maximum" : 0.5556 }
            },
            {
                "index" : 74,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5556, "maximum" : 0.6111 }
            },
            {
                "index" : 75,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6111, "maximum" : 0.6667 }
            },
            {
                "index" : 76,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6667, "maximum" : 0.7222 }
            },
            {
                "index" : 77,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7222, "maximum" : 0.7778 }
            },
            {
                "index" : 78,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7778, "maximum" : 0.8333 }
            },
            {
                "index" : 79,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8333, "maximum" : 0.8889 }
            },
            {
                "index" : 80,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8889, "maximum" : 0.9444 }
            },
            {
                "index" : 81,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9444, "maximum" : 1.0000 }
            },
            {
                "index" : 82,
                "hscan" : { "minimum" : 0.9688, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 83,
                "hscan" : { "minimum" : 0.9375, "maximum" : 0.9688 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 84,
                "hscan" : { "minimum" : 0.9063, "maximum" : 0.9375 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 85,
                "hscan" : { "minimum" : 0.8750, "maximum" : 0.9063 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 86,
                "hscan" : { "minimum" : 0.8438, "maximum" : 0.8750 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 87,
                "hscan" : { "minimum" : 0.8125, "maximum" : 0.8438 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 88,
                "hscan" : { "minimum" : 0.7813, "maximum" : 0.8125 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 89,
                "hscan" : { "minimum" : 0.7500, "maximum" : 0.7813 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 90,
                "hscan" : { "minimum" : 0.7188, "maximum" : 0.7500 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 91,
                "hscan" : { "minimum" : 0.6875, "maximum" : 0.7188 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 92,
                "hscan" : { "minimum" : 0.6563, "maximum" : 0.6875 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 93,
                "hscan" : { "minimum" : 0.6250, "maximum" : 0.6563 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 94,
                "hscan" : { "minimum" : 0.5938, "maximum" : 0.6250 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 95,
                "hscan" : { "minimum" : 0.5625, "maximum" : 0.5938 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
    Gibt es vielleicht einen hilfreichen Link, wo ich die Tasten der Fernbedienung besetzen kann. Ich hatte an sowas gedacht, das ich die Farbtasten verwende für folgendes:
    rot= Ambilight starten
    grün=Auswahl externer Grabber
    gelb=Auswahl interner Grabber
    blau=Ambilight stoppen

    Weiß das jemand und kann mir behilflich sein? Scripte schreiben ist allerdings nicht so meine Stärke :(
     
  5. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,280
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
  6. Bauminho

    Bauminho New Member

    Messages:
    4
    Hardware:
    RPi3
    Vielen Dank für den Tipp. Ich habe es jetzt mal ausprobiert. ;)

    Unter "Userdata" liegt jetzt die Datei : hyperionswitch.sh
    Code:
    #!/bin/sh
    SERVICE='hyperiond'
    if ps | grep -v grep | grep $SERVICE > /dev/null
    then
    killall hyperiond
    else
    /storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config.json
    </dev/null >/dev/null 2>&1 &
    fi
    Und im Ordner "keymaps" liegt die Datei remote.xml:
    Code:
    <keymap>
        <global>
            <remote>
                <power>system.exec("/storage/.kodi/userdata/hyperionswitch.sh")</power>
            </remote>
        </global>
    </keymap>
    Nur leider funktioniert das noch nicht, nach einem Neustart von Kodi.
    Habe ich etwas übersehen?
     
  7. DeWe

    DeWe Member

    Messages:
    41
    Hardware:
    RPi3
    Wenn ich das richtig sehe, macht dein Script eigentlich nur folgendes : Wenn Hyperion läuft, wird der Daemon abgeschossen (Hyperion wird beendet) oder (!) es wird genau eine (!) Config neu kopiert.
    Wenn Hyperion also läuft und du willst die spezielle Config kopieren, musst du erst einmal deine Taste 2x drücken (oder sie prellt ;)).
    Du kannst mit der Taste nur eine spezielle Config kopieren. Ich würde die für einen Wechsel (2Tasten und 2 Scripts mit dem Script nötig) If Schleife nach dem Kill beenden, danach den copy Befehl immer ausführen und ein Neustart von Hyperion hinterher.
    Besser wäre, es ohne Copy, einfach Hyperion beenden und Hyperion unter Angabe des Config-files neu zu starten. Damit entfällt der Kopy Befehl. Wenn du dir jetzt noch merken würdest, welche Config läuft, kannst du mit einem Script hin und her schalten.