Implement ftdi led device

This commit is contained in:
LordGrey
2023-03-25 23:32:14 +00:00
parent 2f09f9a0b8
commit f0259172fd
18 changed files with 962 additions and 4 deletions

View File

@@ -0,0 +1,25 @@
{
"type": "object",
"required": true,
"properties": {
"output": {
"type": "string",
"title":"edt_dev_spec_outputPath_title",
"default":"auto"
},
"rate": {
"type": "integer",
"title": "edt_dev_spec_baudrate_title",
"default": 5000000
},
"brightnessControlMaxLevel": {
"type": "integer",
"title": "edt_conf_color_brightness_title",
"default": 31,
"minimum": 1,
"maximum": 31
}
},
"additionalProperties": true
}

View File

@@ -0,0 +1,60 @@
{
"type": "object",
"required": true,
"properties": {
"output": {
"type": "string",
"title": "edt_dev_spec_outputPath_title",
"default": "auto",
"required": true,
"propertyOrder": 1
},
"rate": {
"type": "integer",
"format": "stepper",
"step": 100000,
"title": "edt_dev_spec_baudrate_title",
"default": 3200000,
"propertyOrder": 2
},
"brightnessControlMaxLevel": {
"type": "integer",
"title": "edt_conf_color_brightness_title",
"default": 255,
"minimum": 1,
"maximum": 255,
"propertyOrder": 3
},
"whiteAlgorithm": {
"type": "string",
"title": "edt_dev_spec_whiteLedAlgor_title",
"enum": [
"subtract_minimum",
"sub_min_cool_adjust",
"sub_min_warm_adjust",
"hyperserial_cold_white",
"hyperserial_neutral_white",
"wled_auto",
"wled_auto_max",
"wled_auto_accurate",
"white_off"
],
"default": "white_off",
"options": {
"enum_titles": [
"edt_dev_enum_subtract_minimum",
"edt_dev_enum_sub_min_cool_adjust",
"edt_dev_enum_sub_min_warm_adjust",
"edt_dev_enum_hyperserial_cold_white",
"edt_dev_enum_hyperserial_neutral_white",
"edt_dev_enum_wled_auto",
"edt_dev_enum_wled_auto_max",
"edt_dev_enum_wled_auto_accurate",
"edt_dev_enum_white_off"
]
},
"propertyOrder": 5
}
},
"additionalProperties": true
}

View File

@@ -0,0 +1,19 @@
{
"type": "object",
"required": true,
"properties": {
"output": {
"type": "string",
"title": "edt_dev_spec_outputPath_title",
"default": "auto"
},
"rate": {
"type": "integer",
"title": "edt_dev_spec_baudrate_title",
"default": 3075000,
"minimum": 2106000,
"maximum": 3075000
}
},
"additionalProperties": true
}