zigbee-herdsman-converters 14.0.482 → 14.0.485
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/devices/adeo.js +7 -0
- package/devices/heiman.js +1 -1
- package/devices/ikea.js +2 -2
- package/devices/iris.js +16 -0
- package/devices/lidl.js +2 -2
- package/devices/lixee.js +42 -7
- package/devices/micromatic.js +1 -1
- package/devices/tuya.js +7 -3
- package/devices/vbled.js +18 -0
- package/devices/xiaomi.js +1 -0
- package/lib/constants.js +4 -4
- package/package.json +2 -2
package/devices/adeo.js
CHANGED
|
@@ -106,6 +106,13 @@ module.exports = [
|
|
|
106
106
|
description: 'ENKI Lexman E27 14W to 100W LED RGBW v2',
|
|
107
107
|
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370]}),
|
|
108
108
|
},
|
|
109
|
+
{
|
|
110
|
+
zigbeeModel: ['ZBEK-1'],
|
|
111
|
+
model: 'IA-CDZOTAAA007MA-MAN',
|
|
112
|
+
vendor: 'ADEO',
|
|
113
|
+
description: 'ENKI LEXMAN E27 7.2 to 60W LED RGBW',
|
|
114
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370]}),
|
|
115
|
+
},
|
|
109
116
|
{
|
|
110
117
|
zigbeeModel: ['LXEK-7'],
|
|
111
118
|
model: '9CZA-A806ST-Q1Z',
|
package/devices/heiman.js
CHANGED
|
@@ -72,7 +72,7 @@ module.exports = [
|
|
|
72
72
|
{
|
|
73
73
|
zigbeeModel: ['SMOK_V16', 'SMOK_V15', 'b5db59bfd81e4f1f95dc57fdbba17931', '98293058552c49f38ad0748541ee96ba', 'SMOK_YDLV10',
|
|
74
74
|
'FB56-SMF02HM1.4', 'SmokeSensor-N-3.0', '319fa36e7384414a9ea62cba8f6e7626', 'c3442b4ac59b4ba1a83119d938f283ab',
|
|
75
|
-
'SmokeSensor-EF-3.0'],
|
|
75
|
+
'SmokeSensor-EF-3.0', 'SMOK_HV14'],
|
|
76
76
|
model: 'HS1SA',
|
|
77
77
|
vendor: 'HEIMAN',
|
|
78
78
|
description: 'Smoke detector',
|
package/devices/ikea.js
CHANGED
|
@@ -378,7 +378,7 @@ module.exports = [
|
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
380
|
zigbeeModel: ['TRADFRI bulb E27 CWS opal 600lm', 'TRADFRI bulb E26 CWS opal 600lm', 'TRADFRI bulb E14 CWS opal 600lm',
|
|
381
|
-
'TRADFRI bulb E12 CWS opal 600lm'],
|
|
381
|
+
'TRADFRI bulb E12 CWS opal 600lm', 'TRADFRI bulb E27 C/WS opal 600'],
|
|
382
382
|
model: 'LED1624G9',
|
|
383
383
|
vendor: 'IKEA',
|
|
384
384
|
description: 'TRADFRI LED bulb E14/E26/E27 600 lumen, dimmable, color, opal white',
|
|
@@ -707,7 +707,7 @@ module.exports = [
|
|
|
707
707
|
exposes: [e.cover_position(), e.battery()],
|
|
708
708
|
},
|
|
709
709
|
{
|
|
710
|
-
zigbeeModel: ['TREDANSEN
|
|
710
|
+
zigbeeModel: ['TREDANSEN block-out cellul blind'],
|
|
711
711
|
model: 'E2103',
|
|
712
712
|
vendor: 'IKEA',
|
|
713
713
|
description: 'TREDANSEN cellular blind',
|
package/devices/iris.js
CHANGED
|
@@ -161,4 +161,20 @@ module.exports = [
|
|
|
161
161
|
device.save();
|
|
162
162
|
},
|
|
163
163
|
},
|
|
164
|
+
{
|
|
165
|
+
zigbeeModel: ['3315-L'],
|
|
166
|
+
model: '3315-L',
|
|
167
|
+
vendor: 'Iris',
|
|
168
|
+
description: 'Water sensor',
|
|
169
|
+
fromZigbee: [fz.temperature, fz.ias_water_leak_alarm_1, fz.battery],
|
|
170
|
+
exposes: [e.temperature(), e.water_leak(), e.battery_low(), e.tamper(), e.battery()],
|
|
171
|
+
toZigbee: [],
|
|
172
|
+
meta: {battery: {voltageToPercentage: '3V_2500'}},
|
|
173
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
174
|
+
const endpoint = device.getEndpoint(1);
|
|
175
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['msTemperatureMeasurement', 'genPowerCfg']);
|
|
176
|
+
await reporting.temperature(endpoint);
|
|
177
|
+
await reporting.batteryVoltage(endpoint);
|
|
178
|
+
},
|
|
179
|
+
},
|
|
164
180
|
];
|
package/devices/lidl.js
CHANGED
|
@@ -736,8 +736,8 @@ module.exports = [
|
|
|
736
736
|
model: 'HG08633',
|
|
737
737
|
vendor: 'Lidl',
|
|
738
738
|
description: 'Livarno gardenspot RGB',
|
|
739
|
-
extend: extend.light_onoff_brightness_colortemp_color({
|
|
740
|
-
meta: {
|
|
739
|
+
extend: extend.light_onoff_brightness_colortemp_color({supportsHS: true, preferHS: true, colorTempRange: [153, 500]}),
|
|
740
|
+
meta: {enhancedHue: false},
|
|
741
741
|
},
|
|
742
742
|
{
|
|
743
743
|
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_chyvmhay'}],
|
package/devices/lixee.js
CHANGED
|
@@ -196,7 +196,8 @@ const fzLocal = {
|
|
|
196
196
|
// we are doing it with exclusion and not inclusion because the list is dynamic (based on zlinky mode),
|
|
197
197
|
// and change based on that. Just some few attributes are useless, so we exclude them
|
|
198
198
|
const tarifsDef = {
|
|
199
|
-
histo_BASE: {
|
|
199
|
+
histo_BASE: {
|
|
200
|
+
fname: 'Historique - BASE',
|
|
200
201
|
currentTarf: 'BASE', excluded: [
|
|
201
202
|
'HCHC',
|
|
202
203
|
'HCHP',
|
|
@@ -212,7 +213,8 @@ const tarifsDef = {
|
|
|
212
213
|
'DEMAIN',
|
|
213
214
|
'PEJP',
|
|
214
215
|
]},
|
|
215
|
-
histo_HCHP: {
|
|
216
|
+
histo_HCHP: {
|
|
217
|
+
fname: 'Historique - HCHP',
|
|
216
218
|
currentTarf: 'HC..', excluded: [
|
|
217
219
|
'BASE',
|
|
218
220
|
'EJPHN',
|
|
@@ -226,7 +228,8 @@ const tarifsDef = {
|
|
|
226
228
|
'DEMAIN',
|
|
227
229
|
'PEJP',
|
|
228
230
|
]},
|
|
229
|
-
histo_EJP: {
|
|
231
|
+
histo_EJP: {
|
|
232
|
+
fname: 'Historique - EJP',
|
|
230
233
|
currentTarf: 'EJP.', excluded: [
|
|
231
234
|
'BASE',
|
|
232
235
|
'HCHC',
|
|
@@ -239,7 +242,8 @@ const tarifsDef = {
|
|
|
239
242
|
'BBRHPJR',
|
|
240
243
|
'DEMAIN',
|
|
241
244
|
]},
|
|
242
|
-
histo_BBR: {
|
|
245
|
+
histo_BBR: {
|
|
246
|
+
fname: 'Historique - BBR',
|
|
243
247
|
currentTarf: 'BBR', excluded: [
|
|
244
248
|
'BASE',
|
|
245
249
|
'HCHC',
|
|
@@ -248,7 +252,8 @@ const tarifsDef = {
|
|
|
248
252
|
'EJPHPM',
|
|
249
253
|
'PEJP',
|
|
250
254
|
]},
|
|
251
|
-
stand_SEM_WE_MERCR: {
|
|
255
|
+
stand_SEM_WE_MERCR: {
|
|
256
|
+
fname: 'Standard - Sem WE Mercredi',
|
|
252
257
|
currentTarf: 'SEM WE MERCREDI', excluded: [
|
|
253
258
|
'EASF04',
|
|
254
259
|
'EASF05',
|
|
@@ -271,8 +276,10 @@ const tarifsDef = {
|
|
|
271
276
|
'PJOURF+1',
|
|
272
277
|
'PPOINTE1',
|
|
273
278
|
]},
|
|
274
|
-
|
|
275
|
-
|
|
279
|
+
stand_BASE: {
|
|
280
|
+
fname: 'Standard - BASE',
|
|
281
|
+
currentTarf: 'BASE',
|
|
282
|
+
excluded: [
|
|
276
283
|
'EASF03',
|
|
277
284
|
'EASF04',
|
|
278
285
|
'EASF05',
|
|
@@ -295,8 +302,33 @@ const tarifsDef = {
|
|
|
295
302
|
'PJOURF+1',
|
|
296
303
|
'PPOINTE1',
|
|
297
304
|
]},
|
|
305
|
+
stand_HPHC: {
|
|
306
|
+
fname: 'Standard - Heure Pleine Heure Creuse',
|
|
307
|
+
currentTarf: 'H PLEINE/CREUSE', excluded: [
|
|
308
|
+
'EASF03',
|
|
309
|
+
'EASF04',
|
|
310
|
+
'EASF05',
|
|
311
|
+
'EASF06',
|
|
312
|
+
'EASF07',
|
|
313
|
+
'EASF08',
|
|
314
|
+
'EASF09',
|
|
315
|
+
'EASF10',
|
|
316
|
+
'EASD03',
|
|
317
|
+
'EASD04',
|
|
318
|
+
'DPM1',
|
|
319
|
+
'DPM2',
|
|
320
|
+
'DPM3',
|
|
321
|
+
'FPM1',
|
|
322
|
+
'FPM2',
|
|
323
|
+
'FPM3',
|
|
324
|
+
'NJOURF',
|
|
325
|
+
'NJOURF+1',
|
|
326
|
+
'PJOURF+1',
|
|
327
|
+
'PPOINTE1',
|
|
328
|
+
]},
|
|
298
329
|
};
|
|
299
330
|
|
|
331
|
+
|
|
300
332
|
const linkyModeDef = {
|
|
301
333
|
standard: 'standard',
|
|
302
334
|
legacy: 'historique',
|
|
@@ -505,6 +537,9 @@ function getCurrentConfig(device, options, logger=console) {
|
|
|
505
537
|
case linkyMode == linkyModeDef.standard && tarifsDef.stand_HPHC.currentTarf:
|
|
506
538
|
myExpose = myExpose.filter((a) => !tarifsDef.stand_HPHC.excluded.includes(a.exposes.name));
|
|
507
539
|
break;
|
|
540
|
+
case linkyMode == linkyModeDef.standard && tarifsDef.stand_BASE.currentTarf:
|
|
541
|
+
myExpose = myExpose.filter((a) => !tarifsDef.stand_BASE.excluded.includes(a.exposes.name));
|
|
542
|
+
break;
|
|
508
543
|
default:
|
|
509
544
|
break;
|
|
510
545
|
}
|
package/devices/micromatic.js
CHANGED
|
@@ -20,6 +20,7 @@ module.exports = [
|
|
|
20
20
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl', 'haElectricalMeasurement', 'seMetering']);
|
|
21
21
|
await reporting.brightness(endpoint);
|
|
22
22
|
await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
|
|
23
|
+
await reporting.readMeteringMultiplierDivisor(endpoint);
|
|
23
24
|
await reporting.rmsVoltage(endpoint, {min: 10, change: 20}); // Voltage - Min change of 2V
|
|
24
25
|
await reporting.rmsCurrent(endpoint, {min: 10, change: 10}); // A - z2m displays only the first decimals, change of 10 / 0,01A
|
|
25
26
|
await reporting.activePower(endpoint, {min: 10, change: 15}); // W - Min change of 1,5W
|
|
@@ -28,4 +29,3 @@ module.exports = [
|
|
|
28
29
|
exposes: [e.light_brightness(), e.power(), e.current(), e.voltage().withAccess(ea.STATE), e.energy()],
|
|
29
30
|
},
|
|
30
31
|
];
|
|
31
|
-
|
package/devices/tuya.js
CHANGED
|
@@ -12,7 +12,8 @@ const utils = require('../lib/utils');
|
|
|
12
12
|
|
|
13
13
|
const TS011Fplugs = ['_TZ3000_5f43h46b', '_TZ3000_cphmq0q7', '_TZ3000_dpo1ysak', '_TZ3000_ew3ldmgx', '_TZ3000_gjnozsaz',
|
|
14
14
|
'_TZ3000_jvzvulen', '_TZ3000_mraovvmm', '_TZ3000_nfnmi125', '_TZ3000_ps3dmato', '_TZ3000_w0qqde0g', '_TZ3000_u5u4cakc',
|
|
15
|
-
'_TZ3000_rdtixbnu', '_TZ3000_typdpbpg', '_TZ3000_kx0pris5', '_TZ3000_amdymr7l', '_TZ3000_z1pnpsdo', '_TZ3000_ksw8qtmt'
|
|
15
|
+
'_TZ3000_rdtixbnu', '_TZ3000_typdpbpg', '_TZ3000_kx0pris5', '_TZ3000_amdymr7l', '_TZ3000_z1pnpsdo', '_TZ3000_ksw8qtmt',
|
|
16
|
+
'_TZ3000_nzkqcvvs'];
|
|
16
17
|
|
|
17
18
|
const tzLocal = {
|
|
18
19
|
TS0504B_color: {
|
|
@@ -353,7 +354,8 @@ module.exports = [
|
|
|
353
354
|
exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.battery()],
|
|
354
355
|
},
|
|
355
356
|
{
|
|
356
|
-
fingerprint: [{modelID: 'TS0202', manufacturerName: '
|
|
357
|
+
fingerprint: [{modelID: 'TS0202', manufacturerName: '_TYZB01_dr6sduka'},
|
|
358
|
+
{modelID: 'TS0202', manufacturerName: '_TYZB01_ef5xlc9q'},
|
|
357
359
|
{modelID: 'TS0202', manufacturerName: '_TYZB01_vwqnz1sn'},
|
|
358
360
|
{modelID: 'TS0202', manufacturerName: '_TYZB01_2b8f6cio'},
|
|
359
361
|
{modelID: 'TS0202', manufacturerName: '_TZE200_bq5c8xfe'},
|
|
@@ -372,7 +374,9 @@ module.exports = [
|
|
|
372
374
|
model: 'TS0202',
|
|
373
375
|
vendor: 'TuYa',
|
|
374
376
|
description: 'Motion sensor',
|
|
375
|
-
whiteLabel: [{vendor: 'Mercator Ikuü', model: 'SMA02P'},
|
|
377
|
+
whiteLabel: [{vendor: 'Mercator Ikuü', model: 'SMA02P'},
|
|
378
|
+
{vendor: 'TuYa', model: 'TY-ZPR06'},
|
|
379
|
+
{vendor: 'Tesla Smart', model: 'TS0202'}],
|
|
376
380
|
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_occupancy_alarm_1_report],
|
|
377
381
|
toZigbee: [],
|
|
378
382
|
exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.battery(), e.battery_voltage()],
|
package/devices/vbled.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const reporting = require('../lib/reporting');
|
|
2
|
+
const extend = require('../lib/extend');
|
|
3
|
+
|
|
4
|
+
module.exports = [
|
|
5
|
+
{
|
|
6
|
+
zigbeeModel: ['43023'],
|
|
7
|
+
model: '43023',
|
|
8
|
+
vendor: 'VBLED',
|
|
9
|
+
description: 'ZigBee AC phase-cut dimmer',
|
|
10
|
+
extend: extend.light_onoff_brightness({noConfigure: true}),
|
|
11
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
12
|
+
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
|
|
13
|
+
const endpoint = device.getEndpoint(1);
|
|
14
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
|
|
15
|
+
await reporting.onOff(endpoint);
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
];
|
package/devices/xiaomi.js
CHANGED
|
@@ -1118,6 +1118,7 @@ module.exports = [
|
|
|
1118
1118
|
}
|
|
1119
1119
|
},
|
|
1120
1120
|
exposes: [e.switch(), e.power(), e.energy(), e.power_outage_memory(),
|
|
1121
|
+
e.voltage().withAccess(ea.STATE), e.current(),
|
|
1121
1122
|
e.device_temperature().withDescription('Device temperature (polled every 30 min)')],
|
|
1122
1123
|
ota: ota.zigbeeOTA,
|
|
1123
1124
|
},
|
package/lib/constants.js
CHANGED
|
@@ -97,14 +97,14 @@ const temperatureDisplayMode = {
|
|
|
97
97
|
1: 'fahrenheit',
|
|
98
98
|
};
|
|
99
99
|
|
|
100
|
-
const
|
|
100
|
+
const danfossAdaptionRunStatus= {
|
|
101
101
|
0: 'none',
|
|
102
102
|
1: 'in_progress',
|
|
103
103
|
2: 'found',
|
|
104
104
|
4: 'lost',
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
-
const
|
|
107
|
+
const danfossAdaptionRunControl = {
|
|
108
108
|
1: 'initate_adaptation',
|
|
109
109
|
2: 'cancel_adaptation',
|
|
110
110
|
};
|
|
@@ -279,8 +279,8 @@ module.exports = {
|
|
|
279
279
|
dayOfWeek,
|
|
280
280
|
fanMode,
|
|
281
281
|
temperatureDisplayMode,
|
|
282
|
-
|
|
283
|
-
|
|
282
|
+
danfossAdaptionRunControl,
|
|
283
|
+
danfossAdaptionRunStatus,
|
|
284
284
|
danfossWindowOpen,
|
|
285
285
|
danfossRoomStatusCode,
|
|
286
286
|
danfossOutputStatus,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zigbee-herdsman-converters",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.485",
|
|
4
4
|
"description": "Collection of device converters to be used with zigbee-herdsman",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"buffer-crc32": "^0.2.13",
|
|
39
39
|
"https-proxy-agent": "^5.0.0",
|
|
40
40
|
"tar-stream": "^2.2.0",
|
|
41
|
-
"zigbee-herdsman": "^0.14.
|
|
41
|
+
"zigbee-herdsman": "^0.14.24"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"eslint": "*",
|