zigbee-herdsman-converters 20.16.3 → 20.17.1

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/converters/fromZigbee.d.ts.map +1 -1
  3. package/converters/fromZigbee.js +3 -6
  4. package/converters/fromZigbee.js.map +1 -1
  5. package/devices/candeo.d.ts.map +1 -1
  6. package/devices/candeo.js +7 -0
  7. package/devices/candeo.js.map +1 -1
  8. package/devices/gmmts.d.ts.map +1 -1
  9. package/devices/gmmts.js +1 -6
  10. package/devices/gmmts.js.map +1 -1
  11. package/devices/lixee.js +1 -1
  12. package/devices/lixee.js.map +1 -1
  13. package/devices/moes.d.ts.map +1 -1
  14. package/devices/moes.js +26 -19
  15. package/devices/moes.js.map +1 -1
  16. package/devices/owon.d.ts.map +1 -1
  17. package/devices/owon.js +7 -14
  18. package/devices/owon.js.map +1 -1
  19. package/devices/paulmann.d.ts.map +1 -1
  20. package/devices/paulmann.js +7 -0
  21. package/devices/paulmann.js.map +1 -1
  22. package/devices/schneider_electric.js +4 -4
  23. package/devices/schneider_electric.js.map +1 -1
  24. package/devices/sonoff.d.ts.map +1 -1
  25. package/devices/sonoff.js +1 -0
  26. package/devices/sonoff.js.map +1 -1
  27. package/devices/sunricher.d.ts.map +1 -1
  28. package/devices/sunricher.js +8 -1
  29. package/devices/sunricher.js.map +1 -1
  30. package/devices/tuya.d.ts.map +1 -1
  31. package/devices/tuya.js +97 -7
  32. package/devices/tuya.js.map +1 -1
  33. package/lib/exposes.js.map +1 -1
  34. package/lib/ikea.js +1 -1
  35. package/lib/ikea.js.map +1 -1
  36. package/lib/legacy.d.ts.map +1 -1
  37. package/lib/legacy.js +6 -0
  38. package/lib/legacy.js.map +1 -1
  39. package/lib/modernExtend.d.ts.map +1 -1
  40. package/lib/modernExtend.js +7 -3
  41. package/lib/modernExtend.js.map +1 -1
  42. package/lib/reporting.d.ts.map +1 -1
  43. package/lib/reporting.js +2 -4
  44. package/lib/reporting.js.map +1 -1
  45. package/lib/tuya.d.ts +8 -0
  46. package/lib/tuya.d.ts.map +1 -1
  47. package/lib/tuya.js +172 -0
  48. package/lib/tuya.js.map +1 -1
  49. package/lib/utils.d.ts +1 -1
  50. package/lib/utils.d.ts.map +1 -1
  51. package/lib/utils.js +11 -9
  52. package/lib/utils.js.map +1 -1
  53. package/package.json +6 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # Changelog
2
2
 
