-
Notifications
You must be signed in to change notification settings - Fork 54
/
app.json
executable file
·170 lines (170 loc) · 4.37 KB
/
app.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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"id": "com.xiaomi-mi",
"name": {
"en": "Xiaomi-mi zigbee"
},
"description": {
"en": "Xiaomi-mi zigbee",
"nl": "Xiaomi-mi zigbee"
},
"category": [
"lights"
],
"version": "0.0.1",
"compatibility": ">=1.4.0",
"author": {
"name": "Ted Tolboom",
"email": "[email protected]"
},
"images": {
"large": "/assets/images/large.png",
"small": "/assets/images/small.png"
},
"flow": {
"actions": [
{
"id": "XIAOMI_config",
"title": {
"en": "Retrieve information"
},
"args": [
{
"name": "device",
"type": "device",
"filter": "driver_id=temperature_humidity_sensor"
}
]
}
]
},
"drivers": [
{
"id": "door_window_sensor",
"name": {
"en": "Smart Home Door/Window sensor (Zigbee)",
"nl": "Smart Home Door/Window sensor (Zigbee)"
},
"class": "sensor",
"capabilities": [
"alarm_contact",
"measure_battery",
"alarm_battery"
],
"zigbee": {
"manufacturerName": "LUMI",
"productId": [
"Xiaomi Door Sensor"
],
"deviceId": 260,
"profileId": 260,
"learnmode": {
"image": "/drivers/door_window_sensor/assets/learn_door.svg",
"instruction": {
"en": "Long press the reset button to open more than 3 seconds until the blue light flashes three times after release"
}
}
},
"images": {
"large": "/drivers/door_window_sensor/assets/images/large.png",
"small": "/drivers/door_window_sensor/assets/images/small.png"
},
"settings": [
]
},
{
"id": "motion_sensor",
"name": {
"en": "Smart Home Motion sensor",
"nl": "Smart Home Motion sensor"
},
"class": "sensor",
"capabilities": [
"alarm_motion",
"alarm_battery",
"measure_battery"
],
"zigbee": {
"manufacturerName": "LUMI",
"productId": "Xiaomi Motion",
"deviceId": 260,
"profileId": 260,
"learnmode": {
"image": "/drivers/motion_sensor/assets/learn_motion.svg",
"instruction": {
"en": "Long press the reset button to open more than 3 seconds until the blue light flashes three times after release",
"nl": "Long press the reset button to open more than 3 seconds until the blue light flashes three times after release"
}
}
},
"images": {
"large": "/drivers/motion_sensor/assets/images/large.png",
"small": "/drivers/motion_sensor/assets/images/small.png"
},
"settings": [
]
},
{
"id": "temperature_humidity_sensor",
"name": {
"en": "Smart Home Temperature Humidity sensor",
"nl": "Smart Home Temperature Humidity sensor"
},
"class": "sensor",
"capabilities": [
"measure_temperature",
"measure_humidity",
"measure_battery",
"alarm_battery"
],
"zigbee": {
"manufacturerName": "LUMI",
"productId": ["Xiaomi Temperature Humidity sensor"],
"deviceId": [770, 24321],
"profileId": 260,
"learnmode": {
"image": "/drivers/temperature_humidity_sensor/assets/learn_temp.svg",
"instruction": {
"en": "Long press the button on top of the sensor to open more than 5 seconds until the blue light flashes three times after release",
"nl": "Long press the button on top of the sensor to open more than 5 seconds until the blue light flashes three times after release"
}
}
},
"images": {
"large": "/drivers/temperature_humidity_sensor/assets/images/large.png",
"small": "/drivers/temperature_humidity_sensor/assets/images/small.png"
},
"settings": [
]
},
{
"id": "wireless_switch",
"name": {
"en": "Smart Home wireless switch",
"nl": "Smart Home wireless switch"
},
"class": "socket",
"capabilities": [
"onoff"
],
"zigbee": {
"manufacturerName": "LUMI",
"productId": ["Xiaomi Button"],
"deviceId": 260,
"profileId": 260,
"learnmode": {
"image": "/drivers/wireless_switch/assets/learn_button.svg",
"instruction": {
"en": "Long press the reset button to open more than 3 seconds until the blue light flashes three times after release",
"nl": "Long press the reset button to open more than 3 seconds until the blue light flashes three times after release"
}
}
},
"images": {
"large": "/drivers/wireless_switch/assets/images/large.png",
"small": "/drivers/wireless_switch/assets/images/small.png"
},
"settings": [
]
}
]
}