zigbee-herdsman-converters 15.0.82 → 15.0.84
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/lutron.js +1 -1
- package/devices/owon.js +1 -1
- package/devices/tuya.js +31 -1
- package/lib/ota/zigbeeOTA.js +3 -3
- package/package.json +1 -1
package/devices/lutron.js
CHANGED
|
@@ -13,7 +13,7 @@ module.exports = [
|
|
|
13
13
|
description: 'Connected bulb remote control',
|
|
14
14
|
fromZigbee: [fz.legacy.insta_down_hold, fz.legacy.insta_up_hold, fz.legacy.LZL4B_onoff, fz.legacy.insta_stop],
|
|
15
15
|
toZigbee: [],
|
|
16
|
-
exposes: [e.action(['
|
|
16
|
+
exposes: [e.action(['brightness_step_down', 'brightness_step_up', 'brightness_stop', 'brightness_move_to_level'])],
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
zigbeeModel: ['Z3-1BRL'],
|
package/devices/owon.js
CHANGED
|
@@ -11,7 +11,7 @@ const fzLocal = {
|
|
|
11
11
|
...fz.temperature,
|
|
12
12
|
convert: (model, msg, publish, options, meta) => {
|
|
13
13
|
// https://github.com/Koenkk/zigbee2mqtt/issues/15173
|
|
14
|
-
if (msg.data.measuredValue <
|
|
14
|
+
if (msg.data.measuredValue < 32767) {
|
|
15
15
|
return fz.temperature.convert(model, msg, publish, options, meta);
|
|
16
16
|
}
|
|
17
17
|
},
|
package/devices/tuya.js
CHANGED
|
@@ -2631,7 +2631,7 @@ module.exports = [
|
|
|
2631
2631
|
},
|
|
2632
2632
|
{
|
|
2633
2633
|
fingerprint: tuya.fingerprint('TS011F',
|
|
2634
|
-
['_TZ3000_hyfvrar3', '_TZ3000_v1pdxuqq', '_TZ3000_8a833yls', '_TZ3000_bfn1w0mm', '_TZ3000_nzkqcvvs']),
|
|
2634
|
+
['_TZ3000_hyfvrar3', '_TZ3000_v1pdxuqq', '_TZ3000_8a833yls', '_TZ3000_bfn1w0mm', '_TZ3000_nzkqcvvs', '_TZ3000_rtcrrvia']),
|
|
2635
2635
|
model: 'TS011F_plug_2',
|
|
2636
2636
|
description: 'Smart plug (without power monitoring)',
|
|
2637
2637
|
vendor: 'TuYa',
|
|
@@ -2727,6 +2727,36 @@ module.exports = [
|
|
|
2727
2727
|
],
|
|
2728
2728
|
},
|
|
2729
2729
|
},
|
|
2730
|
+
{
|
|
2731
|
+
fingerprint: [
|
|
2732
|
+
{modelID: 'TS0601', manufacturerName: '_TZE200_ux5v4dbd'}, // [KnockautX / Brelag AG, Switzerland](https://www.brelag.com)
|
|
2733
|
+
],
|
|
2734
|
+
vendor: 'TuYa',
|
|
2735
|
+
model: 'TS0601_smoke_3',
|
|
2736
|
+
description: 'Photoelectric smoke detector',
|
|
2737
|
+
whiteLabel: [
|
|
2738
|
+
{vendor: 'KnockautX', model: 'SMOAL024'},
|
|
2739
|
+
],
|
|
2740
|
+
configure: tuya.configureMagicPacket,
|
|
2741
|
+
fromZigbee: [tuya.fz.datapoints],
|
|
2742
|
+
toZigbee: [tuya.tz.datapoints],
|
|
2743
|
+
exposes: [e.smoke(), tuya.exposes.batteryState()],
|
|
2744
|
+
meta: {
|
|
2745
|
+
tuyaDatapoints: [
|
|
2746
|
+
/**
|
|
2747
|
+
* According to the Vendor "KnockautX / Brelag AG" DP 16 "muffling"
|
|
2748
|
+
* is supported as well. But it was not possible to verify this using
|
|
2749
|
+
* SMOLA024 devices - therefore it is not included in the device definition.
|
|
2750
|
+
*
|
|
2751
|
+
* Data Transfer Type: Send and Report
|
|
2752
|
+
* Data Type: Bool
|
|
2753
|
+
* muffling: 16,
|
|
2754
|
+
*/
|
|
2755
|
+
[1, 'smoke', tuya.valueConverter.trueFalse0],
|
|
2756
|
+
[14, 'battery_state', tuya.valueConverter.batteryState],
|
|
2757
|
+
],
|
|
2758
|
+
},
|
|
2759
|
+
},
|
|
2730
2760
|
{
|
|
2731
2761
|
zigbeeModel: ['5p1vj8r'],
|
|
2732
2762
|
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_t5p1vj8r', '_TZE200_uebojraa', '_TZE200_vzekyi4c', '_TZE200_yh7aoahi',
|
package/lib/ota/zigbeeOTA.js
CHANGED
|
@@ -127,10 +127,10 @@ async function isNewImageAvailable(current, logger, device, getImageMeta) {
|
|
|
127
127
|
// The current.fileVersion which comes from the device is wrong.
|
|
128
128
|
// Use the `aqaraFileVersion` which comes from the aqaraOpple.attributeReport instead.
|
|
129
129
|
// https://github.com/Koenkk/zigbee2mqtt/issues/16345#issuecomment-1454835056
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/16345 doesn't seem to be needed for all
|
|
131
|
+
if (device.meta.aqaraFileVersion) {
|
|
132
|
+
current = {...current, fileVersion: device.meta.aqaraFileVersion};
|
|
132
133
|
}
|
|
133
|
-
current = {...current, fileVersion: device.meta.aqaraFileVersion};
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
return common.isNewImageAvailable(current, logger, device, getImageMeta);
|