zigbee-herdsman-converters 14.0.602 → 14.0.603
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/tuya.js +7 -2
- package/devices/yale.js +4 -4
- package/package.json +1 -1
package/devices/adeo.js
CHANGED
|
@@ -80,6 +80,13 @@ module.exports = [
|
|
|
80
80
|
description: 'ENKI LEXMAN RGBTW GU10 Bulb',
|
|
81
81
|
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370]}),
|
|
82
82
|
},
|
|
83
|
+
{
|
|
84
|
+
zigbeeModel: ['ZBEK-10'],
|
|
85
|
+
model: 'IC-CDZFB2AC004HA-MZN',
|
|
86
|
+
vendor: 'ADEO',
|
|
87
|
+
description: 'ENKI LEXMAN E14 LED white',
|
|
88
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
89
|
+
},
|
|
83
90
|
{
|
|
84
91
|
zigbeeModel: ['ZBEK-12'],
|
|
85
92
|
model: 'IA-CDZFB2AA007NA-MZN-01',
|
package/devices/tuya.js
CHANGED
|
@@ -759,6 +759,7 @@ module.exports = [
|
|
|
759
759
|
{modelID: 'TS0505B', manufacturerName: '_TZ3000_1mtktxdk'},
|
|
760
760
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_remypqqm'},
|
|
761
761
|
{modelID: 'TS0505B', manufacturerName: '_TZ3000_kohbva1f'},
|
|
762
|
+
{modelID: 'TS0505B', manufacturerName: '_TZ3000_luit1t00'},
|
|
762
763
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_wslkvrau'},
|
|
763
764
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_0rn9qhnu'},
|
|
764
765
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_ejctepku'},
|
|
@@ -819,7 +820,8 @@ module.exports = [
|
|
|
819
820
|
{modelID: 'TS0504B', manufacturerName: '_TZ3210_bfvybixd'},
|
|
820
821
|
{modelID: 'TS0504B', manufacturerName: '_TZ3210_i2i0bsnv'},
|
|
821
822
|
{modelID: 'TS0504B', manufacturerName: '_TZ3210_elzv6aia'},
|
|
822
|
-
{modelID: 'TS0504B', manufacturerName: '_TZ3210_1elppmba'}
|
|
823
|
+
{modelID: 'TS0504B', manufacturerName: '_TZ3210_1elppmba'},
|
|
824
|
+
{modelID: 'TS0504B', manufacturerName: '_TZ3210_onejz0gt'}],
|
|
823
825
|
model: 'TS0504B',
|
|
824
826
|
vendor: 'TuYa',
|
|
825
827
|
description: 'Zigbee RGBW light',
|
|
@@ -1232,6 +1234,7 @@ module.exports = [
|
|
|
1232
1234
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_nvaik6gk'},
|
|
1233
1235
|
{modelID: 'TS0502B', manufacturerName: '_TZ3000_armwcncd'},
|
|
1234
1236
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_2p6wbry3'},
|
|
1237
|
+
{modelID: 'TS0502B', manufacturerName: '_TZB210_nfzrlz29'},
|
|
1235
1238
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_qamcypen'},
|
|
1236
1239
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_zdrhqmo0'},
|
|
1237
1240
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_2cjfbpy0'},
|
|
@@ -2182,6 +2185,8 @@ module.exports = [
|
|
|
2182
2185
|
},
|
|
2183
2186
|
meta: {multiEndpoint: true},
|
|
2184
2187
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
2188
|
+
await device.getEndpoint(1).read('genBasic',
|
|
2189
|
+
['manufacturerName', 'zclVersion', 'appVersion', 'modelId', 'powerSource', 0xfffe]);
|
|
2185
2190
|
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
|
|
2186
2191
|
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
2187
2192
|
device.powerSource = 'Mains (single phase)';
|
|
@@ -2975,7 +2980,7 @@ module.exports = [
|
|
|
2975
2980
|
fromZigbee: [fz.ZG204ZL_lms],
|
|
2976
2981
|
toZigbee: [tz.ZG204ZL_lms],
|
|
2977
2982
|
exposes: [
|
|
2978
|
-
e.occupancy(), e.illuminance(), e.battery(),
|
|
2983
|
+
e.occupancy(), e.illuminance().withUnit('lx'), e.battery(),
|
|
2979
2984
|
exposes.enum('sensitivity', ea.ALL, ['low', 'medium', 'high'])
|
|
2980
2985
|
.withDescription('PIR sensor sensitivity (refresh and update only while active)'),
|
|
2981
2986
|
exposes.enum('keep_time', ea.ALL, ['10', '30', '60', '120'])
|
package/devices/yale.js
CHANGED
|
@@ -4,7 +4,7 @@ const tz = require('../converters/toZigbee');
|
|
|
4
4
|
const reporting = require('../lib/reporting');
|
|
5
5
|
const e = exposes.presets;
|
|
6
6
|
|
|
7
|
-
const lockExtend = (meta) => {
|
|
7
|
+
const lockExtend = (meta, lockStateOptions=null, binds=['closuresDoorLock', 'genPowerCfg']) => {
|
|
8
8
|
return {
|
|
9
9
|
fromZigbee: [fz.lock, fz.battery, fz.lock_operation_event, fz.lock_programming_event, fz.lock_pin_code_response,
|
|
10
10
|
fz.lock_user_status_response],
|
|
@@ -13,8 +13,8 @@ const lockExtend = (meta) => {
|
|
|
13
13
|
exposes: [e.lock(), e.battery(), e.pincode(), e.lock_action(), e.lock_action_source_name(), e.lock_action_user()],
|
|
14
14
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
15
15
|
const endpoint = device.getEndpoint(1);
|
|
16
|
-
await reporting.bind(endpoint, coordinatorEndpoint,
|
|
17
|
-
await reporting.lockState(endpoint);
|
|
16
|
+
await reporting.bind(endpoint, coordinatorEndpoint, binds);
|
|
17
|
+
await reporting.lockState(endpoint, lockStateOptions);
|
|
18
18
|
await reporting.batteryPercentageRemaining(endpoint);
|
|
19
19
|
},
|
|
20
20
|
};
|
|
@@ -129,7 +129,7 @@ module.exports = [
|
|
|
129
129
|
model: 'YDF40',
|
|
130
130
|
vendor: 'Yale',
|
|
131
131
|
description: 'Real living lock / Intelligent biometric digital lock',
|
|
132
|
-
extend: lockExtend(),
|
|
132
|
+
extend: lockExtend({}, {max: 900}, ['closuresDoorLock']),
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
zigbeeModel: ['06ffff2027'],
|