zigbee-herdsman-converters 14.0.592 → 14.0.593

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/giex.js CHANGED
@@ -104,7 +104,10 @@ const tzLocal = {
104
104
 
105
105
  module.exports = [
106
106
  {
107
- fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_sh1btabb'}],
107
+ fingerprint: [
108
+ {modelID: 'TS0601', manufacturerName: '_TZE200_sh1btabb'},
109
+ {modelID: 'TS0601', manufacturerName: '_TZE200_a7sghmms'},
110
+ ],
108
111
  model: 'QT06',
109
112
  vendor: 'GiEX',
110
113
  description: 'Water irrigation valve',
package/devices/lidl.js CHANGED
@@ -561,6 +561,14 @@ module.exports = [
561
561
  device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
562
562
  },
563
563
  },
564
+ {
565
+ fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_zbabx9wh'}],
566
+ model: 'HG08007',
567
+ vendor: 'TuYa',
568
+ description: 'Livarno Home outdoor LED band',
569
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], disableColorTempStartup: true}),
570
+ meta: {applyRedFix: true, enhancedHue: false},
571
+ },
564
572
  {
565
573
  fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_z1vlyufu'}],
566
574
  model: '14158704L',
@@ -1325,7 +1325,7 @@ module.exports = [
1325
1325
  extend: hueExtend.light_onoff_brightness_colortemp(),
1326
1326
  },
1327
1327
  {
1328
- zigbeeModel: ['LTP002'],
1328
+ zigbeeModel: ['LTP002', '929003054901'],
1329
1329
  model: '4023330P7',
1330
1330
  vendor: 'Philips',
1331
1331
  description: 'Hue white ambiance suspension Amaze',
@@ -1,6 +1,7 @@
1
1
  const exposes = require('../lib/exposes');
2
2
  const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee};
3
3
  const tz = require('../converters/toZigbee');
4
+ const extend = require('../lib/extend');
4
5
  const ea = exposes.access;
5
6
 
6
7
  module.exports = [
@@ -49,6 +50,14 @@ module.exports = [
49
50
  ea.STATE_SET).withColor(['hs']),
50
51
  ],
51
52
  },
