2016-08-23 20:07:12 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
2016-12-01 16:16:59 +01:00
|
|
|
"leds": {
|
|
|
|
"type": "integer",
|
|
|
|
"title":"maximum led count",
|
|
|
|
"default": 256,
|
|
|
|
"propertyOrder" : 1
|
|
|
|
},
|
|
|
|
"gpio": {
|
|
|
|
"type": "integer",
|
|
|
|
"title":"gpio number",
|
|
|
|
"default": 18,
|
|
|
|
"propertyOrder" : 2
|
|
|
|
},
|
|
|
|
"invert": {
|
|
|
|
"type": "boolean",
|
|
|
|
"format": "checkbox",
|
|
|
|
"title":"Invert signal",
|
|
|
|
"default": false,
|
|
|
|
"propertyOrder" : 3
|
|
|
|
},
|
|
|
|
"rgbw": {
|
|
|
|
"type": "boolean",
|
|
|
|
"format": "checkbox",
|
|
|
|
"title":"use rgbw protocol",
|
|
|
|
"default": false,
|
|
|
|
"propertyOrder" : 3
|
|
|
|
},
|
|
|
|
"whiteAlgorithm": {
|
|
|
|
"type": "string",
|
|
|
|
"title":"White LED algorithm",
|
|
|
|
"enum" : ["subtract_minimum","sub_min_warm_adjust","white_off"],
|
|
|
|
"default": "subtract_minimum",
|
|
|
|
"propertyOrder" : 4
|
|
|
|
}
|
2016-08-23 20:07:12 +02:00
|
|
|
},
|
|
|
|
"additionalProperties": true
|
|
|
|
}
|