zigbee-herdsman-converters 14.0.499 → 14.0.500
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/nue_3a.js +5 -1
- package/devices/tuya.js +0 -2
- package/devices/zemismart.js +9 -0
- package/lib/xiaomi.js +2 -1
- package/package.json +1 -1
package/devices/nue_3a.js
CHANGED
|
@@ -137,8 +137,12 @@ module.exports = [
|
|
|
137
137
|
model: 'HGZB-04D / HGZB-4D-UK',
|
|
138
138
|
vendor: 'Nue / 3A',
|
|
139
139
|
description: 'Smart dimmer wall switch',
|
|
140
|
-
extend: extend.light_onoff_brightness({disableEffect: true}),
|
|
140
|
+
extend: extend.light_onoff_brightness({disableEffect: true, noConfigure: true}),
|
|
141
141
|
whiteLabel: [{vendor: 'Sunricher', model: 'SR-ZG9001K8-DIM'}],
|
|
142
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
143
|
+
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
|
|
144
|
+
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff', 'genLevelCtrl']);
|
|
145
|
+
},
|
|
142
146
|
},
|
|
143
147
|
{
|
|
144
148
|
zigbeeModel: ['FB56+ZSW1HKJ1.7', 'FB56+ZSW1HKJ2.5', 'FB56+ZSW1HKJ2.7'],
|
package/devices/tuya.js
CHANGED
|
@@ -1086,7 +1086,6 @@ module.exports = [
|
|
|
1086
1086
|
// Window pushers:
|
|
1087
1087
|
{modelID: 'TS0601', manufacturerName: '_TZE200_g5wdnuow'},
|
|
1088
1088
|
// Tubular motors:
|
|
1089
|
-
{modelID: 'TS0601', manufacturerName: '_TZE200_fzo2pocs'},
|
|
1090
1089
|
{modelID: 'TS0601', manufacturerName: '_TZE200_5sbebbzs'},
|
|
1091
1090
|
{modelID: 'TS0601', manufacturerName: '_TZE200_zuz7f94z'},
|
|
1092
1091
|
{modelID: 'TS0601', manufacturerName: '_TZE200_zyrdrmno'},
|
|
@@ -1107,7 +1106,6 @@ module.exports = [
|
|
|
1107
1106
|
{vendor: 'Moes', model: 'AM43-0.45/40-ES-EB'},
|
|
1108
1107
|
{vendor: 'Larkkey', model: 'ZSTY-SM-1SRZG-EU'},
|
|
1109
1108
|
{vendor: 'Zemismart', model: 'ZM85EL-2Z', description: 'Roman Rod I type curtains track'},
|
|
1110
|
-
{vendor: 'Zemismart', model: 'ZM25TQ', description: 'Tubular motor'},
|
|
1111
1109
|
{vendor: 'Zemismart', model: 'AM43', description: 'Roller blind motor'},
|
|
1112
1110
|
{vendor: 'Zemismart', model: 'M2805EGBZTN', description: 'Tubular motor'},
|
|
1113
1111
|
{vendor: 'Zemismart', model: 'BCM500DS-TYZ', description: 'Curtain motor'},
|
package/devices/zemismart.js
CHANGED
|
@@ -154,4 +154,13 @@ module.exports = [
|
|
|
154
154
|
// exposes.enum('situation_set', ea.STATE, Object.values(tuya.ZMAM02.AM02Situation)),
|
|
155
155
|
],
|
|
156
156
|
},
|
|
157
|
+
{
|
|
158
|
+
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_fzo2pocs'}],
|
|
159
|
+
model: 'ZM25TQ',
|
|
160
|
+
vendor: 'Zemismart',
|
|
161
|
+
description: 'Tubular motor',
|
|
162
|
+
fromZigbee: [fz.tuya_cover, fz.ignore_basic_report],
|
|
163
|
+
toZigbee: [tz.tuya_cover_control, tz.tuya_cover_options, tz.tuya_data_point_test],
|
|
164
|
+
exposes: [e.cover_position().setAccess('position', ea.STATE_SET)],
|
|
165
|
+
},
|
|
157
166
|
];
|
package/lib/xiaomi.js
CHANGED
|
@@ -196,9 +196,10 @@ const numericAttributes2Payload = (msg, meta, model, options, dataObject) => {
|
|
|
196
196
|
payload[`state_${mapping}`] = value === 1 ? 'ON' : 'OFF';
|
|
197
197
|
} else if (['WXKG14LM', 'WXKG16LM', 'WXKG17LM'].includes(model.model)) {
|
|
198
198
|
payload.click_mode = {1: 'fast', 2: 'multi'}[value];
|
|
199
|
-
} else if (['WXCJKG11LM', 'WXCJKG12LM', 'WXCJKG13LM'].includes(model.model)) {
|
|
199
|
+
} else if (['WXCJKG11LM', 'WXCJKG12LM', 'WXCJKG13LM', 'ZNMS12LM'].includes(model.model)) {
|
|
200
200
|
// We don't know what the value means for these devices.
|
|
201
201
|
// https://github.com/Koenkk/zigbee2mqtt/issues/11126
|
|
202
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/12279
|
|
202
203
|
} else if (['WSDCGQ01LM', 'WSDCGQ11LM'].includes(model.model)) {
|
|
203
204
|
// https://github.com/Koenkk/zigbee2mqtt/issues/798
|
|
204
205
|
// Sometimes the sensor publishes non-realistic vales, filter these
|