zigbee-herdsman-converters 14.0.560 → 14.0.561
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/converters/fromZigbee.js +1 -1
- package/devices/adeo.js +18 -4
- package/devices/bticino.js +1 -1
- package/devices/envilar.js +7 -0
- package/devices/lidl.js +8 -0
- package/devices/neo.js +2 -2
- package/devices/nue_3a.js +60 -0
- package/package.json +1 -1
package/converters/fromZigbee.js
CHANGED
package/devices/adeo.js
CHANGED
|
@@ -112,14 +112,28 @@ module.exports = [
|
|
|
112
112
|
zigbeeModel: ['LXEK-2'],
|
|
113
113
|
model: '9CZA-G1521-Q1A',
|
|
114
114
|
vendor: 'ADEO',
|
|
115
|
-
description: 'ENKI
|
|
115
|
+
description: 'ENKI LEXMAN E27 14W to 100W LED RGBW',
|
|
116
116
|
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
117
117
|
},
|
|
118
|
+
{
|
|
119
|
+
zigbeeModel: ['LDSENK07'],
|
|
120
|
+
model: 'LDSENK07',
|
|
121
|
+
vendor: 'ADEO',
|
|
122
|
+
description: 'ENKI LEXMAN wireless smart outdoor siren',
|
|
123
|
+
fromZigbee: [fz.battery, fz.ias_siren],
|
|
124
|
+
toZigbee: [tz.warning],
|
|
125
|
+
exposes: [e.warning(), e.battery(), e.battery_low(), e.tamper()],
|
|
126
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
127
|
+
device.defaultSendRequestWhen = 'immediate';
|
|
128
|
+
device.save();
|
|
129
|
+
await device.getEndpoint(1).unbind('genPollCtrl', coordinatorEndpoint);
|
|
130
|
+
},
|
|
131
|
+
},
|
|
118
132
|
{
|
|
119
133
|
zigbeeModel: ['ZBEK-2'],
|
|
120
134
|
model: 'IG-CDZOTAAG014RA-MAN',
|
|
121
135
|
vendor: 'ADEO',
|
|
122
|
-
description: 'ENKI
|
|
136
|
+
description: 'ENKI LEXMAN E27 14W to 100W LED RGBW v2',
|
|
123
137
|
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370]}),
|
|
124
138
|
},
|
|
125
139
|
{
|
|
@@ -133,7 +147,7 @@ module.exports = [
|
|
|
133
147
|
zigbeeModel: ['LXEK-7'],
|
|
134
148
|
model: '9CZA-A806ST-Q1Z',
|
|
135
149
|
vendor: 'ADEO',
|
|
136
|
-
description: 'ENKI
|
|
150
|
+
description: 'ENKI LEXMAN E27 LED white',
|
|
137
151
|
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
|
|
138
152
|
},
|
|
139
153
|
{
|
|
@@ -157,7 +171,7 @@ module.exports = [
|
|
|
157
171
|
zigbeeModel: ['LDSENK10'],
|
|
158
172
|
model: 'LDSENK10',
|
|
159
173
|
vendor: 'ADEO',
|
|
160
|
-
description: 'LEXMAN motion sensor',
|
|
174
|
+
description: 'ENKI LEXMAN motion sensor',
|
|
161
175
|
fromZigbee: [fz.ias_occupancy_alarm_1],
|
|
162
176
|
toZigbee: [],
|
|
163
177
|
exposes: [e.occupancy(), e.battery_low(), e.tamper()],
|
package/devices/bticino.js
CHANGED
|
@@ -26,7 +26,7 @@ module.exports = [
|
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
zigbeeModel: [' Dimmer switch with neutral\u0000\u0000\u0000\u0000'],
|
|
29
|
-
model: '
|
|
29
|
+
model: 'L4411C/N4411C/NT4411C',
|
|
30
30
|
vendor: 'BTicino',
|
|
31
31
|
description: 'Dimmer switch with neutral',
|
|
32
32
|
extend: extend.light_onoff_brightness({noConfigure: true}),
|
package/devices/envilar.js
CHANGED
|
@@ -5,6 +5,13 @@ const e = exposes.presets;
|
|
|
5
5
|
const fz = require('../converters/fromZigbee');
|
|
6
6
|
|
|
7
7
|
module.exports = [
|
|
8
|
+
{
|
|
9
|
+
zigbeeModel: ['ZG_LED_DRIVER42CC'],
|
|
10
|
+
model: 'ZG_LED_DRIVER42CC',
|
|
11
|
+
vendor: 'ENVILAR',
|
|
12
|
+
description: 'Zigbee LED driver',
|
|
13
|
+
extend: extend.light_onoff_brightness(),
|
|
14
|
+
},
|
|
8
15
|
{
|
|
9
16
|
zigbeeModel: ['ZG50CC-CCT-DRIVER'],
|
|
10
17
|
model: 'ZG50CC-CCT-DRIVER',
|
package/devices/lidl.js
CHANGED
|
@@ -857,4 +857,12 @@ module.exports = [
|
|
|
857
857
|
}),
|
|
858
858
|
],
|
|
859
859
|
},
|
|
860
|
+
{
|
|
861
|
+
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_taspddvq'}],
|
|
862
|
+
model: 'HG08383A',
|
|
863
|
+
vendor: 'Lidl',
|
|
864
|
+
description: 'Livarno outdoor LED light chain',
|
|
865
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], disableColorTempStartup: true}),
|
|
866
|
+
meta: {applyRedFix: true, enhancedHue: false},
|
|
867
|
+
},
|
|
860
868
|
];
|
package/devices/neo.js
CHANGED
|
@@ -35,7 +35,7 @@ module.exports = [
|
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
|
-
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_t1blo2bj'}
|
|
38
|
+
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_t1blo2bj'}],
|
|
39
39
|
zigbeeModel: ['1blo2bj'],
|
|
40
40
|
model: 'NAS-AB02B2',
|
|
41
41
|
vendor: 'Neo',
|
|
@@ -58,7 +58,7 @@ module.exports = [
|
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
|
-
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_7hfcudw5'}],
|
|
61
|
+
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_7hfcudw5'}, {modelID: 'TS0202', manufacturerName: '_TZ3000_kmh5qpmb'}],
|
|
62
62
|
model: 'NAS-PD07',
|
|
63
63
|
vendor: 'Neo',
|
|
64
64
|
description: 'Motion, temperature & humidity sensor',
|
package/devices/nue_3a.js
CHANGED
|
@@ -4,6 +4,32 @@ const tz = require('../converters/toZigbee');
|
|
|
4
4
|
const reporting = require('../lib/reporting');
|
|
5
5
|
const extend = require('../lib/extend');
|
|
6
6
|
const e = exposes.presets;
|
|
7
|
+
const ea = exposes.access;
|
|
8
|
+
|
|
9
|
+
const fzLocal = {
|
|
10
|
+
LXN59_cover_options: {
|
|
11
|
+
cluster: 'closuresWindowCovering',
|
|
12
|
+
type: ['attributeReport', 'readResponse'],
|
|
13
|
+
convert: (model, msg, publish, options, meta) => {
|
|
14
|
+
const result = {};
|
|
15
|
+
if (msg.data.hasOwnProperty('tuyaMovingState')) {
|
|
16
|
+
const value = msg.data['tuyaMovingState'];
|
|
17
|
+
const movingLookup = {0: 'DOWN', 1: 'UP', 2: 'STOP'};
|
|
18
|
+
result.moving = movingLookup[value];
|
|
19
|
+
}
|
|
20
|
+
return result;
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
LXN59_cover_state_via_onoff: {
|
|
24
|
+
cluster: 'genOnOff',
|
|
25
|
+
type: ['attributeReport', 'readResponse'],
|
|
26
|
+
convert: (model, msg, publish, options, meta) => {
|
|
27
|
+
if (msg.data.hasOwnProperty('onOff')) {
|
|
28
|
+
return {state: msg.data['onOff'] === 1 ? 'CLOSE' : 'OPEN'};
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
};
|
|
7
33
|
|
|
8
34
|
module.exports = [
|
|
9
35
|
{
|
|
@@ -247,6 +273,40 @@ module.exports = [
|
|
|
247
273
|
description: 'Smart 7W E27 light bulb',
|
|
248
274
|
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
249
275
|
},
|
|
276
|
+
{
|
|
277
|
+
zigbeeModel: ['LXN59-CS27LX1.0'],
|
|
278
|
+
model: 'ZW-EU-4C',
|
|
279
|
+
vendor: 'Nue / 3A',
|
|
280
|
+
description: 'Zigbee smart curtain switch',
|
|
281
|
+
fromZigbee: [fz.cover_position_tilt, fzLocal.LXN59_cover_state_via_onoff, fzLocal.LXN59_cover_options],
|
|
282
|
+
toZigbee: [tz.cover_state, tz.cover_position_tilt],
|
|
283
|
+
meta: {disableDefaultResponse: true},
|
|
284
|
+
exposes: [e.cover_position(), exposes.enum('moving', ea.STATE, ['UP', 'STOP', 'DOWN'])],
|
|
285
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
286
|
+
const endpoint1 = device.getEndpoint(1);
|
|
287
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
288
|
+
await reporting.onOff(endpoint1);
|
|
289
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['closuresWindowCovering']);
|
|
290
|
+
await reporting.currentPositionLiftPercentage(endpoint1);
|
|
291
|
+
device.powerSource = 'Mains (single phase)';
|
|
292
|
+
device.save();
|
|
293
|
+
},
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
zigbeeModel: ['LXX60-CS27LX1.0'],
|
|
297
|
+
model: 'ZW-EC-01',
|
|
298
|
+
vendor: 'Nue / 3A',
|
|
299
|
+
description: 'Zigbee smart curtain switch',
|
|
300
|
+
extend: extend.switch(),
|
|
301
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
302
|
+
const endpoint1 = device.getEndpoint(1);
|
|
303
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genOnOff']);
|
|
304
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['closuresWindowCovering']);
|
|
305
|
+
await reporting.onOff(endpoint1);
|
|
306
|
+
device.powerSource = 'Mains (single phase)';
|
|
307
|
+
device.save();
|
|
308
|
+
},
|
|
309
|
+
},
|
|
250
310
|
{
|
|
251
311
|
zigbeeModel: ['LXN56-0S27LX1.1', 'LXN56-0S27LX1.3'],
|
|
252
312
|
model: 'HGZB-20-UK',
|