mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
e1165e112f
* fix/refactor backlight stuff: - fix colors dont turn of when backlight 0 and black is set - add option to use not colored backlight - fix colored backlight not colored on very low color values - various code style tunings * apply needed change to wizard * backlight disabled on static color and efects * fix warnings * try fix udp compiler warnings
149 lines
2.6 KiB
JSON
149 lines
2.6 KiB
JSON
{
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"command": {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"enum" : ["adjustment"]
|
|
},
|
|
"tan" : {
|
|
"type" : "integer"
|
|
},
|
|
"adjustment": {
|
|
"type": "object",
|
|
"required": true,
|
|
"properties": {
|
|
"id" : {
|
|
"type" : "string",
|
|
"required" : false
|
|
},
|
|
"red": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"green": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"blue": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"yellow": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"magenta": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"cyan": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"black": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"white": {
|
|
"type": "array",
|
|
"required": false,
|
|
"items" : {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 255
|
|
},
|
|
"minItems": 3,
|
|
"maxItems": 3
|
|
},
|
|
"gammaRed": {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 100.0
|
|
},
|
|
"gammaGreen": {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 100.0
|
|
},
|
|
"gammaBlue": {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 100.0
|
|
},
|
|
"backlightThreshold" : {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 1.0
|
|
},
|
|
"backlightColored" : {
|
|
"type" : "boolean",
|
|
"required" : false
|
|
},
|
|
"brightness" : {
|
|
"type" : "number",
|
|
"required" : false,
|
|
"minimum" : 0.0,
|
|
"maximum" : 1.0
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|