hyperion.ng/libsrc/leddevice/schemas/schema-ws281x.json

41 lines
793 B
JSON
Raw Normal View History

{
"type":"object",
"required":true,
"properties":{
"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
}
},
"additionalProperties": true
}