zigbee-herdsman-converters 19.57.0 → 19.58.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 (45) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/converters/fromZigbee.d.ts +11 -0
  3. package/converters/fromZigbee.d.ts.map +1 -1
  4. package/converters/fromZigbee.js +26 -0
  5. package/converters/fromZigbee.js.map +1 -1
  6. package/devices/airzone_aidoo.d.ts +4 -0
  7. package/devices/airzone_aidoo.d.ts.map +1 -0
  8. package/devices/airzone_aidoo.js +70 -0
  9. package/devices/airzone_aidoo.js.map +1 -0
  10. package/devices/custom_devices_diy.d.ts.map +1 -1
  11. package/devices/custom_devices_diy.js +4 -1
  12. package/devices/custom_devices_diy.js.map +1 -1
  13. package/devices/develco.d.ts.map +1 -1
  14. package/devices/develco.js +14 -2
  15. package/devices/develco.js.map +1 -1
  16. package/devices/gledopto.d.ts.map +1 -1
  17. package/devices/gledopto.js +7 -0
  18. package/devices/gledopto.js.map +1 -1
  19. package/devices/ikea.d.ts.map +1 -1
  20. package/devices/ikea.js +2 -1
  21. package/devices/ikea.js.map +1 -1
  22. package/devices/index.d.ts.map +1 -1
  23. package/devices/index.js +4 -0
  24. package/devices/index.js.map +1 -1
  25. package/devices/livolo.d.ts.map +1 -1
  26. package/devices/livolo.js +37 -0
  27. package/devices/livolo.js.map +1 -1
  28. package/devices/lonsonho.js +2 -2
  29. package/devices/lonsonho.js.map +1 -1
  30. package/devices/neo.d.ts.map +1 -1
  31. package/devices/neo.js +57 -0
  32. package/devices/neo.js.map +1 -1
  33. package/devices/qa.js +9 -9
  34. package/devices/qa.js.map +1 -1
  35. package/devices/skydance.d.ts.map +1 -1
  36. package/devices/skydance.js +2 -0
  37. package/devices/skydance.js.map +1 -1
  38. package/devices/tuya.d.ts.map +1 -1
  39. package/devices/tuya.js +208 -31
  40. package/devices/tuya.js.map +1 -1
  41. package/lib/tuya.d.ts +17 -4
  42. package/lib/tuya.d.ts.map +1 -1
  43. package/lib/tuya.js +33 -8
  44. package/lib/tuya.js.map +1 -1
  45. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # Changelog
2
2
 
