Added update RPC for colors, lamps and animations

This commit is contained in:
2017-12-03 09:22:54 +01:00
parent 94910cc5e8
commit 2479cc62fd
3 changed files with 67 additions and 29 deletions

View File

@@ -34,7 +34,8 @@ config_schema:
- ["led.pin", "i", 2, {title: "Pin for data to WS2812 based LED chain"}]
- ["led.useDefaults", "b", false, {title: "Use default values for colors, led-definitions, animations"}]
- ["led.count", "i", 32, {title: "Number of LEDs connected in the chain"}]
- ["led.updateCycle", "i", 500, {title: "Frequency of LED update in ms"}]
- ["led.updateCycle", "i", 100, {title: "Frequency of LED update in ms"}]
- ["led.tickDuration", "i", 100, {title: "Timebase: Duration of a tick in ms"}]
- ["led.brightness", "i", 20, {title: "Default brightness in % (1-100)"}]
- ["led.colorFile", "s", "colors.cfg", {title: "File name containing color definitions"}]
- ["led.lampsFile", "s", "lamps.cfg", {title: "File name containing lamp definitions"}]