Hallo Zusammen,
erstmal vielen Dank für die tollen Anleitungen hier.
Nun zu meinem Thema.
Ich habe Hyperion auf einem Raspi mit HDMI ans laufen bekommen.
Nun möchte ich meine Philips Hue Lampen mit einbinden.
Hierzu starte ich im autostart.sh zwei configs:
Code
/storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config.grabber.json > /storage/logfiles/hyperion.log 2>&1 &
/storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config.hue.json > /storage/logfiles/hyperion.log 2>&1 &
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.1 (11.06.2016)
{
// DEVICE CONFIGURATION
"device" :
{
"name" : "MyHyperionHue",
"type" : "philipshue",
"output" : "192.168.192.27",
"transitiontime" : 1,
"switchOffOnBlack" : false,
"username" : "P-ggecvL8OezE35Hzw3KQ7yW2A3IxdkEsN2OMVAt",
"colorOrder" : "gbr"
},
// 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" : 2.5000,
"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" : "none",
"time_ms" : 100,
"updateFrequency" : 25.0000,
"updateDelay" : 0
}
},
// BLACKBORDER CONFIG
"blackborderdetector" :
{
"enable" : true,
"threshold" : 0.01,
"unknownFrameCnt" : 600,
"borderFrameCnt" : 50,
"maxInconsistentCnt" : 10,
"blurRemoveCnt" : 1,
"mode" : "default"
},
// KODI CHECK CONFIG
"xbmcVideoChecker" :
{
"xbmcAddress" : "127.0.0.1",
"xbmcTcpPort" : 9090,
"grabVideo" : true,
"grabPictures" : true,
"grabAudio" : true,
"grabMenu" : true,
"grabPause" : true,
"grabScreensaver" : true,
"enable3DDetection" : true
},
// BOOTEFFECT CONFIG
"bootsequence" :
{
"color" : [0,0,0],
"effect" : "Rainbow swirl fast",
"duration_ms" : 10000,
"priority" : 675
},
// JSON SERVER CONFIG
"jsonServer" :
{
"port" : 19446
},
// PROTO SERVER CONFIG
"protoServer" :
{
"port" : 19447
},
// JSON/PROTO FORWARD CONFIG
"forwarder" :
{
"json" : ["127.0.0.1:19448","192.168.192.27:19446"],
"proto" : ["127.0.0.1:19449","192.168.192.27:19447"]
},
// EFFECT PATH
"effects" :
{
"paths" :
[
"/storage/hyperion/effects",
"/usr/share/hyperion/effects"
]
},
// NO BOBLIGHT SERVER CONFIG
// LED CONFIGURATION
"leds" :
[
{
"index" : 1,
"hscan" : { "minimum" : 0.6000, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.6000, "maximum" : 1.0000 }
},
{
"index" : 2,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.4000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.4000 }
},
{
"index" : 3,
"hscan" : { "minimum" : 0.8000, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.6000, "maximum" : 1.0000 }
},
{
"index" : 4,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.4000 },
"vscan" : { "minimum" : 0.6000, "maximum" : 1.0000 }
}
],
"endOfJson" : "endOfJson"
}
Alles anzeigen
So leuchtet schon mal eine Lampe in der Startsequenz auf.
Ich würde gerne die Lampen alle über das externe HDMI laufen lassen.
Schalte ich jedoch zusätzlich den externen Grabber in der config passiert nichts.
Code
// V4L2 GRABBER CONFIG
"grabber-v4l2" :
{
"device" : "/dev/video0",
"input" : 0,
"standard" : "PAL",
"width" : -1,
"height" : -1,
"frameDecimation" : 2,
"sizeDecimation" : 8,
"priority" : 900,
"mode" : "2D",
"cropLeft" : 6,
"cropRight" : 6,
"cropTop" : 2,
"cropBottom" : 2,
"redSignalThreshold" : 0.1,
"greenSignalThreshold" : 0.1,
"blueSignalThreshold" : 0.1
},
Alles anzeigen
Vielleicht kann mir hier jemand weiter helfen?