zigbee-herdsman-converters 20.27.2 → 20.29.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/converters/fromZigbee.d.ts.map +1 -1
  3. package/converters/fromZigbee.js +17 -12
  4. package/converters/fromZigbee.js.map +1 -1
  5. package/converters/toZigbee.d.ts +1 -1
  6. package/converters/toZigbee.d.ts.map +1 -1
  7. package/converters/toZigbee.js +20 -4
  8. package/converters/toZigbee.js.map +1 -1
  9. package/devices/adeo.d.ts.map +1 -1
  10. package/devices/adeo.js +2 -0
  11. package/devices/adeo.js.map +1 -1
  12. package/devices/candeo.d.ts.map +1 -1
  13. package/devices/candeo.js +118 -13
  14. package/devices/candeo.js.map +1 -1
  15. package/devices/frient.d.ts.map +1 -1
  16. package/devices/frient.js +13 -40
  17. package/devices/frient.js.map +1 -1
  18. package/devices/lixee.js +1 -1
  19. package/devices/lixee.js.map +1 -1
  20. package/devices/moes.d.ts.map +1 -1
  21. package/devices/moes.js +2 -1
  22. package/devices/moes.js.map +1 -1
  23. package/devices/third_reality.d.ts.map +1 -1
  24. package/devices/third_reality.js +4 -7
  25. package/devices/third_reality.js.map +1 -1
  26. package/devices/tuya.d.ts.map +1 -1
  27. package/devices/tuya.js +18 -7
  28. package/devices/tuya.js.map +1 -1
  29. package/lib/develco.d.ts +2 -0
  30. package/lib/develco.d.ts.map +1 -1
  31. package/lib/develco.js +20 -0
  32. package/lib/develco.js.map +1 -1
  33. package/lib/ota/index.d.ts +1 -2
  34. package/lib/ota/index.d.ts.map +1 -1
  35. package/lib/ota/index.js +1 -3
  36. package/lib/ota/index.js.map +1 -1
  37. package/lib/tuya.d.ts.map +1 -1
  38. package/lib/tuya.js +1 -0
  39. package/lib/tuya.js.map +1 -1
  40. package/package.json +1 -1
  41. package/lib/ota/lixee.d.ts +0 -11
  42. package/lib/ota/lixee.d.ts.map +0 -1
  43. package/lib/ota/lixee.js +0 -76
  44. package/lib/ota/lixee.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## [20.29.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.28.0...v20.29.0) (2024-10-16)
