ledConfig in config, report creation and upload (#398)

* update effects

* fix

* try

* .

* Update clock.py

* Update clock.py

* upd

* impl ledConfig

* upd

* fix

* update

* update js

* fix pacman

* change order of priorities
This commit is contained in:
brindosch
2017-02-15 15:53:35 +01:00
committed by redPanther
parent 37b8a909b6
commit 7c336b0511
17 changed files with 887 additions and 260 deletions

View File

@@ -643,7 +643,8 @@
"type" : "string",
"title" : "edt_conf_fg_type_title",
"enum" : ["auto","dispmanx","amlogic","x11","framebuffer"],
"default" : "auto"
"default" : "auto",
"propertyOrder" : 2
},
"width" :
{
@@ -651,7 +652,8 @@
"title" : "edt_conf_v4l2_width_title",
"minimum" : 10,
"default" : 80,
"append" : "edt_append_pixel"
"append" : "edt_append_pixel",
"propertyOrder" : 3
},
"height" :
{
@@ -659,7 +661,8 @@
"title" : "edt_conf_v4l2_height_title",
"minimum" : 10,
"default" : 45,
"append" : "edt_append_pixel"
"append" : "edt_append_pixel",
"propertyOrder" : 3
},
"frequency_Hz" :
{
@@ -667,7 +670,8 @@
"title" : "edt_conf_fg_frequency_Hz_title",
"minimum" : 1,
"default" : 10,
"append" : "edt_append_hz"
"append" : "edt_append_hz",
"propertyOrder" : 4
},
"priority" :
{
@@ -675,7 +679,8 @@
"title" : "edt_conf_general_priority_title",
"minimum" : 100,
"maximum" : 253,
"default" : 250
"default" : 250,
"propertyOrder" : 5
},
"cropLeft" :
{
@@ -683,7 +688,8 @@
"title" : "edt_conf_v4l2_cropLeft_title",
"minimum" : 0,
"default" : 0,
"append" : "edt_append_pixel"
"append" : "edt_append_pixel",
"propertyOrder" : 6
},
"cropRight" :
{
@@ -691,7 +697,8 @@
"title" : "edt_conf_v4l2_cropRight_title",
"minimum" : 0,
"default" : 0,
"append" : "edt_append_pixel"
"append" : "edt_append_pixel",
"propertyOrder" : 7
},
"cropTop" :
{
@@ -699,7 +706,8 @@
"title" : "edt_conf_v4l2_cropTop_title",
"minimum" : 0,
"default" : 0,
"append" : "edt_append_pixel"
"append" : "edt_append_pixel",
"propertyOrder" : 8
},
"cropBottom" :
{
@@ -707,39 +715,45 @@
"title" : "edt_conf_v4l2_cropBottom_title",
"minimum" : 0,
"default" : 0,
"append" : "edt_append_pixel"
"append" : "edt_append_pixel",
"propertyOrder" : 9
},
"useXGetImage" :
{
"type" : "boolean",
"title" : "edt_conf_fg_useXGetImage_title",
"default" : false
"default" : false,
"propertyOrder" : 10
},
"horizontalPixelDecimation" :
{
"type" : "integer",
"title" : "edt_conf_fg_horizontalPixelDecimation_title",
"minimum" : 0,
"default" : 8
"default" : 8,
"propertyOrder" : 11
},
"verticalPixelDecimation" :
{
"type" : "integer",
"title" : "edt_conf_fg_verticalPixelDecimation_title",
"minimum" : 0,
"default" : 8
"default" : 8,
"propertyOrder" : 12
},
"device" :
{
"type" : "string",
"title" : "edt_conf_fg_device_title",
"default" : "/dev/fb0"
"default" : "/dev/fb0",
"propertyOrder" : 13
},
"display" :
{
"type" : "integer",
"title" : "edt_conf_fg_display_title",
"minimum" : 0
"minimum" : 0,
"propertyOrder" : 14
}
},
"additionalProperties" : false
@@ -1235,6 +1249,87 @@
},
"additionalProperties" : false
},
"ledConfig":
{
"type" : "object",
"properties" :
{
"top" :
{
"type" : "integer",
"minimum" : 0,
"default" : 8
},
"bottom" :
{
"type" : "integer",
"minimum" : 0,
"default" : 8
},
"left" :
{
"type" : "integer",
"minimum" : 0,
"default" : 5
},
"right" :
{
"type" : "integer",
"minimum" : 0,
"default" : 5
},
"glength" :
{
"type" : "integer",
"minimum" : 0,
"default" : 0
},
"gpos" :
{
"type" : "integer",
"minimum" : 0,
"default" : 0
},
"position" :
{
"type" : "integer",
"default" : 0
},
"reverse" :
{
"type" : "boolean",
"default" : false
},
"hdepth" :
{
"type" : "integer",
"minimum" : 1,
"maximum" : 100,
"default" : 8
},
"vdepth" :
{
"type" : "integer",
"minimum" : 1,
"maximum" : 100,
"default" : 5
},
"overlap" :
{
"type" : "integer",
"minimum" : 0,
"default" : 0
},
"edgegap" :
{
"type" : "integer",
"minimum" : 0,
"maximum" : 50,
"default" : 0
}
},
"additionalProperties" : false
},
"leds":
{
"type":"array",