Code: Alles auswählen
{
"device": {
"name": "MyHyperionConfig",
"type": "philipshue",
"output": "10.0.0.13",
"switchOffOnBlack": false,
"username": "LZZjSpRexhw5ZyExWrc67sshlJlbZebMV44XsYAv",
"colorOrder": "rgb",
"lightIds": [
1,
3
]
},
"color": {
"channelAdjustment": [
{
"id": "default",
"leds": "*",
"pureRed": {
"redChannel": 255,
"greenChannel": 0,
"blueChannel": 0
},
"pureGreen": {
"redChannel": 255,
"greenChannel": 0,
"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,
"luminanceGain": 1,
"luminanceMinimum": 0
},
"red": {
"threshold": 0,
"gamma": 2.5
},
"green": {
"threshold": 2.5,
"gamma": 2.5
},
"blue": {
"threshold": 0,
"gamma": 2.5
}
}
]
},
"blackborderdetector": {
"enable": false,
"threshold": 0.14,
"unknownFrameCnt": 600,
"borderFrameCnt": 50,
"maxInconsistentCnt": 10,
"blurRemoveCnt": 1,
"mode": "default"
},
"bootsequence": {
"color": [
0,
0,
0
],
"effect": "Rainbow swirl fast",
"duration_ms": 3000,
"priority": 700
},
"jsonServer": {
"port": 19444
},
"protoServer": {
"port": 19445
},
"effects": {
"paths": [
"/storage/hyperion/effects",
"/usr/share/hyperion/effects"
]
},
"smoothing": {
"type": "none",
"time_ms": 200,
"updateFrequency": 20,
"updateDelay": 0
},
"framegrabber": {
"width": 64,
"height": 64,
"frequency_Hz": 5,
"priority": 890
},
"forwarder": {
"json": [
"10.0.0.13:19446"
],
"proto": [
"10.0.0.13:19447"
]
},
"leds": [
{
"index": 1,
"hscan": {
"minimum": 0,
"maximum": 1
},
"vscan": {
"minimum": 0,
"maximum": 1
}
},
{
"index": 2,
"hscan": {
"minimum": 0,
"maximum": 1
},
"vscan": {
"minimum": 0,
"maximum": 1
}
}
],
"endOfJson": "endOfJson"
}
Code: Alles auswählen
"forwarder" :
{
"json" : ["127.0.0.1:19446"],
"proto" : ["127.0.0.1:19447"]
},
Code: Alles auswählen
"jsonServer" :
{
"port" : 19444
},
Code: Alles auswählen
// JSON SERVER CONFIG
"jsonServer" :
{
"port" : 19446
},
// PROTO SERVER CONFIG
"protoServer" :
{
"port" : 19447
},
Code: Alles auswählen
/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 &
Ich habe den Forwarder-Teil in die hyperion.config.json gepackt. Entsprechend der Ports, die ich in der hyperion.config.hue.json gesetzt habe. Ist das so korrekt ?