2016-10-24 23:52:53 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"script" : "sparks.py",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_sparks_header",
|
2016-10-24 23:52:53 +02:00
|
|
|
"required":true,
|
|
|
|
"properties":{
|
2016-11-18 18:39:27 +01:00
|
|
|
"color": {
|
2016-10-24 23:52:53 +02:00
|
|
|
"type": "array",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_color",
|
2016-11-18 18:39:27 +01:00
|
|
|
"format":"colorpicker",
|
2016-10-30 17:54:38 +01:00
|
|
|
"default": [255,0,0],
|
2016-10-24 23:52:53 +02:00
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3,
|
|
|
|
"propertyOrder" : 1
|
|
|
|
},
|
|
|
|
"rotation-time": {
|
|
|
|
"type": "number",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_rotationtime",
|
2016-10-24 23:52:53 +02:00
|
|
|
"default": 2.0,
|
|
|
|
"minimum" : 0.1,
|
2016-12-04 19:32:23 +01:00
|
|
|
"append" : "edt_append_s",
|
2016-10-24 23:52:53 +02:00
|
|
|
"propertyOrder" : 2
|
|
|
|
},
|
|
|
|
"sleep-time": {
|
|
|
|
"type": "number",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_sleeptime",
|
2016-10-24 23:52:53 +02:00
|
|
|
"default": 0.05,
|
|
|
|
"minimum" : 0.01,
|
|
|
|
"propertyOrder" : 3
|
|
|
|
},
|
|
|
|
"brightness": {
|
|
|
|
"type": "number",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_brightness",
|
2017-01-04 10:55:10 +01:00
|
|
|
"default": 100,
|
|
|
|
"minimum" : 1,
|
|
|
|
"step" : 10,
|
|
|
|
"append" : "edt_append_percent",
|
2016-10-24 23:52:53 +02:00
|
|
|
"propertyOrder" : 4
|
|
|
|
},
|
|
|
|
"saturation": {
|
|
|
|
"type": "number",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_saturation",
|
2017-01-04 10:55:10 +01:00
|
|
|
"default": 100,
|
|
|
|
"minimum" : 1,
|
|
|
|
"step" : 10,
|
|
|
|
"append" : "edt_append_percent",
|
2016-10-24 23:52:53 +02:00
|
|
|
"propertyOrder" : 5
|
|
|
|
},
|
|
|
|
"reverse": {
|
|
|
|
"type": "boolean",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_reversedirection",
|
2016-10-24 23:52:53 +02:00
|
|
|
"default": false,
|
|
|
|
"propertyOrder" : 6
|
|
|
|
},
|
|
|
|
"random-color": {
|
|
|
|
"type": "boolean",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_colorrandom",
|
2016-10-24 23:52:53 +02:00
|
|
|
"default": false,
|
|
|
|
"propertyOrder" : 7
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|