hyperion.ng/libsrc/leddevice/schemas/schema-dmx.json
LordGrey 9df21b9ddd
Adalight - HyperSerial Support (#1515)
* HyperSerial support

* Migrate Adalight records to new structure

* Serial Devices - Select baud rate and allow providing a custom one
2022-09-30 17:02:40 +02:00

70 lines
1.6 KiB
JSON

{
"type":"object",
"required":true,
"properties":{
"dmxtype": {
"type": "string",
"title":"edt_dev_spec_ledType_title",
"enum" : ["raw", "McCrypt"],
"default" : "raw",
"options" : {
"enum_titles" : ["Raw", "McCrypt"]
},
"minimum" : 0,
"maximum" : 1,
"propertyOrder" : 1
},
"output": {
"type": "string",
"title":"edt_dev_spec_outputPath_title",
"default":"ttyUSB0",
"propertyOrder" : 2
},
"rateList": {
"type": "string",
"title":"edt_dev_spec_baudrate_title",
"enum": [ "CUSTOM","9600","14400","19200","28800","33600","38400","56000","57600","76800","115200","128000","153600","230400","250000","256000","307200","460800","921600","1000000","1500000","2000000","3000000","4000000" ],
"options": {
"enum_titles": [ "edt_conf_enum_custom" ]
},
"default": "250000",
"access": "advanced",
"propertyOrder" : 3
},
"rate": {
"type": "integer",
"title":"",
"default": 250000,
"access": "advanced",
"propertyOrder" : 4
},
"delayAfterConnect": {
"type": "integer",
"title":"edt_dev_spec_delayAfterConnect_title",
"default": 250,
"access" : "expert",
"propertyOrder" : 5
},
"latchTime": {
"type": "integer",
"title":"edt_dev_spec_latchtime_title",
"default": 10,
"append" : "edt_append_ms",
"minimum": 0,
"maximum": 1000,
"access" : "expert",
"propertyOrder" : 6
},
"rewriteTime": {
"type": "integer",
"title":"edt_dev_general_rewriteTime_title",
"default": 1000,
"append" : "edt_append_ms",
"minimum": 0,
"access" : "expert",
"propertyOrder" : 7
}
},
"additionalProperties": true
}