3
+ ## [19.58.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.57.1...v19.58.0) (2024-06-20)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** AZAI6ZBEMHI ([#7636](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7636)) ([b64bf08](https://github.com/Koenkk/zigbee-herdsman-converters/commit/b64bf0849ccd627f53207cc74e523d311497bd92))
9
+ * **add:** GL-FL-007P ([#7663](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7663)) ([33b317a](https://github.com/Koenkk/zigbee-herdsman-converters/commit/33b317a7cb82c327590a84c2aebe0dc479bb6adc))
10
+ * **add:** NAS-WV03B ([#7630](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7630)) ([565c8bb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/565c8bbc30940ad393ab0cd7d2c2d8e1cbe7346f))
11
+ * **add:** SE-20-250-1000-W2Z2 [@morcus](https://github.com/morcus) https://github.com/Koenkk/zigbee-herdsman-converters/issues/7649 ([26e80de](https://github.com/Koenkk/zigbee-herdsman-converters/commit/26e80de5be93434032d99918ce2df32529dd6c21))
12
+ * **add:** SLZB-07 https://github.com/Koenkk/zigbee2mqtt/issues/23076 ([fbb3bc5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fbb3bc52db68dad1b6679f5d1f197ef88caf46bc))
13
+ * **add:** TI0001-hygrometer ([#7648](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7648)) ([7f31562](https://github.com/Koenkk/zigbee-herdsman-converters/commit/7f31562b976aa72205d9fab357a4c8d011a0e042))
14
+ * **add:** TOWSMR1 [@terzo33](https://github.com/terzo33) https://github.com/Koenkk/zigbee2mqtt/issues/23054 ([da43878](https://github.com/Koenkk/zigbee-herdsman-converters/commit/da43878ebe33e89c44868d36d7074657f2037db5))
15
+ * **add:** TS011F_2_gang_power https://github.com/Koenkk/zigbee2mqtt/issues/22981 ([13ff5c5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/13ff5c5bc1324a0150d837c768f8cf81f099ab3f))
16
+ * **add:** TS0501B_dimmer_2 ([#7638](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7638)) ([aafe5c6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/aafe5c6437f612419b5ac7524227c0330a04f188))
17
+ * **add:** TYZGTH1CH-D1RF ([#7657](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7657)) ([350a429](https://github.com/Koenkk/zigbee-herdsman-converters/commit/350a4291697623093090a97d16169d0b7280d2c5))
18
+ * **add:** TYZGTH4CH-D1RF ([#7661](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7661)) ([181ee0b](https://github.com/Koenkk/zigbee-herdsman-converters/commit/181ee0bc7021423b24a500dd0e62611b8d80c90f))
19
+ * Support electrical measurements for MG-ZG01W ([#7656](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7656)) ([f9c6313](https://github.com/Koenkk/zigbee-herdsman-converters/commit/f9c6313e517b4d805a75940cb608f98a57338a42))
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **ignore:** Fix QA TS1201 whiteLabel ([#7660](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7660)) ([c929179](https://github.com/Koenkk/zigbee-herdsman-converters/commit/c9291796dcc6b1704bc600795dd5e0a3f10fa3b3))
25
+
26
+ ## [19.57.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.57.0...v19.57.1) (2024-06-18)
27
+
28
+
29
+ ### Bug Fixes
30
+
31
+ * **detect:** Detect `TRADFRI bulb E26 WS globe 1100lm` as IKEA LED2201G8 ([#7651](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7651)) ([85c0ed5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/85c0ed5285f898960a8bcdf45c76323f0061320b))
32
+ * **ignore:** Add qa to /devices/index.ts ([#7650](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7650)) ([940dffe](https://github.com/Koenkk/zigbee-herdsman-converters/commit/940dffe7739b2cb10f4e024dc8401b39c8307488))
33
+ * SPLZB-132: read develco specific sw/hw versions ([#7653](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7653)) ([a03a5e9](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a03a5e99684b1bf164a4b7f71cadd7b8979951e8))
34
+
3
35
  ## [19.57.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.56.0...v19.57.0) (2024-06-16)
4
36
 
5
37
 
@@ -1038,6 +1038,17 @@ declare const converters: {
1038
1038
  motor_direction: string;
1039
1039
  };
1040
1040
  };
1041
+ livolo_hygrometer_state: {
1042
+ cluster: string;
1043
+ type: string[];
1044
+ convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => {
1045
+ temperature: number;
1046
+ humidity?: undefined;
1047
+ } | {
1048
+ humidity: number;
1049
+ temperature?: undefined;
1050
+ };
1051
+ };
1041
1052
  livolo_pir_state: {
1042
1053
  cluster: string;
1043
1054
  type: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"fromZigbee.d.ts","sourceRoot":"","sources":["../src/converters/fromZigbee.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,EAAE,EAAE,QAAQ,EAAE,WAAW,EAAuB,MAAM,cAAc,CAAC;AAK7E,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAkkK1C,QAAA,MAAM,UAAU;;;;;;;;;;;;QA1WR;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwzBpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
@@ -2346,6 +2346,23 @@ const converters1 = {
2346
2346
  }
2347
2347
  },
2348
2348
  },
2349
+ livolo_hygrometer_state: {
2350
+ cluster: 'genPowerCfg',
2351
+ type: ['raw'],
2352
+ convert: (model, msg, publish, options, meta) => {
2353
+ const dp = msg.data[10];
2354
+ switch (dp) {
2355
+ case 14:
2356
+ return {
2357
+ temperature: Number(msg.data[13]),
2358
+ };
2359
+ case 12:
2360
+ return {
2361
+ humidity: Number(msg.data[13]),
2362
+ };
2363
+ }
2364
+ },
2365
+ },
2349
2366
  livolo_pir_state: {
2350
2367
  cluster: 'genPowerCfg',
2351
2368
  type: ['raw'],
@@ -2426,6 +2443,10 @@ const converters1 = {
2426
2443
  [124,210,21,216,128, 225,52,225,34,0,75,18,0, 19,13,0] after interview
2427
2444
  [122,209, 245,94,225,34,0,75,18,0, 7,1,7,1,1,11] occupancy: true
2428
2445
  [122,209, 245,94,225,34,0,75,18,0, 7,1,7,1,0,11] occupancy: false
2446
+
2447
+ hygrometer
2448
+ [122,209, 191,22,3,24,0,75,18,0, 14,1,8,21,14,11] temperature: 21 degrees Celcius
2449
+ [122,209, 191,22,3,24,0,75,18,0, 12,1,9,73,12,11] humidity: 73%
2429
2450
  */
2430
2451
  const malformedHeader = Buffer.from([0x7c, 0xd2, 0x15, 0xd8, 0x00]);
2431
2452
  const infoHeader = Buffer.from([0x7c, 0xd2, 0x15, 0xd8, 0x80]);
@@ -2475,6 +2496,11 @@ const converters1 = {
2475
2496
  meta.device.modelID = 'TI0001-pir';
2476
2497
  meta.device.save();
2477
2498
  }
2499
+ if (msg.data.includes(Buffer.from([19, 15, 0]), 13)) {
2500
+ logger_1.logger.debug('Detected Livolo Digital Hygrometer', NS);
2501
+ meta.device.modelID = 'TI0001-hygrometer';
2502
+ meta.device.save();
2503
+ }
2478
2504
  }
2479
2505
  },
2480
2506
  },