Hey, I think I might need some help.
So today I installed raspbian as you recommended and started to set up my pi.
First I installed hyperion and set it up so that it worked with my apa 102 strip. I am not using a grabber, its only for iphone-controlled light.
Then I installed pi-blaster because I wanted a second instance for three simple pwm outputs. Pi-Blaster on its own worked fine, but then i ran into trouble.
I tried to create a second config and put it in /etc/hyperion/ and edited the ExecStart line to add the second hyperion.
But when I restarted it and tried to connect to one of the servers via my iPhone remote (i used port 19444 and 19446) it told me "Connection refused" on both servers, even though the first one worked just before. From time to time it shows a connection timed out error when i try to connect.
After a time i figured out that the configuration for pi-blaster was wrong so I started playing with that, but unfortunately with no success.
I dont know how to configure it properly and i also dont understand why it wont let me connect to teh servers now. Please, if you can help me, I will provide you with any logs or information you need.
Thank you so much in advance for your time!
(Also, when I try to ssh connect with hypercon, it usually needs three or four tries where it always tells me: "timed out, wrong ip adress?" until it works, whereas with putty for example it works almost instantly.)
APA102 Config:
// 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" : "MyHyperionConfig",
"type" : "apa102",
"output" : "/dev/spidev0.0",
"rate" : 1000000,
"colorOrder" : "bgr"
},
// 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" : 0.7500,
"luminanceMinimum" : 0.0000
},
"red" :
{
"threshold" : 0.0000,
"gamma" : 1.0000
},
"green" :
{
"threshold" : 0.0000,
"gamma" : 1.0000
},
"blue" :
{
"threshold" : 0.0000,
"gamma" : 1.0000
}
}
]
// NO SMOOTHING CONFIG
},
// NO V4L2 GRABBER CONFIG
// 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 FRAME GRABBER CONFIG
// NO KODI CHECK CONFIG
// NO BOBLIGHT SERVER CONFIG
// NO JSON/PROTO FORWARD CONFIG
// LED CONFIGURATION
"leds" :
[
{
"index" : 0,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 1,
"hscan" : { "minimum" : 0.0333, "maximum" : 0.0667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 2,
"hscan" : { "minimum" : 0.0667, "maximum" : 0.1000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 3,
"hscan" : { "minimum" : 0.1000, "maximum" : 0.1333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 4,
"hscan" : { "minimum" : 0.1333, "maximum" : 0.1667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 5,
"hscan" : { "minimum" : 0.1667, "maximum" : 0.2000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 6,
"hscan" : { "minimum" : 0.2000, "maximum" : 0.2333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 7,
"hscan" : { "minimum" : 0.2333, "maximum" : 0.2667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 8,
"hscan" : { "minimum" : 0.2667, "maximum" : 0.3000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 9,
"hscan" : { "minimum" : 0.3000, "maximum" : 0.3333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 10,
"hscan" : { "minimum" : 0.3333, "maximum" : 0.3667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 11,
"hscan" : { "minimum" : 0.3667, "maximum" : 0.4000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 12,
"hscan" : { "minimum" : 0.4000, "maximum" : 0.4333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 13,
"hscan" : { "minimum" : 0.4333, "maximum" : 0.4667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 14,
"hscan" : { "minimum" : 0.4667, "maximum" : 0.5000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 15,
"hscan" : { "minimum" : 0.5000, "maximum" : 0.5333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 16,
"hscan" : { "minimum" : 0.5333, "maximum" : 0.5667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 17,
"hscan" : { "minimum" : 0.5667, "maximum" : 0.6000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 18,
"hscan" : { "minimum" : 0.6000, "maximum" : 0.6333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 19,
"hscan" : { "minimum" : 0.6333, "maximum" : 0.6667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 20,
"hscan" : { "minimum" : 0.6667, "maximum" : 0.7000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 21,
"hscan" : { "minimum" : 0.7000, "maximum" : 0.7333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 22,
"hscan" : { "minimum" : 0.7333, "maximum" : 0.7667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 23,
"hscan" : { "minimum" : 0.7667, "maximum" : 0.8000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 24,
"hscan" : { "minimum" : 0.8000, "maximum" : 0.8333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 25,
"hscan" : { "minimum" : 0.8333, "maximum" : 0.8667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 26,
"hscan" : { "minimum" : 0.8667, "maximum" : 0.9000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 27,
"hscan" : { "minimum" : 0.9000, "maximum" : 0.9333 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 28,
"hscan" : { "minimum" : 0.9333, "maximum" : 0.9667 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 29,
"hscan" : { "minimum" : 0.9667, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
},
{
"index" : 30,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0333 }
},
{
"index" : 31,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0333, "maximum" : 0.0667 }
},
{
"index" : 32,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.0667, "maximum" : 0.1000 }
},
{
"index" : 33,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.1000, "maximum" : 0.1333 }
},
{
"index" : 34,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.1333, "maximum" : 0.1667 }
},
{
"index" : 35,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.1667, "maximum" : 0.2000 }
},
{
"index" : 36,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.2000, "maximum" : 0.2333 }
},
{
"index" : 37,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.2333, "maximum" : 0.2667 }
},
{
"index" : 38,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.2667, "maximum" : 0.3000 }
},
{
"index" : 39,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.3000, "maximum" : 0.3333 }
},
{
"index" : 40,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.3333, "maximum" : 0.3667 }
},
{
"index" : 41,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.3667, "maximum" : 0.4000 }
},
{
"index" : 42,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.4000, "maximum" : 0.4333 }
},
{
"index" : 43,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.4333, "maximum" : 0.4667 }
},
{
"index" : 44,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.4667, "maximum" : 0.5000 }
},
{
"index" : 45,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.5000, "maximum" : 0.5333 }
},
{
"index" : 46,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.5333, "maximum" : 0.5667 }
},
{
"index" : 47,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.5667, "maximum" : 0.6000 }
},
{
"index" : 48,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.6000, "maximum" : 0.6333 }
},
{
"index" : 49,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.6333, "maximum" : 0.6667 }
},
{
"index" : 50,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.6667, "maximum" : 0.7000 }
},
{
"index" : 51,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.7000, "maximum" : 0.7333 }
},
{
"index" : 52,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.7333, "maximum" : 0.7667 }
},
{
"index" : 53,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.7667, "maximum" : 0.8000 }
},
{
"index" : 54,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.8000, "maximum" : 0.8333 }
},
{
"index" : 55,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.8333, "maximum" : 0.8667 }
},
{
"index" : 56,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.8667, "maximum" : 0.9000 }
},
{
"index" : 57,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.9000, "maximum" : 0.9333 }
},
{
"index" : 58,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.9333, "maximum" : 0.9667 }
},
{
"index" : 59,
"hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.9667, "maximum" : 1.0000 }
},
{
"index" : 60,
"hscan" : { "minimum" : 0.9667, "maximum" : 1.0000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 61,
"hscan" : { "minimum" : 0.9333, "maximum" : 0.9667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 62,
"hscan" : { "minimum" : 0.9000, "maximum" : 0.9333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 63,
"hscan" : { "minimum" : 0.8667, "maximum" : 0.9000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 64,
"hscan" : { "minimum" : 0.8333, "maximum" : 0.8667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 65,
"hscan" : { "minimum" : 0.8000, "maximum" : 0.8333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 66,
"hscan" : { "minimum" : 0.7667, "maximum" : 0.8000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 67,
"hscan" : { "minimum" : 0.7333, "maximum" : 0.7667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 68,
"hscan" : { "minimum" : 0.7000, "maximum" : 0.7333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 69,
"hscan" : { "minimum" : 0.6667, "maximum" : 0.7000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 70,
"hscan" : { "minimum" : 0.6333, "maximum" : 0.6667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 71,
"hscan" : { "minimum" : 0.6000, "maximum" : 0.6333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 72,
"hscan" : { "minimum" : 0.5667, "maximum" : 0.6000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 73,
"hscan" : { "minimum" : 0.5333, "maximum" : 0.5667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 74,
"hscan" : { "minimum" : 0.5000, "maximum" : 0.5333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 75,
"hscan" : { "minimum" : 0.4667, "maximum" : 0.5000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 76,
"hscan" : { "minimum" : 0.4333, "maximum" : 0.4667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 77,
"hscan" : { "minimum" : 0.4000, "maximum" : 0.4333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 78,
"hscan" : { "minimum" : 0.3667, "maximum" : 0.4000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 79,
"hscan" : { "minimum" : 0.3333, "maximum" : 0.3667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 80,
"hscan" : { "minimum" : 0.3000, "maximum" : 0.3333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 81,
"hscan" : { "minimum" : 0.2667, "maximum" : 0.3000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 82,
"hscan" : { "minimum" : 0.2333, "maximum" : 0.2667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 83,
"hscan" : { "minimum" : 0.2000, "maximum" : 0.2333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 84,
"hscan" : { "minimum" : 0.1667, "maximum" : 0.2000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 85,
"hscan" : { "minimum" : 0.1333, "maximum" : 0.1667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 86,
"hscan" : { "minimum" : 0.1000, "maximum" : 0.1333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 87,
"hscan" : { "minimum" : 0.0667, "maximum" : 0.1000 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 88,
"hscan" : { "minimum" : 0.0333, "maximum" : 0.0667 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 89,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0333 },
"vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
},
{
"index" : 90,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.9667, "maximum" : 1.0000 }
},
{
"index" : 91,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.9333, "maximum" : 0.9667 }
},
{
"index" : 92,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.9000, "maximum" : 0.9333 }
},
{
"index" : 93,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.8667, "maximum" : 0.9000 }
},
{
"index" : 94,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.8333, "maximum" : 0.8667 }
},
{
"index" : 95,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.8000, "maximum" : 0.8333 }
},
{
"index" : 96,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.7667, "maximum" : 0.8000 }
},
{
"index" : 97,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.7333, "maximum" : 0.7667 }
},
{
"index" : 98,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.7000, "maximum" : 0.7333 }
},
{
"index" : 99,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.6667, "maximum" : 0.7000 }
},
{
"index" : 100,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.6333, "maximum" : 0.6667 }
},
{
"index" : 101,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.6000, "maximum" : 0.6333 }
},
{
"index" : 102,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.5667, "maximum" : 0.6000 }
},
{
"index" : 103,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.5333, "maximum" : 0.5667 }
},
{
"index" : 104,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.5000, "maximum" : 0.5333 }
},
{
"index" : 105,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.4667, "maximum" : 0.5000 }
},
{
"index" : 106,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.4333, "maximum" : 0.4667 }
},
{
"index" : 107,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.4000, "maximum" : 0.4333 }
},
{
"index" : 108,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.3667, "maximum" : 0.4000 }
},
{
"index" : 109,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.3333, "maximum" : 0.3667 }
},
{
"index" : 110,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.3000, "maximum" : 0.3333 }
},
{
"index" : 111,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.2667, "maximum" : 0.3000 }
},
{
"index" : 112,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.2333, "maximum" : 0.2667 }
},
{
"index" : 113,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.2000, "maximum" : 0.2333 }
},
{
"index" : 114,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.1667, "maximum" : 0.2000 }
},
{
"index" : 115,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.1333, "maximum" : 0.1667 }
},
{
"index" : 116,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.1000, "maximum" : 0.1333 }
},
{
"index" : 117,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.0667, "maximum" : 0.1000 }
},
{
"index" : 118,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.0333, "maximum" : 0.0667 }
},
{
"index" : 119,
"hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
"vscan" : { "minimum" : 0.0000, "maximum" : 0.0333 }
}
],
"endOfJson" : "endOfJson"
}
Alles anzeigen
One of the many pi-blaster configs i created:
// 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" : "MyPi",
"type" : "piblaster",
"output" : "/dev/pi-blaster",
"gpiomap" :
[
{ "gpio" : 17, "ledindex" : 0, "ledcolor" : "r" },
{ "gpio" : 22, "ledindex" : 0, "ledcolor" : "g" },
{ "gpio" : 24, "ledindex" : 0, "ledcolor" : "b" },
]
},
// 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
}
}
]
// NO SMOOTHING CONFIG
},
// NO V4L2 GRABBER CONFIG
// 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 mood",
"duration_ms" : 3000,
"priority" : 700
},
// JSON SERVER CONFIG
"jsonServer" :
{
"port" : 19446
},
// PROTO SERVER CONFIG
"protoServer" :
{
"port" : 19447
},
// EFFECT PATH
"effects" :
{
"paths" :
[
"/storage/hyperion/effects",
"/usr/share/hyperion/effects"
]
},
// NO FRAME GRABBER CONFIG
// 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"
}
Alles anzeigen
One log:
SSH Traffic:
ssh connected
ssh out: sudo journalctl -u hyperion.service 2>/dev/null
ssh in: -- Logs begin at Mon 2016-10-03 14:04:09 UTC, end at Mon 2016-10-03 14:20:22 UTC. --
ssh in: Oct 03 14:04:15 raspberrypi systemd[1]: Starting Hyperion Systemd service...
ssh in: Oct 03 14:04:15 raspberrypi systemd[1]: Started Hyperion Systemd service.
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: Hyperion Ambilight Deamon (437)
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: Build Time: Jul 25 2016 06:54:40
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: HYPERION INFO: ColorTransform 'default' => [0; 119]
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: HYPERION INFO: ColorCorrection 'default' => [0; 119]
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: HYPERION INFO: ColorAdjustment 'default' => [0; 119]
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: LEDDEVICE INFO: configuration:
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: {
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "colorOrder" : "bgr",
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "name" : "MyHyperionConfig",
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "output" : "/dev/spidev0.0",
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "rate" : 1000000,
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "type" : "apa102"
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: }
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: HYPERION INFO: Not creating any smoothing
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: INFO: Hyperion started and initialised
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: BLACKBORDER INFO: mode:default
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: started
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: INFO: Json server created and started on port 19444
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: INFO: Proto server created and started on port 19445
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: Hyperion Ambilight Deamon (655)
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: Build Time: Jul 25 2016 06:54:40
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: hyperiond client, parent is pid 437
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: INFO: Selected configuration file: /etc/hyperion/hyperion.configblaster2.json
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: terminate called after throwing an instance of 'std::runtime_error'
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: what(): Failed to parse configuration: * Line 19, Column 4
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: Syntax error: value, object or array expected.
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: INFO: Application closed with code 0
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: EFFECTENGINE INFO: Cleaning up Python interpreter
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
ssh in: -- Logs begin at Mon 2016-10-03 14:04:09 UTC, end at Mon 2016-10-03 14:20:41 UTC. --
ssh in: Oct 03 14:04:15 raspberrypi systemd[1]: Starting Hyperion Systemd service...
ssh in: Oct 03 14:04:15 raspberrypi systemd[1]: Started Hyperion Systemd service.
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: Hyperion Ambilight Deamon (437)
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: Build Time: Jul 25 2016 06:54:40
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: HYPERION INFO: ColorTransform 'default' => [0; 119]
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: HYPERION INFO: ColorCorrection 'default' => [0; 119]
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: HYPERION INFO: ColorAdjustment 'default' => [0; 119]
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: LEDDEVICE INFO: configuration:
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: {
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "colorOrder" : "bgr",
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "name" : "MyHyperionConfig",
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "output" : "/dev/spidev0.0",
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "rate" : 1000000,
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: "type" : "apa102"
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: }
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: HYPERION INFO: Not creating any smoothing
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
ssh in: Oct 03 14:04:16 raspberrypi hyperiond[437]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: INFO: Hyperion started and initialised
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: BLACKBORDER INFO: mode:default
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: started
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: INFO: Json server created and started on port 19444
ssh in: Oct 03 14:04:17 raspberrypi hyperiond[437]: INFO: Proto server created and started on port 19445
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: Hyperion Ambilight Deamon (655)
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: Build Time: Jul 25 2016 06:54:40
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: hyperiond client, parent is pid 437
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: INFO: Selected configuration file: /etc/hyperion/hyperion.configblaster2.json
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: terminate called after throwing an instance of 'std::runtime_error'
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: what(): Failed to parse configuration: * Line 19, Column 4
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: Syntax error: value, object or array expected.
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: INFO: Application closed with code 0
ssh in: Oct 03 14:04:19 raspberrypi hyperiond[437]: EFFECTENGINE INFO: Cleaning up Python interpreter
ssh in: Oct 03 14:20:31 raspberrypi systemd[1]: Stopped Hyperion Systemd service.
ssh in: Oct 03 14:20:35 raspberrypi systemd[1]: Starting Hyperion Systemd service...
ssh in: Oct 03 14:20:35 raspberrypi systemd[1]: Started Hyperion Systemd service.
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: Hyperion Ambilight Deamon (1086)
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: Build Time: Jul 25 2016 06:54:40
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: HYPERION INFO: ColorTransform 'default' => [0; 119]
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: HYPERION INFO: ColorCorrection 'default' => [0; 119]
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: HYPERION INFO: ColorAdjustment 'default' => [0; 119]
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: LEDDEVICE INFO: configuration:
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: {
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: "colorOrder" : "bgr",
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: "name" : "MyHyperionConfig",
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: "output" : "/dev/spidev0.0",
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: "rate" : 1000000,
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: "type" : "apa102"
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: }
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: HYPERION INFO: Not creating any smoothing
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: EFFECTENGINE INFO: Initializing Python interpreter
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: INFO: Hyperion started and initialised
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: BLACKBORDER INFO: threshold set to 0 (0)
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: BLACKBORDER INFO: mode:default
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: started
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: INFO: Json server created and started on port 19444
ssh in: Oct 03 14:20:35 raspberrypi hyperiond[1086]: INFO: Proto server created and started on port 19445
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: Hyperion Ambilight Deamon (1094)
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: Build Time: Jul 25 2016 06:54:40
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: hyperiond client, parent is pid 1086
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: INFO: Selected configuration file: /etc/hyperion/hyperion.configblaster2.json
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: terminate called after throwing an instance of 'std::runtime_error'
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: what(): Failed to parse configuration: * Line 19, Column 4
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: Syntax error: value, object or array expected.
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: INFO: Application closed with code 0
ssh in: Oct 03 14:20:38 raspberrypi hyperiond[1086]: EFFECTENGINE INFO: Cleaning up Python interpreter
Alles anzeigen