zigbee-herdsman-converters 14.0.422 → 14.0.423
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/converters/toZigbee.js +12 -2
- package/devices/hive.js +14 -0
- package/devices/legrand.js +1 -1
- package/devices/paulmann.js +7 -0
- package/devices/tuya.js +3 -1
- package/npm-shrinkwrap.json +1 -1
- package/package.json +1 -1
package/converters/fromZigbee.js
CHANGED
|
@@ -5125,7 +5125,7 @@ const converters = {
|
|
|
5125
5125
|
},
|
|
5126
5126
|
},
|
|
5127
5127
|
legrand_cable_outlet_mode: {
|
|
5128
|
-
cluster: '
|
|
5128
|
+
cluster: 'manuSpecificLegrandDevices2',
|
|
5129
5129
|
type: ['readResponse'],
|
|
5130
5130
|
convert: (model, msg, publish, options, meta) => {
|
|
5131
5131
|
const payload = {};
|
package/converters/toZigbee.js
CHANGED
|
@@ -4577,10 +4577,20 @@ const converters = {
|
|
|
4577
4577
|
legrand_cableOutletMode: {
|
|
4578
4578
|
key: ['cable_outlet_mode'],
|
|
4579
4579
|
convertSet: async (entity, key, value, meta) => {
|
|
4580
|
-
|
|
4580
|
+
const mode = {
|
|
4581
|
+
'comfort': 0x00,
|
|
4582
|
+
'comfort-1': 0x01,
|
|
4583
|
+
'comfort-2': 0x02,
|
|
4584
|
+
'eco': 0x03,
|
|
4585
|
+
'frost_protection': 0x04,
|
|
4586
|
+
'off': 0x05,
|
|
4587
|
+
};
|
|
4588
|
+
const payload = {data: Buffer.from([mode[value]])};
|
|
4589
|
+
await entity.command('manuSpecificLegrandDevices2', 'command0', payload);
|
|
4590
|
+
return {state: {'cable_outlet_mode': value}};
|
|
4581
4591
|
},
|
|
4582
4592
|
convertGet: async (entity, key, meta) => {
|
|
4583
|
-
await entity.read(
|
|
4593
|
+
await entity.read('manuSpecificLegrandDevices2', [0x0000], manufacturerOptions.legrand);
|
|
4584
4594
|
},
|
|
4585
4595
|
},
|
|
4586
4596
|
legrand_powerAlarm: {
|
package/devices/hive.js
CHANGED
|
@@ -496,4 +496,18 @@ module.exports = [
|
|
|
496
496
|
},
|
|
497
497
|
exposes: [],
|
|
498
498
|
},
|
|
499
|
+
{
|
|
500
|
+
zigbeeModel: ['SLT6'],
|
|
501
|
+
model: 'SLT6',
|
|
502
|
+
vendor: 'Hive',
|
|
503
|
+
description: 'Heating thermostat remote control',
|
|
504
|
+
fromZigbee: [fz.battery],
|
|
505
|
+
toZigbee: [],
|
|
506
|
+
exposes: [e.battery()],
|
|
507
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
508
|
+
const endpoint = device.getEndpoint(9);
|
|
509
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg']);
|
|
510
|
+
await reporting.batteryPercentageRemaining(endpoint);
|
|
511
|
+
},
|
|
512
|
+
},
|
|
499
513
|
];
|
package/devices/legrand.js
CHANGED
|
@@ -313,7 +313,7 @@ module.exports = [
|
|
|
313
313
|
e.power().withAccess(ea.STATE_GET)],
|
|
314
314
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
315
315
|
const endpoint = device.getEndpoint(1);
|
|
316
|
-
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement',
|
|
316
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'manuSpecificLegrandDevices2']);
|
|
317
317
|
await reporting.onOff(endpoint);
|
|
318
318
|
await reporting.readEletricalMeasurementMultiplierDivisors(endpoint);
|
|
319
319
|
await reporting.activePower(endpoint);
|
package/devices/paulmann.js
CHANGED
|
@@ -88,6 +88,13 @@ module.exports = [
|
|
|
88
88
|
description: 'Amaris LED panels',
|
|
89
89
|
extend: extend.light_onoff_brightness_colortemp_color(),
|
|
90
90
|
},
|
|
91
|
+
{
|
|
92
|
+
zigbeeModel: ['371232040'],
|
|
93
|
+
model: '371232040',
|
|
94
|
+
vendor: 'Paulmann',
|
|
95
|
+
description: 'LED panels',
|
|
96
|
+
extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 350]}),
|
|
97
|
+
},
|
|
91
98
|
{
|
|
92
99
|
zigbeeModel: ['500.45'],
|
|
93
100
|
model: '500.45',
|
package/devices/tuya.js
CHANGED
|
@@ -119,7 +119,8 @@ module.exports = [
|
|
|
119
119
|
{
|
|
120
120
|
fingerprint: [{modelID: 'TS0001', manufacturerName: '_TZ3000_hktqahrq'}, {manufacturerName: '_TZ3000_hktqahrq'},
|
|
121
121
|
{manufacturerName: '_TZ3000_q6a3tepg'}, {modelID: 'TS000F', manufacturerName: '_TZ3000_m9af2l6g'},
|
|
122
|
-
{modelID: 'TS0001', manufacturerName: '_TZ3000_npzfdcof'}
|
|
122
|
+
{modelID: 'TS0001', manufacturerName: '_TZ3000_npzfdcof'},
|
|
123
|
+
{modelID: 'TS0001', manufacturerName: '_TZ3000_v7gnj3ad'}],
|
|
123
124
|
model: 'WHD02',
|
|
124
125
|
vendor: 'TuYa',
|
|
125
126
|
description: 'Wall switch module',
|
|
@@ -420,6 +421,7 @@ module.exports = [
|
|
|
420
421
|
{modelID: 'TS0601', manufacturerName: '_TZE200_vhy3iakz'},
|
|
421
422
|
{modelID: 'TS0601', manufacturerName: '_TZE200_oisqyl4o'},
|
|
422
423
|
{modelID: 'TS0601', manufacturerName: '_TZ3000_uim07oem'},
|
|
424
|
+
{modelID: 'TS0601', manufacturerName: '_TZE200_js3mgbjb'},
|
|
423
425
|
],
|
|
424
426
|
model: 'TS0601_switch',
|
|
425
427
|
vendor: 'TuYa',
|
package/npm-shrinkwrap.json
CHANGED