forked from Inversion-NL/eu.benext
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
375 lines (372 loc) · 10.5 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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
{
"id": "eu.benext",
"name": {
"en": "BeNext"
},
"version": "0.2.0",
"compatibility": ">=0.9.0",
"description": {
"en": "BeNext devices for Homey",
"nl": "BeNext apparaten voor Homey"
},
"category": [ "security" ],
"images": {
"large": "/assets/images/large.png",
"small": "/assets/images/small.png"
},
"author": {
"name": "Robin van Kekem",
"email": "[email protected]"
},
"drivers": [
{
"id": "alarmsound",
"name": {
"en": "Alarm Sound",
"nl": "Alarm Sound"
},
"zwave": {
"manufacturerId": 138,
"productTypeId": 5,
"productId": 257,
"learnmode": {
"image": "/drivers/alarmsound/assets/learnmode.svg",
"instruction": {
"en": "Press and hold the button until the red licht starts blinking, and then release",
"nl": "Houd de knop ingedrukt tot het rode lichtje begint te knipperen en laat dan los"
}
},
"associationGroups": [ 1, 2 ]
},
"class": "other",
"capabilities": [ "onoff" ],
"images": {
"large": "/drivers/alarmsound/assets/images/large.png",
"small": "/drivers/alarmsound/assets/images/small.png"
},
"settings": [
{
"id": "destination_routine_enabled",
"type": "dropdown",
"label": {
"en": "Destination routine enabled"
},
"value": "255",
"hint": {
"en": "Enables an internal routine that periodically checks the Z-Wave device in association group 2 by sending a test message. If transmission fails, the AlarmSound will notify the user with a sound. (See also configuration param 3, 4 and 9)."
},
"values": [
{
"id": "0",
"label": {
"en": "routine is disabled"
}
},
{
"id": "255",
"label": {
"en": "routine is enabled"
}
}
]
},
{
"id": "sound_light_mode_index",
"type": "number",
"label": {
"en": "Select index sound/light mode"
},
"value": 1,
"attr": {
"min": 0,
"max": 6
},
"hint": {
"en": "The index of the sound mode when a switch binary/basic set frame is received."
}
},
{
"id": "power_offline_sound_light_mode",
"type": "number",
"label": {
"en": "Power offline sound/light mode"
},
"value": 1,
"attr": {
"min": 0,
"max": 6
},
"hint": {
"en": "The index of the sound mode the AlarmSound will start when it is unplugged. Use number zero (0) to disable, 1-6 to select sound/light mode number."
}
},
{
"id": "destination_route_failed_sound_light_mode",
"type": "number",
"label": {
"en": "Error (Destination Routine Failed) sound/light mode"
},
"value": 1,
"attr": {
"min": 0,
"max": 6
},
"hint": {
"en": "The index of the sound mode the AlarmSound will play when it is unable to reach the device in association group 2. Use number zero (0) to disable, 1-6 to select sound/light mode number."
}
}
]
},
{
"id": "p1-dongle",
"name": {
"en": "BeNext P1 Dongle",
"nl": "BeNext P1 Dongle"
},
"zwave": {
"manufacturerId": 138,
"productTypeId": 47,
"productId": 256,
"learnmode": {
"image": "/drivers/p1-dongle/assets/wakeup.svg",
"instruction": {
"en": "Press and hold the button on your BeNext P1 Dongle for three seconds",
"nl": "Druk en hou de knop op de BeNext P1 Dongle vast voor drie seconden"
}
},
"associationGroups": [ 1 ]
},
"class": "sensor",
"capabilities": [
"measure_power",
"meter_power.normal",
"meter_power.low",
"meter_gas"
],
"capabilitiesOptions": {
"meter_power.normal": {
"title":{
"en":"Power Meter Normal",
"nl":"Stroommeter normaal"
}
},
"meter_power.low": {
"title":{
"en":"Power Meter low",
"nl":"Stroommeter laag"
}
}
},
"images": {
"large": "/drivers/p1-dongle/assets/images/large.jpg",
"small": "/drivers/p1-dongle/assets/images/small.jpg"
},
"settings": [ {
"id": "HW_pullup",
"type": "number",
"label": {
"en": "HW pullup",
"nl": "HW pullup"
},
"hint": {
"en": "It is possible to provide a pullup to your smart meter.\nRange: 0 - 1",
"nl": "Het is mogelijk om een pullup aan te bieden aan uw slimme meter.\nBereik: 0 - 1"
},
"attr": {
"min": 0,
"max": 1
},
"value": 0
},
{
"id": "baud_rate",
"type": "dropdown",
"label": {
"en": "Default Baud rate",
"nl": "Standaard Baud rate"
},
"hint": {
"en": "Kamstrup and Iskra = BAUD rate 9600 Kaifa, Landis, Gyr = BAUD rate 115200",
"nl": "Kamstrup en Iskra = BAUD rate 9600 Kaifa, Landis, Gyr = BAUD rate 115200"
},
"value": "1152",
"values": [
{
"id": "1152",
"label": {
"en": "115200 (DSMR 4.0)"
}
},
{
"id": "96",
"label": {
"en": "9600 (DMSR 2.2)" }
}
]
},
{
"id": "channel_1_unasked_Report_use_w",
"type": "number",
"label": {
"en": "Channel 1 unasked Meter Report consumed W.",
"nl": "Channel 1 ongevraagd Meter Report verbruikt W."
},
"hint": {
"en": "The conditions to be automatically reported current consumption.\nChannel 1 = normal electricity rate",
"nl": "De voorwaarden dat huidig verbruik automatisch wordt gerapporteerd.\nChannel 1 = Normaal tarief"
},
"value": 100
},
{
"id": "channel_1_unasked_Report_use_kwh",
"type": "number",
"label": {
"en": "Channel 1 unasked Meter Report consumed kWh.",
"nl": "Channel 1 ongevraagd Meter Report verbruikt kWh."
},
"hint": {
"en": "The condition that total consumption is automatically reported.\nChannel 1 = normal electricity rate",
"nl": "De voorwaarden dat totaal verbruik automatisch wordt gerapporteerd.\nChannel 1 = Normaal tarief"
},
"value": 100
},
{
"id": "channel_1_unasked_Report_returned_w",
"type": "number",
"label": {
"en": "Channel 1 unasked Meter Report returned W.",
"nl": "Channel 1 ongevraagd Meter Report teruggeleverd W."
},
"hint": {
"en": "The conditions which currently returned reported automatically.\nChannel 1 = normal electricity rate",
"nl": "De voorwaarden dat huidig teruggeleverd automatisch wordt gerapporteerd.\nChannel 1 = Normaal tarief"
},
"value": 100
},
{
"id": "channel_1_unasked_Report_returned_kwh",
"type": "number",
"label": {
"en": "Channel 1 unasked Meter Report returned kWh.",
"nl": "Channel 1 ongevraagd Meter Report teruggeleverd kWh."
},
"hint": {
"en": "The conditions totally returned is reported automatically.\nChannel 1 = normal electricity rate",
"nl": "De voorwaarden dat totaal teruggeleverd automatisch wordt gerapporteerd.\nChannel 1 = Normaal tarief"
},
"value": 100
},
{
"id": "channel_2_unasked_Report_use_w",
"type": "number",
"label": {
"en": "Channel 2 unasked Meter Report consumed W.",
"nl": "Channel 2 ongevraagd Meter Report verbruikt W."
},
"hint": {
"en": "The conditions to be automatically reported current consumption.\nChannel 2 = low electricity rate",
"nl": "De voorwaarden dat huidig verbruik automatisch wordt gerapporteerd.\nChannel 2 = Laag tarief"
},
"value": 100
},
{
"id": "channel_2_unasked_Report_use_kwh",
"type": "number",
"label": {
"en": "Channel 2 unasked Meter Report consumed kWh.",
"nl": "Channel 2 ongevraagd Meter Report verbruikt kWh."
},
"hint": {
"en": "The condition that total consumption is automatically reported.\nChannel 2 = low electricity rate",
"nl": "De voorwaarden dat totaal verbruik automatisch wordt gerapporteerd.\nChannel 2 = Laag tarief"
},
"value": 100
},
{
"id": "channel_2_unasked_Report_returned_w",
"type": "number",
"label": {
"en": "Channel 2 unasked Meter Report returned W.",
"nl": "Channel 2 ongevraagd Meter Report teruggeleverd W."
},
"hint": {
"en": "The conditions which currently returned reported automatically.\nChannel 2 = low electricity rate",
"nl": "De voorwaarden dat huidig teruggeleverd automatisch wordt gerapporteerd"
},
"value": 100
},
{
"id": "channel_2_unasked_Report_returned_kwh",
"type": "number",
"label": {
"en": "Channel 2 unasked Meter Report returned kWh",
"nl": "Channel 2 ongevraagd Meter Report teruggeleverd kWh"
},
"hint": {
"en": "The conditions totally returned is reported automatically.\nChannel 2 = low electricity rate",
"nl": "De voorwaarden dat totaal teruggeleverd automatisch wordt gerapporteerd.\nChannel 2 = Laag tarief"
},
"value": 100
},
{
"id": "channel_3_unasked_Report_use_w",
"type": "number",
"label": {
"en": "Channel 3 unasked Meter Report consumed W.",
"nl": "Channel 3 ongevraagd Meter Report verbruikt W."
},
"hint": {
"en": "The conditions to be automatically reported current consumption.\nChannel 3 = Gas",
"nl": "De voorwaarden dat huidig verbruik automatisch wordt gerapporteerd.\nChannel 3 = Gas"
},
"value": 100
},
{
"id": "channel_3_unasked_Report_use_kwh",
"type": "number",
"label": {
"en": "Channel 3 unasked Meter Report consumed kWh.",
"nl": "Channel 3 ongevraagd Meter Report verbruikt kWh."
},
"hint": {
"en": "The condition that total consumption is automatically reported.\nChannel 3 = Gas",
"nl": "De voorwaarden dat totaal verbruik automatisch wordt gerapporteerd.\nChannel 3 = Gas"
},
"value": 100
}
]
}
],
"flow" : {
"actions": [
{
"id": "sound_alarm",
"title": {
"en": "Sound alarm",
"nl": "Alarm luiden"
},
"args": [
{
"name": "device",
"type": "device",
"filter": "driver_id=alarmsound"
}
]
},
{
"id": "silence_alarm",
"title": {
"en": "Silence alarm",
"nl": "Alarm stil"
},
"args": [
{
"name": "device",
"type": "device",
"filter": "driver_id=alarmsound"
}
]
}
]
}
}