zigbee-herdsman-converters 14.0.618 → 14.0.619
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/sengled.js +8 -2
- package/devices/tuya.js +9 -3
- package/devices/zemismart.js +1 -1
- package/package.json +2 -2
package/devices/sengled.js
CHANGED
|
@@ -235,10 +235,16 @@ module.exports = [
|
|
|
235
235
|
model: 'E1D-G73WNA',
|
|
236
236
|
vendor: 'Sengled',
|
|
237
237
|
description: 'Smart window and door sensor',
|
|
238
|
-
fromZigbee: [fz.ias_contact_alarm_1],
|
|
238
|
+
fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
|
|
239
239
|
toZigbee: [],
|
|
240
240
|
ota: ota.zigbeeOTA,
|
|
241
|
-
exposes: [e.contact(), e.battery_low(), e.tamper()],
|
|
241
|
+
exposes: [e.contact(), e.battery_low(), e.battery(), e.battery_voltage(), e.tamper()],
|
|
242
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
243
|
+
const endpoint = device.getEndpoint(1);
|
|
244
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg']);
|
|
245
|
+
await reporting.batteryVoltage(endpoint);
|
|
246
|
+
await reporting.batteryPercentageRemaining(endpoint);
|
|
247
|
+
},
|
|
242
248
|
},
|
|
243
249
|
{
|
|
244
250
|
zigbeeModel: ['E1C-NB6'],
|
package/devices/tuya.js
CHANGED
|
@@ -976,7 +976,8 @@ module.exports = [
|
|
|
976
976
|
},
|
|
977
977
|
{
|
|
978
978
|
fingerprint: [{modelID: 'TS0202', manufacturerName: '_TYZB01_jytabjkb'},
|
|
979
|
-
{modelID: 'TS0202', manufacturerName: '_TZ3000_lltemgsf'}
|
|
979
|
+
{modelID: 'TS0202', manufacturerName: '_TZ3000_lltemgsf'},
|
|
980
|
+
{modelID: 'TS0202', manufacturerName: '_TZ3000_mg4dy6z6'}],
|
|
980
981
|
model: 'TS0202_1',
|
|
981
982
|
vendor: 'TuYa',
|
|
982
983
|
description: 'Motion sensor',
|
|
@@ -1674,7 +1675,8 @@ module.exports = [
|
|
|
1674
1675
|
},
|
|
1675
1676
|
},
|
|
1676
1677
|
{
|
|
1677
|
-
fingerprint: [{modelID: 'TS0002', manufacturerName: '_TZ3000_01gpyda5'}, {modelID: 'TS0002', manufacturerName: '_TZ3000_bvrlqyj7'}
|
|
1678
|
+
fingerprint: [{modelID: 'TS0002', manufacturerName: '_TZ3000_01gpyda5'}, {modelID: 'TS0002', manufacturerName: '_TZ3000_bvrlqyj7'},
|
|
1679
|
+
{modelID: 'TS0002', manufacturerName: '_TZ3000_7ed9cqgi'}],
|
|
1678
1680
|
model: 'TS0002_switch_module',
|
|
1679
1681
|
vendor: 'TuYa',
|
|
1680
1682
|
description: '2 gang switch module',
|
|
@@ -1692,6 +1694,8 @@ module.exports = [
|
|
|
1692
1694
|
},
|
|
1693
1695
|
meta: {multiEndpoint: true},
|
|
1694
1696
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
1697
|
+
await device.getEndpoint(1).read('genBasic',
|
|
1698
|
+
['manufacturerName', 'zclVersion', 'appVersion', 'modelId', 'powerSource', 0xfffe]);
|
|
1695
1699
|
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
|
|
1696
1700
|
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
1697
1701
|
},
|
|
@@ -1801,6 +1805,7 @@ module.exports = [
|
|
|
1801
1805
|
{modelID: 'TS0601', manufacturerName: '_TZE200_fctwhugx'},
|
|
1802
1806
|
{modelID: 'TS0601', manufacturerName: '_TZE200_zah67ekd'},
|
|
1803
1807
|
{modelID: 'TS0601', manufacturerName: '_TZE200_hsgrhjpf'},
|
|
1808
|
+
{modelID: 'TS0601', manufacturerName: '_TZE200_pw7mji0l'},
|
|
1804
1809
|
// Window pushers:
|
|
1805
1810
|
{modelID: 'TS0601', manufacturerName: '_TZE200_g5wdnuow'},
|
|
1806
1811
|
// Tubular motors:
|
|
@@ -1817,6 +1822,7 @@ module.exports = [
|
|
|
1817
1822
|
{vendor: 'Binthen', model: 'BCM100D'},
|
|
1818
1823
|
{vendor: 'Binthen', model: 'CV01A'},
|
|
1819
1824
|
{vendor: 'Zemismart', model: 'M515EGB'},
|
|
1825
|
+
{vendor: 'OZ Smart Things', model: 'ZM85EL-1Z'},
|
|
1820
1826
|
{vendor: 'TuYa', model: 'M515EGZT'},
|
|
1821
1827
|
{vendor: 'TuYa', model: 'DT82LEMA-1.2N'},
|
|
1822
1828
|
{vendor: 'TuYa', model: 'ZD82TN', description: 'Curtain motor'},
|
|
@@ -2182,7 +2188,7 @@ module.exports = [
|
|
|
2182
2188
|
exposes: [e.smoke(), e.battery()],
|
|
2183
2189
|
},
|
|
2184
2190
|
{
|
|
2185
|
-
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_5d3vhjro'}],
|
|
2191
|
+
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_5d3vhjro'}, {modelID: 'TS0601', manufacturerName: '_TZE200_ntcy3xu1'}],
|
|
2186
2192
|
model: 'SA12IZL',
|
|
2187
2193
|
vendor: 'TuYa',
|
|
2188
2194
|
description: 'Smart smoke alarm',
|
package/devices/zemismart.js
CHANGED
|
@@ -207,7 +207,7 @@ module.exports = [
|
|
|
207
207
|
vendor: 'Zemismart',
|
|
208
208
|
description: 'Tubular motor',
|
|
209
209
|
fromZigbee: [fz.tuya_cover, fz.ignore_basic_report],
|
|
210
|
-
toZigbee: [tz.tuya_cover_control, tz.tuya_cover_options
|
|
210
|
+
toZigbee: [tz.tuya_cover_control, tz.tuya_cover_options],
|
|
211
211
|
exposes: [e.cover_position().setAccess('position', ea.STATE_SET)],
|
|
212
212
|
},
|
|
213
213
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zigbee-herdsman-converters",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.619",
|
|
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.1",
|
|
40
40
|
"tar-stream": "^2.2.0",
|
|
41
|
-
"zigbee-herdsman": "^0.14.
|
|
41
|
+
"zigbee-herdsman": "^0.14.54"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"eslint": "*",
|