Updated the test config file to contain more extensive settings

Former-commit-id: 3f110bfc1086fb58e094c2ef7184fddc0ca61a98
This commit is contained in:
T. van der Zwan 2013-12-05 21:37:28 +00:00
parent df1eaaaecc
commit 950519625f

View File

@ -37,8 +37,38 @@
"transform" : "transform" :
[ [
{ {
"id" : "MyPi device", "id" : "MyPi red",
"leds" : "0-49", "leds" : "0-11,37-49",
"hsv" :
{
"saturationGain" : 1.0000,
"valueGain" : 1.5000
},
"red" :
{
"threshold" : 0.1000,
"gamma" : 2.0000,
"blacklevel" : 0.3000,
"whitelevel" : 0.8000
},
"green" :
{
"threshold" : 0.1000,
"gamma" : 2.0000,
"blacklevel" : 0.0000,
"whitelevel" : 1.0000
},
"blue" :
{
"threshold" : 0.1000,
"gamma" : 2.0000,
"blacklevel" : 0.0000,
"whitelevel" : 1.0000
}
},
{
"id" : "MyPi blue",
"leds" : "12-36",
"hsv" : "hsv" :
{ {
"saturationGain" : 1.0000, "saturationGain" : 1.0000,
@ -63,7 +93,7 @@
"threshold" : 0.1000, "threshold" : 0.1000,
"gamma" : 2.0000, "gamma" : 2.0000,
"blacklevel" : 0.0000, "blacklevel" : 0.0000,
"whitelevel" : 1.0000 "whitelevel" : 0.3000
} }
} }
], ],
@ -345,6 +375,40 @@
"enable" : true "enable" : true
}, },
"effects" :
{
"Rainbow swirl" :
{
"script" : "/home/pi/hyperion/effects/rainbow-swirl.py",
"args" :
{
"rotation-time" : 10.0,
"brightness" : 1.0,
"reverse" : false
}
},
"Rainbow mood" :
{
"script" : "/home/pi/hyperion/effects/rainbow-mood.py",
"args" :
{
"rotation-time" : 10.0,
"brightness" : 1.0,
"reverse" : false
}
},
"Knight rider" :
{
"script" : "/home/pi/hyperion/effects/knight-rider.py",
"args" :
{
"speed" : 1.0,
"fadeFactor" : 0.7
}
}
},
/// The boot-sequence configuration, contains the following items: /// The boot-sequence configuration, contains the following items:
/// * type : The type of the boot-sequence ('rainbow', 'knightrider', 'none') /// * type : The type of the boot-sequence ('rainbow', 'knightrider', 'none')
/// The boot-sequence configuration, contains the following items: /// The boot-sequence configuration, contains the following items:
@ -352,7 +416,13 @@
/// * duration_ms : The length of the boot-sequence [ms] /// * duration_ms : The length of the boot-sequence [ms]
"bootsequence" : "bootsequence" :
{ {
"type" : "Rainbow", "script" : "/home/pi/hyperion/effects/rainbow-swirl.py",
"args" :
{
"rotation-time" : 3.0,
"brightness" : 1.0,
"reverse" : false
},
"duration_ms" : 3000 "duration_ms" : 3000
}, },