Skip to content

Commit a191c25

Browse files
committed
updated English config for Screen
1 parent d0f3c99 commit a191c25

File tree

1 file changed

+84
-0
lines changed

1 file changed

+84
-0
lines changed
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
Green = 0x33DB00
2+
Green2 = 0x33B600
3+
Red = 0xFF0000
4+
Black = 0x000000
5+
White = 0xFFFFFF
6+
7+
Conf = {
8+
["Resolution"] = {80, 40},
9+
["Port"] = 4, -- The port on which the communication will happen, please use the same in all devices that you want to communicate with this Client
10+
["Timeout"] = 10,
11+
["Timeoutcodepad"] = 10,
12+
["yes"] = "Yes",
13+
["no"] = "No",
14+
["menu"] = {
15+
["lights"] = {
16+
["func"] = "lights",
17+
["name"] = "Lights",
18+
["miny"] = 2,
19+
["minx"] = 3,
20+
["maxy"] = 7,
21+
["maxx"] = 26,
22+
["color"] = Green
23+
},
24+
["doors"] = {
25+
["func"] = "doors",
26+
["name"] = "Doors",
27+
["miny"] = 2,
28+
["minx"] = 29,
29+
["maxy"] = 7,
30+
["maxx"] = 52,
31+
["color"] = Green
32+
},
33+
["alarm"] = {
34+
["func"] = "alarm",
35+
["name"] = "Alarm",
36+
["miny"] = 2,
37+
["minx"] = 55,
38+
["maxy"] = 7,
39+
["maxx"] = 78,
40+
["color"] = Green
41+
}
42+
},
43+
["lights"] = {
44+
-- Light Configuration
45+
-- {name, func, miny, minx, maxy, maxx, stateonsentence, stateoffsentence, color}
46+
[1] = {"Garage", "garage", 8, 4, 11, 17, "The light in the garage is turned on!", "The light in the garage is turned off!", Green},
47+
[2] = {"Kitchen", "kitchen", 8, 19, 11, 32, "The light in the kitchen is turned on!", "The light in the kitchen is turned off!", Green},
48+
[3] = {"Dining Room", "dining room", 8, 34, 11, 48, "The light in the dining room is turned on!", "The light in the dining room is turned off!", Green},
49+
[4] = {"Bath 1F", "bathroom down", 8, 50, 11, 63, "The light in the bath 1F is turned on!", "The light in the bath 1F is turned off!", Green},
50+
[5] = {"Office", "office", 8, 65, 11, 77, "The light in the office is turned on!", "The light in the office is turned off!", Green},
51+
[6] = {"Bath 2F", "bathroom up", 11, 22, 14, 39, "The light in the bath 2F is turned on!", "The light in the bath 2F is turned off!", Green},
52+
[7] = {"Wardrobe", "wardrobe", 11, 42, 14, 59, "The light in the wardrobe is turned on!", "The light in the wardrobe is turned off!", Green},
53+
[8] = {"Turn all off", "turn all off", 14, 29, 17, 52, nil, nil, Green},
54+
["turnoffsentence"] = "Do you want to turn it off?",
55+
["turnedoffsentence"] = "The light was turned off!",
56+
["turnonsentence"] = "Do you want to turn it on?",
57+
["turnedonsentence"] = "The light was turned on!"
58+
},
59+
["doors"] = {
60+
-- Door Configuration
61+
-- {name, door, miny, minx, maxy, maxx, stateopensentence, stateclosesentence, color}
62+
[1] = {"Front Door", "front door", 8, 15, 11, 38, "The front door is open!", "The front door is closed!", Green},
63+
[2] = {"Garage door", "garage door", 8, 43, 11, 66, "The garage door is open!", "The garage door is closed!", Green},
64+
[3] = {"Lock House", "lock house", 11, 29, 14, 52, "The House was locked and the alarm is activated", nil, Green},
65+
["opensentence"] = "Do you want to open the door?",
66+
["openedsentence"] = "The door was opened!",
67+
["closesentence"] = "Do you want to close the door?",
68+
["closedsentence"] = "The door was closed!"
69+
},
70+
["alarm"] = {
71+
-- Alarm Configuration
72+
["triggered"] = {
73+
["state"] = "An alarm was triggered!",
74+
-- {name, action, miny, minx, maxy, maxx, color, check}
75+
["reset"] = {"Reset Alarm", "reset alarm", 12, 17, 15, 39, Green, "The Alarm was reset!"},
76+
["disable"] = {"Disable Alarm", "disable alarm", 12, 41, 15, 63, Green, "The alarm was disabled!"}
77+
},
78+
["nottriggered"] = {
79+
["state"] = "No alarm was triggered!"
80+
}
81+
}
82+
}
83+
84+
return Conf

0 commit comments

Comments
 (0)