-
Notifications
You must be signed in to change notification settings - Fork 0
/
control.json
55 lines (54 loc) · 1.24 KB
/
control.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
{
"events": [
{
"type": "hours",
"begin": 9,
"end": 17,
"set": "itsDaytime",
"value": true
},
{
"type": "hours",
"begin": 15,
"end": 22,
"set": "itsEvening",
"value": true
},
{
"type": "atMinutes",
"minutes": [0, 15, 30, 45],
"duration": "10",
"set": "restart",
"value": false
},
{
"type": "atMinutes",
"minutes": [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58],
"set": "power",
"duration": 10000,
"value": true
}
],
"actions": [
{
"type": "controlSwitch",
"control": "itsEvening",
"channel": 7,
"switchID": 1
},
{
"type": "controlSwitch",
"control": "itsDaytime",
"channel": 7,
"switchID": 15
},
{
"type": "controlSSR",
"control": "power"
},
{
"type": "HTTPheartbeat",
"route": "http://194.163.191.252:8080/hydroponic/nice"
}
]
}