zigbee-herdsman-converters 21.3.0 → 21.4.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 +26 -0
- package/devices/danfoss.js +1 -1
- package/devices/ikea.js +3 -3
- package/devices/ikea.js.map +1 -1
- package/devices/inovelli.d.ts.map +1 -1
- package/devices/inovelli.js +162 -293
- package/devices/inovelli.js.map +1 -1
- package/devices/miboxer.d.ts.map +1 -1
- package/devices/miboxer.js +2 -1
- package/devices/miboxer.js.map +1 -1
- package/devices/moes.d.ts.map +1 -1
- package/devices/moes.js +5 -1
- package/devices/moes.js.map +1 -1
- package/devices/neo.js +1 -1
- package/devices/neo.js.map +1 -1
- package/devices/sonoff.d.ts.map +1 -1
- package/devices/sonoff.js +11 -3
- package/devices/sonoff.js.map +1 -1
- package/devices/tech.d.ts.map +1 -1
- package/devices/tech.js +4 -1
- package/devices/tech.js.map +1 -1
- package/devices/third_reality.d.ts.map +1 -1
- package/devices/third_reality.js +7 -3
- package/devices/third_reality.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +99 -2
- package/devices/tuya.js.map +1 -1
- package/lib/lumi.d.ts.map +1 -1
- package/lib/lumi.js +4 -0
- package/lib/lumi.js.map +1 -1
- package/package.json +1 -1
package/devices/tuya.js
CHANGED
|
@@ -1884,6 +1884,7 @@ const definitions = [
|
|
|
1884
1884
|
{ modelID: 'TS0207', manufacturerName: '_TZ3000_5k5vh43t' },
|
|
1885
1885
|
{ modelID: 'TS0207', manufacturerName: '_TZ3000_kxlmv9ag' },
|
|
1886
1886
|
{ modelID: 'TS0207', manufacturerName: '_TZ3000_wmlc9p9z' },
|
|
1887
|
+
{ modelID: 'TS0207', manufacturerName: '_TZ3000_shopg9ss' },
|
|
1887
1888
|
],
|
|
1888
1889
|
model: 'TS0207_repeater',
|
|
1889
1890
|
vendor: 'Tuya',
|
|
@@ -7073,7 +7074,7 @@ const definitions = [
|
|
|
7073
7074
|
whiteLabel: [tuya.whitelabel('Tuya', 'QT-07S', 'Soil sensor', ['_TZE204_myd45weu'])],
|
|
7074
7075
|
},
|
|
7075
7076
|
{
|
|
7076
|
-
fingerprint: tuya.fingerprint('TS0222', ['_TZ3000_8uxxzz4b', '_TZ3000_hy6ncvmw', '_TZ3000_9kbbfeho']),
|
|
7077
|
+
fingerprint: tuya.fingerprint('TS0222', ['_TZ3000_8uxxzz4b', '_TZ3000_hy6ncvmw', '_TZ3000_9kbbfeho', '_TZ3000_l6rsaipj']),
|
|
7077
7078
|
model: 'TS0222_light',
|
|
7078
7079
|
vendor: 'Tuya',
|
|
7079
7080
|
description: 'Light sensor',
|
|
@@ -13200,7 +13201,103 @@ const definitions = [
|
|
|
13200
13201
|
[105, 'valve_1', tuya.valueConverterBasic.lookup({ OFF: tuya.enum(2), ON: tuya.enum(0) })],
|
|
13201
13202
|
[13, 'countdown_1', tuya.valueConverter.raw],
|
|
13202
13203
|
[14, 'countdown_2', tuya.valueConverter.raw],
|
|
13203
|
-
|
|
13204
|
+
],
|
|
13205
|
+
},
|
|
13206
|
+
},
|
|
13207
|
+
{
|
|
13208
|
+
fingerprint: tuya.fingerprint('TS0601', ['_TZE204_eaulras5']),
|
|
13209
|
+
model: 'PJ3201A',
|
|
13210
|
+
vendor: 'Dongguan Pinjia Technology Co.,LTD.',
|
|
13211
|
+
description: 'Human Presence Sensor',
|
|
13212
|
+
fromZigbee: [tuya.fz.datapoints],
|
|
13213
|
+
toZigbee: [tuya.tz.datapoints],
|
|
13214
|
+
configure: tuya.configureMagicPacket,
|
|
13215
|
+
exposes: [
|
|
13216
|
+
e.presence().withDescription('Indicates whether the device detected presence. Will be true also when movement (occupancy) is detected.'),
|
|
13217
|
+
e
|
|
13218
|
+
.occupancy()
|
|
13219
|
+
.withDescription('Indicates whether the device detected movement. Will be true when movement. Can remain true even if the target left the detection range. In this case presence will be reset to false reliably.'),
|
|
13220
|
+
e.numeric('closest_target_distance', ea.STATE).withDescription('the target distance away from the sensor').withUnit('m'),
|
|
13221
|
+
e
|
|
13222
|
+
.numeric('movement_timeout', ea.STATE_SET)
|
|
13223
|
+
.withValueMin(0)
|
|
13224
|
+
.withValueMax(43200)
|
|
13225
|
+
.withValueStep(1)
|
|
13226
|
+
.withDescription('Timeout until the movement (occupancy) is reset when no further movement is detected. (Occupancy -> None)')
|
|
13227
|
+
.withUnit('s'),
|
|
13228
|
+
e
|
|
13229
|
+
.numeric('idle_timeout', ea.STATE_SET)
|
|
13230
|
+
.withValueMin(0)
|
|
13231
|
+
.withValueMax(43200)
|
|
13232
|
+
.withValueStep(1)
|
|
13233
|
+
.withDescription('Timeout until the presence is reset when no further presence is detected (Presence -> None)')
|
|
13234
|
+
.withUnit('s'),
|
|
13235
|
+
e.illuminance(),
|
|
13236
|
+
e
|
|
13237
|
+
.numeric('far_movement_sensitivity', ea.STATE_SET)
|
|
13238
|
+
.withValueMin(0)
|
|
13239
|
+
.withValueMax(10)
|
|
13240
|
+
.withValueStep(1)
|
|
13241
|
+
.withDescription('the moving detecting sensitivity 1 meter away'),
|
|
13242
|
+
e
|
|
13243
|
+
.numeric('near_movement_sensitivity', ea.STATE_SET)
|
|
13244
|
+
.withValueMin(0)
|
|
13245
|
+
.withValueMax(10)
|
|
13246
|
+
.withValueStep(1)
|
|
13247
|
+
.withDescription('the moving detecting sensitivity within 1 meter'),
|
|
13248
|
+
e
|
|
13249
|
+
.numeric('near_presence_sensitivity', ea.STATE_SET)
|
|
13250
|
+
.withValueMin(0)
|
|
13251
|
+
.withValueMax(10)
|
|
13252
|
+
.withValueStep(1)
|
|
13253
|
+
.withDescription('the presence detecting sensitivity within 1 meter'),
|
|
13254
|
+
e
|
|
13255
|
+
.numeric('far_presence_sensitivity', ea.STATE_SET)
|
|
13256
|
+
.withValueMin(0)
|
|
13257
|
+
.withValueMax(10)
|
|
13258
|
+
.withValueStep(1)
|
|
13259
|
+
.withDescription('the presence detecting sensitivity 1 meter away'),
|
|
13260
|
+
e
|
|
13261
|
+
.numeric('closest_detection_distance', ea.STATE_SET)
|
|
13262
|
+
.withValueMin(0.1)
|
|
13263
|
+
.withValueMax(7)
|
|
13264
|
+
.withValueStep(0.1)
|
|
13265
|
+
.withDescription('The closest distance that can be detected')
|
|
13266
|
+
.withUnit('m'),
|
|
13267
|
+
e
|
|
13268
|
+
.numeric('largest_movement_detection_distance', ea.STATE_SET)
|
|
13269
|
+
.withValueMin(0.1)
|
|
13270
|
+
.withValueMax(7)
|
|
13271
|
+
.withValueStep(0.1)
|
|
13272
|
+
.withDescription('The farest distance that can be detected (moving)')
|
|
13273
|
+
.withUnit('m'),
|
|
13274
|
+
e
|
|
13275
|
+
.numeric('largest_presence_detection_distance', ea.STATE_SET)
|
|
13276
|
+
.withValueMin(0.1)
|
|
13277
|
+
.withValueMax(7)
|
|
13278
|
+
.withValueStep(0.1)
|
|
13279
|
+
.withDescription('The farest distance that can be detected (present)')
|
|
13280
|
+
.withUnit('m'),
|
|
13281
|
+
e.binary('restore_factory', ea.STATE_SET, 'ON', 'OFF').withDescription('restore_factory'),
|
|
13282
|
+
e.binary('led_indicator', ea.STATE_SET, 'ON', 'OFF').withDescription('turn on or off the led '),
|
|
13283
|
+
],
|
|
13284
|
+
meta: {
|
|
13285
|
+
tuyaDatapoints: [
|
|
13286
|
+
[104, 'presence', tuya.valueConverter.trueFalse1],
|
|
13287
|
+
[112, 'occupancy', tuya.valueConverter.trueFalseInvert],
|
|
13288
|
+
[9, 'closest_target_distance', tuya.valueConverter.divideBy100],
|
|
13289
|
+
[101, 'movement_timeout', tuya.valueConverter.raw],
|
|
13290
|
+
[102, 'idle_timeout', tuya.valueConverter.raw],
|
|
13291
|
+
[103, 'illuminance', tuya.valueConverter.divideBy10],
|
|
13292
|
+
[105, 'far_movement_sensitivity', tuya.valueConverter.raw],
|
|
13293
|
+
[110, 'near_movement_sensitivity', tuya.valueConverter.raw],
|
|
13294
|
+
[109, 'near_presence_sensitivity', tuya.valueConverter.raw],
|
|
13295
|
+
[111, 'far_presence_sensitivity', tuya.valueConverter.raw],
|
|
13296
|
+
[3, 'closest_detection_distance', tuya.valueConverter.divideBy100],
|
|
13297
|
+
[4, 'largest_movement_detection_distance', tuya.valueConverter.divideBy100],
|
|
13298
|
+
[108, 'largest_presence_detection_distance', tuya.valueConverter.divideBy100],
|
|
13299
|
+
[106, 'restore_factory', tuya.valueConverterBasic.lookup({ ON: false, OFF: true })],
|
|
13300
|
+
[107, 'led_indicator', tuya.valueConverterBasic.lookup({ ON: false, OFF: true })],
|
|
13204
13301
|
],
|
|
13205
13302
|
},
|
|
13206
13303
|
},
|