mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
* update translation * add css * Update JsonClientConnection.cpp * add effectscreator * remove udp * fix title c/p issue for sparks [skip ci] * update schemas [skip ci] * typo [skpi ci]
63 lines
1.2 KiB
JSON
63 lines
1.2 KiB
JSON
{
|
|
"type":"object",
|
|
"script" : "sparks.py",
|
|
"title":"Sparks",
|
|
"required":true,
|
|
"properties":{
|
|
"color_one": {
|
|
"type": "array",
|
|
"title":"Color",
|
|
"default": [255,0,0],
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3,
|
|
"propertyOrder" : 1
|
|
},
|
|
"rotation-time": {
|
|
"type": "number",
|
|
"title":"Rotation time",
|
|
"default": 2.0,
|
|
"minimum" : 0.1,
|
|
"propertyOrder" : 2
|
|
},
|
|
"sleep-time": {
|
|
"type": "number",
|
|
"title":"Sleep time",
|
|
"default": 0.05,
|
|
"minimum" : 0.01,
|
|
"propertyOrder" : 3
|
|
},
|
|
"brightness": {
|
|
"type": "number",
|
|
"title":"Brightness",
|
|
"default": 1.0,
|
|
"minimum" : 0.01,
|
|
"propertyOrder" : 4
|
|
},
|
|
"saturation": {
|
|
"type": "number",
|
|
"title":"Saturation",
|
|
"default": 1.0,
|
|
"minimum" : 0.01,
|
|
"propertyOrder" : 5
|
|
},
|
|
"reverse": {
|
|
"type": "boolean",
|
|
"title":"Reverse direction",
|
|
"default": false,
|
|
"propertyOrder" : 6
|
|
},
|
|
"random-color": {
|
|
"type": "boolean",
|
|
"title":"Random color",
|
|
"default": false,
|
|
"propertyOrder" : 7
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|