hyperion.ng/libsrc/leddevice/schemas/schema-piblaster.json
redPanther b65d811640 add limit for write to leddevice (#432)
* add limit for write to leddevice

* add to default config

* add i18n

* extend xmas effect

* fix indention

* add check for minimum brightness

* adapt effects to fading and new minWriteTime

* remove old latchTime
rename minimumWriteTime to latchTime
make it as dev specific option

* set default for rewriteTime to 1s
pause smoothing on color too

* reenable smoothing for color - it looks nicer :-)

* fix timeout timer
2017-04-09 22:28:32 +02:00

64 lines
1.2 KiB
JSON

{
"type":"object",
"required":true,
"properties":{
"output": {
"type": "string",
"title":"edt_dev_spec_PBFiFo_title",
"default" : "/dev/pi-blaster",
"propertyOrder" : 1
},
"latchTime": {
"type": "integer",
"title":"edt_dev_spec_latchtime_title",
"default": 5,
"append" : "edt_append_ms",
"minimum": 1,
"maximum": 1000,
"access" : "expert",
"propertyOrder" : 2
},
"gpiomap": {
"type": "array",
"title":"edt_dev_spec_gpioMap_title",
"propertyOrder" : 2,
"minimum" : 1,
"maximum" : 27,
"items" : {
"type" : "object",
"required" : true,
"properties" :
{
"gpio" :
{
"type" : "integer",
"title" : "edt_dev_spec_gpioBcm_title",
"minimum" : 0,
"maximum" : 27,
"required" : true,
"propertyOrder" : 1
},
"ledindex" :
{
"type" : "integer",
"title" : "edt_dev_spec_ledIndex_title",
"minimum" : 0,
"required" : true,
"propertyOrder" : 2
},
"ledcolor" :
{
"type" : "string",
"title" : "edt_dev_spec_colorComponent_title",
"enum" : ["r","g","b","w"],
"required" : true,
"propertyOrder" : 3
}
}
},
"propertyOrder" : 3
}
},
"additionalProperties": true
}