zigbee-herdsman-converters 14.0.603 → 14.0.604
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/philips.js +7 -0
- package/devices/tuya.js +10 -2
- package/package.json +1 -1
package/devices/philips.js
CHANGED
|
@@ -336,6 +336,13 @@ module.exports = [
|
|
|
336
336
|
description: 'Hue Iris rose limited edition (generation 4) ',
|
|
337
337
|
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
338
338
|
},
|
|
339
|
+
{
|
|
340
|
+
zigbeeModel: ['929002401201'],
|
|
341
|
+
model: '929002401201',
|
|
342
|
+
vendor: 'Philips',
|
|
343
|
+
description: 'Hue Iris copper special edition (generation 4) ',
|
|
344
|
+
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
345
|
+
},
|
|
339
346
|
{
|
|
340
347
|
zigbeeModel: ['5063130P7'],
|
|
341
348
|
model: '5063130P7',
|
package/devices/tuya.js
CHANGED
|
@@ -278,6 +278,13 @@ const fzLocal = {
|
|
|
278
278
|
return fz.metering.convert(model, msg, publish, options, meta);
|
|
279
279
|
},
|
|
280
280
|
},
|
|
281
|
+
electrical_measurement_skip_duplicate: {
|
|
282
|
+
...fz.electrical_measurement,
|
|
283
|
+
convert: (model, msg, publish, options, meta) => {
|
|
284
|
+
if (utils.hasAlreadyProcessedMessage(msg)) return;
|
|
285
|
+
return fz.electrical_measurement.convert(model, msg, publish, options, meta);
|
|
286
|
+
},
|
|
287
|
+
},
|
|
281
288
|
scenes_recall_scene_65029: {
|
|
282
289
|
cluster: '65029',
|
|
283
290
|
type: ['raw', 'attributeReport'],
|
|
@@ -1744,6 +1751,7 @@ module.exports = [
|
|
|
1744
1751
|
{modelID: 'TS0601', manufacturerName: '_TZE200_e9ba97vf'}, /* model: 'TV01-ZB', vendor: 'Moes' */
|
|
1745
1752
|
{modelID: 'TS0601', manufacturerName: '_TZE200_husqqvux'}, /* model: 'TSL-TRV-TV01ZG', vendor: 'Tesla Smart' */
|
|
1746
1753
|
{modelID: 'TS0601', manufacturerName: '_TZE200_lllliz3p'}, /* model: 'TV02-Zigbee', vendor: 'TuYa' */
|
|
1754
|
+
{modelID: 'TS0601', manufacturerName: '_TZE200_mudxchsu'}, /* model: 'TV05-ZG curve', vendor: 'TuYa' */
|
|
1747
1755
|
],
|
|
1748
1756
|
model: 'TV02-Zigbee',
|
|
1749
1757
|
vendor: 'TuYa',
|
|
@@ -1938,7 +1946,7 @@ module.exports = [
|
|
|
1938
1946
|
{vendor: 'BlitzWolf', model: 'BW-SHP15'}, {vendor: 'Nous', model: 'A1Z'}, {vendor: 'BlitzWolf', model: 'BW-SHP13'},
|
|
1939
1947
|
{vendor: 'MatSee Plus', model: 'PJ-ZSW01'}],
|
|
1940
1948
|
ota: ota.zigbeeOTA,
|
|
1941
|
-
fromZigbee: [fz.on_off,
|
|
1949
|
+
fromZigbee: [fz.on_off, fzLocal.electrical_measurement_skip_duplicate, fzLocal.metering_skip_duplicate, fz.ignore_basic_report,
|
|
1942
1950
|
fz.tuya_switch_power_outage_memory, fz.ts011f_plug_indicator_mode, fz.ts011f_plug_child_mode],
|
|
1943
1951
|
toZigbee: [tz.on_off, tz.tuya_switch_power_outage_memory, tz.ts011f_plug_indicator_mode, tz.ts011f_plug_child_mode],
|
|
1944
1952
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
@@ -1992,7 +2000,7 @@ module.exports = [
|
|
|
1992
2000
|
whiteLabel: [{vendor: 'VIKEFON', model: 'TS011F'}, {vendor: 'BlitzWolf', model: 'BW-SHP15'},
|
|
1993
2001
|
{vendor: 'Avatto', model: 'MIUCOT10Z'}, {vendor: 'Neo', model: 'NAS-WR01B'}],
|
|
1994
2002
|
ota: ota.zigbeeOTA,
|
|
1995
|
-
fromZigbee: [fz.on_off,
|
|
2003
|
+
fromZigbee: [fz.on_off, fzLocal.electrical_measurement_skip_duplicate, fzLocal.metering_skip_duplicate, fz.ignore_basic_report,
|
|
1996
2004
|
fz.tuya_switch_power_outage_memory, fz.ts011f_plug_indicator_mode, fz.ts011f_plug_child_mode],
|
|
1997
2005
|
toZigbee: [tz.on_off, tz.tuya_switch_power_outage_memory, tz.ts011f_plug_indicator_mode, tz.ts011f_plug_child_mode],
|
|
1998
2006
|
configure: async (device, coordinatorEndpoint, logger) => {
|