zigbee-herdsman-converters 21.10.0 → 21.12.0
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/CHANGELOG.md +42 -0
- package/converters/fromZigbee.d.ts +0 -5
- package/converters/fromZigbee.d.ts.map +1 -1
- package/converters/fromZigbee.js +5 -30
- package/converters/fromZigbee.js.map +1 -1
- package/converters/toZigbee.d.ts +343 -352
- package/converters/toZigbee.d.ts.map +1 -1
- package/converters/toZigbee.js +14 -22
- package/converters/toZigbee.js.map +1 -1
- package/devices/adeo.d.ts.map +1 -1
- package/devices/adeo.js +6 -6
- package/devices/adeo.js.map +1 -1
- package/devices/bosch.js +1 -1
- package/devices/bosch.js.map +1 -1
- package/devices/datek.d.ts.map +1 -1
- package/devices/datek.js +13 -1
- package/devices/datek.js.map +1 -1
- package/devices/dresden_elektronik.js +1 -1
- package/devices/dresden_elektronik.js.map +1 -1
- package/devices/gmmts.d.ts.map +1 -1
- package/devices/gmmts.js.map +1 -1
- package/devices/hzc_electric.d.ts.map +1 -1
- package/devices/hzc_electric.js +11 -0
- package/devices/hzc_electric.js.map +1 -1
- package/devices/index.d.ts.map +1 -1
- package/devices/index.js +4 -0
- package/devices/index.js.map +1 -1
- package/devices/lumi.d.ts.map +1 -1
- package/devices/lumi.js +8 -0
- package/devices/lumi.js.map +1 -1
- package/devices/nodon.d.ts.map +1 -1
- package/devices/nodon.js +11 -10
- package/devices/nodon.js.map +1 -1
- package/devices/nous.d.ts.map +1 -1
- package/devices/nous.js +1 -0
- package/devices/nous.js.map +1 -1
- package/devices/plugwise.js +2 -2
- package/devices/plugwise.js.map +1 -1
- package/devices/robb.d.ts.map +1 -1
- package/devices/robb.js +12 -0
- package/devices/robb.js.map +1 -1
- package/devices/salus_controls.d.ts.map +1 -1
- package/devices/salus_controls.js +89 -0
- package/devices/salus_controls.js.map +1 -1
- package/devices/sonoff.d.ts.map +1 -1
- package/devices/sonoff.js +5 -0
- package/devices/sonoff.js.map +1 -1
- package/devices/sunricher.d.ts.map +1 -1
- package/devices/sunricher.js +14 -0
- package/devices/sunricher.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +237 -0
- package/devices/tuya.js.map +1 -1
- package/devices/xal.d.ts +4 -0
- package/devices/xal.d.ts.map +1 -0
- package/devices/xal.js +29 -0
- package/devices/xal.js.map +1 -0
- package/devices/yale.d.ts.map +1 -1
- package/devices/yale.js.map +1 -1
- package/devices/yandex.d.ts.map +1 -1
- package/devices/yandex.js.map +1 -1
- package/devices/yokis.d.ts +4 -0
- package/devices/yokis.d.ts.map +1 -0
- package/devices/yokis.js +2454 -0
- package/devices/yokis.js.map +1 -0
- package/lib/constants.d.ts.map +1 -1
- package/lib/constants.js +4 -0
- package/lib/constants.js.map +1 -1
- package/lib/ewelink.d.ts +1 -1
- package/lib/generateDefinition.d.ts.map +1 -1
- package/lib/generateDefinition.js +2 -2
- package/lib/generateDefinition.js.map +1 -1
- package/lib/ledvance.d.ts +1 -1
- package/lib/legacy.d.ts +123 -123
- package/lib/legrand.d.ts +6 -6
- package/lib/lumi.d.ts +90 -90
- package/lib/modernExtend.d.ts.map +1 -1
- package/lib/modernExtend.js +5 -1
- package/lib/modernExtend.js.map +1 -1
- package/lib/nodon.d.ts +3 -0
- package/lib/nodon.d.ts.map +1 -0
- package/lib/nodon.js +130 -0
- package/lib/nodon.js.map +1 -0
- package/lib/philips.d.ts +10 -10
- package/lib/sunricher.d.ts +1 -1
- package/lib/tuya.d.ts +20 -20
- package/lib/types.d.ts +4 -4
- package/lib/types.d.ts.map +1 -1
- package/lib/zosung.d.ts +2 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [21.12.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v21.11.0...v21.12.0) (2025-01-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Add preset for Salus FC600 ([#8551](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8551)) ([c45179c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c45179c1e7c82731f46c33f84c340f03522130fe))
|
|
9
|
+
* **add:** 050-0511558F ([#8549](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8549)) ([897380f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/897380fca445f24a1716795cbcf8e3529a6407f0))
|
|
10
|
+
* **add:** D692-ZG ([#8534](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8534)) ([d65fcf7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d65fcf7963e2dec53fb507f8d75cae3c5ea0855d))
|
|
11
|
+
* **add:** MTD085-ZB ([#8490](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8490)) ([35f89fb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/35f89fb594c4d12ca7ec058e009346a4ac7d8301))
|
|
12
|
+
* **add:** MTR500E-UP, MTR1300E-UP, MTR2000E-UP, MTV300E-UP, MVR500E-UP, E2BP-UP, E4BP-UP, TLC1-UP, TLC2-UP, TLC4-UP, TLC8-UP, TLM1-UP, TLM2-UP, TLM4-UP, GALET4-UP ([#8537](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8537)) ([099eb66](https://github.com/Koenkk/zigbee-herdsman-converters/commit/099eb666505c4f8796c3ba0d4e5277201610c3b6))
|
|
13
|
+
* Implement PowerOnBehaviour for Aqara T1M lamp (CL-L02D) ([#8550](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8550)) ([e2ae7d6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e2ae7d685ced88b7a1cfa42a785175e49a71f37c))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
* Add endpoint capability to lock type ([#8529](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8529)) ([8f0f023](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8f0f023df4d10477aed23e1b16c335a2d3c9d38a))
|
|
19
|
+
* **detect:** Detect `FLS-PP3\u0000` as Mega23M12 https://github.com/Koenkk/zigbee2mqtt/issues/25382 ([5be3337](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5be3337374c8ee4120966e8cb30b8a80f624391f))
|
|
20
|
+
* Fix configure failure for Datek HSE2905E ([#8546](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8546)) ([979ac52](https://github.com/Koenkk/zigbee-herdsman-converters/commit/979ac527def1e8a5e443004dd2bbffd80aebc019))
|
|
21
|
+
* **ignore:** update dependencies ([#8555](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8555)) ([6214cc0](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6214cc084e5137528ec328b23205e2b2d9b0f0e0))
|
|
22
|
+
|
|
23
|
+
## [21.11.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v21.10.0...v21.11.0) (2024-12-30)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **add:** 050-0131558M, 050-1212558H ([#8523](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8523)) ([042c4bc](https://github.com/Koenkk/zigbee-herdsman-converters/commit/042c4bc731ab549fd11ac2b29517f2e9d4c5b431))
|
|
29
|
+
* **add:** FC600 ([#8528](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8528)) ([54d802e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/54d802eb41f1635a066d868604f8ebfefae0d434))
|
|
30
|
+
* **add:** ROB_200-081-0 ([#8539](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8539)) ([867d9a4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/867d9a4380017e43328907bab3630d53e0faf300))
|
|
31
|
+
* **add:** SR-ZG2835RAC-NK4 ([#8540](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8540)) ([484ade6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/484ade6ee994da1f20e8025e5898edb957c16be8))
|
|
32
|
+
* **add:** SR-ZG2836D5 ([#8541](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8541)) ([0062a4f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0062a4f04f9fb8d0d14493a890e1d58cddbee7da))
|
|
33
|
+
* **add:** TH01 https://github.com/Koenkk/zigbee2mqtt/issues/25365 ([c5041a2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c5041a2ea4cc6b1b21c0060790b06ba76eec55b2))
|
|
34
|
+
* **add:** TR-M3Z ([#8542](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8542)) ([e5c89cb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e5c89cbf16430bc36fd71896aca54cccd5743e6a))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### Bug Fixes
|
|
38
|
+
|
|
39
|
+
* **detect:** Detect `_TZE284_locansqn` as Nous SZ-T04 ([#8536](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8536)) ([23b81a3](https://github.com/Koenkk/zigbee-herdsman-converters/commit/23b81a3a365d4b6be94d97962d27ba164a0ae2c7))
|
|
40
|
+
* **detect:** Detect `RBSH-SWD2-ZB` as Bosch BSEN-C2 ([#8530](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8530)) ([bcfb7f7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bcfb7f728969e804c06e48a5c555250ba50afe1d))
|
|
41
|
+
* Fix read pilot wire mode for Nodon and Equation modules ([#8535](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8535)) ([6c75e42](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6c75e42ac377957f5ca660697c16daa541a7ecb4))
|
|
42
|
+
* **ignore:** update dependencies ([#8531](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8531)) ([786c59b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/786c59b5d7d0b9f1b1022b8919455a205d20b9d5))
|
|
43
|
+
* Update zigbee-herdsman and use new exports ([#8527](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8527)) ([b8a076e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b8a076e30515399ba2f1caaa38cf93d51b2e073a))
|
|
44
|
+
|
|
3
45
|
## [21.10.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v21.9.2...v21.10.0) (2024-12-28)
|
|
4
46
|
|
|
5
47
|
|
|
@@ -80,11 +80,6 @@ declare const converters: {
|
|
|
80
80
|
type: string[];
|
|
81
81
|
convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => Promise<void>;
|
|
82
82
|
};
|
|
83
|
-
nodon_pilot_wire_mode: {
|
|
84
|
-
cluster: string;
|
|
85
|
-
type: string[];
|
|
86
|
-
convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => KeyValueAny;
|
|
87
|
-
};
|
|
88
83
|
TS110E: {
|
|
89
84
|
cluster: string;
|
|
90
85
|
type: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fromZigbee.d.ts","sourceRoot":"","sources":["../../src/converters/fromZigbee.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,OAAO,EAAC,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAuB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"fromZigbee.d.ts","sourceRoot":"","sources":["../../src/converters/fromZigbee.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,OAAO,EAAC,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAuB,MAAM,cAAc,CAAC;AAyuK7E,QAAA,MAAM,UAAU;;;;;;;;;;;;QA7VR;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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GED
|
@@ -301,15 +301,15 @@ const converters1 = {
|
|
|
301
301
|
convert: (model, msg, publish, options, meta) => {
|
|
302
302
|
const result = {};
|
|
303
303
|
if (msg.data.lockState !== undefined) {
|
|
304
|
-
result.state = msg.data.lockState == 1 ? 'LOCK' : 'UNLOCK';
|
|
304
|
+
result[(0, utils_1.postfixWithEndpointName)('state', msg, model, meta)] = msg.data.lockState == 1 ? 'LOCK' : 'UNLOCK';
|
|
305
305
|
const lookup = ['not_fully_locked', 'locked', 'unlocked'];
|
|
306
|
-
result.lock_state = lookup[msg.data['lockState']];
|
|
306
|
+
result[(0, utils_1.postfixWithEndpointName)('lock_state', msg, model, meta)] = lookup[msg.data['lockState']];
|
|
307
307
|
}
|
|
308
308
|
if (msg.data.autoRelockTime !== undefined) {
|
|
309
|
-
result.auto_relock_time = msg.data.autoRelockTime;
|
|
309
|
+
result[(0, utils_1.postfixWithEndpointName)('auto_relock_time', msg, model, meta)] = msg.data.autoRelockTime;
|
|
310
310
|
}
|
|
311
311
|
if (msg.data.soundVolume !== undefined) {
|
|
312
|
-
result.sound_volume = constants.lockSoundVolume[msg.data.soundVolume];
|
|
312
|
+
result[(0, utils_1.postfixWithEndpointName)('sound_volume', msg, model, meta)] = constants.lockSoundVolume[msg.data.soundVolume];
|
|
313
313
|
}
|
|
314
314
|
if (msg.data.doorState !== undefined) {
|
|
315
315
|
const lookup = {
|
|
@@ -320,7 +320,7 @@ const converters1 = {
|
|
|
320
320
|
4: 'error_unspecified',
|
|
321
321
|
0xff: 'undefined',
|
|
322
322
|
};
|
|
323
|
-
result.door_state = lookup[msg.data['doorState']];
|
|
323
|
+
result[(0, utils_1.postfixWithEndpointName)('door_state', msg, model, meta)] = lookup[msg.data['doorState']];
|
|
324
324
|
}
|
|
325
325
|
return result;
|
|
326
326
|
},
|
|
@@ -5268,31 +5268,6 @@ const converters2 = {
|
|
|
5268
5268
|
}
|
|
5269
5269
|
},
|
|
5270
5270
|
},
|
|
5271
|
-
nodon_pilot_wire_mode: {
|
|
5272
|
-
cluster: 'manuSpecificNodOnPilotWire',
|
|
5273
|
-
type: ['attributeReport', 'readResponse'],
|
|
5274
|
-
convert: (model, msg, publish, options, meta) => {
|
|
5275
|
-
const payload = {};
|
|
5276
|
-
const mode = msg.data['mode'];
|
|
5277
|
-
if (mode === 0x00)
|
|
5278
|
-
payload.pilot_wire_mode = 'off';
|
|
5279
|
-
else if (mode === 0x01)
|
|
5280
|
-
payload.pilot_wire_mode = 'comfort';
|
|
5281
|
-
else if (mode === 0x02)
|
|
5282
|
-
payload.pilot_wire_mode = 'eco';
|
|
5283
|
-
else if (mode === 0x03)
|
|
5284
|
-
payload.pilot_wire_mode = 'frost_protection';
|
|
5285
|
-
else if (mode === 0x04)
|
|
5286
|
-
payload.pilot_wire_mode = 'comfort_-1';
|
|
5287
|
-
else if (mode === 0x05)
|
|
5288
|
-
payload.pilot_wire_mode = 'comfort_-2';
|
|
5289
|
-
else {
|
|
5290
|
-
logger_1.logger.warning(`wrong mode : ${mode}`, NS);
|
|
5291
|
-
payload.pilot_wire_mode = 'unknown';
|
|
5292
|
-
}
|
|
5293
|
-
return payload;
|
|
5294
|
-
},
|
|
5295
|
-
},
|
|
5296
5271
|
TS110E: {
|
|
5297
5272
|
cluster: 'genLevelCtrl',
|
|
5298
5273
|
type: ['attributeReport', 'readResponse'],
|