zigbee-herdsman-converters 19.64.0 → 19.66.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 (58) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/converters/fromZigbee.d.ts +2 -0
  3. package/converters/fromZigbee.d.ts.map +1 -1
  4. package/converters/fromZigbee.js +11 -5
  5. package/converters/fromZigbee.js.map +1 -1
  6. package/devices/aeotec.js +1 -1
  7. package/devices/aeotec.js.map +1 -1
  8. package/devices/busch_jaeger.d.ts.map +1 -1
  9. package/devices/busch_jaeger.js +15 -19
  10. package/devices/busch_jaeger.js.map +1 -1
  11. package/devices/develco.js +2 -2
  12. package/devices/develco.js.map +1 -1
  13. package/devices/giex.d.ts.map +1 -1
  14. package/devices/giex.js +1 -2
  15. package/devices/giex.js.map +1 -1
  16. package/devices/index.d.ts.map +1 -1
  17. package/devices/index.js +2 -0
  18. package/devices/index.js.map +1 -1
  19. package/devices/konke.js +1 -1
  20. package/devices/konke.js.map +1 -1
  21. package/devices/lidl.d.ts.map +1 -1
  22. package/devices/lidl.js +10 -1
  23. package/devices/lidl.js.map +1 -1
  24. package/devices/livolo.d.ts.map +1 -1
  25. package/devices/livolo.js +5 -1
  26. package/devices/livolo.js.map +1 -1
  27. package/devices/lumi.js +1 -1
  28. package/devices/lumi.js.map +1 -1
  29. package/devices/moes.js +1 -1
  30. package/devices/moes.js.map +1 -1
  31. package/devices/nue_3a.js +1 -1
  32. package/devices/nue_3a.js.map +1 -1
  33. package/devices/soma.d.ts +4 -0
  34. package/devices/soma.d.ts.map +1 -0
  35. package/devices/soma.js +15 -0
  36. package/devices/soma.js.map +1 -0
  37. package/devices/tuya.d.ts.map +1 -1
  38. package/devices/tuya.js +196 -7
  39. package/devices/tuya.js.map +1 -1
  40. package/devices/xyzroe.d.ts.map +1 -1
  41. package/devices/xyzroe.js +9 -1
  42. package/devices/xyzroe.js.map +1 -1
  43. package/devices/zemismart.d.ts.map +1 -1
  44. package/devices/zemismart.js +37 -2
  45. package/devices/zemismart.js.map +1 -1
  46. package/devices/zigbeetlc.js +8 -8
  47. package/devices/zigbeetlc.js.map +1 -1
  48. package/lib/tuya.d.ts.map +1 -1
  49. package/lib/tuya.js +9 -27
  50. package/lib/tuya.js.map +1 -1
  51. package/lib/utils.d.ts +2 -1
  52. package/lib/utils.d.ts.map +1 -1
  53. package/lib/utils.js +30 -0
  54. package/lib/utils.js.map +1 -1
  55. package/lib/zosung.d.ts +1 -1
  56. package/lib/zosung.js +1 -1
  57. package/lib/zosung.js.map +1 -1
  58. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.66.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.65.0...v19.66.0) (2024-07-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** SmartShades3 [@ratsept](https://github.com/ratsept) https://github.com/Koenkk/zigbee2mqtt/issues/23287 ([6eeb4a9](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6eeb4a9cb510779873c53ff6b6a6379fed83e08d))
9
+ * **add:** TOQCB2-80 ([#7752](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7752)) ([61dcfc8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/61dcfc82387fbaf2b672c6e4badb6e5f1400650b))
10
+ * **add:** ZMR4 ([#7734](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7734)) ([c0cd207](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c0cd2072e0eadc345d1a48cb3432241e6a10081a))
11
+ * **add:** ZY-M100-S_3 ([#7742](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7742)) ([2cd4283](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2cd4283d7c102eb63461da255489bae05c534294))
12
+ * Make 6735/6736/6737 state poll interval configurable and default to 60 seconds https://github.com/Koenkk/zigbee-herdsman-converters/issues/7733 ([6f5707b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6f5707bff5f79bc8c6c7dc1b78c9b4d8a4d0f607))
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **detect:** Detect `_TZ3000_ypgri8yz` as Girier ZB08 ([#7744](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7744)) ([56fc8a4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/56fc8a42a1973887efa390c5d23c8a9102df8961))
18
+ * **detect:** Detect `_TZE204_gbagoilo` as TS0601_switch_1_gang and `_TZE200_qanl25yu` as TS0601_fan_and_light_switch ([#7751](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7751)) ([7572c9f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7572c9f8516a76ba9691ee470675b6c1f66b4915))
19
+ * **detect:** Detect `LH05121` as Konke TW-S1 [@serot23](https://github.com/serot23) https://github.com/Koenkk/zigbee2mqtt/issues/23268 ([ba04002](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ba04002f9b2e110d1d3f8f962163796d999c4409))
20
+ * Fix AEOTEC ZGA002 state, voltage, power, current and energy postfix ([#7745](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7745)) ([1c04b56](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1c04b56b8d6ce505ac339008857ff95e66eced92))
21
+ * Fix Lidl FB20-002 not sending on action after triggering it once https://github.com/Koenkk/zigbee2mqtt/issues/6509 ([1fe26bb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/1fe26bb1ed52f10ab7c7a7b219d500476f852958))
22
+ * Ignore reported battery % if battery % is computed from voltage ([#7681](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7681)) ([3ffbe2f](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3ffbe2f59c0becbe21bef68d452232caa51f9f25))
23
+ * **ignore:** update dependencies ([#7746](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7746)) ([6612be1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/6612be1c2c58701c70772c414e86bb04e1611fe7))
24
+ * ZigbeeTLc: Adjust parameter scaling to ZigbeeTLc firmware v1.2.2 ([#7753](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7753)) ([ab8e0e8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ab8e0e8d61144d4ebe5bf0d3765308cd1f3f0199))
25
+
26
+ ## [19.65.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.64.0...v19.65.0) (2024-07-06)
27
+
28
+
29
+ ### Features
30
+
31
+ * Support `silene` for Tuya PA-44Z ([#7743](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7743)) ([47f0dc3](https://github.com/Koenkk/zigbee-herdsman-converters/commit/47f0dc36e07f83cab38f2af2e31607a48fbf030f))
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * Add `noise_level` for Livolo TI0001-illuminance ([#7727](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7727)) ([97a7c78](https://github.com/Koenkk/zigbee-herdsman-converters/commit/97a7c784a83c6d74818ab59c769a932cca4f52ed))
37
+ * **detect:** Detect `_TZ3000_mq4wujmp` as Moes ZWV-YC ([#7739](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7739)) ([b39ffe8](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b39ffe8c1768fca232243c81e6c194ee6665cb20))
38
+ * **detect:** Detect `_TZ3210_hquixjeg` as LEDRON QS-Zigbee-D04 ([#7740](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7740)) ([7d5bfc2](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7d5bfc24b72f2288910fc472e3fe1d21ff37001c))
39
+ * **detect:** Detect `_TZE284_sgabhwa6` as Tuya TS0601_soil_2 ([#7741](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7741)) ([a161ed3](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a161ed3a0b64d4c8ea87edeed9fbdc334a010757))
40
+ * **detect:** Detect `LXN56-0S27LX1.3` as Nue / 3A HGZB-20-UK ([#7732](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7732)) ([8dcbe19](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8dcbe1981efbf70d80b3c93b359b7951331cff69))
41
+ * Fix all channel trigger simultaneously for Zemismart ZMO-606-S2 ([#7726](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7726)) ([78dcd9d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/78dcd9d370f5d45ace64a37ee760fa28b18f72aa))
42
+ * Fix Home Assistant discovery for various switches https://github.com/zigbee2mqtt/hassio-zigbee2mqtt/issues/519 ([49ac786](https://github.com/Koenkk/zigbee-herdsman-converters/commit/49ac786b37d479f7606a55c6326e067277b6dc3b))
43
+ * Fix TS130F calibration_time access ([#7738](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7738)) ([4a81f8c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4a81f8cf5ea7e1562b1b337a1c4360ae378ea071))
44
+ * Fix ZigDC inputs action ([#7736](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7736)) ([7723ecb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7723ecbc780e80fbac822333f4ac3efa8043bbf5))
45
+ * **ignore:** revert 48dbf83 ([08e9e94](https://github.com/Koenkk/zigbee-herdsman-converters/commit/08e9e94f8c7f82ce0d00614efe3eacdfb8a29fd6))
46
+
3
47
  ## [19.64.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.63.0...v19.64.0) (2024-07-03)
4
48
 
5
49
 
@@ -1055,8 +1055,10 @@ declare const converters: {
1055
1055
  convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => {
1056
1056
  illuminance: number;
1057
1057
  noise_detected?: undefined;
1058
+ noise_level?: undefined;
1058
1059
  } | {
1059
1060
  noise_detected: boolean;
1061
+ noise_level: any;
1060
1062
  illuminance?: undefined;
1061
1063
  };
1062
1064
  };
@@ -1 +1 @@
1
- {"version":3,"file":"fromZig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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IA6sHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAg0BpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -363,7 +363,11 @@ const converters1 = {
363
363
  type: ['attributeReport', 'readResponse'],
364
364
  convert: (model, msg, publish, options, meta) => {
365
365
  const payload = {};
366
- if (msg.data.hasOwnProperty('batteryPercentageRemaining') && msg.data['batteryPercentageRemaining'] < 255) {
366
+ // If voltageToPercentage is specified, it means we do not trust the percentage
367
+ // returned by the device and are instead calculating it ourselves.
368
+ if (model.meta?.battery?.voltageToPercentage == null &&
369
+ msg.data.hasOwnProperty('batteryPercentageRemaining') &&
370
+ msg.data['batteryPercentageRemaining'] < 255) {
367
371
  // Some devices do not comply to the ZCL and report a
368
372
  // batteryPercentageRemaining of 100 when the battery is full (should be 200).
369
373
  const dontDividePercentage = model.meta && model.meta.battery && model.meta.battery.dontDividePercentage;
@@ -2409,6 +2413,7 @@ const converters1 = {
2409
2413
  type: ['raw'],
2410
2414
  convert: (model, msg, publish, options, meta) => {
2411
2415
  const dp = msg.data[12];
2416
+ const noiseLookup = { 1: 'silent', 2: 'normal', 3: 'lively', 4: 'noisy' };
2412
2417
  switch (dp) {
2413
2418
  case 13:
2414
2419
  return {
@@ -2417,6 +2422,7 @@ const converters1 = {
2417
2422
  case 14:
2418
2423
  return {
2419
2424
  noise_detected: msg.data[13] > 2,
2425
+ noise_level: noiseLookup[msg.data[13]],
2420
2426
  };
2421
2427
  }
2422
2428
  },
@@ -2508,10 +2514,10 @@ const converters1 = {
2508
2514
 
2509
2515
  illuminance
2510
2516
  [124,210,21,216,128, 221,0,115,33,0,75,18,0, 19,12,0] after interview
2511
- [122,209, 221,0,115,33,0,75,18,0, 12,1,14,4,12,11] noise: 4 (most noise)
2512
- [122,209, 221,0,115,33,0,75,18,0, 12,1,14,3,12,11] noise: 3 (more noise)
2513
- [122,209, 221,0,115,33,0,75,18,0, 12,1,14,2,12,11] noise: 2 (no noise)
2514
- [122,209, 221,0,115,33,0,75,18,0, 12,1,14,2,12,11] noise: 1 (?)
2517
+ [122,209, 221,0,115,33,0,75,18,0, 12,1,14,4,12,11] noise: 4 (noisy)
2518
+ [122,209, 221,0,115,33,0,75,18,0, 12,1,14,3,12,11] noise: 3 (lively)
2519
+ [122,209, 221,0,115,33,0,75,18,0, 12,1,14,2,12,11] noise: 2 (normal)
2520
+ [122,209, 221,0,115,33,0,75,18,0, 12,1,14,1,12,11] noise: 1 (silent)
2515
2521
  [122,209, 221,0,115,33,0,75,18,0, 12,1,13,20,12,11] lux: 20
2516
2522
  [122,209, 221,0,115,33,0,75,18,0, 2,0,12,199,1,11] ??
2517
2523
  */