zigbee-herdsman-converters 15.0.3 → 15.0.4
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/toZigbee.js +1 -1
- package/devices/legrand.js +1 -0
- package/devices/philips.js +9 -2
- package/devices/sunricher.js +9 -0
- package/devices/tuya.js +13 -2
- package/package.json +1 -1
package/converters/toZigbee.js
CHANGED
|
@@ -5516,7 +5516,7 @@ const converters = {
|
|
|
5516
5516
|
extensionfieldsets.push({'clstId': 8, 'len': 1, 'extField': [val]});
|
|
5517
5517
|
state['brightness'] = val;
|
|
5518
5518
|
} else if (attribute === 'position') {
|
|
5519
|
-
extensionfieldsets.push({'clstId': 258, 'len': 1, 'extField': [val]});
|
|
5519
|
+
extensionfieldsets.push({'clstId': 258, 'len': 1, 'extField': [100 - val]});
|
|
5520
5520
|
state['position'] = val;
|
|
5521
5521
|
} else if (attribute === 'color_temp') {
|
|
5522
5522
|
/*
|
package/devices/legrand.js
CHANGED
|
@@ -368,6 +368,7 @@ module.exports = [
|
|
|
368
368
|
model: '064882',
|
|
369
369
|
vendor: 'Legrand',
|
|
370
370
|
description: 'Cable outlet with pilot wire and consumption measurement',
|
|
371
|
+
ota: ota.zigbeeOTA,
|
|
371
372
|
fromZigbee: [fz.legrand_cluster_fc01, fz.legrand_cable_outlet_mode, fz.on_off, fz.electrical_measurement, fz.power_on_behavior],
|
|
372
373
|
toZigbee: [tz.legrand_deviceMode, tz.legrand_cableOutletMode, tz.on_off, tz.electrical_measurement_power, tz.power_on_behavior],
|
|
373
374
|
exposes: [exposes.binary('device_mode', ea.ALL, 'pilot_on', 'pilot_off'),
|
package/devices/philips.js
CHANGED
|
@@ -1430,7 +1430,7 @@ module.exports = [
|
|
|
1430
1430
|
zigbeeModel: ['3261331P6', '929003055301'],
|
|
1431
1431
|
model: '3261331P6',
|
|
1432
1432
|
vendor: 'Philips',
|
|
1433
|
-
description: 'Hue white ambiance Still',
|
|
1433
|
+
description: 'Hue white ambiance Still (white)',
|
|
1434
1434
|
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
1435
1435
|
},
|
|
1436
1436
|
{
|
|
@@ -1447,11 +1447,18 @@ module.exports = [
|
|
|
1447
1447
|
description: 'Hue white ambiance Still',
|
|
1448
1448
|
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
1449
1449
|
},
|
|
1450
|
+
{
|
|
1451
|
+
zigbeeModel: ['929003055401'],
|
|
1452
|
+
model: '929003055401',
|
|
1453
|
+
vendor: 'Philips',
|
|
1454
|
+
description: 'Hue white ambiance Still (aluminium)',
|
|
1455
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
1456
|
+
},
|
|
1450
1457
|
{
|
|
1451
1458
|
zigbeeModel: ['929003055501'],
|
|
1452
1459
|
model: '929003055501',
|
|
1453
1460
|
vendor: 'Philips',
|
|
1454
|
-
description: 'Hue white ambiance Still',
|
|
1461
|
+
description: 'Hue white ambiance Still (black)',
|
|
1455
1462
|
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
1456
1463
|
},
|
|
1457
1464
|
{
|
package/devices/sunricher.js
CHANGED
|
@@ -603,4 +603,13 @@ module.exports = [
|
|
|
603
603
|
await endpoint.read('hvacThermostat', [0x2001, 0x2002], options);
|
|
604
604
|
},
|
|
605
605
|
},
|
|
606
|
+
{
|
|
607
|
+
fingerprint: [{modelID: 'TERNCY-DC01', manufacturer: 'Sunricher'}],
|
|
608
|
+
model: 'SR-ZG9010A',
|
|
609
|
+
vendor: 'Sunricher',
|
|
610
|
+
description: 'Door windows sensor',
|
|
611
|
+
fromZigbee: [fz.U02I007C01_contact, fz.battery],
|
|
612
|
+
toZigbee: [],
|
|
613
|
+
exposes: [e.contact(), e.battery()],
|
|
614
|
+
},
|
|
606
615
|
];
|
package/devices/tuya.js
CHANGED
|
@@ -1026,6 +1026,17 @@ module.exports = [
|
|
|
1026
1026
|
vendor: 'TuYa',
|
|
1027
1027
|
extend: extend.light_onoff_brightness({disablePowerOnBehavior: true}),
|
|
1028
1028
|
},
|
|
1029
|
+
{
|
|
1030
|
+
fingerprint: tuya.fingerprint('TS0202', ['_TYZB01_vwqnz1sn']),
|
|
1031
|
+
model: 'TS0202_3',
|
|
1032
|
+
vendor: 'TuYa',
|
|
1033
|
+
description: 'Motion detector with illuminance',
|
|
1034
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_occupancy_alarm_1_report, fz.illuminance],
|
|
1035
|
+
toZigbee: [],
|
|
1036
|
+
onEvent: tuya.onEventSetTime,
|
|
1037
|
+
configure: tuya.configureMagicPacket,
|
|
1038
|
+
exposes: [e.occupancy(), e.battery_low(), e.battery(), e.tamper(), e.illuminance_lux()],
|
|
1039
|
+
},
|
|
1029
1040
|
{
|
|
1030
1041
|
fingerprint: tuya.fingerprint('TS0202', ['_TZ3210_cwamkvua']),
|
|
1031
1042
|
model: 'TS0202_2',
|
|
@@ -1069,7 +1080,6 @@ module.exports = [
|
|
|
1069
1080
|
{
|
|
1070
1081
|
fingerprint: [{modelID: 'TS0202', manufacturerName: '_TYZB01_dr6sduka'},
|
|
1071
1082
|
{modelID: 'TS0202', manufacturerName: '_TYZB01_ef5xlc9q'},
|
|
1072
|
-
{modelID: 'TS0202', manufacturerName: '_TYZB01_vwqnz1sn'},
|
|
1073
1083
|
{modelID: 'TS0202', manufacturerName: '_TYZB01_2b8f6cio'},
|
|
1074
1084
|
{modelID: 'TS0202', manufacturerName: '_TYZB01_71kfvvma'},
|
|
1075
1085
|
{modelID: 'TS0202', manufacturerName: '_TZE200_bq5c8xfe'},
|
|
@@ -2501,7 +2511,8 @@ module.exports = [
|
|
|
2501
2511
|
},
|
|
2502
2512
|
{
|
|
2503
2513
|
zigbeeModel: ['5p1vj8r'],
|
|
2504
|
-
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_t5p1vj8r', '_TZE200_uebojraa', '_TZE200_vzekyi4c', '_TZE200_yh7aoahi'
|
|
2514
|
+
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_t5p1vj8r', '_TZE200_uebojraa', '_TZE200_vzekyi4c', '_TZE200_yh7aoahi',
|
|
2515
|
+
'_TZE200_dnz6yvl2']),
|
|
2505
2516
|
model: 'TS0601_smoke',
|
|
2506
2517
|
vendor: 'TuYa',
|
|
2507
2518
|
description: 'Smoke sensor',
|