zigbee-herdsman-converters 19.32.0 → 19.34.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 +32 -0
- package/converters/toZigbee.js +9 -9
- package/converters/toZigbee.js.map +1 -1
- package/devices/bosch.js +21 -21
- package/devices/ctm.d.ts.map +1 -1
- package/devices/ctm.js +35 -45
- package/devices/ctm.js.map +1 -1
- package/devices/custom_devices_diy.js +9 -9
- package/devices/custom_devices_diy.js.map +1 -1
- package/devices/develco.d.ts.map +1 -1
- package/devices/develco.js +3 -5
- package/devices/develco.js.map +1 -1
- package/devices/efekta.js +55 -58
- package/devices/efekta.js.map +1 -1
- package/devices/gmmts.d.ts +4 -0
- package/devices/gmmts.d.ts.map +1 -0
- package/devices/gmmts.js +896 -0
- package/devices/gmmts.js.map +1 -0
- package/devices/ikea.js +1 -1
- package/devices/ikea.js.map +1 -1
- package/devices/index.d.ts.map +1 -1
- package/devices/index.js +2 -0
- package/devices/index.js.map +1 -1
- package/devices/inovelli.d.ts.map +1 -1
- package/devices/inovelli.js +91 -93
- package/devices/inovelli.js.map +1 -1
- package/devices/kmpcil.d.ts.map +1 -1
- package/devices/kmpcil.js +2 -1
- package/devices/kmpcil.js.map +1 -1
- package/devices/lumi.js +1 -1
- package/devices/lumi.js.map +1 -1
- package/devices/lytko.d.ts.map +1 -1
- package/devices/lytko.js +5 -5
- package/devices/lytko.js.map +1 -1
- package/devices/namron.js +4 -4
- package/devices/nodon.d.ts.map +1 -1
- package/devices/nodon.js +7 -8
- package/devices/nodon.js.map +1 -1
- package/devices/philips.js +1 -1
- package/devices/philips.js.map +1 -1
- package/devices/sonoff.js +12 -12
- package/devices/tuya.js +6 -6
- package/devices/tuya.js.map +1 -1
- package/devices/ubisys.d.ts.map +1 -1
- package/devices/ubisys.js +29 -3
- package/devices/ubisys.js.map +1 -1
- package/devices/zigbeetlc.js +9 -9
- package/index.d.ts.map +1 -1
- package/index.js +35 -9
- 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 +11 -14
- package/lib/lumi.js.map +1 -1
- package/lib/modernExtend.d.ts +9 -1
- package/lib/modernExtend.d.ts.map +1 -1
- package/lib/modernExtend.js +137 -29
- package/lib/modernExtend.js.map +1 -1
- package/lib/ota/gmmts.d.ts +15 -0
- package/lib/ota/gmmts.d.ts.map +1 -0
- package/lib/ota/gmmts.js +63 -0
- package/lib/ota/gmmts.js.map +1 -0
- package/lib/ota/index.d.ts +2 -1
- package/lib/ota/index.d.ts.map +1 -1
- package/lib/ota/index.js +3 -1
- package/lib/ota/index.js.map +1 -1
- package/lib/reporting.d.ts +1 -0
- package/lib/reporting.d.ts.map +1 -1
- package/lib/reporting.js +8 -1
- package/lib/reporting.js.map +1 -1
- package/lib/tuya.d.ts +13 -0
- package/lib/tuya.d.ts.map +1 -1
- package/lib/tuya.js +87 -1
- package/lib/tuya.js.map +1 -1
- package/lib/types.d.ts +4 -2
- package/lib/types.d.ts.map +1 -1
- package/lib/ubisys.d.ts +5 -0
- package/lib/ubisys.d.ts.map +1 -1
- package/lib/ubisys.js +127 -3
- package/lib/ubisys.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [19.34.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.33.0...v19.34.0) (2024-05-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **add:** TICMeter ([#7460](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7460)) ([2e43952](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2e43952f93f5cae6cdaa9a31ec6756c7ad4dcfab))
|
|
9
|
+
* Allow exposes function in combination with modernExtend ([#7463](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7463)) ([06303b4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/06303b4495bc84f2d161e96c8a2f0922b2ae534f))
|
|
10
|
+
* Support on/off countdown for various TuYa devices ([#7475](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7475)) ([0005865](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0005865611c7697a3921a188cb5fcd7a49554f8a))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* **detect:** Detect `_TZE200_2se8efxh` as TuYa TS0601_soil [@supaeasy](https://github.com/supaeasy) https://github.com/Koenkk/zigbee2mqtt/issues/22364 ([670aa9a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/670aa9addb9ee42a27deff1a13a4bd9d0ecb4740))
|
|
16
|
+
* Disable unsupported power outage memory for Aqara CL-L02D https://github.com/Koenkk/zigbee2mqtt/issues/22219 ([5d3cc86](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5d3cc8629ccb55e9520b79bd5028408b17df3807))
|
|
17
|
+
* Fix `motor_state` for Lumi ZNJLBL01LM https://github.com/Koenkk/zigbee2mqtt/issues/22387 ([df0569c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/df0569c59b91debd138ebf9c50d4554ad4b0e40b))
|
|
18
|
+
* Fix `ReferenceError: meta is not defined` for Lumi devices https://github.com/Koenkk/zigbee2mqtt/issues/22403 ([d8b47c4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d8b47c4b68fe95ebc07d3950a8607e90c2631e7d))
|
|
19
|
+
* Move Ubisys clusters/attributes out of zh ([#7451](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7451)) ([5a02438](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5a02438c2526ff5d32fa01dc0096a4c665e7ec36))
|
|
20
|
+
* Support color for Philips 7602031K6 https://github.com/Koenkk/zigbee2mqtt/discussions/22212 ([b99bbf1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b99bbf1fb439100c08fd21ab8927f10542159052))
|
|
21
|
+
|
|
22
|
+
## [19.33.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.32.0...v19.33.0) (2024-05-01)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* ZCL types revamp ([#7456](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7456)) ([bab4322](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bab43229b331b271b3a17c2a8c76856720f58981))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
* **detect:** Detect `_TZ3000_gdyjfvgm` as TuYa TS011F_5 [@mircicd](https://github.com/mircicd) https://github.com/Koenkk/zigbee2mqtt/discussions/22356 ([51b1f70](https://github.com/Koenkk/zigbee-herdsman-converters/commit/51b1f7051171d27eb03599d9f14af21be5086e66))
|
|
33
|
+
* Rework and expand occupancy extend ([#7441](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7441)) ([0ca12a2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0ca12a2f105070abea9e4c1cbcd80a103a9a2b36))
|
|
34
|
+
|
|
3
35
|
## [19.32.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.31.1...v19.32.0) (2024-05-01)
|
|
4
36
|
|
|
5
37
|
|
package/converters/toZigbee.js
CHANGED
|
@@ -2545,27 +2545,27 @@ const converters2 = {
|
|
|
2545
2545
|
convertSet: async (entity, key, value, meta) => {
|
|
2546
2546
|
if (key === 'lcd_brightness') {
|
|
2547
2547
|
const lookup = { 'low': 0, 'mid': 1, 'high': 2 };
|
|
2548
|
-
const payload = { 0x1000: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.
|
|
2548
|
+
const payload = { 0x1000: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.ENUM8 } };
|
|
2549
2549
|
await entity.write('hvacThermostat', payload, manufacturerOptions.sunricher);
|
|
2550
2550
|
}
|
|
2551
2551
|
else if (key === 'button_vibration_level') {
|
|
2552
2552
|
const lookup = { 'off': 0, 'low': 1, 'high': 2 };
|
|
2553
|
-
const payload = { 0x1001: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.
|
|
2553
|
+
const payload = { 0x1001: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.ENUM8 } };
|
|
2554
2554
|
await entity.write('hvacThermostat', payload, manufacturerOptions.sunricher);
|
|
2555
2555
|
}
|
|
2556
2556
|
else if (key === 'floor_sensor_type') {
|
|
2557
2557
|
const lookup = { '10k': 1, '15k': 2, '50k': 3, '100k': 4, '12k': 5 };
|
|
2558
|
-
const payload = { 0x1002: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.
|
|
2558
|
+
const payload = { 0x1002: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.ENUM8 } };
|
|
2559
2559
|
await entity.write('hvacThermostat', payload, manufacturerOptions.sunricher);
|
|
2560
2560
|
}
|
|
2561
2561
|
else if (key === 'sensor') {
|
|
2562
2562
|
const lookup = { 'air': 0, 'floor': 1, 'both': 2 };
|
|
2563
|
-
const payload = { 0x1003: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.
|
|
2563
|
+
const payload = { 0x1003: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.ENUM8 } };
|
|
2564
2564
|
await entity.write('hvacThermostat', payload, manufacturerOptions.sunricher);
|
|
2565
2565
|
}
|
|
2566
2566
|
else if (key === 'powerup_status') {
|
|
2567
2567
|
const lookup = { 'default': 0, 'last_status': 1 };
|
|
2568
|
-
const payload = { 0x1004: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.
|
|
2568
|
+
const payload = { 0x1004: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.ENUM8 } };
|
|
2569
2569
|
await entity.write('hvacThermostat', payload, manufacturerOptions.sunricher);
|
|
2570
2570
|
}
|
|
2571
2571
|
else if (key === 'floor_sensor_calibration') {
|
|
@@ -2579,12 +2579,12 @@ const converters2 = {
|
|
|
2579
2579
|
}
|
|
2580
2580
|
else if (key === 'mode_after_dry') {
|
|
2581
2581
|
const lookup = { 'off': 0, 'manual': 1, 'auto': 2, 'away': 3 };
|
|
2582
|
-
const payload = { 0x1007: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.
|
|
2582
|
+
const payload = { 0x1007: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.ENUM8 } };
|
|
2583
2583
|
await entity.write('hvacThermostat', payload, manufacturerOptions.sunricher);
|
|
2584
2584
|
}
|
|
2585
2585
|
else if (key === 'temperature_display') {
|
|
2586
2586
|
const lookup = { 'room': 0, 'floor': 1 };
|
|
2587
|
-
const payload = { 0x1008: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.
|
|
2587
|
+
const payload = { 0x1008: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.ENUM8 } };
|
|
2588
2588
|
await entity.write('hvacThermostat', payload, manufacturerOptions.sunricher);
|
|
2589
2589
|
}
|
|
2590
2590
|
else if (key === 'window_open_check') {
|
|
@@ -2599,7 +2599,7 @@ const converters2 = {
|
|
|
2599
2599
|
}
|
|
2600
2600
|
else if (key === 'display_auto_off_enabled') {
|
|
2601
2601
|
const lookup = { 'disabled': 0, 'enabled': 1 };
|
|
2602
|
-
const payload = { 0x100B: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.
|
|
2602
|
+
const payload = { 0x100B: { value: utils.getFromLookup(value, lookup), type: zigbee_herdsman_1.Zcl.DataType.ENUM8 } };
|
|
2603
2603
|
await entity.write('hvacThermostat', payload, manufacturerOptions.sunricher);
|
|
2604
2604
|
}
|
|
2605
2605
|
else if (key === 'alarm_airtemp_overvalue') {
|
|
@@ -3389,7 +3389,7 @@ const converters2 = {
|
|
|
3389
3389
|
// https://github.com/Koenkk/zigbee-herdsman/blob/v0.13.191/src/zcl/definition/cluster.ts#L4235
|
|
3390
3390
|
const keyToAttributeLookup = { 'alarm_temperature_max': 0xD00A, 'alarm_temperature_min': 0xD00B,
|
|
3391
3391
|
'alarm_humidity_max': 0xD00D, 'alarm_humidity_min': 0xD00E };
|
|
3392
|
-
const payload = { [keyToAttributeLookup[key]]: { value: value, type:
|
|
3392
|
+
const payload = { [keyToAttributeLookup[key]]: { value: value, type: zigbee_herdsman_1.Zcl.DataType.INT16 } };
|
|
3393
3393
|
await entity.write('manuSpecificTuya_2', payload);
|
|
3394
3394
|
break;
|
|
3395
3395
|
}
|