-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.json
More file actions
127 lines (127 loc) · 2.71 KB
/
app.json
File metadata and controls
127 lines (127 loc) · 2.71 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"_comment": "This file is generated. Please edit .homeycompose/app.json instead.",
"id": "com.smartsocket",
"version": "1.2.4",
"compatibility": ">=5.0.0",
"sdk": 3,
"name": {
"en": "Home Control Outlet"
},
"description": {
"en": "Adds support for HCO"
},
"category": [
"energy"
],
"permissions": [],
"images": {
"large": "/assets/images/large.jpg",
"small": "/assets/images/small.jpg"
},
"author": {
"name": "Tor Niklas Strøm",
"email": "torniklas@outlook.com"
},
"flow": {
"conditions": [
{
"id": "temp_above",
"title": {
"en": "Temperature is above value."
},
"titleFormatted": {
"en": "Temperature is !{{above|not above}} [[value]]°C."
},
"args": [
{
"type": "device",
"name": "device",
"filter": "driver_id=socket_driver"
},
{
"name": "value",
"type": "number"
}
]
}
]
},
"drivers": [
{
"id": "socket_driver",
"name": {
"en": "Home Control Outlet"
},
"class": "socket",
"capabilities": [
"onoff",
"measure_temperature"
],
"zigbee": {
"manufacturerName": "",
"productId": [
"HCOHCD"
],
"endpoints": {
"1": {
"clusters": [
0,
3,
6,
1026
],
"bindings": [
3
]
},
"2": {
"clusters": [
0,
3,
6,
1026
],
"bindings": [
3
]
}
},
"devices": {
"secondOutlet": {
"class": "socket",
"capabilities": [
"onoff"
],
"name": {
"en": "Outlet #2"
},
"settings": []
}
},
"learnmode": {
"instruction": {
"en": "If you're installing a new device, skip to step 2). \n\n1) Press the button for 10 seconds until the lights start flashing.\n2) Wait three seconds. \n3) Tap the button once."
}
}
},
"images": {
"large": "/drivers/socket_driver/assets/images/large.jpg",
"small": "/drivers/socket_driver/assets/images/small.jpg"
},
"settings": [
{
"id": "pollInterval",
"type": "number",
"label": {
"en": "Poll interval"
},
"value": 60,
"min": 1,
"units": {
"en": "seconds"
}
}
]
}
]
}