This commit is contained in:
brindosch 2017-04-27 14:29:07 +02:00
parent ec91e28493
commit a19853b714
19 changed files with 126 additions and 108 deletions

13
effects/atomic.json Normal file
View File

@ -0,0 +1,13 @@
{
"name" : "Atomic swirl",
"script" : "swirl.py",
"args" :
{
"rotation-time" : 10.0,
"center_x" : 0.5,
"center_y" : 0.5,
"reverse" : false,
"custom-colors":[[0,0,0],[255,255,0],[0,0,0],[255,255,0],[0,0,0],[255,255,0]],
"random-center":false
}
}

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "candle.py",
"title":"edt_eff_candle_header_title",
"title":"edt_eff_candle_header",
"required":true,
"properties":{
"candles": {
"type": "string",
"title":"edt_eff_whichleds_title",
"title":"edt_eff_whichleds",
"enum" : ["all","all-together","list"],
"default" : "all",
"options" : {
@ -16,13 +16,18 @@
},
"ledlist": {
"type": "string",
"title":"edt_eff_ledlist_title",
"title":"edt_eff_ledlist",
"default" : "1,11,21",
"options": {
"dependencies": {
"candles": "list"
}
},
"propertyOrder" : 2
},
"color": {
"type": "array",
"title":"edt_eff_color_title",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,138,0],
"items" : {
@ -35,8 +40,8 @@
"propertyOrder" : 3
},
"colorShift": {
"type": "number",
"title":"edt_eff_colorshift_title",
"type": "integer",
"title":"edt_eff_colorshift",
"default": 1,
"minimum" : 0,
"maximum": 30,
@ -44,8 +49,8 @@
"propertyOrder" : 4
},
"brightness": {
"type": "number",
"title":"edt_eff_brightness_title",
"type": "integer",
"title":"edt_eff_brightness",
"default": 100,
"minimum" : 1,
"maximum": 100,
@ -55,7 +60,7 @@
},
"sleepTime": {
"type": "number",
"title":"edt_eff_sleeptime_title",
"title":"edt_eff_sleeptime",
"default": 0.15,
"minimum" : 0.01,
"maximum": 1,

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "fade.py",
"title":"edt_eff_fade_header_title",
"title":"edt_eff_fade_header",
"required":true,
"properties":{
"color-start": {
"type": "array",
"title":"edt_eff_colorstart_title",
"title":"edt_eff_colorstart",
"format":"colorpicker",
"default": [255,174,11],
"items" : {
@ -21,7 +21,7 @@
},
"color-start-time": {
"type": "integer",
"title":"edt_eff_colorstarttime_title",
"title":"edt_eff_colorstarttime",
"default": 1000,
"minimum" : 0,
"append" : "edt_append_ms",
@ -29,7 +29,7 @@
},
"fade-in-time": {
"type": "integer",
"title":"edt_eff_fadeintime_title",
"title":"edt_eff_fadeintime",
"default": 2000,
"minimum" : 0,
"append" : "edt_append_ms",
@ -37,7 +37,7 @@
},
"color-end": {
"type": "array",
"title":"edt_eff_colorend_title",
"title":"edt_eff_colorend",
"format":"colorpicker",
"default": [100,100,100],
"items" : {
@ -51,7 +51,7 @@
},
"color-end-time": {
"type": "integer",
"title":"edt_eff_colorendtime_title",
"title":"edt_eff_colorendtime",
"default": 1000,
"minimum" : 0,
"append" : "edt_append_ms",
@ -59,7 +59,7 @@
},
"fade-out-time": {
"type": "integer",
"title":"edt_eff_fadeouttime_title",
"title":"edt_eff_fadeouttime",
"default": 2000,
"minimum" : 0,
"append" : "edt_append_ms",
@ -67,13 +67,13 @@
},
"repeat-count": {
"type": "integer",
"title":"edt_eff_repeatcount_title",
"title":"edt_eff_repeatcount",
"default": 0,
"propertyOrder" : 7
},
"maintain-end-color": {
"type": "boolean",
"title":"edt_eff_maintain_end_color_title",
"title":"edt_eff_maintain_end_color",
"default": true,
"propertyOrder" : 8
}

View File

@ -7,7 +7,7 @@
"countries": {
"type": "array",
"format": "select",
"title" : "edt_eff_countries_title",
"title" : "edt_eff_countries",
"uniqueItems": true,
"items": {
"type": "string",
@ -17,7 +17,7 @@
},
"switch-time": {
"type": "integer",
"title":"edt_eff_interval_title",
"title":"edt_eff_interval",
"default": 5,
"minimum" : 1,
"append" : "edt_append_s",

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "knight-rider.py",
"title":"edt_eff_knightrider_header_title",
"title":"edt_eff_knightrider_header",
"required":true,
"properties":{
"color": {
"type": "array",
"title":"edt_eff_color_title",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
@ -20,7 +20,7 @@
},
"speed": {
"type": "number",
"title":"edt_eff_speed_title",
"title":"edt_eff_speed",
"default": 1.0,
"minimum": 0.1,
"step" : 0.1,
@ -28,7 +28,7 @@
},
"fadeFactor": {
"type": "number",
"title":"edt_eff_fadefactor_title",
"title":"edt_eff_fadefactor",
"default": 0.7,
"minimum" : 0.0,
"maximum" : 0.9,

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "light-clock.py",
"title":"edt_eff_lightclock_header_title",
"title":"edt_eff_lightclock_header",
"required":true,
"properties":{
"hour-color": {
"type": "array",
"title": "edt_eff_colorHour_title",
"title": "edt_eff_colorHour",
"format": "colorpicker",
"default": [0, 0, 255],
"items": {
@ -20,7 +20,7 @@
},
"minute-color": {
"type": "array",
"title": "edt_eff_colorMinute_title",
"title": "edt_eff_colorMinute",
"format": "colorpicker",
"default": [0, 255, 0],
"items": {
@ -34,7 +34,7 @@
},
"second-color": {
"type": "array",
"title": "edt_eff_colorSecond_title",
"title": "edt_eff_colorSecond",
"format": "colorpicker",
"default": [255, 0, 0],
"items": {
@ -48,9 +48,9 @@
},
"background-color": {
"type": "array",
"title": "edt_eff_backgroundColor_title",
"title": "edt_eff_backgroundColor",
"format": "colorpicker",
"default": [0, 0, 0,],
"default": [0, 0, 0],
"items": {
"type": "integer",
"minimum": 0,
@ -62,7 +62,7 @@
},
"marker-depth": {
"type": "integer",
"title": "edt_eff_markerDepth_title",
"title": "edt_eff_markerDepth",
"default": 5,
"minimum" : 0,
"maximum" : 50,
@ -71,7 +71,7 @@
},
"marker-width": {
"type": "integer",
"title": "edt_eff_markerWidth_title",
"title": "edt_eff_markerWidth",
"default": 5,
"minimum" : 0,
"maximum" : 25,
@ -80,7 +80,7 @@
},
"marker-color": {
"type": "array",
"title":"edt_eff_colorMarker_title",
"title":"edt_eff_colorMarker",
"format":"colorpicker",
"default": [255,255,255],
"items" : {
@ -94,7 +94,7 @@
},
"show_seconds": {
"type": "boolean",
"title":"edt_eff_showseconds_title",
"title":"edt_eff_showseconds",
"default": true,
"propertyOrder" : 8
}

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "mood-blobs.py",
"title":"edt_eff_moodblobs_header_title",
"title":"edt_eff_moodblobs_header",
"required":true,
"properties":{
"color": {
"type": "array",
"title":"edt_eff_color_title",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
@ -20,14 +20,14 @@
},
"blobs": {
"type": "integer",
"title":"edt_eff_blobcount_title",
"title":"edt_eff_blobcount",
"default": 5,
"minimum" : 1,
"propertyOrder" : 2
},
"rotationTime": {
"type": "number",
"title":"edt_eff_rotationtime_title",
"title":"edt_eff_rotationtime",
"default": 20.0,
"minimum" : 1.0,
"append" : "edt_append_s",
@ -35,32 +35,32 @@
},
"hueChange": {
"type": "number",
"title":"edt_eff_huechange_title",
"title":"edt_eff_huechange",
"default": 60.0,
"minimum" : 1.0,
"propertyOrder" : 4
},
"reverse": {
"type": "boolean",
"title":"edt_eff_reversedirection_title",
"title":"edt_eff_reversedirection",
"default": false,
"propertyOrder" : 5
},
"colorRandom": {
"type": "boolean",
"title":"edt_eff_colorrandom_title",
"title":"edt_eff_colorrandom",
"default": false,
"propertyOrder" : 6
},
"baseChange": {
"type": "boolean",
"title":"edt_eff_basecolorchange_title",
"title":"edt_eff_basecolorchange",
"default": false,
"propertyOrder" : 7
},
"baseColorRangeLeft": {
"type": "number",
"title":"edt_eff_basecolorrangeleft_title",
"title":"edt_eff_basecolorrangeleft",
"default": 0.0,
"minimum" : 0.0,
"maximum" : 360.0,
@ -69,7 +69,7 @@
},
"baseColorRangeRight": {
"type": "number",
"title":"edt_eff_basecolorrangeright_title",
"title":"edt_eff_basecolorrangeright",
"default": 360.0,
"minimum" : 0.0,
"maximum" : 360.0,
@ -78,7 +78,7 @@
},
"baseColorChangeRate": {
"type": "number",
"title":"edt_eff_basecolorchangerate_title",
"title":"edt_eff_basecolorchangerate",
"default": 2.0,
"minimum" : 0.0,
"append" : "edt_append_sdegree",

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "pacman.py",
"title":"edt_eff_pacman_header_title",
"title":"edt_eff_pacman_header",
"required":true,
"properties":{
"rotationTime": {
"type": "integer",
"title":"edt_eff_rotationtime_title",
"title":"edt_eff_rotationtime",
"default": 5,
"step" : 0.1,
"minimum": 1,
@ -15,7 +15,7 @@
},
"margin-pos": {
"type": "number",
"title":"edt_eff_margin_title",
"title":"edt_eff_margin",
"default": 1.0,
"step" : 0.1,
"minimum": 1.0,

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "police.py",
"title":"edt_eff_police_header_title",
"title":"edt_eff_police_header",
"required":true,
"properties":{
"color_one": {
"type": "array",
"title":"edt_eff_colorone_title",
"title":"edt_eff_colorone",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
@ -20,7 +20,7 @@
},
"color_two": {
"type": "array",
"title":"edt_eff_colortwo_title",
"title":"edt_eff_colortwo",
"format":"colorpicker",
"default": [0,0,255],
"items" : {
@ -34,14 +34,14 @@
},
"colors_count": {
"type": "integer",
"title":"edt_eff_colorcount_title",
"title":"edt_eff_colorcount",
"default": 10,
"minimum" : 0,
"propertyOrder" : 3
},
"rotation-time": {
"type": "number",
"title":"edt_eff_rotationtime_title",
"title":"edt_eff_rotationtime",
"default": 2.0,
"minimum" : 0.1,
"append" : "edt_append_s",
@ -49,7 +49,7 @@
},
"reverse": {
"type": "boolean",
"title":"edt_eff_reversedirection_title",
"title":"edt_eff_reversedirection",
"default": false,
"propertyOrder" : 5
}

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "rainbow-mood.py",
"title":"edt_eff_rainbowmood_header_title",
"title":"edt_eff_rainbowmood_header",
"required":true,
"properties":{
"rotation-time": {
"type": "number",
"title":"edt_eff_rotationtime_title",
"title":"edt_eff_rotationtime",
"default": 60.0,
"minimum" : 1.0,
"append" : "edt_append_s",
@ -14,7 +14,7 @@
},
"brightness": {
"type": "number",
"title":"edt_eff_brightness_title",
"title":"edt_eff_brightness",
"default": 100,
"minimum" : 1,
"maximum" : 100,
@ -24,7 +24,7 @@
},
"saturation": {
"type": "number",
"title":"edt_eff_saturation_title",
"title":"edt_eff_saturation",
"default": 100,
"minimum" : 1,
"maximum" : 100,
@ -34,7 +34,7 @@
},
"reverse": {
"type": "boolean",
"title":"edt_eff_reversedirection_title",
"title":"edt_eff_reversedirection",
"default": false,
"propertyOrder" : 4
}

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "random.py",
"title":"edt_eff_random_header_title",
"title":"edt_eff_random_header",
"required":true,
"properties":{
"speed": {
"type": "number",
"title":"edt_eff_speed_title",
"title":"edt_eff_speed",
"default": 1000,
"minimum" : 10,
"append" : "edt_append_ms",
@ -14,7 +14,7 @@
},
"saturation": {
"type": "number",
"title":"edt_eff_saturation_title",
"title":"edt_eff_saturation",
"default": 1.0,
"minimum" : 0.1,
"maximum" : 1.0,

View File

@ -1,19 +1,19 @@
{
"type":"object",
"script" : "running_dots.py",
"title":"edt_eff_runningdots_header_title",
"title":"edt_eff_runningdots_header",
"required":true,
"properties":{
"speed": {
"type": "number",
"title":"edt_eff_speed_title",
"title":"edt_eff_speed",
"default": 1.5,
"minimum" : 0.1,
"propertyOrder" : 1
},
"colorLevel": {
"type": "integer",
"title":"edt_eff_colorevel_title",
"title":"edt_eff_colorevel",
"default": 220,
"minimium" : 0,
"maximum" : 255,
@ -21,7 +21,7 @@
},
"whiteLevel": {
"type": "integer",
"title":"edt_eff_whitelevel_title",
"title":"edt_eff_whitelevel",
"default": 0,
"minimium" : 0,
"maximum" : 254,

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "shutdown.py",
"title":"edt_eff_systemshutdown_header_title",
"title":"edt_eff_systemshutdown_header",
"required":true,
"properties":{
"speed": {
"type": "number",
"title":"edt_eff_speed_title",
"title":"edt_eff_speed",
"default": 1.0,
"minimum" : 0.3,
"step" : 0.1,
@ -14,7 +14,7 @@
},
"alarm-color": {
"type": "array",
"title":"edt_eff_alarmcolor_title",
"title":"edt_eff_alarmcolor",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
@ -28,7 +28,7 @@
},
"post-color": {
"type": "array",
"title":"edt_eff_postcolor_title",
"title":"edt_eff_postcolor",
"format" : "colorpicker",
"default": [255,174,11],
"items" : {
@ -42,19 +42,19 @@
},
"initial-blink": {
"type": "boolean",
"title":"edt_eff_initial_blink_title",
"title":"edt_eff_initial_blink",
"default": true,
"propertyOrder" : 4
},
"set-post-color": {
"type": "boolean",
"title":"edt_eff_set_post_color_title",
"title":"edt_eff_set_post_color",
"default": true,
"propertyOrder" : 5
},
"shutdown-enabled": {
"type": "boolean",
"title":"edt_eff_enableshutdown_title",
"title":"edt_eff_enableshutdown",
"default": false,
"propertyOrder" : 6
}

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "snake.py",
"title":"edt_eff_snake_header_title",
"title":"edt_eff_snake_header",
"required":true,
"properties":{
"color": {
"type": "array",
"title":"edt_eff_color_title",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
@ -20,7 +20,7 @@
},
"rotation-time": {
"type": "number",
"title":"edt_eff_rotationtime_title",
"title":"edt_eff_rotationtime",
"default": 12.0,
"minimum" : 0.1,
"append" : "edt_append_s",
@ -28,7 +28,7 @@
},
"percentage": {
"type": "integer",
"title":"edt_eff_length_title",
"title":"edt_eff_length",
"default": 10,
"append" : "edt_append_percent",
"propertyOrder" : 3

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "sparks.py",
"title":"edt_eff_sparks_header_title",
"title":"edt_eff_sparks_header",
"required":true,
"properties":{
"color": {
"type": "array",
"title":"edt_eff_color_title",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
@ -20,7 +20,7 @@
},
"rotation-time": {
"type": "number",
"title":"edt_eff_rotationtime_title",
"title":"edt_eff_rotationtime",
"default": 2.0,
"minimum" : 0.1,
"append" : "edt_append_s",
@ -28,14 +28,14 @@
},
"sleep-time": {
"type": "number",
"title":"edt_eff_sleeptime_title",
"title":"edt_eff_sleeptime",
"default": 0.05,
"minimum" : 0.01,
"propertyOrder" : 3
},
"brightness": {
"type": "number",
"title":"edt_eff_brightness_title",
"title":"edt_eff_brightness",
"default": 100,
"minimum" : 1,
"step" : 10,
@ -44,7 +44,7 @@
},
"saturation": {
"type": "number",
"title":"edt_eff_saturation_title",
"title":"edt_eff_saturation",
"default": 100,
"minimum" : 1,
"step" : 10,
@ -53,13 +53,13 @@
},
"reverse": {
"type": "boolean",
"title":"edt_eff_reversedirection_title",
"title":"edt_eff_reversedirection",
"default": false,
"propertyOrder" : 6
},
"random-color": {
"type": "boolean",
"title":"edt_eff_colorrandom_title",
"title":"edt_eff_colorrandom",
"default": false,
"propertyOrder" : 7
}

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "swirl.py",
"title":"edt_eff_swirl_header_title",
"title":"edt_eff_swirl_header",
"required":true,
"properties":{
"rotation-time": {
"type": "number",
"title":"edt_eff_rotationtime_title",
"title":"edt_eff_rotationtime",
"default": 10.0,
"minimum" : 0.1,
"append" : "edt_append_s",
@ -14,7 +14,7 @@
},
"center_x": {
"type": "number",
"title":"edt_eff_centerx_title",
"title":"edt_eff_centerx",
"default": 0.5,
"minimum" : 0.0,
"maximum" : 2.0,
@ -23,7 +23,7 @@
},
"center_y": {
"type": "number",
"title":"edt_eff_centery_title",
"title":"edt_eff_centery",
"default": 0.5,
"minimum" : 0.0,
"maximum" : 2.0,
@ -32,22 +32,22 @@
},
"reverse": {
"type": "boolean",
"title":"edt_eff_reversedirection_title",
"title":"edt_eff_reversedirection",
"default": false,
"propertyOrder" : 4
},
"random-center": {
"type": "boolean",
"title":"edt_eff_randomCenter_title",
"title":"edt_eff_randomCenter",
"default": false,
"propertyOrder" : 5
},
"custom-colors": {
"type": "array",
"title":"edt_eff_customColor_title",
"title":"edt_eff_customColor",
"items" : {
"type": "array",
"title" : "edt_eff_color_title",
"title" : "edt_eff_color",
"format":"colorpicker",
"default" : [255,0,0],
"items":{

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "traces.py",
"title":"edt_eff_traces_header_title",
"title":"edt_eff_traces_header",
"required":true,
"properties":{
"speed": {
"type": "number",
"title":"edt_eff_speed_title",
"title":"edt_eff_speed",
"default": 1.0,
"minimum" : 0.1,
"propertyOrder" : 1

View File

@ -1,40 +1,40 @@
{
"type":"object",
"script" : "trails.py",
"title":"edt_eff_trails_header_title",
"title":"edt_eff_trails_header",
"required":true,
"properties":{
"min_len": {
"type": "integer",
"title":"edt_eff_min_len_title",
"title":"edt_eff_min_len",
"default": 2,
"minimum" : 1,
"propertyOrder" : 1
},
"max_len": {
"type": "integer",
"title":"edt_eff_max_len_title",
"title":"edt_eff_max_len",
"default": 7,
"minimum" : 1,
"propertyOrder" : 2
},
"height": {
"type": "integer",
"title":"edt_eff_height_title",
"title":"edt_eff_height",
"default": 8,
"minimum" : 1,
"propertyOrder" : 3
},
"trails": {
"type": "integer",
"title":"edt_eff_count_title",
"title":"edt_eff_count",
"default": 3,
"minimum" : 1,
"propertyOrder" : 4
},
"speed": {
"type": "integer",
"title":"edt_eff_speed_title",
"title":"edt_eff_speed",
"default": 100,
"minimum" : 10,
"append" : "edt_append_ms",
@ -42,13 +42,13 @@
},
"random": {
"type": "boolean",
"title":"edt_eff_colorrandom_title",
"title":"edt_eff_colorrandom",
"default": false,
"propertyOrder" : 6
},
"color": {
"type": "array",
"title":"edt_eff_color_title",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,0,0],
"items" : {

View File

@ -1,12 +1,12 @@
{
"type":"object",
"script" : "x-mas.py",
"title":"edt_eff_x-mas_header_title",
"title":"edt_eff_x-mas_header",
"required":true,
"properties":{
"sleepTime": {
"type": "integer",
"title":"edt_eff_sleeptime_title",
"title":"edt_eff_sleeptime",
"default": 1000,
"minimum" : 100,
"append" : "edt_append_ms",
@ -14,14 +14,14 @@
},
"length": {
"type": "integer",
"title":"edt_eff_length_title",
"title":"edt_eff_length",
"default": 1,
"minimum" : 1,
"propertyOrder" : 2
},
"color1": {
"type": "array",
"title":"edt_eff_color_title",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,255,255],
"items" : {
@ -35,7 +35,7 @@
},
"color2": {
"type": "array",
"title":"edt_eff_color_title",
"title":"edt_eff_color",
"format":"colorpicker",
"default": [255,0,0],
"items" : {