2016-08-23 20:07:12 +02:00
|
|
|
{
|
|
|
|
"type":"object",
|
|
|
|
"required":true,
|
|
|
|
"properties":{
|
2016-12-01 16:16:59 +01:00
|
|
|
"leds": {
|
|
|
|
"type": "integer",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_maximumLedCount_title",
|
2016-12-01 16:16:59 +01:00
|
|
|
"default": 256,
|
|
|
|
"propertyOrder" : 1
|
|
|
|
},
|
|
|
|
"gpio": {
|
|
|
|
"type": "integer",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_gpioNumber_title",
|
2016-12-01 16:16:59 +01:00
|
|
|
"default": 18,
|
|
|
|
"propertyOrder" : 2
|
|
|
|
},
|
2017-05-23 18:14:27 +02:00
|
|
|
"dma": {
|
|
|
|
"type": "integer",
|
|
|
|
"title":"edt_dev_spec_dmaNumber_title",
|
|
|
|
"default": 5,
|
|
|
|
"propertyOrder" : 3
|
|
|
|
},
|
2019-09-16 13:55:47 +02:00
|
|
|
"pwmchannel": {
|
|
|
|
"type": "integer",
|
|
|
|
"title":"edt_dev_spec_pwmChannel_title",
|
|
|
|
"default": 0,
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 1,
|
|
|
|
"propertyOrder" : 4
|
|
|
|
},
|
2016-12-01 16:16:59 +01:00
|
|
|
"invert": {
|
|
|
|
"type": "boolean",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_invert_title",
|
2016-12-01 16:16:59 +01:00
|
|
|
"default": false,
|
2019-09-16 13:55:47 +02:00
|
|
|
"propertyOrder" : 5
|
2016-12-01 16:16:59 +01:00
|
|
|
},
|
|
|
|
"rgbw": {
|
|
|
|
"type": "boolean",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_useRgbwProtocol_title",
|
2016-12-01 16:16:59 +01:00
|
|
|
"default": false,
|
2019-09-16 13:55:47 +02:00
|
|
|
"propertyOrder" : 6
|
2016-12-01 16:16:59 +01:00
|
|
|
},
|
|
|
|
"whiteAlgorithm": {
|
|
|
|
"type": "string",
|
2016-12-04 19:32:23 +01:00
|
|
|
"title":"edt_dev_spec_whiteLedAlgor_title",
|
2018-12-31 06:11:08 +01:00
|
|
|
"enum" : ["subtract_minimum","sub_min_cool_adjust","sub_min_warm_adjust","white_off"],
|
2016-12-01 16:16:59 +01:00
|
|
|
"default": "subtract_minimum",
|
2017-01-17 21:53:35 +01:00
|
|
|
"options" : {
|
2018-12-31 06:11:08 +01:00
|
|
|
"enum_titles" : ["edt_dev_enum_subtract_minimum", "edt_dev_enum_sub_min_cool_adjust","edt_dev_enum_sub_min_warm_adjust", "edt_dev_enum_white_off"]
|
2017-01-17 21:53:35 +01:00
|
|
|
},
|
2019-09-16 13:55:47 +02:00
|
|
|
"propertyOrder" : 7
|
2017-04-09 22:28:32 +02:00
|
|
|
},
|
|
|
|
"latchTime": {
|
|
|
|
"type": "integer",
|
|
|
|
"title":"edt_dev_spec_latchtime_title",
|
|
|
|
"default": 1,
|
|
|
|
"append" : "edt_append_ms",
|
|
|
|
"minimum": 1,
|
|
|
|
"maximum": 1000,
|
|
|
|
"access" : "expert",
|
2019-09-16 13:55:47 +02:00
|
|
|
"propertyOrder" : 8
|
2016-12-01 16:16:59 +01:00
|
|
|
}
|
2016-08-23 20:07:12 +02:00
|
|
|
},
|
|
|
|
"additionalProperties": true
|
|
|
|
}
|