zigbee-herdsman-converters 14.0.643 → 14.0.644
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/adurosmart.js +7 -0
- package/devices/awox.js +1 -0
- package/devices/develco.js +12 -11
- package/devices/fantem.js +3 -2
- package/devices/heiman.js +2 -2
- package/devices/lidl.js +2 -1
- package/devices/lonsonho.js +1 -1
- package/devices/mecrator.js +1 -1
- package/devices/philips.js +15 -1
- package/devices/sercomm.js +17 -0
- package/devices/tuya.js +14 -8
- package/devices/villeroy_boch.js +8 -1
- package/package.json +2 -2
package/devices/adurosmart.js
CHANGED
|
@@ -59,6 +59,13 @@ module.exports = [
|
|
|
59
59
|
description: 'ERIA E14 Candle Color',
|
|
60
60
|
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
61
61
|
},
|
|
62
|
+
{
|
|
63
|
+
zigbeeModel: ['AD-DimmableLight3001'],
|
|
64
|
+
model: '81810',
|
|
65
|
+
vendor: 'AduroSmart',
|
|
66
|
+
description: 'Zigbee Aduro Eria B22 bulb - warm white',
|
|
67
|
+
extend: extend.light_onoff_brightness(),
|
|
68
|
+
},
|
|
62
69
|
{
|
|
63
70
|
zigbeeModel: ['Adurolight_NCC'],
|
|
64
71
|
model: '81825',
|
package/devices/awox.js
CHANGED
package/devices/develco.js
CHANGED
|
@@ -91,14 +91,14 @@ const develco = {
|
|
|
91
91
|
type: ['attributeReport', 'readResponse'],
|
|
92
92
|
convert: (model, msg, publish, options, meta) => {
|
|
93
93
|
const result = {};
|
|
94
|
-
if (
|
|
95
|
-
const firmware = msg.data
|
|
94
|
+
if (msg.data.hasOwnProperty('develcoPrimarySwVersion')) {
|
|
95
|
+
const firmware = msg.data.develcoPrimarySwVersion.join('.');
|
|
96
96
|
result.current_firmware = firmware;
|
|
97
97
|
meta.device.softwareBuildID = firmware;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
if (
|
|
101
|
-
meta.device.hardwareVersion = msg.data
|
|
100
|
+
if (msg.data.hasOwnProperty('develcoPrimaryHwVersion')) {
|
|
101
|
+
meta.device.hardwareVersion = msg.data.develcoPrimaryHwVersion.join('.');
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
return result;
|
|
@@ -218,7 +218,7 @@ const develco = {
|
|
|
218
218
|
key: ['interface_mode'],
|
|
219
219
|
convertSet: async (entity, key, value, meta) => {
|
|
220
220
|
const payload = {'develcoInterfaceMode': utils.getKey(constants.develcoInterfaceMode, value, undefined, Number)};
|
|
221
|
-
await entity.write('seMetering', payload, manufacturerOptions
|
|
221
|
+
await entity.write('seMetering', payload, manufacturerOptions);
|
|
222
222
|
return {readAfterWriteTime: 200, state: {'interface_mode': value}};
|
|
223
223
|
},
|
|
224
224
|
convertGet: async (entity, key, meta) => {
|
|
@@ -379,7 +379,7 @@ module.exports = [
|
|
|
379
379
|
ota: ota.zigbeeOTA,
|
|
380
380
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
381
381
|
const endpoint = device.getEndpoint(2);
|
|
382
|
-
await endpoint.read('genBasic', [
|
|
382
|
+
await endpoint.read('genBasic', ['develcoPrimarySwVersion', 'develcoPrimaryHwVersion'], manufacturerOptions);
|
|
383
383
|
await reporting.bind(endpoint, coordinatorEndpoint, ['haElectricalMeasurement', 'seMetering']);
|
|
384
384
|
|
|
385
385
|
try {
|
|
@@ -424,7 +424,7 @@ module.exports = [
|
|
|
424
424
|
|
|
425
425
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'ssIasZone', 'ssIasWd', 'genBasic', 'genBinaryInput']);
|
|
426
426
|
await reporting.batteryVoltage(endpoint);
|
|
427
|
-
await endpoint.read('genBasic', [
|
|
427
|
+
await endpoint.read('genBasic', ['develcoPrimarySwVersion', 'develcoPrimaryHwVersion'], manufacturerOptions);
|
|
428
428
|
await endpoint.read('ssIasZone', ['iasCieAddr', 'zoneState', 'zoneId']);
|
|
429
429
|
await endpoint.read('genBinaryInput', ['reliability', 'statusFlags']);
|
|
430
430
|
await endpoint.read('ssIasWd', ['maxDuration']);
|
|
@@ -457,7 +457,7 @@ module.exports = [
|
|
|
457
457
|
|
|
458
458
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'ssIasZone', 'ssIasWd', 'genBasic', 'genBinaryInput']);
|
|
459
459
|
await reporting.batteryVoltage(endpoint);
|
|
460
|
-
await endpoint.read('genBasic', [
|
|
460
|
+
await endpoint.read('genBasic', ['develcoPrimarySwVersion'], manufacturerOptions);
|
|
461
461
|
await endpoint.read('ssIasZone', ['iasCieAddr', 'zoneState', 'zoneId']);
|
|
462
462
|
await endpoint.read('genBinaryInput', ['reliability', 'statusFlags']);
|
|
463
463
|
await endpoint.read('ssIasWd', ['maxDuration']);
|
|
@@ -519,7 +519,7 @@ module.exports = [
|
|
|
519
519
|
description: 'Motion sensor',
|
|
520
520
|
fromZigbee: [
|
|
521
521
|
fz.temperature, fz.illuminance, fz.ias_occupancy_alarm_1, fz.battery,
|
|
522
|
-
develco.fz.led_control, develco.fz.ias_occupancy_timeout,
|
|
522
|
+
develco.fz.led_control, develco.fz.ias_occupancy_timeout, develco.fz.firmware_version,
|
|
523
523
|
],
|
|
524
524
|
toZigbee: [develco.tz.led_control, develco.tz.ias_occupancy_timeout],
|
|
525
525
|
exposes: [
|
|
@@ -538,6 +538,7 @@ module.exports = [
|
|
|
538
538
|
await reporting.bind(endpoint35, coordinatorEndpoint, ['genPowerCfg']);
|
|
539
539
|
await reporting.batteryVoltage(endpoint35, {min: constants.repInterval.HOUR, max: 43200, change: 100});
|
|
540
540
|
try {
|
|
541
|
+
await endpoint35.read('genBasic', ['develcoPrimarySwVersion', 'develcoPrimaryHwVersion'], manufacturerOptions);
|
|
541
542
|
await endpoint35.read('ssIasZone', ['develcoAlarmOffDelay'], manufacturerOptions);
|
|
542
543
|
await endpoint35.read('genBasic', ['develcoLedControl'], manufacturerOptions);
|
|
543
544
|
} catch (error) {/* some reports of timeouts on reading these */}
|
|
@@ -682,7 +683,7 @@ module.exports = [
|
|
|
682
683
|
const endpoint = device.getEndpoint(43);
|
|
683
684
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'ssIasZone', 'ssIasWd', 'genBasic']);
|
|
684
685
|
await reporting.batteryVoltage(endpoint);
|
|
685
|
-
await endpoint.read('genBasic', [
|
|
686
|
+
await endpoint.read('genBasic', ['develcoPrimarySwVersion', 'develcoPrimaryHwVersion'], manufacturerOptions);
|
|
686
687
|
await endpoint.read('ssIasZone', ['iasCieAddr', 'zoneState', 'zoneId']);
|
|
687
688
|
await endpoint.read('ssIasWd', ['maxDuration']);
|
|
688
689
|
|
|
@@ -758,7 +759,7 @@ module.exports = [
|
|
|
758
759
|
const ep2 = device.getEndpoint(112);
|
|
759
760
|
await reporting.bind(ep2, coordinatorEndpoint, ['genBinaryInput', 'genBasic']);
|
|
760
761
|
await reporting.presentValue(ep2, {min: 0});
|
|
761
|
-
await ep2.read('genBasic', [
|
|
762
|
+
await ep2.read('genBasic', ['develcoPrimarySwVersion', 'develcoPrimaryHwVersion'], options);
|
|
762
763
|
|
|
763
764
|
const ep3 = device.getEndpoint(113);
|
|
764
765
|
await reporting.bind(ep3, coordinatorEndpoint, ['genBinaryInput']);
|
package/devices/fantem.js
CHANGED
|
@@ -9,10 +9,11 @@ const tuya = require('../lib/tuya');
|
|
|
9
9
|
|
|
10
10
|
module.exports = [
|
|
11
11
|
{
|
|
12
|
-
fingerprint: [{modelID: 'TS110F', manufacturerName: '_TZ3210_lfbz816s'}
|
|
12
|
+
fingerprint: [{modelID: 'TS110F', manufacturerName: '_TZ3210_lfbz816s'},
|
|
13
|
+
{modelID: 'TS110F', manufacturerName: '_TZ3210_ebbfkvoy'}],
|
|
13
14
|
model: 'ZB006-X',
|
|
14
15
|
vendor: 'Fantem',
|
|
15
|
-
description: 'Smart dimmer module
|
|
16
|
+
description: 'Smart dimmer module',
|
|
16
17
|
extend: extend.light_onoff_brightness({noConfigure: true}),
|
|
17
18
|
fromZigbee: [...extend.light_onoff_brightness({noConfigure: true}).fromZigbee,
|
|
18
19
|
fz.command_on, fz.command_off, fz.command_move, fz.command_stop, fz.ZB006X_settings],
|
package/devices/heiman.js
CHANGED
|
@@ -11,7 +11,7 @@ const tuya = require('../lib/tuya');
|
|
|
11
11
|
module.exports = [
|
|
12
12
|
{
|
|
13
13
|
fingerprint: [{modelID: 'TS0212', manufacturerName: '_TYZB01_wpmo3ja3'}],
|
|
14
|
-
zigbeeModel: ['CO_V15', 'CO_YDLV10', 'CO_V16', '1ccaa94c49a84abaa9e38687913947ba'],
|
|
14
|
+
zigbeeModel: ['CO_V15', 'CO_YDLV10', 'CO_V16', '1ccaa94c49a84abaa9e38687913947ba', 'CO_CTPG'],
|
|
15
15
|
model: 'HS1CA-M',
|
|
16
16
|
description: 'Smart carbon monoxide sensor',
|
|
17
17
|
vendor: 'HEIMAN',
|
|
@@ -104,7 +104,7 @@ module.exports = [
|
|
|
104
104
|
model: 'HS3CG',
|
|
105
105
|
vendor: 'HEIMAN',
|
|
106
106
|
description: 'Combustible gas sensor',
|
|
107
|
-
fromZigbee: [fz.
|
|
107
|
+
fromZigbee: [fz.ias_gas_alarm_2],
|
|
108
108
|
toZigbee: [],
|
|
109
109
|
exposes: [e.gas(), e.battery_low(), e.tamper()],
|
|
110
110
|
},
|
package/devices/lidl.js
CHANGED
|
@@ -716,7 +716,8 @@ module.exports = [
|
|
|
716
716
|
},
|
|
717
717
|
},
|
|
718
718
|
{
|
|
719
|
-
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_rylaozuc'}
|
|
719
|
+
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_rylaozuc'},
|
|
720
|
+
{modelID: 'TS0502A', manufacturerName: '_TZ3000_5fkufhn1'}],
|
|
720
721
|
model: '14147206L',
|
|
721
722
|
vendor: 'Lidl',
|
|
722
723
|
description: 'Livarno Lux ceiling light',
|
package/devices/lonsonho.js
CHANGED
|
@@ -260,7 +260,7 @@ module.exports = [
|
|
|
260
260
|
extend: extend.light_onoff_brightness(),
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
|
-
fingerprint: [{modelID: 'TS110E', manufacturerName: '_TZ3210_wdexaypg'}],
|
|
263
|
+
fingerprint: [{modelID: 'TS110E', manufacturerName: '_TZ3210_wdexaypg'}, {modelID: 'TS110E', manufacturerName: '_TZ3210_3mpwqzuu'}],
|
|
264
264
|
model: 'TS110E_2gang',
|
|
265
265
|
vendor: 'Lonsonho',
|
|
266
266
|
description: 'Zigbee smart dimmer module 2 gang with neutral',
|
package/devices/mecrator.js
CHANGED
|
@@ -81,7 +81,7 @@ module.exports = [
|
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3210_pfbzs1an'}],
|
|
84
|
-
model: '
|
|
84
|
+
model: 'SPPUSB02',
|
|
85
85
|
vendor: 'Mercator',
|
|
86
86
|
description: 'Ikuü double power point with USB',
|
|
87
87
|
fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering, fz.ignore_basic_report, fz.tuya_switch_power_outage_memory],
|
package/devices/philips.js
CHANGED
|
@@ -2842,10 +2842,24 @@ module.exports = [
|
|
|
2842
2842
|
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2843
2843
|
},
|
|
2844
2844
|
{
|
|
2845
|
-
zigbeeModel: ['
|
|
2845
|
+
zigbeeModel: ['929003048301_01', '929003048301_02', '929003048301_03', '929003048301_04'],
|
|
2846
2846
|
model: '8719514339163',
|
|
2847
2847
|
vendor: 'Philips',
|
|
2848
2848
|
description: 'Hue white ambiance Buckram quadruple spotlight with Bluetooth',
|
|
2849
2849
|
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2850
2850
|
},
|
|
2851
|
+
{
|
|
2852
|
+
zigbeeModel: ['929003048101_01', '929003048101_02', '929003048101_03'],
|
|
2853
|
+
model: '8719514339125',
|
|
2854
|
+
vendor: 'Philips',
|
|
2855
|
+
description: 'Hue white ambiance Buckram triple spotlight with Bluetooth',
|
|
2856
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2857
|
+
},
|
|
2858
|
+
{
|
|
2859
|
+
zigbeeModel: ['929003047901_01', '929003047901_02'],
|
|
2860
|
+
model: '871951433908',
|
|
2861
|
+
vendor: 'Philips',
|
|
2862
|
+
description: 'Hue white ambiance Buckram double spotlight with Bluetooth',
|
|
2863
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2864
|
+
},
|
|
2851
2865
|
];
|
package/devices/sercomm.js
CHANGED
|
@@ -120,4 +120,21 @@ module.exports = [
|
|
|
120
120
|
},
|
|
121
121
|
exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.battery()],
|
|
122
122
|
},
|
|
123
|
+
{
|
|
124
|
+
zigbeeModel: ['SZ-PIR04N', 'SZ-PIR04N_EU'],
|
|
125
|
+
model: 'SZ-PIR04N',
|
|
126
|
+
vendor: 'Sercomm',
|
|
127
|
+
description: 'PIR motion & temperature sensor',
|
|
128
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.illuminance, fz.temperature, fz.battery],
|
|
129
|
+
toZigbee: [],
|
|
130
|
+
meta: {battery: {voltageToPercent: '3V_2500_3200'}},
|
|
131
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
132
|
+
const endpoint = device.getEndpoint(1);
|
|
133
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['msIlluminanceMeasurement', 'msTemperatureMeasurement', 'genPowerCfg']);
|
|
134
|
+
await reporting.illuminance(endpoint);
|
|
135
|
+
await reporting.temperature(endpoint);
|
|
136
|
+
await reporting.batteryVoltage(endpoint);
|
|
137
|
+
},
|
|
138
|
+
exposes: [e.occupancy(), e.tamper(), e.illuminance(), e.temperature(), e.battery(), e.battery_voltage()],
|
|
139
|
+
},
|
|
123
140
|
];
|
package/devices/tuya.js
CHANGED
|
@@ -1332,7 +1332,10 @@ module.exports = [
|
|
|
1332
1332
|
},
|
|
1333
1333
|
},
|
|
1334
1334
|
{
|
|
1335
|
-
fingerprint: [
|
|
1335
|
+
fingerprint: [
|
|
1336
|
+
{modelID: 'TS0601', manufacturerName: '_TZE200_nkjintbl'},
|
|
1337
|
+
{modelID: 'TS0601', manufacturerName: '_TZE200_ji1gn7rw'},
|
|
1338
|
+
],
|
|
1336
1339
|
model: 'TS0601_switch_2_gang',
|
|
1337
1340
|
vendor: 'TuYa',
|
|
1338
1341
|
description: '2 gang switch',
|
|
@@ -1521,9 +1524,7 @@ module.exports = [
|
|
|
1521
1524
|
},
|
|
1522
1525
|
},
|
|
1523
1526
|
{
|
|
1524
|
-
fingerprint: [
|
|
1525
|
-
{modelID: 'TS0201', manufacturerName: '_TZ3000_dowj6gyi'},
|
|
1526
|
-
],
|
|
1527
|
+
fingerprint: tuya.fingerprint('TS0201', ['_TZ3000_dowj6gyi', '_TZ3000_8ybe88nf']),
|
|
1527
1528
|
model: 'IH-K009',
|
|
1528
1529
|
vendor: 'TuYa',
|
|
1529
1530
|
description: 'Temperature & humidity sensor',
|
|
@@ -1822,14 +1823,16 @@ module.exports = [
|
|
|
1822
1823
|
e.switch().withEndpoint('l1'),
|
|
1823
1824
|
e.switch().withEndpoint('l2'),
|
|
1824
1825
|
e.switch().withEndpoint('l3'),
|
|
1825
|
-
|
|
1826
|
-
|
|
1826
|
+
e.power_on_behavior(),
|
|
1827
|
+
e.switch_type_2(),
|
|
1827
1828
|
],
|
|
1828
1829
|
endpoint: (device) => {
|
|
1829
1830
|
return {'l1': 1, 'l2': 2, 'l3': 3};
|
|
1830
1831
|
},
|
|
1831
1832
|
meta: {multiEndpoint: true},
|
|
1832
1833
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
1834
|
+
await device.getEndpoint(1).read('genBasic',
|
|
1835
|
+
['manufacturerName', 'zclVersion', 'appVersion', 'modelId', 'powerSource', 0xfffe]);
|
|
1833
1836
|
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
|
|
1834
1837
|
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
1835
1838
|
await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ['genOnOff']);
|
|
@@ -1848,14 +1851,16 @@ module.exports = [
|
|
|
1848
1851
|
e.switch().withEndpoint('l2'),
|
|
1849
1852
|
e.switch().withEndpoint('l3'),
|
|
1850
1853
|
e.switch().withEndpoint('l4'),
|
|
1851
|
-
|
|
1852
|
-
|
|
1854
|
+
e.power_on_behavior(),
|
|
1855
|
+
e.switch_type_2(),
|
|
1853
1856
|
],
|
|
1854
1857
|
endpoint: (device) => {
|
|
1855
1858
|
return {'l1': 1, 'l2': 2, 'l3': 3, 'l4': 4};
|
|
1856
1859
|
},
|
|
1857
1860
|
meta: {multiEndpoint: true},
|
|
1858
1861
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
1862
|
+
await device.getEndpoint(1).read('genBasic',
|
|
1863
|
+
['manufacturerName', 'zclVersion', 'appVersion', 'modelId', 'powerSource', 0xfffe]);
|
|
1859
1864
|
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
|
|
1860
1865
|
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
1861
1866
|
await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ['genOnOff']);
|
|
@@ -1955,6 +1960,7 @@ module.exports = [
|
|
|
1955
1960
|
{vendor: 'SHOJZJ', model: '378RT'},
|
|
1956
1961
|
{vendor: 'Silvercrest', model: 'TVR01'},
|
|
1957
1962
|
{vendor: 'Immax', model: '07732B'},
|
|
1963
|
+
{vendor: 'Evolveo', model: 'Heat M30'},
|
|
1958
1964
|
],
|
|
1959
1965
|
meta: {tuyaThermostatPreset: tuya.thermostatPresets, tuyaThermostatSystemMode: tuya.thermostatSystemModes3},
|
|
1960
1966
|
ota: ota.zigbeeOTA,
|
package/devices/villeroy_boch.js
CHANGED
|
@@ -5,7 +5,14 @@ module.exports = [
|
|
|
5
5
|
zigbeeModel: ['5991711'],
|
|
6
6
|
model: 'C5850000',
|
|
7
7
|
vendor: 'Villeroy & Boch',
|
|
8
|
-
description: 'Subway 3.0 Zigbee home
|
|
8
|
+
description: 'Subway 3.0 Zigbee home automation kit',
|
|
9
|
+
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [160, 450]}),
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
zigbeeModel: ['EC1300'],
|
|
13
|
+
model: 'C0040000',
|
|
14
|
+
vendor: 'Villeroy & Boch',
|
|
15
|
+
description: 'Zigbee home automation kit for mirror',
|
|
9
16
|
extend: extend.light_onoff_brightness_colortemp({colorTempRange: [160, 450]}),
|
|
10
17
|
},
|
|
11
18
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zigbee-herdsman-converters",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.644",
|
|
4
4
|
"description": "Collection of device converters to be used with zigbee-herdsman",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/Koenkk/zigbee-herdsman-converters",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"axios": "^1.1.
|
|
37
|
+
"axios": "^1.1.3",
|
|
38
38
|
"buffer-crc32": "^0.2.13",
|
|
39
39
|
"https-proxy-agent": "^5.0.1",
|
|
40
40
|
"tar-stream": "^2.2.0",
|