53
+ {
54
+ fingerprint: [{modelID: 'TS0503B', manufacturerName: '_TZB210_zdvrsts8'}],
55
+ model: 'WZ5_rgb_1',
56
+ vendor: 'TuYa',
57
+ description: 'Zigbee & RF 5 in 1 LED controller (RGB mode)',
58
+ extend: extend.light_onoff_brightness_color({supportsHS: true, preferHS: true, disableEffect: true}),
59
+ meta: {applyRedFix: true, enhancedHue: false},
60
+ },
52
61
  {
53
62
  fingerprint: [
54
63
  {modelID: 'TS0601', manufacturerName: '_TZE200_3thxjahu'},
package/devices/tuya.js CHANGED
@@ -19,7 +19,8 @@ const TS011Fplugs = ['_TZ3000_5f43h46b', '_TZ3000_cphmq0q7', '_TZ3000_dpo1ysak',
19
19
  '_TZ3000_jvzvulen', '_TZ3000_mraovvmm', '_TZ3000_nfnmi125', '_TZ3000_ps3dmato', '_TZ3000_w0qqde0g', '_TZ3000_u5u4cakc',
20
20
  '_TZ3000_rdtixbnu', '_TZ3000_typdpbpg', '_TZ3000_kx0pris5', '_TZ3000_amdymr7l', '_TZ3000_z1pnpsdo', '_TZ3000_ksw8qtmt',
21
21
  '_TZ3000_1h2x4akh', '_TZ3000_9vo5icau', '_TZ3000_cehuw1lw', '_TZ3000_ko6v90pg', '_TZ3000_f1bapcit', '_TZ3000_cjrngdr3',
22
- '_TZ3000_zloso4jk', '_TZ3000_r6buo8ba', '_TZ3000_iksasdbv', '_TZ3000_idrffznf', '_TZ3000_okaz9tjs', '_TZ3210_q7oryllx'];
22
+ '_TZ3000_zloso4jk', '_TZ3000_r6buo8ba', '_TZ3000_iksasdbv', '_TZ3000_idrffznf', '_TZ3000_okaz9tjs', '_TZ3210_q7oryllx',
23
+ '_TZ3000_ss98ec5d', '_TZ3000_gznh2xla'];
23
24
 
24
25
  const tzLocal = {
25
26
  TS0504B_color: {
@@ -796,7 +797,8 @@ module.exports = [
796
797
  {modelID: 'TS0503B', manufacturerName: '_TZ3210_trm3l2aw'},
797
798
  {modelID: 'TS0503B', manufacturerName: '_TZ3210_95txyzbx'},
798
799
  {modelID: 'TS0503B', manufacturerName: '_TZ3210_odlghna1'},
799
- {modelID: 'TS0503B', manufacturerName: '_TZ3220_wp1k8xws'}],
800
+ {modelID: 'TS0503B', manufacturerName: '_TZ3220_wp1k8xws'},
801
+ {modelID: 'TS0503B', manufacturerName: '_TZ3210_wp1k8xws'}],
800
802
  model: 'TS0503B',
801
803
  vendor: 'TuYa',
802
804
  description: 'Zigbee RGB light',
package/lib/utils.js CHANGED
@@ -114,7 +114,10 @@ function addActionGroup(payload, msg, definition) {
114
114
 
115
115
  function postfixWithEndpointName(value, msg, definition, meta) {
116
116
  // Prevent breaking change https://github.com/Koenkk/zigbee2mqtt/issues/13451
117
- if (!meta) meta = {device: null};
117
+ if (!meta) {
118
+ meta.logger.warn(`No meta passed to postfixWithEndpointName, update your external converter!`);
119
+ meta = {device: null};
120
+ }
118
121
  if (definition.meta && definition.meta.multiEndpoint) {
119
122
  const endpointName = definition.hasOwnProperty('endpoint') ?
120
123
  getKey(definition.endpoint(meta.device), msg.endpoint.ID) : msg.endpoint.ID;
package/lib/xiaomi.js CHANGED
@@ -219,7 +219,8 @@ const numericAttributes2Payload = (msg, meta, model, options, dataObject) => {
219
219
  payload[`state_${mapping}`] = value === 1 ? 'ON' : 'OFF';
220
220
  } else if (['WXKG14LM', 'WXKG16LM', 'WXKG17LM'].includes(model.model)) {
221
221
  payload.click_mode = {1: 'fast', 2: 'multi'}[value];
222
- } else if (['WXCJKG11LM', 'WXCJKG12LM', 'WXCJKG13LM', 'ZNMS12LM', 'RTCGQ14LM', 'ZNCLBL01LM'].includes(model.model)) {
222
+ } else if (['WXCJKG11LM', 'WXCJKG12LM', 'WXCJKG13LM', 'ZNMS12LM', 'ZNCLBL01LM', 'RTCGQ12LM', 'RTCGQ13LM', 'RTCGQ14LM',
223
+ 'RTCGQ15LM'].includes(model.model)) {
223
224
  // We don't know what the value means for these devices.
224
225
  // https://github.com/Koenkk/zigbee2mqtt/issues/11126
225
226
  // https://github.com/Koenkk/zigbee2mqtt/issues/12279
@@ -268,7 +269,7 @@ const numericAttributes2Payload = (msg, meta, model, options, dataObject) => {
268
269
  mapping = 'right';
269
270
  }
270
271
  payload[`state_${mapping}`] = value === 1 ? 'ON' : 'OFF';
271
- } else if (['RTCGQ12LM', 'RTCGQ14LM'].includes(model.model)) {
272
+ } else if (['RTCGQ12LM', 'RTCGQ14LM', 'RTCGQ15LM'].includes(model.model)) {
272
273
  // Sometimes RTCGQ14LM reports high illuminance values in the dark
273
274
  // https://github.com/Koenkk/zigbee2mqtt/issues/12596
274
275
  const illuminance = value > 65000 ? 0 : value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.592",
3
+ "version": "14.0.593",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [