aboutsummaryrefslogtreecommitdiffstats
path: root/src/lightingcontrol.cfg
blob: 945a44c27feb71ef2d96a42952e04ba298b67317 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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]
		  );
	}
);