zigbee-herdsman-converters 20.19.0 → 20.21.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 +37 -0
- package/devices/adeo.d.ts.map +1 -1
- package/devices/adeo.js +7 -0
- package/devices/adeo.js.map +1 -1
- package/devices/aurora_lighting.js +1 -1
- package/devices/aurora_lighting.js.map +1 -1
- package/devices/bseed.d.ts.map +1 -1
- package/devices/bseed.js +1 -0
- package/devices/bseed.js.map +1 -1
- package/devices/evanell.d.ts.map +1 -1
- package/devices/evanell.js +4 -1
- package/devices/evanell.js.map +1 -1
- package/devices/gledopto.js +2 -2
- package/devices/gledopto.js.map +1 -1
- package/devices/lumi.d.ts.map +1 -1
- package/devices/lumi.js +47 -3
- package/devices/lumi.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +26 -8
- package/devices/tuya.js.map +1 -1
- package/lib/ikea.d.ts.map +1 -1
- package/lib/ikea.js +4 -1
- package/lib/ikea.js.map +1 -1
- package/lib/lumi.d.ts +20 -0
- package/lib/lumi.d.ts.map +1 -1
- package/lib/lumi.js +73 -1
- package/lib/lumi.js.map +1 -1
- package/lib/modernExtend.js +1 -1
- package/lib/modernExtend.js.map +1 -1
- package/lib/tuya.js +1 -1
- package/lib/tuya.js.map +1 -1
- package/package.json +6 -6
package/devices/tuya.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../src/devices/tuya.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAC,oBAAoB,EAA0E,MAAM,cAAc,CAAC;AAuwB3H,QAAA,MAAM,WAAW,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../src/devices/tuya.ts"],"names":[],"mappings":"AA2BA,OAAO,EAAC,oBAAoB,EAA0E,MAAM,cAAc,CAAC;AAuwB3H,QAAA,MAAM,WAAW,EAAE,oBAAoB,EAmkWtC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/devices/tuya.js
CHANGED
|
@@ -1226,6 +1226,7 @@ const definitions = [
|
|
|
1226
1226
|
{ modelID: 'TS0601', manufacturerName: '_TZE200_ryfmq5rl' },
|
|
1227
1227
|
{ modelID: 'TS0601', manufacturerName: '_TZE200_c2fmom5z' },
|
|
1228
1228
|
{ modelID: 'TS0601', manufacturerName: '_TZE200_mja3fuja' },
|
|
1229
|
+
{ modelID: 'TS0601', manufacturerName: '_TZE204_c2fmom5z' },
|
|
1229
1230
|
{ modelID: 'TS0601', manufacturerName: '_TZE204_yvx5lh6k' },
|
|
1230
1231
|
],
|
|
1231
1232
|
model: 'TS0601_air_quality_sensor',
|
|
@@ -4569,6 +4570,7 @@ const definitions = [
|
|
|
4569
4570
|
'_TZE200_p3dbf6qs' /* model: 'ME168', vendor: 'AVATTO' */,
|
|
4570
4571
|
'_TZE200_rxntag7i' /* model: 'ME168', vendor: 'AVATTO' */,
|
|
4571
4572
|
'_TZE200_yqgbrdyo',
|
|
4573
|
+
'_TZE200_rxq4iti9',
|
|
4572
4574
|
]),
|
|
4573
4575
|
model: 'TS0601_thermostat_3',
|
|
4574
4576
|
vendor: 'Tuya',
|
|
@@ -4578,7 +4580,7 @@ const definitions = [
|
|
|
4578
4580
|
whiteLabel: [
|
|
4579
4581
|
tuya.whitelabel('AVATTO', 'ME167', 'Thermostatic radiator valve', ['_TZE200_bvu2wnxz', '_TZE200_6rdj8dzm']),
|
|
4580
4582
|
tuya.whitelabel('AVATTO', 'ME168', 'Thermostatic radiator valve', ['_TZE200_p3dbf6qs', '_TZE200_rxntag7i']),
|
|
4581
|
-
tuya.whitelabel('EARU', 'TRV06', 'Smart thermostat module', ['_TZE200_yqgbrdyo']),
|
|
4583
|
+
tuya.whitelabel('EARU', 'TRV06', 'Smart thermostat module', ['_TZE200_yqgbrdyo', '_TZE200_rxq4iti9']),
|
|
4582
4584
|
],
|
|
4583
4585
|
onEvent: tuya.onEventSetTime,
|
|
4584
4586
|
configure: tuya.configureMagicPacket,
|
|
@@ -5216,7 +5218,7 @@ const definitions = [
|
|
|
5216
5218
|
[14, 'battery_low', tuya.valueConverter.trueFalse0],
|
|
5217
5219
|
],
|
|
5218
5220
|
},
|
|
5219
|
-
whiteLabel: [tuya.whitelabel('Nous', 'E8', 'Smoke sensor', ['_TZE200_0zaf1cr8'])],
|
|
5221
|
+
whiteLabel: [tuya.whitelabel('Nous', 'E8', 'Smoke sensor', ['_TZE200_0zaf1cr8', '_TZE284_0zaf1cr8'])],
|
|
5220
5222
|
},
|
|
5221
5223
|
{
|
|
5222
5224
|
fingerprint: [{ modelID: 'TS0601', manufacturerName: '_TZE200_ntcy3xu1' }],
|
|
@@ -10085,7 +10087,7 @@ const definitions = [
|
|
|
10085
10087
|
exposes: [
|
|
10086
10088
|
e.enum('state', ea.STATE, ['none', 'presence', 'move']).withDescription('Presence state sensor'),
|
|
10087
10089
|
e.presence().withDescription('Occupancy'),
|
|
10088
|
-
e.numeric('distance', ea.STATE).withDescription('Target distance'),
|
|
10090
|
+
e.numeric('distance', ea.STATE).withUnit('m').withDescription('Target distance'),
|
|
10089
10091
|
e.illuminance_lux().withDescription('Illuminance sensor'),
|
|
10090
10092
|
e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'),
|
|
10091
10093
|
e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(1).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'),
|
|
@@ -10114,11 +10116,11 @@ const definitions = [
|
|
|
10114
10116
|
meta: {
|
|
10115
10117
|
tuyaDatapoints: [
|
|
10116
10118
|
[104, 'presence', tuya.valueConverter.trueFalse1],
|
|
10117
|
-
[2, 'move_sensitivity', tuya.valueConverter.
|
|
10118
|
-
[102, 'presence_sensitivity', tuya.valueConverter.
|
|
10119
|
+
[2, 'move_sensitivity', tuya.valueConverter.raw],
|
|
10120
|
+
[102, 'presence_sensitivity', tuya.valueConverter.raw],
|
|
10119
10121
|
[3, 'detection_distance_min', tuya.valueConverter.divideBy100],
|
|
10120
10122
|
[4, 'detection_distance_max', tuya.valueConverter.divideBy100],
|
|
10121
|
-
[9, 'distance', tuya.valueConverter.
|
|
10123
|
+
[9, 'distance', tuya.valueConverter.divideBy10],
|
|
10122
10124
|
[105, 'presence_timeout', tuya.valueConverter.raw],
|
|
10123
10125
|
[103, 'illuminance_lux', tuya.valueConverter.raw],
|
|
10124
10126
|
[1, 'state', tuya.valueConverterBasic.lookup({ none: 0, presence: 1, move: 2 })],
|
|
@@ -10139,8 +10141,8 @@ const definitions = [
|
|
|
10139
10141
|
e.numeric('distance', ea.STATE).withDescription('Target distance'),
|
|
10140
10142
|
e.binary('find_switch', ea.STATE_SET, 'ON', 'OFF').withDescription('distance switch'),
|
|
10141
10143
|
e.illuminance_lux().withDescription('Illuminance sensor'),
|
|
10142
|
-
e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(
|
|
10143
|
-
e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(
|
|
10144
|
+
e.numeric('move_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Motion Sensitivity'),
|
|
10145
|
+
e.numeric('presence_sensitivity', ea.STATE_SET).withValueMin(0).withValueMax(10).withValueStep(1).withDescription('Presence Sensitivity'),
|
|
10144
10146
|
e
|
|
10145
10147
|
.numeric('detection_distance_min', ea.STATE_SET)
|
|
10146
10148
|
.withValueMin(0)
|
|
@@ -11999,6 +12001,22 @@ const definitions = [
|
|
|
11999
12001
|
],
|
|
12000
12002
|
},
|
|
12001
12003
|
},
|
|
12004
|
+
{
|
|
12005
|
+
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ppuj1vem']),
|
|
12006
|
+
model: 'ZPIR-10',
|
|
12007
|
+
vendor: 'Tuya',
|
|
12008
|
+
description: 'Treatlife human presence sensor',
|
|
12009
|
+
fromZigbee: [tuya.fz.datapoints],
|
|
12010
|
+
toZigbee: [tuya.tz.datapoints],
|
|
12011
|
+
exposes: [e.occupancy(), e.battery(), e.illuminance()],
|
|
12012
|
+
meta: {
|
|
12013
|
+
tuyaDatapoints: [
|
|
12014
|
+
[1, 'occupancy', tuya.valueConverter.trueFalse0],
|
|
12015
|
+
[4, 'battery', tuya.valueConverter.raw],
|
|
12016
|
+
[101, 'illuminance', tuya.valueConverter.raw],
|
|
12017
|
+
],
|
|
12018
|
+
},
|
|
12019
|
+
},
|
|
12002
12020
|
];
|
|
12003
12021
|
exports.default = definitions;
|
|
12004
12022
|
module.exports = definitions;
|