zigbee-herdsman-converters 14.0.453 → 14.0.456

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.
@@ -34,7 +34,7 @@ module.exports = [
34
34
  },
35
35
  },
36
36
  {
37
- zigbeeModel: ['ZLL-ExtendedColo', 'ZLL-ExtendedColor', 'AD-RGBW3001'],
37
+ zigbeeModel: ['ZLL-ExtendedColo', 'ZLL-ExtendedColor'],
38
38
  model: '81809/81813',
39
39
  vendor: 'AduroSmart',
40
40
  description: 'ERIA colors and white shades smart light bulb A19/BR30',
@@ -44,6 +44,14 @@ module.exports = [
44
44
  return {'default': 2};
45
45
  },
46
46
  },
47
+ {
48
+ zigbeeModel: ['AD-RGBW3001'],
49
+ model: '81809FBA',
50
+ vendor: 'AduroSmart',
51
+ description: 'ERIA colors and white shades smart light bulb A19/BR30',
52
+ extend: extend.light_onoff_brightness_colortemp_color({supportsHS: true, colorTempRange: [153, 500]}),
53
+ meta: {applyRedFix: true},
54
+ },
47
55
  {
48
56
  zigbeeModel: ['AD-E14RGBW3001'],
49
57
  model: '81895',
package/devices/tuya.js CHANGED
@@ -12,7 +12,7 @@ const utils = require('../lib/utils');
12
12
 
13
13
  const TS011Fplugs = ['_TZ3000_5f43h46b', '_TZ3000_cphmq0q7', '_TZ3000_dpo1ysak', '_TZ3000_ew3ldmgx', '_TZ3000_gjnozsaz',
14
14
  '_TZ3000_jvzvulen', '_TZ3000_mraovvmm', '_TZ3000_nfnmi125', '_TZ3000_ps3dmato', '_TZ3000_w0qqde0g', '_TZ3000_u5u4cakc',
15
- '_TZ3000_rdtixbnu', '_TZ3000_typdpbpg', '_TZ3000_kx0pris5', '_TZ3000_amdymr7l'];
15
+ '_TZ3000_rdtixbnu', '_TZ3000_typdpbpg', '_TZ3000_kx0pris5', '_TZ3000_amdymr7l', '_TZ3000_z1pnpsdo'];
16
16
 
17
17
  const tzLocal = {
18
18
  TS0504B_color: {
@@ -238,7 +238,9 @@ module.exports = [
238
238
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_bfwvfyx1'},
239
239
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_leyz4rju'},
240
240
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_jd3z4yig'},
241
- {modelID: 'TS0505B', manufacturerName: '_TZ3210_dgdjiw1c'}],
241
+ {modelID: 'TS0505B', manufacturerName: '_TZ3210_dgdjiw1c'},
242
+ {modelID: 'TS0505B', manufacturerName: '_TZ3210_a4s41wm4'},
243
+ {modelID: 'TS0505B', manufacturerName: '_TZ3210_qxenlrin'}],
242
244
  model: 'TS0505B',
243
245
  vendor: 'TuYa',
244
246
  description: 'Zigbee RGB+CCT light',
@@ -629,14 +631,16 @@ module.exports = [
629
631
  {
630
632
  fingerprint: [
631
633
  {modelID: 'TS0502B', manufacturerName: '_TZ3210_s1x7gcq0'},
632
- {modelID: 'TS0502B', manufacturerName: '_TZ3000_muqovqv0'},
633
634
  {modelID: 'TS0502B', manufacturerName: '_TZ3210_hi1ym4bl'},
635
+ {modelID: 'TS0502B', manufacturerName: '_TZ3000_muqovqv0'},
636
+ {modelID: 'TS0502B', manufacturerName: '_TZ3210_qjdimezy'},
634
637
  {modelID: 'TS0502B', manufacturerName: '_TZ3210_psgq7ysz'},
635
638
  {modelID: 'TS0502B', manufacturerName: '_TZ3000_zw7wr5uo'},
636
639
  {modelID: 'TS0502B', manufacturerName: '_TZ3210_pz9zmxjj'},
637
640
  {modelID: 'TS0502B', manufacturerName: '_TZ3000_fzwhym79'},
638
641
  {modelID: 'TS0502B', manufacturerName: '_TZ3210_rm0hthdo'},
639
642
  {modelID: 'TS0502B', manufacturerName: '_TZ3210_zwqnazkb'},
643
+ {modelID: 'TS0502B', manufacturerName: '_TZ3210_ijsj2evj'},
640
644
  ],
641
645
  model: 'TS0502B',
642
646
  vendor: 'TuYa',
@@ -1039,6 +1043,7 @@ module.exports = [
1039
1043
  {modelID: 'TS0601', manufacturerName: '_TZE200_ywdxldoj'},
1040
1044
  {modelID: 'TS0601', manufacturerName: '_TZE200_cwnjrr72'},
1041
1045
  {modelID: 'TS0601', manufacturerName: '_TZE200_pvvbommb'},
1046
+ {modelID: 'TS0601', manufacturerName: '_TZE200_9sfg7gm0'}, // HomeCloud
1042
1047
  {modelID: 'TS0601', manufacturerName: '_TZE200_2atgpdho'}, // HY367
1043
1048
  {modelID: 'TS0601', manufacturerName: '_TZE200_cpmgn2cf'},
1044
1049
  ],
package/lib/xiaomi.js CHANGED
@@ -255,7 +255,7 @@ const numericAttributes2Payload = (msg, meta, model, options, dataObject) => {
255
255
  if (['QBKG25LM', 'QBKG34LM'].includes(model.model)) {
256
256
  payload.state_right = value === 1 ? 'ON' : 'OFF';
257
257
  } else if (['WSDCGQ01LM', 'WSDCGQ11LM'].includes(model.model)) {
258
- payload.pressure = calibrateAndPrecisionRoundOptions(value, options, 'pressure');
258
+ payload.pressure = calibrateAndPrecisionRoundOptions(value/100.0, options, 'pressure');
259
259
  } else if (['RTCZCGQ11LM'].includes(model.model)) {
260
260
  if (meta.device.applicationVersion < 50) {
261
261
  payload.presence_event = {0: 'enter', 1: 'leave', 2: 'left_enter', 3: 'right_leave', 4: 'right_enter',
@@ -428,9 +428,12 @@ const numericAttributes2Payload = (msg, meta, model, options, dataObject) => {
428
428
  }
429
429
  break;
430
430
  case '65282':
431
- // This is a a complete structure with attributes, at this moment we only extract voltage
432
- // Other elements like value[0].elmVal contain the "state" (for example contact for door sensor)
433
- // but it seems to be always 1 for a occupancy sensor, so we ignore them at this moment
431
+ // This is a a complete structure with attributes, like element 0 for state, element 1 for voltage...
432
+ // At this moment we only extract what we are sure, for example, position 0 seems to be always 1 for a
433
+ // occupancy sensor, so we ignore it at this moment
434
+ if (['MCCGQ01LM'].includes(model.model)) {
435
+ payload.contact = value[0].elmVal === 0;
436
+ }
434
437
  payload.voltage = value[1].elmVal;
435
438
  if (model.meta && model.meta.battery && model.meta.battery.voltageToPercentage) {
436
439
  payload.battery = batteryVoltageToPercentage(payload.voltage, model.meta.battery.voltageToPercentage);
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.453",
3
+ "version": "14.0.456",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "zigbee-herdsman-converters",
9
- "version": "14.0.453",
9
+ "version": "14.0.456",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "axios": "^0.26.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.453",
3
+ "version": "14.0.456",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [