zigbee-herdsman-converters 14.0.398 → 14.0.399

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.
@@ -5263,7 +5263,8 @@ const converters = {
5263
5263
  } else if (['RTCGQ12LM'].includes(model.model)) {
5264
5264
  payload.illuminance = calibrateAndPrecisionRoundOptions(value, options, 'illuminance');
5265
5265
  }
5266
- } else if (index === 149) {
5266
+ } else if (index === 105) payload.motion_sensitivity = {1: 'low', 2: 'medium', 3: 'high'}[value]; // RTCGQ13LM
5267
+ else if (index === 149) {
5267
5268
  payload.energy = precisionRound(value, 2); // 0x95
5268
5269
  // Consumption is deprecated
5269
5270
  payload.consumption = payload.energy;
package/devices/edp.js CHANGED
@@ -16,8 +16,10 @@ module.exports = [
16
16
  configure: async (device, coordinatorEndpoint, logger) => {
17
17
  const endpoint = device.getEndpoint(85);
18
18
  await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'seMetering']);
19
+ // await reporting.readMeteringMultiplierDivisor(endpoint);
20
+ // Fix for UNSUPPORTED_ATTRIBUTE
21
+ endpoint.saveClusterAttributeKeyValue('seMetering', {divisor: 1000, multiplier: 1});
19
22
  await reporting.onOff(endpoint);
20
- await reporting.readMeteringMultiplierDivisor(endpoint);
21
23
  await reporting.instantaneousDemand(endpoint);
22
24
  },
23
25
  exposes: [e.switch(), e.power(), e.energy()],
@@ -186,6 +186,18 @@ module.exports = [
186
186
  await reporting.brightness(endpoint);
187
187
  },
188
188
  },
189
+ {
190
+ zigbeeModel: ['CH2AX/SWITCH/1'],
191
+ model: '41E2PBSWMZ/356PB2MBTZ',
192
+ vendor: 'Schneider Electric',
193
+ description: 'Wiser 40/300-Series module switch 2A',
194
+ extend: extend.switch(),
195
+ configure: async (device, coordinatorEndpoint, logger) => {
196
+ const endpoint = device.getEndpoint(1);
197
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
198
+ await reporting.onOff(endpoint);
199
+ },
200
+ },
189
201
  {
190
202
  zigbeeModel: ['SMARTPLUG/1'],
191
203
  model: 'CCT711119',
@@ -260,7 +260,8 @@ module.exports = [
260
260
  exposes: [e.action(['press_on', 'press_off', 'hold_on', 'hold_off', 'release'])],
261
261
  },
262
262
  {
263
- fingerprint: [{modelID: 'GreenPower_2', ieeeAddr: /^0x000000005d5.....$/}],
263
+ fingerprint: [{modelID: 'GreenPower_2', ieeeAddr: /^0x000000005d5.....$/},
264
+ {modelID: 'GreenPower_2', ieeeAddr: /^0x0000000057e.....$/}],
264
265
  model: 'SR-ZGP2801K4-DIM',
265
266
  vendor: 'Sunricher',
266
267
  description: 'Pushbutton transmitter module',
package/devices/tuya.js CHANGED
@@ -201,6 +201,13 @@ module.exports = [
201
201
  toZigbee: utils.replaceInArray(extend.light_onoff_brightness_color().toZigbee, [tz.light_color], [tzLocal.TS0504B_color]),
202
202
  meta: {applyRedFix: true},
203
203
  },
204
+ {
205
+ fingerprint: [{modelID: 'TS0501A', manufacturerName: '_TZ3000_yeg1e5eh'}],
206
+ model: 'TS0501A',
207
+ description: 'Zigbee light',
208
+ vendor: 'TuYa',
209
+ extend: extend.light_onoff_brightness(),
210
+ },
204
211
  {
205
212
  fingerprint: [{modelID: 'TS0501B', manufacturerName: '_TZ3000_4whigl8i'},
206
213
  {modelID: 'TS0501B', manufacturerName: '_TZ3210_4whigl8i'},
@@ -848,6 +855,7 @@ module.exports = [
848
855
  {modelID: 'TS0601', manufacturerName: '_TZE200_fzo2pocs'},
849
856
  {modelID: 'TS0601', manufacturerName: '_TZE200_5sbebbzs'},
850
857
  {modelID: 'TS0601', manufacturerName: '_TZE200_zuz7f94z'},
858
+ {modelID: 'TS0601', manufacturerName: '_TZE200_zyrdrmno'},
851
859
  ],
852
860
  model: 'TS0601_cover',
853
861
  vendor: 'TuYa',
@@ -867,6 +875,7 @@ module.exports = [
867
875
  {vendor: 'Zemismart', model: 'M2805EGBZTN', description: 'Tubular motor'},
868
876
  {vendor: 'Zemismart', model: 'BCM500DS-TYZ', description: 'Curtain motor'},
869
877
  {vendor: 'A-OK', model: 'AM25', description: 'Tubular motor'},
878
+ {vendor: 'Alutech', model: 'AM/R-Sm', description: 'Tubular motor'},
870
879
  ],
871
880
  fromZigbee: [fz.tuya_cover, fz.ignore_basic_report],
872
881
  toZigbee: [tz.tuya_cover_control, tz.tuya_cover_options],
@@ -1434,7 +1443,8 @@ module.exports = [
1434
1443
  {
1435
1444
  fingerprint: [{modelID: 'TS0014', manufacturerName: '_TZ3000_jr2atpww'}, {modelID: 'TS0014', manufacturerName: '_TYZB01_dvakyzhd'},
1436
1445
  {modelID: 'TS0014', manufacturerName: '_TZ3210_w3hl6rao'}, {modelID: 'TS0014', manufacturerName: '_TYZB01_bagt1e4o'},
1437
- {modelID: 'TS0014', manufacturerName: '_TZ3000_r0pmi2p3'}, {modelID: 'TS0014', manufacturerName: '_TZ3000_fxjdcikv'}],
1446
+ {modelID: 'TS0014', manufacturerName: '_TZ3000_r0pmi2p3'}, {modelID: 'TS0014', manufacturerName: '_TZ3000_fxjdcikv'},
1447
+ {modelID: 'TS0014', manufacturerName: '_TZ3000_q6vxaod1'}],
1438
1448
  model: 'TS0014',
1439
1449
  vendor: 'TuYa',
1440
1450
  description: 'Smart light switch - 4 gang without neutral wire',
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.398",
3
+ "version": "14.0.399",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.398",
3
+ "version": "14.0.399",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [