aboutsummaryrefslogtreecommitdiffstats
path: root/src/lightingcontrol.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'src/lightingcontrol.cfg')
-rw-r--r--src/lightingcontrol.cfg44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/lightingcontrol.cfg b/src/lightingcontrol.cfg
new file mode 100644
index 0000000..945a44c
--- /dev/null
+++ b/src/lightingcontrol.cfg
@@ -0,0 +1,44 @@
+cfg_version = 0.99;
+
+serial =
+{
+ device = "/dev/ttyS0";
+ baud = 9600;
+ data_bits = 8;
+ parity = "N";
+ stop_bits = 1;
+};
+
+schedule =
+(
+ {
+ #Scene 1 – Daytime, mall open
+ sceneid = 1;
+ day = "monday"
+ time = "02:06";
+ message = (
+ [0x1c,0x01,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x02,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x03,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x04,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x05,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x00,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x03,0x0a,0x04,0x00,0x00,0xff]
+ );
+ },
+ {
+ #Scene 2 – Nighttime, mall open
+ sceneid = 1;
+ day = "WEDNESDAY"
+ time = "10:12";
+ message = (
+ [0x1c,0x01,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x02,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x03,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x04,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x05,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x00,0x20,0x03,0x00,0x00,0xff],
+ [0x1c,0x03,0x0a,0x04,0x00,0x00,0xff]
+ );
+ }
+);