3
+ ## [20.17.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.17.0...v20.17.1) (2024-09-24)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Expose `toggle` command for SONOFF ZBMINIR2 https://github.com/Koenkk/zigbee-herdsman-converters/issues/8018 ([88fc9f6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/88fc9f600411d04eb040afe398cb02e9ae23e805))
9
+ * **ignore:** Fix parsing of serveral uint48 attributes https://github.com/Koenkk/zigbee2mqtt/issues/23457 ([843f7a2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/843f7a2160215d230e6bd53ebc053e4ac4573df3))
10
+ * Improve `_TZE204_aoclfnxz` integration ([#8005](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8005)) ([ad72d4a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ad72d4a8b74e0e4cd4c56d8458cb70a3a4126471))
11
+
12
+ ## [20.17.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.16.3...v20.17.0) (2024-09-23)
13
+
14
+
15
+ ### Features
16
+
17
+ * **add:** 371050043 ([#8013](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8013)) ([4f9c0d0](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4f9c0d0e10ad1815e17c3463ccd8b7c10393d2fe))
18
+ * **add:** C201 ([#8015](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8015)) ([2ebb7ca](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2ebb7caac550a6c4916bd4990b504508c4efd9fb))
19
+ * **add:** SR-ZG9011A-DS ([#8016](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8016)) ([8941a0e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8941a0e5bce1fc795025a9edf5daf6f21e04190f))
20
+ * Improve support for the SUTON STB3L-125-ZJ DIN rail RCBO (TZE204_wbhaespm) ([#8011](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8011)) ([93dbdfc](https://github.com/Koenkk/zigbee-herdsman-converters/commit/93dbdfcfe8da0f6167feda1b007fffb6a661e41b))
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **detect:** Detect `_TZ3000_8n7lqbm0` as Tuya TS0001 https://github.com/Koenkk/zigbee2mqtt/issues/24039 ([0512cac](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0512cac1b1838cb1db0af0442a2f5f330fb6a842))
26
+ * **detect:** Detect `_TZE204_dpqsvdbi` as Tuya TS0601_cover_1 https://github.com/Koenkk/zigbee2mqtt/discussions/24027 ([41be85d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/41be85d25f800b5851547d007aed6af30de70311))
27
+ * Fix `_TZ3210_mja6r5ix` not controllable ([#7567](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7567)) ([3fe484c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3fe484c3326fb3bdbd5109c306af5acd6cbe0d59))
28
+ * Fix `_TZE204_m1wl5fvq` not being detected as supported ([#8017](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8017)) ([66349c1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/66349c18a580a5fcefdcb60e6e4ae6d65b5dd6b4))
29
+ * Fix battery reporting for Tuya `_TZ3210_up3pngle` ([#8004](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8004)) ([615eb00](https://github.com/Koenkk/zigbee-herdsman-converters/commit/615eb00f66267429fa8434a233b39f2259af3d1a))
30
+ * Fix configure failing for ZG-101ZL https://github.com/Koenkk/zigbee2mqtt/issues/24013 ([e35ac56](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e35ac56975c10f5dfbf305cd9353f29b30725fa0))
31
+ * Fix custom cluster missing in configure https://github.com/Koenkk/zigbee2mqtt/issues/23993 ([711060a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/711060aac01bf0130bb001f2b623f1f2916de206))
32
+ * Fix power source unknown for some lights and switches https://github.com/Koenkk/zigbee2mqtt/issues/24074 ([e12576c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/e12576cab71008469ac9466a475379f6f4f67be2))
33
+ * **ignore:** fix e12576cab71008469ac9466a475379f6f4f67be2 ([a6fc860](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a6fc860969cbcc45f42de63c8ad19325a4ef5783))
34
+ * **ignore:** update dependencies ([#8012](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8012)) ([3f05910](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3f05910853839ba25607cbd2ac96e9018588f864))
35
+
3
36
  ## [20.16.3](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.16.2...v20.16.3) (2024-09-19)
4
37
 
5
38
 
@@ -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;AAytK7E,QAAA,MAAM,UAAU;;;;;;;;;;;;QAlXR;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+zBpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -713,14 +713,12 @@ const converters1 = {
713
713
  }
714
714
  if (factor != null && (msg.data.currentSummDelivered !== undefined || msg.data.currentSummReceived !== undefined)) {
715
715
  if (msg.data.currentSummDelivered !== undefined) {
716
- const data = msg.data['currentSummDelivered'];
717
- const value = (parseInt(data[0]) << 32) + parseInt(data[1]);
716
+ const value = msg.data['currentSummDelivered'];
718
717
  const property = (0, utils_1.postfixWithEndpointName)('energy', msg, model, meta);
719
718
  payload[property] = value * factor;
720
719
  }
721
720
  if (msg.data.currentSummReceived !== undefined) {
722
- const data = msg.data['currentSummReceived'];
723
- const value = (parseInt(data[0]) << 32) + parseInt(data[1]);
721
+ const value = msg.data['currentSummReceived'];
724
722
  const property = (0, utils_1.postfixWithEndpointName)('produced_energy', msg, model, meta);
725
723
  payload[property] = value * factor;
726
724
  }
@@ -4961,8 +4959,7 @@ const converters2 = {
4961
4959
  }
4962
4960
  // Summation is reported in Watthours
4963
4961
  if (msg.data.currentSummDelivered !== undefined) {
4964
- const data = msg.data['currentSummDelivered'];
4965
- const value = (parseInt(data[0]) << 32) + parseInt(data[1]);
4962
+ const value = msg.data['currentSummDelivered'];
4966
4963
  result.energy = value / 1000.0;
4967
4964
  }
4968
4965
  return result;