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
This commit is contained in:
redPanther
2017-04-09 22:28:32 +02:00
committed by GitHub
parent d11dcf3640
commit b65d811640
62 changed files with 564 additions and 202 deletions

View File

@@ -7,8 +7,9 @@
"speed": {
"type": "number",
"title":"edt_eff_speed_title",
"default": 1.0,
"minimum" : 0.0,
"default": 1000,
"minimum" : 10,
"append" : "edt_append_ms",
"propertyOrder" : 1
},
"saturation": {

View File

@@ -33,10 +33,11 @@
"propertyOrder" : 4
},
"speed": {
"type": "number",
"type": "integer",
"title":"edt_eff_speed_title",
"default": 1.0,
"minimum" : 0.1,
"default": 100,
"minimum" : 10,
"append" : "edt_append_ms",
"propertyOrder" : 5
},
"random": {

View File

@@ -5,11 +5,47 @@
"required":true,
"properties":{
"sleepTime": {
"type": "number",
"type": "integer",
"title":"edt_eff_sleeptime_title",
"default": 1.0,
"minimum" : 0.1,
"default": 1000,
"minimum" : 100,
"append" : "edt_append_ms",
"propertyOrder" : 1
},
"length": {
"type": "integer",
"title":"edt_eff_length_title",
"default": 1,
"minimum" : 1,
"propertyOrder" : 2
},
"color1": {
"type": "array",
"title":"edt_eff_color_title",
"format":"colorpicker",
"default": [255,255,255],
"items" : {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"minItems": 3,
"maxItems": 3,
"propertyOrder" : 3
},
"color2": {
"type": "array",
"title":"edt_eff_color_title",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"minItems": 3,
"maxItems": 3,
"propertyOrder" : 4
}
},
"additionalProperties": false