mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
240b118ce9
Added constructor to Hyperion using filename. Added config-filename as commandline parameter for hyperiond. Added implementation of blackborder detector. Added test for blackborder detector.
143 lines
2.5 KiB
JSON
143 lines
2.5 KiB
JSON
{
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"device": {
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"name": {
|
|
"type":"string",
|
|
"required":true
|
|
},
|
|
"type": {
|
|
"type":"string",
|
|
"required":true
|
|
},
|
|
"output": {
|
|
"type":"string",
|
|
"required":true
|
|
},
|
|
"interval": {
|
|
"type":"integer",
|
|
"required":true
|
|
},
|
|
"rate": {
|
|
"type":"integer",
|
|
"required":true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"color": {
|
|
"type":"object",
|
|
"required":true,
|
|
"properties": {
|
|
"red": {
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"gamma": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"adjust": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"blacklevel": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"whitelevel": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"threshold": {
|
|
"type":"number",
|
|
"required":true
|
|
}
|
|
}
|
|
},
|
|
"green": {
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"gamma": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"adjust": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"blacklevel": {
|
|
"type":"number",
|
|
"required":true
|
|
}
|
|
}
|
|
},
|
|
"blue": {
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"gamma": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"adjust": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"blacklevel": {
|
|
"type":"number",
|
|
"required":true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"leds": {
|
|
"type":"array",
|
|
"required":true,
|
|
"items": {
|
|
"type":"object",
|
|
"properties": {
|
|
"index": {
|
|
"type":"integer",
|
|
"required":true
|
|
},
|
|
"hscan": {
|
|
"type":"object",
|
|
"required":true,
|
|
"properties": {
|
|
"minimum": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"maximum": {
|
|
"type":"number",
|
|
"required":true
|
|
}
|
|
}
|
|
},
|
|
"vscan": {
|
|
"type":"object",
|
|
"required":true,
|
|
"properties": {
|
|
"minimum": {
|
|
"type":"number",
|
|
"required":true
|
|
},
|
|
"maximum": {
|
|
"type":"number",
|
|
"required":true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|