Reading and using config files for lamps, colors and animation

This commit is contained in:
2017-12-02 08:03:56 +01:00
parent 54a6ee1cd1
commit 3f369f3d6b
8 changed files with 188 additions and 65 deletions

9
fs/lamps.cfg Normal file
View File

@@ -0,0 +1,9 @@
[
{"level": "EG", "room": "Wohnzimmer", "id": "eg-wozi", "onColor": "candle"},
{"level": "EG", "room": "Buero", "id": "eg-office", "onColor": "coldWhite"},
{"level": "EG", "room": "Bad", "id": "eg-bad", "onColor": "warmWhite"},
{"level": "EG", "room": "Kueche", "id": "eg-kueche", "onColor": "warmWhite"},
{"level": "EG", "room": "Flur", "id": "eg-flur", "onColor": "candle"},
{"level": "OG", "room": "Wohnzimmer", "id": "og-wozi", "onColor": "candle"},
{"level": "OG", "room": "Buero", "id": "og-office", "onColor": "coldWhite"}
]