-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzones.json
107 lines (106 loc) · 1.93 KB
/
zones.json
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
[{
"zoneID": "6cc7fae5-cca0-a520-ab5b-c1287cc090b1",
"zoneName": "babys",
"things": {
"lightA": "635c943a-6b8a-7b22-32e1-1a397411c2c6",
"lightB": "1157249c-3713-f1e7-7a66-b666d3307061",
"fogger": "229fb8cd-dba7-9dd3-3f8f-544609b3fbdb",
"tempHum": "715b8504-9ead-6c3c-3fce-313662441d64"
},
"schedules": {
"light": {
"referingTo": ["lightA", "lightB"],
"on": {
"schedules": [{
"h": [12]
}],
"duration": "PT18H"
},
"off": {
"schedules": [{
"h": [6]
}],
"duration": "PT6H"
}
},
"fogger": {
"referingTo": ["fogger"],
"on": {
"schedules": [{
"m": [0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55]
}]
},
"off": {
"schedules": [{
"m": [3, 8, 13, 18, 23, 28, 33, 38, 43, 48, 53, 58],
"s": [30]
}]
}
},
"temp": {
"referingTo": ["tempHum"],
"read": {
"schedules": [{
"s": [5, 15, 25, 35, 45, 55]
}]
}
}
},
"monitors": {
"humidity": {
"expression": "celcius > 32"
},
"temperature": {
}
}
},
{
"zoneName": "mommys",
"zoneID": "64eea9d2-b669-bf1b-aa82-2a914aaba78a",
"things": {
"lightA": "dee8d3ff-995e-f968-514c-9caff255bea3",
"mainPump": "f1c522b1-dd66-e2d8-2e84-5e920f40bce4",
"circulationPump": "73807a3a-179e-b1bf-2f22-4c8eb80d98b2",
"tempHum": "0055b333-0171-0588-12c8-2decea4ae35a"
},
"schedules": {
"light": {
"referingTo": ["lightA"],
"on": {
"schedules": [{
"h": [12]
}]
},
"off": {
"schedules": [{
"h": [6]
}]
}
},
"pump": {
"referingTo": ["mainPump"],
"on": {
"schedules": [{
"m": [0]
}]
},
"off": {
"schedules": [{
"m": [5]
}]
}
},
"temp": {
"referingTo": ["tempHum"],
"read": {
"schedules": [{
"s": [0, 10, 20, 30, 40, 50]
}]
}
}
},
"monitors": {
"testKey": "zone2monitor"
}
}
]