zigbee-herdsman-converters 19.40.0 → 19.42.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 +36 -0
- package/converters/toZigbee.d.ts.map +1 -1
- package/converters/toZigbee.js +13 -15
- package/converters/toZigbee.js.map +1 -1
- package/devices/bosch.d.ts.map +1 -1
- package/devices/bosch.js +93 -71
- package/devices/bosch.js.map +1 -1
- package/devices/custom_devices_diy.d.ts.map +1 -1
- package/devices/custom_devices_diy.js +42 -26
- package/devices/custom_devices_diy.js.map +1 -1
- package/devices/innr.d.ts.map +1 -1
- package/devices/innr.js +18 -0
- package/devices/innr.js.map +1 -1
- package/devices/iotperfect.d.ts.map +1 -1
- package/devices/iotperfect.js +1 -0
- package/devices/iotperfect.js.map +1 -1
- package/devices/lumi.d.ts.map +1 -1
- package/devices/lumi.js +42 -1
- package/devices/lumi.js.map +1 -1
- package/devices/paulmann.js +5 -5
- package/devices/paulmann.js.map +1 -1
- package/devices/schneider_electric.d.ts.map +1 -1
- package/devices/schneider_electric.js +236 -0
- package/devices/schneider_electric.js.map +1 -1
- package/devices/shinasystem.d.ts.map +1 -1
- package/devices/shinasystem.js +34 -0
- package/devices/shinasystem.js.map +1 -1
- package/devices/tuya.js +2 -2
- package/devices/tuya.js.map +1 -1
- package/devices/ubisys.js +1 -1
- package/devices/ubisys.js.map +1 -1
- package/devices/yale.js +1 -1
- package/devices/yale.js.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/lib/lumi.d.ts +1 -1
- package/lib/lumi.d.ts.map +1 -1
- package/lib/lumi.js +5 -0
- package/lib/lumi.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [19.42.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.41.0...v19.42.0) (2024-05-20)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **add:** AE 270 T ([#7537](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7537)) ([b65b3e4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b65b3e405c72d7ec8d4675b1ea6ad291b71de4ef))
|
|
9
|
+
* **add:** E8332DST350ZB, E8331SRY800ZB, E8332SRY800ZB, E8333SRY800ZB, E8332SCN300ZB ([#7522](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7522)) ([e12a256](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e12a2563d1c15b32d6afda0fa90756941fcffe52))
|
|
10
|
+
* **add:** TCM-300Z ([#7538](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7538)) ([380417b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/380417b050475be9311485d23f55dab473e468de))
|
|
11
|
+
* Allow to change sensitivity of Aqara ZNXNKG02LM ([#7536](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7536)) ([0b953ea](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0b953ea8b0067a4e55de42bc1783a663bff0dc15))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* Bug fixes in the PTVO device converter ([#7534](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7534)) ([1f9f764](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1f9f764cb2bccad0c2e8395c4f13a6a62f9921a1))
|
|
17
|
+
* **detect:** Detect `_TZ3000_j61x9rxn` as TuYa TS0044_1 [@ferarias](https://github.com/ferarias) https://github.com/Koenkk/zigbee2mqtt/issues/22669 ([7e347fa](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7e347fa6f9a2fbb68aad7a27d9ee41f79a73d33d))
|
|
18
|
+
* Fix `Failed to configure TypeError: func is not a function` https://github.com/Koenkk/zigbee2mqtt/issues/22573 ([4f0a38c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4f0a38caba2306cf7c962bdc8f1bb50411868802))
|
|
19
|
+
* Fix red color not working for Paulmann 500.4X https://github.com/Koenkk/zigbee2mqtt/issues/22686 ([588b035](https://github.com/Koenkk/zigbee-herdsman-converters/commit/588b0353bd9246a947922d78d21b778f8a255068))
|
|
20
|
+
* Improve `modernExtend` for Bosch BSEN-C*, BWA-1 & BTH-* ([#7525](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7525)) ([ac9a1b3](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ac9a1b34d2bcec320f0613c5bc7ca92d5550f38c))
|
|
21
|
+
|
|
22
|
+
## [19.41.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.40.0...v19.41.0) (2024-05-18)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **add:** RB 267 ([#7527](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7527)) ([010319f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/010319fc669fbdc2d7ef9ad3aa12ee4f3c540a0e))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* **detect:** Detect `_TZB210_417ikxay` as MiBoxer FUT037Z+ https://github.com/Koenkk/zigbee2mqtt/issues/21659 ([668db65](https://github.com/Koenkk/zigbee-herdsman-converters/commit/668db653c96ee23be0d9abe0ef3417e4bb007b06))
|
|
33
|
+
* **detect:** Detect `_TZE204_v5xjyphj` as IOTPerfect PF-PM02D-TYZ https://github.com/Koenkk/zigbee2mqtt/issues/22664 ([945ec3f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/945ec3fe7e66d3f0a2c8a3f0af4ceb51c87328a5))
|
|
34
|
+
* **detect:** Detect `YRD410 PB` as Yale YRD410-BLE ([#7526](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7526)) ([fb8969c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fb8969c4961223b69a1a12d0dc5e8a4c625d0fba))
|
|
35
|
+
* Fix cannot find manuSpecificUbisysDeviceSetup ([#7532](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7532)) ([5f82043](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5f82043add431ed0eb9b40b728db480d46911f23))
|
|
36
|
+
* Fix ID checks for scene/group 0 ([#7529](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7529)) ([92b9918](https://github.com/Koenkk/zigbee-herdsman-converters/commit/92b9918a0a74c9d104a4a5a96f4547ddc039854a))
|
|
37
|
+
* Improvements for Aqara Spotlight T3 ([#7530](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7530)) ([c831f5c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c831f5cf0ad04fa0965ef9f657d289131eb3a943))
|
|
38
|
+
|
|
3
39
|
## [19.40.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.39.0...v19.40.0) (2024-05-15)
|
|
4
40
|
|
|
5
41
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toZigbee.d.ts","sourceRoot":"","sources":["../src/converters/toZigbee.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,EAAE,EAAE,WAAW,EAAC,MAAM,cAAc,CAAC;AAO7C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"toZigbee.d.ts","sourceRoot":"","sources":["../src/converters/toZigbee.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,EAAE,EAAE,WAAW,EAAC,MAAM,cAAc,CAAC;AAO7C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAo2I1C,QAAA,MAAM,UAAU;;QAxGR;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mKAixEoC,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAs5BS,CAAC;AAEpE,eAAe,UAAU,CAAC"}
|
package/converters/toZigbee.js
CHANGED
|
@@ -3448,7 +3448,7 @@ const converters2 = {
|
|
|
3448
3448
|
key: ['scene_store'],
|
|
3449
3449
|
convertSet: async (entity, key, value, meta) => {
|
|
3450
3450
|
const isGroup = utils.isGroup(entity);
|
|
3451
|
-
const groupid = isGroup ? entity.groupID : value.
|
|
3451
|
+
const groupid = isGroup ? entity.groupID : (value.group_id != undefined ? value.group_id : 0);
|
|
3452
3452
|
let sceneid = value;
|
|
3453
3453
|
let scenename = null;
|
|
3454
3454
|
if (typeof value === 'object') {
|
|
@@ -3456,10 +3456,10 @@ const converters2 = {
|
|
|
3456
3456
|
scenename = value.name;
|
|
3457
3457
|
}
|
|
3458
3458
|
utils.assertNumber(sceneid, 'ID');
|
|
3459
|
-
if (sceneid
|
|
3460
|
-
//
|
|
3459
|
+
if (groupid === 0 && sceneid === 0) {
|
|
3460
|
+
// From Zigbee spec:
|
|
3461
3461
|
// "Scene identifier 0x00, along with group identifier 0x0000, is reserved for the global scene used by the OnOff cluster"
|
|
3462
|
-
throw new Error('ID
|
|
3462
|
+
throw new Error('Scene ID 0 cannot be used with group ID 0 (reserved).');
|
|
3463
3463
|
}
|
|
3464
3464
|
const response = await entity.command('genScenes', 'store', { groupid, sceneid }, utils.getOptions(meta.mapped, entity));
|
|
3465
3465
|
if (isGroup) {
|
|
@@ -3544,22 +3544,20 @@ const converters2 = {
|
|
|
3544
3544
|
key: ['scene_add'],
|
|
3545
3545
|
convertSet: async (entity, key, value, meta) => {
|
|
3546
3546
|
utils.assertObject(value);
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
}
|
|
3550
|
-
if (value.ID < 1) {
|
|
3551
|
-
// Don't allow ID 0, from the spec:
|
|
3552
|
-
// "Scene identifier 0x00, along with group identifier 0x0000, is reserved for the global scene used by the OnOff cluster"
|
|
3553
|
-
throw new Error('ID must be at least 1');
|
|
3554
|
-
}
|
|
3555
|
-
if (value.hasOwnProperty('color_temp') && value.hasOwnProperty('color')) {
|
|
3547
|
+
utils.assertNumber(value.ID, 'ID');
|
|
3548
|
+
if (value.color_temp != undefined && value.color != undefined) {
|
|
3556
3549
|
throw new Error(`Don't specify both 'color_temp' and 'color'`);
|
|
3557
3550
|
}
|
|
3558
3551
|
const isGroup = utils.isGroup(entity);
|
|
3559
|
-
const groupid = isGroup ? entity.groupID : value.
|
|
3552
|
+
const groupid = isGroup ? entity.groupID : (value.group_id != undefined ? value.group_id : 0);
|
|
3560
3553
|
const sceneid = value.ID;
|
|
3561
3554
|
const scenename = value.name;
|
|
3562
|
-
const transtime = value.
|
|
3555
|
+
const transtime = value.transition != undefined ? value.transition : 0;
|
|
3556
|
+
if (groupid === 0 && sceneid === 0) {
|
|
3557
|
+
// From Zigbee spec:
|
|
3558
|
+
// "Scene identifier 0x00, along with group identifier 0x0000, is reserved for the global scene used by the OnOff cluster"
|
|
3559
|
+
throw new Error('Scene ID 0 cannot be used with group ID 0 (reserved).');
|
|
3560
|
+
}
|
|
3563
3561
|
const state = {};
|
|
3564
3562
|
const extensionfieldsets = [];
|
|
3565
3563
|
for (let [attribute, val] of Object.entries(value)) {
|