zigbee-herdsman-converters 15.0.101 → 15.0.102
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/bosch.js +1 -1
- package/devices/ledvance.js +1 -1
- package/devices/samotech.js +31 -0
- package/devices/tuya.js +25 -3
- package/package.json +1 -1
package/devices/bosch.js
CHANGED
|
@@ -860,7 +860,7 @@ const definition = [
|
|
|
860
860
|
zigbeeModel: ['RBSH-MMS-ZB-EU'],
|
|
861
861
|
model: 'BMCT-SLZ',
|
|
862
862
|
vendor: 'Bosch',
|
|
863
|
-
description: '
|
|
863
|
+
description: 'Light/shutter control unit II',
|
|
864
864
|
fromZigbee: [fzLocal.bmct, fz.cover_position_tilt, fz.on_off, fz.power_on_behavior],
|
|
865
865
|
toZigbee: [tzLocal.bmct, tz.cover_position_tilt, tz.on_off, tz.power_on_behavior],
|
|
866
866
|
meta: {multiEndpoint: true},
|
package/devices/ledvance.js
CHANGED
|
@@ -31,7 +31,7 @@ module.exports = [
|
|
|
31
31
|
zigbeeModel: ['Panel TW Z3'],
|
|
32
32
|
model: '4058075181472',
|
|
33
33
|
vendor: 'LEDVANCE',
|
|
34
|
-
description: 'SMART+ panel
|
|
34
|
+
description: 'SMART+ panel 60x60cm/120x30cm tunable white',
|
|
35
35
|
extend: extend.ledvance.light_onoff_brightness_colortemp(),
|
|
36
36
|
ota: ota.ledvance,
|
|
37
37
|
},
|
package/devices/samotech.js
CHANGED
|
@@ -27,6 +27,37 @@ module.exports = [
|
|
|
27
27
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genBasic', 'genIdentify', 'genOnOff']);
|
|
28
28
|
},
|
|
29
29
|
},
|
|
30
|
+
{
|
|
31
|
+
zigbeeModel: ['SM308-2CH'],
|
|
32
|
+
model: 'SM308-2CH',
|
|
33
|
+
vendor: 'Samotech',
|
|
34
|
+
description: 'Zigbee 2 channel in wall switch',
|
|
35
|
+
extend: extend.switch({fromZigbee: [fz.electrical_measurement, fz.metering]}),
|
|
36
|
+
exposes: [
|
|
37
|
+
e.switch().withEndpoint('l1'),
|
|
38
|
+
e.switch().withEndpoint('l2'),
|
|
39
|
+
e.power_on_behavior().withEndpoint('l1'),
|
|
40
|
+
e.power_on_behavior().withEndpoint('l2'),
|
|
41
|
+
e.power(), e.current(), e.voltage(), e.energy()],
|
|
42
|
+
endpoint: (device) => {
|
|
43
|
+
return {'l1': 1, 'l2': 2};
|
|
44
|
+
},
|
|
45
|
+
meta: {multiEndpoint: true},
|
|
46
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
47
|
+
const endpoint1 = device.getEndpoint(1);
|
|
48
|
+
const endpoint2 = device.getEndpoint(2);
|
|
49
|
+
const endpoint11 = device.getEndpoint(11);
|
|
50
|
+
await reporting.bind(endpoint1, coordinatorEndpoint, ['genBasic', 'genIdentify', 'genOnOff']);
|
|
51
|
+
await reporting.bind(endpoint2, coordinatorEndpoint, ['genBasic', 'genIdentify', 'genOnOff']);
|
|
52
|
+
await reporting.bind(endpoint11, coordinatorEndpoint, ['genOta', 'haElectricalMeasurement', 'seMetering']);
|
|
53
|
+
await reporting.readEletricalMeasurementMultiplierDivisors(endpoint11);
|
|
54
|
+
await reporting.readMeteringMultiplierDivisor(endpoint11);
|
|
55
|
+
await reporting.rmsVoltage(endpoint11, {min: 10, change: 20});
|
|
56
|
+
await reporting.rmsCurrent(endpoint11, {min: 10, change: 10});
|
|
57
|
+
await reporting.activePower(endpoint11, {min: 10, change: 15});
|
|
58
|
+
await reporting.currentSummDelivered(endpoint11, {min: 300});
|
|
59
|
+
},
|
|
60
|
+
},
|
|
30
61
|
{
|
|
31
62
|
zigbeeModel: ['SM309-S'],
|
|
32
63
|
model: 'SM309-S',
|
package/devices/tuya.js
CHANGED
|
@@ -2391,8 +2391,9 @@ module.exports = [
|
|
|
2391
2391
|
vendor: 'TuYa',
|
|
2392
2392
|
description: '2 gang switch module',
|
|
2393
2393
|
whiteLabel: [
|
|
2394
|
-
{vendor: 'OXT', model: 'SWTZ22'},
|
|
2394
|
+
{vendor: 'OXT', model: 'SWTZ22'},
|
|
2395
2395
|
tuya.whitelabel('pcblab.io', 'RR620ZB', '2 gang Zigbee switch module', ['_TZ3000_4xfqlgqo']),
|
|
2396
|
+
tuya.whitelabel('Nous', 'L13Z', '2 gang switch', ['_TZ3000_ruxexjfz']),
|
|
2396
2397
|
],
|
|
2397
2398
|
extend: tuya.extend.switch({switchType: true, endpoints: ['l1', 'l2']}),
|
|
2398
2399
|
endpoint: (device) => {
|
|
@@ -2518,6 +2519,7 @@ module.exports = [
|
|
|
2518
2519
|
{modelID: 'TS0601', manufacturerName: '_TZE200_3ylew7b4'},
|
|
2519
2520
|
{modelID: 'TS0601', manufacturerName: '_TZE200_llm0epxg'},
|
|
2520
2521
|
{modelID: 'TS0601', manufacturerName: '_TZE200_n1aauwb4'},
|
|
2522
|
+
{modelID: 'TS0601', manufacturerName: '_TZE204_sxm7l9xa'},
|
|
2521
2523
|
{modelID: 'TS0601', manufacturerName: '_TZE200_xu4a5rhj'},
|
|
2522
2524
|
{modelID: 'TS0601', manufacturerName: '_TZE204_r0jdjrvi'},
|
|
2523
2525
|
],
|
|
@@ -3113,7 +3115,9 @@ module.exports = [
|
|
|
3113
3115
|
description: 'Smart plug (with power monitoring by polling)',
|
|
3114
3116
|
vendor: 'TuYa',
|
|
3115
3117
|
whiteLabel: [{vendor: 'VIKEFON', model: 'TS011F'}, {vendor: 'BlitzWolf', model: 'BW-SHP15'},
|
|
3116
|
-
{vendor: 'Avatto', model: 'MIUCOT10Z'}, {vendor: 'Neo', model: 'NAS-WR01B'}, {vendor: 'Neo', model: 'PLUG-001SPB2'}
|
|
3118
|
+
{vendor: 'Avatto', model: 'MIUCOT10Z'}, {vendor: 'Neo', model: 'NAS-WR01B'}, {vendor: 'Neo', model: 'PLUG-001SPB2'},
|
|
3119
|
+
tuya.whitelabel('TuYa', 'BSD29', 'Smart plug (with power monitoring by polling)', ['_TZ3000_okaz9tjs']),
|
|
3120
|
+
],
|
|
3117
3121
|
ota: ota.zigbeeOTA,
|
|
3118
3122
|
extend: tuya.extend.switch({electricalMeasurements: true, powerOutageMemory: true, indicatorMode: true, childLock: true}),
|
|
3119
3123
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
@@ -4218,7 +4222,8 @@ module.exports = [
|
|
|
4218
4222
|
},
|
|
4219
4223
|
{
|
|
4220
4224
|
fingerprint: [{modelID: 'TS004F', manufacturerName: '_TZ3000_4fjiwweb'}, {modelID: 'TS004F', manufacturerName: '_TZ3000_uri7ongn'},
|
|
4221
|
-
{modelID: 'TS004F', manufacturerName: '_TZ3000_ixla93vd'}, {modelID: 'TS004F', manufacturerName: '_TZ3000_qja6nq5z'}
|
|
4225
|
+
{modelID: 'TS004F', manufacturerName: '_TZ3000_ixla93vd'}, {modelID: 'TS004F', manufacturerName: '_TZ3000_qja6nq5z'},
|
|
4226
|
+
{modelID: 'TS004F', manufacturerName: '_TZ3000_abrsvsou'}],
|
|
4222
4227
|
model: 'ERS-10TZBVK-AA',
|
|
4223
4228
|
vendor: 'TuYa',
|
|
4224
4229
|
description: 'Smart knob',
|
|
@@ -4831,4 +4836,21 @@ module.exports = [
|
|
|
4831
4836
|
tuya.whitelabel('TONGOU', 'TO-Q-SY2-163JZT', 'Smart circuit breaker', ['_TZ3000_cayepv1a']),
|
|
4832
4837
|
],
|
|
4833
4838
|
},
|
|
4839
|
+
{
|
|
4840
|
+
fingerprint: tuya.fingerprint('TS000F', ['_TZ3000_m8f3z8ju']),
|
|
4841
|
+
model: 'QS-Zigbee-SEC02-U',
|
|
4842
|
+
vendor: 'TuYa',
|
|
4843
|
+
description: 'Zigbee 3.0 smart light switch module 2 gang',
|
|
4844
|
+
toZigbee: [tz.on_off],
|
|
4845
|
+
extend: extend.switch(),
|
|
4846
|
+
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2')],
|
|
4847
|
+
endpoint: (device) => {
|
|
4848
|
+
return {'l1': 1, 'l2': 2};
|
|
4849
|
+
},
|
|
4850
|
+
meta: {multiEndpoint: true},
|
|
4851
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
4852
|
+
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
|
|
4853
|
+
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
|
|
4854
|
+
},
|
|
4855
|
+
},
|
|
4834
4856
|
];
|