zigbee-herdsman-converters 19.73.1 → 19.75.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 +32 -0
- package/converters/fromZigbee.d.ts.map +1 -1
- package/converters/fromZigbee.js +0 -37
- package/converters/fromZigbee.js.map +1 -1
- package/converters/toZigbee.d.ts +0 -79
- package/converters/toZigbee.d.ts.map +1 -1
- package/converters/toZigbee.js +2 -94
- package/converters/toZigbee.js.map +1 -1
- package/devices/aeotec.js +1 -1
- package/devices/aeotec.js.map +1 -1
- package/devices/alecto.d.ts.map +1 -1
- package/devices/alecto.js +11 -9
- package/devices/alecto.js.map +1 -1
- package/devices/ctm.d.ts.map +1 -1
- package/devices/ctm.js +0 -41
- package/devices/ctm.js.map +1 -1
- package/devices/datek.js +2 -2
- package/devices/datek.js.map +1 -1
- package/devices/develco.js +2 -2
- package/devices/develco.js.map +1 -1
- package/devices/elko.d.ts.map +1 -1
- package/devices/elko.js +106 -124
- package/devices/elko.js.map +1 -1
- package/devices/lixee.d.ts.map +1 -1
- package/devices/lixee.js +2 -0
- package/devices/lixee.js.map +1 -1
- package/devices/lupus.js +2 -2
- package/devices/lupus.js.map +1 -1
- package/devices/moes.js +2 -2
- package/devices/moes.js.map +1 -1
- package/devices/qa.js +1 -1
- package/devices/qa.js.map +1 -1
- package/devices/sonoff.js +1 -1
- package/devices/sonoff.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +29 -3
- package/devices/tuya.js.map +1 -1
- package/lib/color.d.ts.map +1 -1
- package/lib/color.js +20 -7
- package/lib/color.js.map +1 -1
- package/lib/tuya.d.ts +0 -1
- package/lib/tuya.d.ts.map +1 -1
- package/lib/tuya.js +0 -212
- package/lib/tuya.js.map +1 -1
- package/lib/types.d.ts +1 -1
- package/lib/types.d.ts.map +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [19.75.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.74.0...v19.75.0) (2024-08-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **add:** TS0001_switch_module_2 ([#7832](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7832)) ([35ffe00](https://github.com/Koenkk/zigbee-herdsman-converters/commit/35ffe00680b344f9ff317bb68f1f15680346aa84))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Add back TS110E_1gang_1 ([#7781](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7781)) ([51a6890](https://github.com/Koenkk/zigbee-herdsman-converters/commit/51a689073cd9479615a77bf7510492302d602b24))
|
|
14
|
+
* Allow toZigbee converter to match on any key https://github.com/Koenkk/zigbee2mqtt/issues/23485 ([36e7440](https://github.com/Koenkk/zigbee-herdsman-converters/commit/36e7440a4fa34b6757ce534771408d5fa0360db5))
|
|
15
|
+
* Convert ELKO 4523430 to use modern extend syntax ([#7839](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7839)) ([432fda5](https://github.com/Koenkk/zigbee-herdsman-converters/commit/432fda5492c786ca02e2e0ceaf5046992235746d))
|
|
16
|
+
* **detect:** Detect `_TZ3000_v4l4b0lp` as Tuya TS0003_switch_3_gang_with_backlight ([#7833](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7833)) ([aa0d4ef](https://github.com/Koenkk/zigbee-herdsman-converters/commit/aa0d4ef336f954f461d3e3f54557d23a2161d192))
|
|
17
|
+
* **detect:** Detect `_TZE204_bxoo2swd` as Tuya ZM-105B-M ([#7835](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7835)) ([104dde6](https://github.com/Koenkk/zigbee-herdsman-converters/commit/104dde61a7dafc8a1586c257f7b1d2a4b3085751))
|
|
18
|
+
* **detect:** Detect `_TZE608_fmemczv1` as Tuya TS0603 ([#7834](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7834)) ([701b725](https://github.com/Koenkk/zigbee-herdsman-converters/commit/701b725b83cd538228aaa70033419e8c89ed1247))
|
|
19
|
+
|
|
20
|
+
## [19.74.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.73.1...v19.74.0) (2024-08-06)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* Make Lupus 12126 and 12127 OTA capable ([#7817](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7817)) ([bef6ae0](https://github.com/Koenkk/zigbee-herdsman-converters/commit/bef6ae06444ba77534c3406f519f3ba4573fe9e8))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **detect:** Detect `_TZE204_khx7nnka` as Tuya XFY-CGQ-ZIGB https://github.com/Koenkk/zigbee2mqtt/issues/23506 ([ab780c9](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ab780c96a19bbc0d948b57f5b8440fb3a98d0a70))
|
|
31
|
+
* Fix electricity meter exposes of AEOTEC ZGA003 ([#7829](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7829)) ([36d662e](https://github.com/Koenkk/zigbee-herdsman-converters/commit/36d662e7238867d0a8de6ae26510164f506d9de8))
|
|
32
|
+
* **ignore:** update dependencies ([#7825](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7825)) ([ef2f515](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ef2f5151e80227c0d9f638a7b03becebcaf309d2))
|
|
33
|
+
* Remove unsupported `battery_low` from SONOFF SNZB-03P https://github.com/Koenkk/zigbee2mqtt/issues/23522 ([00d5851](https://github.com/Koenkk/zigbee-herdsman-converters/commit/00d58514f9741a295eb23f368d35fed4dbd2cec3))
|
|
34
|
+
|
|
3
35
|
## [19.73.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v19.73.0...v19.73.1) (2024-08-05)
|
|
4
36
|
|
|
5
37
|
|
|
@@ -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
|
+
{"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;AAguK7E,QAAA,MAAM,UAAU;;;;;;;;;;;;QAlXR;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA3pIH;;;WAGG;;;;;;QAsCH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IA+pHiD,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAg0BpB,CAAC;AAEpD,eAAe,UAAU,CAAC"}
|
package/converters/fromZigbee.js
CHANGED
|
@@ -1883,55 +1883,18 @@ const converters1 = {
|
|
|
1883
1883
|
convert: (model, msg, publish, options, meta) => {
|
|
1884
1884
|
const result = {};
|
|
1885
1885
|
const data = msg.data;
|
|
1886
|
-
if (data.hasOwnProperty('elkoLoad')) {
|
|
1887
|
-
// Load
|
|
1888
|
-
result.load = data['elkoLoad'];
|
|
1889
|
-
}
|
|
1890
1886
|
if (data.hasOwnProperty('elkoDisplayText')) {
|
|
1891
1887
|
// Display text
|
|
1892
1888
|
result.display_text = data['elkoDisplayText'];
|
|
1893
1889
|
}
|
|
1894
|
-
if (data.hasOwnProperty('elkoSensor')) {
|
|
1895
|
-
// Sensor
|
|
1896
|
-
const sensorModeLookup = { '0': 'air', '1': 'floor', '3': 'supervisor_floor' };
|
|
1897
|
-
result.sensor = sensorModeLookup[data['elkoSensor']];
|
|
1898
|
-
}
|
|
1899
|
-
if (data.hasOwnProperty('elkoRegulatorTime')) {
|
|
1900
|
-
// Regulator time
|
|
1901
|
-
result.regulator_time = data['elkoRegulatorTime'];
|
|
1902
|
-
}
|
|
1903
|
-
if (data.hasOwnProperty('elkoRegulatorMode')) {
|
|
1904
|
-
// Regulator mode
|
|
1905
|
-
result.regulator_mode = data['elkoRegulatorMode'] ? 'regulator' : 'thermostat';
|
|
1906
|
-
}
|
|
1907
1890
|
if (data.hasOwnProperty('elkoPowerStatus')) {
|
|
1908
1891
|
// Power status
|
|
1909
1892
|
result.system_mode = data['elkoPowerStatus'] ? 'heat' : 'off';
|
|
1910
1893
|
}
|
|
1911
|
-
if (data.hasOwnProperty('elkoMeanPower')) {
|
|
1912
|
-
// Mean power
|
|
1913
|
-
result.mean_power = data['elkoMeanPower'];
|
|
1914
|
-
}
|
|
1915
1894
|
if (data.hasOwnProperty('elkoExternalTemp')) {
|
|
1916
1895
|
// External temp (floor)
|
|
1917
1896
|
result.floor_temp = utils.precisionRound(data['elkoExternalTemp'], 2) / 100;
|
|
1918
1897
|
}
|
|
1919
|
-
if (data.hasOwnProperty('elkoNightSwitching')) {
|
|
1920
|
-
// Night switching
|
|
1921
|
-
result.night_switching = data['elkoNightSwitching'] ? 'on' : 'off';
|
|
1922
|
-
}
|
|
1923
|
-
if (data.hasOwnProperty('elkoFrostGuard')) {
|
|
1924
|
-
// Frost guard
|
|
1925
|
-
result.frost_guard = data['elkoFrostGuard'] ? 'on' : 'off';
|
|
1926
|
-
}
|
|
1927
|
-
if (data.hasOwnProperty('elkoChildLock')) {
|
|
1928
|
-
// Child lock
|
|
1929
|
-
result.child_lock = data['elkoChildLock'] ? 'lock' : 'unlock';
|
|
1930
|
-
}
|
|
1931
|
-
if (data.hasOwnProperty('elkoMaxFloorTemp')) {
|
|
1932
|
-
// Max floor temp
|
|
1933
|
-
result.max_floor_temp = data['elkoMaxFloorTemp'];
|
|
1934
|
-
}
|
|
1935
1898
|
if (data.hasOwnProperty('elkoRelayState')) {
|
|
1936
1899
|
// Relay state
|
|
1937
1900
|
result.running_state = data['elkoRelayState'] ? 'heat' : 'idle';
|