From 950519625f3562c3f169f8af9f78b69664f28ec1 Mon Sep 17 00:00:00 2001 From: "T. van der Zwan" Date: Thu, 5 Dec 2013 21:37:28 +0000 Subject: [PATCH] Updated the test config file to contain more extensive settings Former-commit-id: 3f110bfc1086fb58e094c2ef7184fddc0ca61a98 --- config/hyperion_test.config.json | 78 ++++++++++++++++++++++++++++++-- 1 file changed, 74 insertions(+), 4 deletions(-) diff --git a/config/hyperion_test.config.json b/config/hyperion_test.config.json index 886ae288..dc00c2e9 100644 --- a/config/hyperion_test.config.json +++ b/config/hyperion_test.config.json @@ -37,8 +37,38 @@ "transform" : [ { - "id" : "MyPi device", - "leds" : "0-49", + "id" : "MyPi red", + "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" : { "saturationGain" : 1.0000, @@ -63,7 +93,7 @@ "threshold" : 0.1000, "gamma" : 2.0000, "blacklevel" : 0.0000, - "whitelevel" : 1.0000 + "whitelevel" : 0.3000 } } ], @@ -344,6 +374,40 @@ { "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: /// * type : The type of the boot-sequence ('rainbow', 'knightrider', 'none') @@ -352,7 +416,13 @@ /// * duration_ms : The length of the boot-sequence [ms] "bootsequence" : { - "type" : "Rainbow", + "script" : "/home/pi/hyperion/effects/rainbow-swirl.py", + "args" : + { + "rotation-time" : 3.0, + "brightness" : 1.0, + "reverse" : false + }, "duration_ms" : 3000 },