4
+
5
+
6
+ ### Features
7
+
8
+ * Add ota to SIN-4-FP-21_EQU ([#8146](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8146)) ([9445044](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9445044b99cb8d1951888ca5cae34b4c27cec7b4))
9
+ * **add:** C-ZB-LC20-RGBW, C-ZB-LC20-RGBCCT, C-ZB-LC20-RGB, C-ZB-LC20-Dim, C-ZB-LC20-CCT ([#8142](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8142)) ([5ead414](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5ead414316a4314ee25114037e5256c863deeaee))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **detect:** Detect `_TZ3000_jwcixnrz` as Tuya TS0215A_remote https://github.com/Koenkk/zigbee2mqtt/issues/4951 ([6336044](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6336044e51897577e00d6cb26105a1eebeea9c44))
15
+ * **detect:** Detect `_TZE200_kds0pmmv` as Tuya TV02-Zigbee https://github.com/Koenkk/zigbee2mqtt/issues/24335 ([d1e5bb8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d1e5bb847942cc38195a1d0acf74fe569638cff1))
16
+ * Fix power source unknown for various Tuya lights https://github.com/Koenkk/zigbee2mqtt/issues/24340 ([70f1d77](https://github.com/Koenkk/zigbee-herdsman-converters/commit/70f1d77eb7f9f36e17a9041d75cf5996e9a075d9))
17
+ * update 3r product ([#8144](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8144)) ([bfdf450](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bfdf450eb7e7f1b994f2ba10505a2b1b49ca2bae))
18
+ * Update frient powermeter led 2 ([#8044](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8044)) ([6e84179](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6e841795d6c7358b6a08aff28a522d0547debf34))
19
+ * Use zigbeeOTA for Lixee ([#8136](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8136)) ([54481a6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/54481a6be6c1f255f75d455ae7123a66a8315bbf))
20
+
21
+ ## [20.28.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.27.2...v20.28.0) (2024-10-14)
22
+
23
+
24
+ ### Features
25
+
26
+ * **add:** HS-720ES ([#8124](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8124)) ([5e439af](https://github.com/Koenkk/zigbee-herdsman-converters/commit/5e439afe7aa7562f4f4540e9a1ba6331302adc0f))
27
+ * Support calibration up/down for Tuya `_TZ3000_cet6ch1r` ([#8099](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8099)) ([9aef8e4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/9aef8e4f1517fc5dbb1851b4b4d4bdc1057f595d))
28
+
29
+
30
+ ### Bug Fixes
31
+
32
+ * Corrections to TOMZN TOB9Z-VAP vs TOB9Z-M ([#8134](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8134)) ([f51a6cd](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f51a6cd6775865bd4d0f82b12102ec451511e8ca))
33
+ * **detect:** Detect `_TYST11_udank5zs` and `_TZE284_udank5zs` as Tuya TS0601_cover_1 ([#8133](https://github.com/Koenkk/zigbee-herdsman-converters/issues/8133)) ([526f1a2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/526f1a2b2018632248c6d59ffe7849f10c875125))
34
+ * **detect:** Detect `_TZ3000_6l1pjfqe` as TOB9Z-VAP https://github.com/Koenkk/zigbee-herdsman-converters/issues/8126 ([d476ca1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d476ca13a3982fce6dfbb73b3825cfd00bc6e77f))
35
+ * Fix battery % reporting of Third Reality 3RSS009Z https://github.com/Koenkk/zigbee2mqtt/issues/23486 ([1169443](https://github.com/Koenkk/zigbee-herdsman-converters/commit/11694436f22d415706580f38afdc02824efd5d68))
36
+
3
37
  ## [20.27.2](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v20.27.1...v20.27.2) (2024-10-13)
4
38
 
5
39
 
@@ -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;AA8uK7E,QAAA,MAAM,UAAU;;;;;;;;;;;;QAjXR;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAvqIH;;;WAGG;;;;;;QAoCH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IA8qHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAo0BpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -711,17 +711,15 @@ const converters1 = {
711
711
  const property = (0, utils_1.postfixWithEndpointName)('power', msg, model, meta);
712
712
  payload[property] = power;
713
713
  }
714
- if (factor != null && (msg.data.currentSummDelivered !== undefined || msg.data.currentSummReceived !== undefined)) {
715
- if (msg.data.currentSummDelivered !== undefined) {
716
- const value = msg.data['currentSummDelivered'];
717
- const property = (0, utils_1.postfixWithEndpointName)('energy', msg, model, meta);
718
- payload[property] = value * factor;
719
- }
720
- if (msg.data.currentSummReceived !== undefined) {
721
- const value = msg.data['currentSummReceived'];
722
- const property = (0, utils_1.postfixWithEndpointName)('produced_energy', msg, model, meta);
723
- payload[property] = value * factor;
724
- }
714
+ if (msg.data.currentSummDelivered !== undefined) {
715
+ const value = msg.data['currentSummDelivered'];
716
+ const property = (0, utils_1.postfixWithEndpointName)('energy', msg, model, meta);
717
+ payload[property] = value * (factor ?? 1);
718
+ }
719
+ if (msg.data.currentSummReceived !== undefined) {
720
+ const value = msg.data['currentSummReceived'];
721
+ const property = (0, utils_1.postfixWithEndpointName)('produced_energy', msg, model, meta);
722
+ payload[property] = value * (factor ?? 1);
725
723
  }
726
724
  return payload;
727
725
  },
@@ -2163,7 +2161,14 @@ const converters1 = {
2163
2161
  }
2164
2162
  if (msg.data.moesCalibrationTime !== undefined) {
2165
2163
  const value = parseFloat(msg.data['moesCalibrationTime']) / 10.0;
2166
- result[(0, utils_1.postfixWithEndpointName)('calibration_time', msg, model, meta)] = value;
2164
+ if (meta.device.manufacturerName === '_TZ3000_cet6ch1r') {
2165
+ const endpoint = msg.endpoint.ID;
2166
+ const calibrationLookup = { 1: 'up', 2: 'down' };
2167
+ result[(0, utils_1.postfixWithEndpointName)(`calibration_time_'${calibrationLookup[endpoint]}'`, msg, model, meta)] = value;
2168
+ }
2169
+ else {
2170
+ result[(0, utils_1.postfixWithEndpointName)('calibration_time', msg, model, meta)] = value;
2171
+ }
2167
2172
  }
2168
2173
  return result;
2169
2174
  },