mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
170ad4f5db
* - disable device when error indecates that the problem is not solvable on reconnect
- introduce a preOpenDelay of 2 seconds (currently value is hardcoded)
* rs232:
- make preOpenDelay available via webui
- fix preOpenDelay
- add basic usb serial detection
* - revert 3819ae7
- fix schema files
* make json checks compat with utf8+bom
* make shutdown effect a bit more flexible
69 lines
1.4 KiB
JSON
69 lines
1.4 KiB
JSON
{
|
|
"type":"object",
|
|
"script" : "candle.py",
|
|
"title":"edt_eff_candle_header_title",
|
|
"required":true,
|
|
"properties":{
|
|
"candles": {
|
|
"type": "string",
|
|
"title":"edt_eff_whichleds_title",
|
|
"enum" : ["all","all-together","list"],
|
|
"default" : "all",
|
|
"options" : {
|
|
"enum_titles" : ["edt_eff_enum_all", "edt_eff_enum_all-together", "edt_eff_enum_list"]
|
|
},
|
|
"propertyOrder" : 1
|
|
},
|
|
"ledlist": {
|
|
"type": "string",
|
|
"title":"edt_eff_ledlist_title",
|
|
"default" : "1,11,21",
|
|
"propertyOrder" : 2
|
|
},
|
|
"color": {
|
|
"type": "array",
|
|
"title":"edt_eff_color_title",
|
|
"format":"colorpicker",
|
|
"default": [255,138,0],
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3,
|
|
"propertyOrder" : 3
|
|
},
|
|
"colorShift": {
|
|
"type": "number",
|
|
"title":"edt_eff_colorshift_title",
|
|
"default": 1,
|
|
"minimum" : 0,
|
|
"maximum": 30,
|
|
"append" : "edt_append_percent",
|
|
"propertyOrder" : 4
|
|
},
|
|
"brightness": {
|
|
"type": "number",
|
|
"title":"edt_eff_brightness_title",
|
|
"default": 100,
|
|
"minimum" : 1,
|
|
"maximum": 100,
|
|
"step" : 10,
|
|
"append" : "edt_append_percent",
|
|
"propertyOrder" : 5
|
|
},
|
|
"sleepTime": {
|
|
"type": "number",
|
|
"title":"edt_eff_sleeptime_title",
|
|
"default": 0.15,
|
|
"minimum" : 0.01,
|
|
"maximum": 1,
|
|
"step": 0.01,
|
|
"append" : "edt_append_s",
|
|
"propertyOrder" : 6
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|