zigbee-herdsman-converters 19.61.0 → 19.62.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 +15 -0
- package/converters/fromZigbee.d.ts +11 -0
- package/converters/fromZigbee.d.ts.map +1 -1
- package/converters/fromZigbee.js +32 -1
- package/converters/fromZigbee.js.map +1 -1
- package/devices/develco.d.ts.map +1 -1
- package/devices/develco.js +41 -110
- package/devices/develco.js.map +1 -1
- package/devices/livolo.d.ts.map +1 -1
- package/devices/livolo.js +41 -0
- package/devices/livolo.js.map +1 -1
- package/devices/tuya.js +1 -1
- package/devices/tuya.js.map +1 -1
- package/lib/develco.d.ts +11 -0
- package/lib/develco.d.ts.map +1 -0
- package/lib/develco.js +155 -0
- package/lib/develco.js.map +1 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [19.62.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.61.0...v19.62.0) (2024-06-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **add:** TI0001-illuminance ([#7707](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7707)) ([09b6b36](https://github.com/Koenkk/zigbee-herdsman-converters/commit/09b6b369f85bf08470fd4cdf1f797e81086c8b21))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **detect:** Detect `_TZ3000_mmkbptmx` as Tuya TS0004_switch_module ([#7712](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7712)) ([866c7cb](https://github.com/Koenkk/zigbee-herdsman-converters/commit/866c7cbebd7d77b78c135a19228a11f4b3a66fdc))
|
|
14
|
+
* **ignore:** update dependencies ([#7708](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7708)) ([2192c97](https://github.com/Koenkk/zigbee-herdsman-converters/commit/2192c97a838166197f8dde0aac30a104ab6a1b34))
|
|
15
|
+
* **ignore:** update dependencies ([#7713](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7713)) ([8be6da7](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8be6da7e8ea258ddb097328c0b104d4e65db25e1))
|
|
16
|
+
* Refactor develcoSpecificAirQuality into manuSpecificDevelcoAirQuality ([#7706](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7706)) ([fdcd407](https://github.com/Koenkk/zigbee-herdsman-converters/commit/fdcd407b14bfb7860a27df1b67af7b8aeb6bedfa))
|
|
17
|
+
|
|
3
18
|
## [19.61.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.60.1...v19.61.0) (2024-06-29)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -1049,6 +1049,17 @@ declare const converters: {
|
|
|
1049
1049
|
temperature?: undefined;
|
|
1050
1050
|
};
|
|
1051
1051
|
};
|
|
1052
|
+
livolo_illuminance_state: {
|
|
1053
|
+
cluster: string;
|
|
1054
|
+
type: string[];
|
|
1055
|
+
convert: (model: import("../lib/types").Definition, msg: Fz.Message, publish: import("../lib/types").Publish, options: KeyValue, meta: Fz.Meta) => {
|
|
1056
|
+
illuminance: number;
|
|
1057
|
+
noise_detected?: undefined;
|
|
1058
|
+
} | {
|
|
1059
|
+
noise_detected: boolean;
|
|
1060
|
+
illuminance?: undefined;
|
|
1061
|
+
};
|
|
1062
|
+
};
|
|
1052
1063
|
livolo_pir_state: {
|
|
1053
1064
|
cluster: string;
|
|
1054
1065
|
type: string[];
|
|
@@ -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;
|
|
1
|
+
{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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAg0BpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
|
package/converters/fromZigbee.js
CHANGED
|
@@ -2404,6 +2404,23 @@ const converters1 = {
|
|
|
2404
2404
|
}
|
|
2405
2405
|
},
|
|
2406
2406
|
},
|
|
2407
|
+
livolo_illuminance_state: {
|
|
2408
|
+
cluster: 'genPowerCfg',
|
|
2409
|
+
type: ['raw'],
|
|
2410
|
+
convert: (model, msg, publish, options, meta) => {
|
|
2411
|
+
const dp = msg.data[12];
|
|
2412
|
+
switch (dp) {
|
|
2413
|
+
case 13:
|
|
2414
|
+
return {
|
|
2415
|
+
illuminance: Number(msg.data[13]),
|
|
2416
|
+
};
|
|
2417
|
+
case 14:
|
|
2418
|
+
return {
|
|
2419
|
+
noise_detected: msg.data[13] > 2,
|
|
2420
|
+
};
|
|
2421
|
+
}
|
|
2422
|
+
},
|
|
2423
|
+
},
|
|
2407
2424
|
livolo_pir_state: {
|
|
2408
2425
|
cluster: 'genPowerCfg',
|
|
2409
2426
|
type: ['raw'],
|
|
@@ -2486,8 +2503,17 @@ const converters1 = {
|
|
|
2486
2503
|
[122,209, 245,94,225,34,0,75,18,0, 7,1,7,1,0,11] occupancy: false
|
|
2487
2504
|
|
|
2488
2505
|
hygrometer
|
|
2489
|
-
[122,209, 191,22,3,24,0,75,18,0, 14,1,8,21,14,11] temperature: 21 degrees
|
|
2506
|
+
[122,209, 191,22,3,24,0,75,18,0, 14,1,8,21,14,11] temperature: 21 degrees Celsius
|
|
2490
2507
|
[122,209, 191,22,3,24,0,75,18,0, 12,1,9,73,12,11] humidity: 73%
|
|
2508
|
+
|
|
2509
|
+
illuminance
|
|
2510
|
+
[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 (?)
|
|
2515
|
+
[122,209, 221,0,115,33,0,75,18,0, 12,1,13,20,12,11] lux: 20
|
|
2516
|
+
[122,209, 221,0,115,33,0,75,18,0, 2,0,12,199,1,11] ??
|
|
2491
2517
|
*/
|
|
2492
2518
|
const malformedHeader = Buffer.from([0x7c, 0xd2, 0x15, 0xd8, 0x00]);
|
|
2493
2519
|
const infoHeader = Buffer.from([0x7c, 0xd2, 0x15, 0xd8, 0x80]);
|
|
@@ -2542,6 +2568,11 @@ const converters1 = {
|
|
|
2542
2568
|
meta.device.modelID = 'TI0001-hygrometer';
|
|
2543
2569
|
meta.device.save();
|
|
2544
2570
|
}
|
|
2571
|
+
if (msg.data.includes(Buffer.from([19, 12, 0]), 13)) {
|
|
2572
|
+
logger_1.logger.debug('Detected Livolo Digital Illuminance and Sound Sensor', NS);
|
|
2573
|
+
meta.device.modelID = 'TI0001-illuminance';
|
|
2574
|
+
meta.device.save();
|
|
2575
|
+
}
|
|
2545
2576
|
}
|
|
2546
2577
|
},
|
|
2547
2578
|
},
|