zigbee-herdsman-converters 25.90.0 → 25.92.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 +44 -0
- package/dist/devices/ewelink.d.ts.map +1 -1
- package/dist/devices/ewelink.js +2 -1
- package/dist/devices/ewelink.js.map +1 -1
- package/dist/devices/gledopto.js +1 -1
- package/dist/devices/gledopto.js.map +1 -1
- package/dist/devices/inovelli.js +1 -1
- package/dist/devices/inovelli.js.map +1 -1
- package/dist/devices/lightsolutions.d.ts.map +1 -1
- package/dist/devices/lightsolutions.js +7 -0
- package/dist/devices/lightsolutions.js.map +1 -1
- package/dist/devices/lincukoo.d.ts.map +1 -1
- package/dist/devices/lincukoo.js +8 -0
- package/dist/devices/lincukoo.js.map +1 -1
- package/dist/devices/lumi.d.ts.map +1 -1
- package/dist/devices/lumi.js +60 -54
- package/dist/devices/lumi.js.map +1 -1
- package/dist/devices/philips.d.ts.map +1 -1
- package/dist/devices/philips.js +10 -2
- package/dist/devices/philips.js.map +1 -1
- package/dist/devices/somfy.d.ts.map +1 -1
- package/dist/devices/somfy.js +7 -0
- package/dist/devices/somfy.js.map +1 -1
- package/dist/devices/sonoff.d.ts.map +1 -1
- package/dist/devices/sonoff.js +42 -53
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/third_reality.d.ts.map +1 -1
- package/dist/devices/third_reality.js +98 -34
- package/dist/devices/third_reality.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +119 -8
- package/dist/devices/tuya.js.map +1 -1
- package/dist/lib/lumi.d.ts +5 -0
- package/dist/lib/lumi.d.ts.map +1 -1
- package/dist/lib/lumi.js +250 -0
- package/dist/lib/lumi.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +1 -1
package/dist/devices/tuya.js
CHANGED
|
@@ -2580,6 +2580,7 @@ exports.definitions = [
|
|
|
2580
2580
|
exposes: [e.power_on_behavior(["off", "on", "toggle", "previous"])],
|
|
2581
2581
|
meta: {
|
|
2582
2582
|
moveToLevelWithOnOffDisable: true,
|
|
2583
|
+
noOffTransitionWhenOff: true,
|
|
2583
2584
|
},
|
|
2584
2585
|
configure: async (device, coordinatorEndpoint) => {
|
|
2585
2586
|
const endpoint = device.getEndpoint(1);
|
|
@@ -2671,6 +2672,7 @@ exports.definitions = [
|
|
|
2671
2672
|
"_TZ3210_wbsgmojq",
|
|
2672
2673
|
]),
|
|
2673
2674
|
tuya.whitelabel("Moes", "ZB-TDC6-RCW-E14", "RGB+CCT 5W E14 LED bulb", ["_TZ3210_ifga63rg"]),
|
|
2675
|
+
tuya.whitelabel("Moes", "ZB-TDD6-RCW-4", "RGB+CCT 6W Smart Downlight", ["_TZ3210_b8jdosxo"]),
|
|
2674
2676
|
tuya.whitelabel("MiBoxer", "E3-ZR", "3 in 1 LED Controller", ["_TZB210_wy1pyu1q", "_TZB210_yatkpuha"]),
|
|
2675
2677
|
tuya.whitelabel("MiBoxer", "SZ5", "5 in 1 LED Controller", ["_TZB210_w9hcix2r"]),
|
|
2676
2678
|
tuya.whitelabel("MiBoxer", "FUT037Z+", "RGB led controller", ["_TZB210_417ikxay", "_TZB210_wxazcmsh"]),
|
|
@@ -3006,7 +3008,6 @@ exports.definitions = [
|
|
|
3006
3008
|
"_TZ3000_wmlc9p9z",
|
|
3007
3009
|
"_TZ3000_shopg9ss",
|
|
3008
3010
|
"_TZ3000_n0lphcok",
|
|
3009
|
-
"_TZ3000_hgm6k8ku",
|
|
3010
3011
|
"_TZ3000_r80pzsb9",
|
|
3011
3012
|
]),
|
|
3012
3013
|
...tuya.fingerprint("TS0001", ["_TZ3000_n0lphcok", "_TZ3000_wn65ixz9"]),
|
|
@@ -3920,6 +3921,42 @@ exports.definitions = [
|
|
|
3920
3921
|
extend: [m.battery(), m.windowCovering({ controls: ["lift"] })],
|
|
3921
3922
|
whiteLabel: [tuya.whitelabel("Yookee", "D10110_1", "Smart blind", ["_TZE200_9caxna4s"])],
|
|
3922
3923
|
},
|
|
3924
|
+
{
|
|
3925
|
+
fingerprint: tuya.fingerprint("TS0301", ["_TZE210_m6lwazh9"]),
|
|
3926
|
+
model: "TS0301_cover_1",
|
|
3927
|
+
vendor: "Tuya",
|
|
3928
|
+
description: "Cover motor",
|
|
3929
|
+
extend: [tuya.modernExtend.tuyaBase({ dp: true })],
|
|
3930
|
+
options: [exposes.options.invert_cover()],
|
|
3931
|
+
exposes: [
|
|
3932
|
+
e.battery(),
|
|
3933
|
+
e.cover_position().setAccess("position", ea.STATE_SET),
|
|
3934
|
+
e.enum("reverse_direction", ea.STATE_SET, ["forward", "back"]).withDescription("Reverse the motor direction"),
|
|
3935
|
+
],
|
|
3936
|
+
meta: {
|
|
3937
|
+
tuyaDatapoints: [
|
|
3938
|
+
[
|
|
3939
|
+
1,
|
|
3940
|
+
"state",
|
|
3941
|
+
tuya.valueConverterBasic.lookup({
|
|
3942
|
+
OPEN: tuya.enum(0),
|
|
3943
|
+
STOP: tuya.enum(1),
|
|
3944
|
+
CLOSE: tuya.enum(2),
|
|
3945
|
+
}),
|
|
3946
|
+
],
|
|
3947
|
+
[2, "position", tuya.valueConverter.coverPosition],
|
|
3948
|
+
[3, "position", tuya.valueConverter.coverPosition],
|
|
3949
|
+
[
|
|
3950
|
+
5,
|
|
3951
|
+
"reverse_direction",
|
|
3952
|
+
tuya.valueConverterBasic.lookup({
|
|
3953
|
+
forward: tuya.enum(0),
|
|
3954
|
+
back: tuya.enum(1),
|
|
3955
|
+
}),
|
|
3956
|
+
],
|
|
3957
|
+
],
|
|
3958
|
+
},
|
|
3959
|
+
},
|
|
3923
3960
|
{
|
|
3924
3961
|
fingerprint: tuya.fingerprint("TS0601", [
|
|
3925
3962
|
"_TZE200_aqnazj70",
|
|
@@ -4089,7 +4126,7 @@ exports.definitions = [
|
|
|
4089
4126
|
},
|
|
4090
4127
|
},
|
|
4091
4128
|
{
|
|
4092
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_gbagoilo"]),
|
|
4129
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_gbagoilo", "_TZE284_xnwxmj8z"]),
|
|
4093
4130
|
model: "MG-ZG01W",
|
|
4094
4131
|
vendor: "Tuya",
|
|
4095
4132
|
description: "1 gang switch with power meter",
|
|
@@ -6503,6 +6540,7 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
6503
6540
|
"_TZE200_ba69l9ol",
|
|
6504
6541
|
"_TZE200_68nvbi09",
|
|
6505
6542
|
"_TZE200_vexa5o82",
|
|
6543
|
+
"_TZE200_sfqyhvpv",
|
|
6506
6544
|
]),
|
|
6507
6545
|
model: "TS0601_cover_3",
|
|
6508
6546
|
vendor: "Tuya",
|
|
@@ -6523,6 +6561,7 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
6523
6561
|
tuya.whitelabel("Zemismart", "ZM85EL-2Z", "Roman Rod I type U curtains track", ["_TZE200_cf1sl3tj", "_TZE200_nw1r9hp6"]),
|
|
6524
6562
|
tuya.whitelabel("Hiladuo", "B09M3R35GC", "Motorized roller shade", ["_TZE200_9p5xmj5r"]),
|
|
6525
6563
|
tuya.whitelabel("Tuya", "MYQ-RM25-1.3/25-BZ", "Tubular roller blind motor", ["_TZE200_vexa5o82"]),
|
|
6564
|
+
tuya.whitelabel("Shaman", "25EB-1/30-TYZ", "Motorized roller shade", ["_TZE200_sfqyhvpv"]),
|
|
6526
6565
|
],
|
|
6527
6566
|
meta: {
|
|
6528
6567
|
// All datapoints go in here
|
|
@@ -9221,7 +9260,20 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
9221
9260
|
},
|
|
9222
9261
|
},
|
|
9223
9262
|
{
|
|
9224
|
-
fingerprint: tuya.fingerprint("TS0726", ["
|
|
9263
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3002_l8bfzlcd"]),
|
|
9264
|
+
model: "TS0726_1_gang",
|
|
9265
|
+
vendor: "Tuya",
|
|
9266
|
+
description: "1 gang switch with neutral wire",
|
|
9267
|
+
fromZigbee: [fz.on_off, tuya.fz.power_on_behavior_2, fzLocal.TS0726_action],
|
|
9268
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_2, tzLocal.TS0726_switch_mode],
|
|
9269
|
+
exposes: [e.switch(), e.power_on_behavior(), e.enum("switch_mode", ea.STATE_SET, ["switch", "scene"]), e.action(["scene_1"])],
|
|
9270
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
9271
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
9272
|
+
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ["genOnOff"]);
|
|
9273
|
+
},
|
|
9274
|
+
},
|
|
9275
|
+
{
|
|
9276
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3002_1s0vfmtv", "_TZ3002_gdwja9a7", "_TZ3002_u7d3nes3"]),
|
|
9225
9277
|
model: "TS0726_2_gang",
|
|
9226
9278
|
vendor: "Tuya",
|
|
9227
9279
|
description: "2 gang switch with neutral wire",
|
|
@@ -9341,7 +9393,7 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
9341
9393
|
},
|
|
9342
9394
|
},
|
|
9343
9395
|
{
|
|
9344
|
-
fingerprint: tuya.fingerprint("TS0726", ["_TZ3002_iedhxgyi"]),
|
|
9396
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3002_iedhxgyi", "_TZ3000_lcjsewlo", "_TZ3000_kfkqkjqe"]),
|
|
9345
9397
|
model: "TS0726_3_gang",
|
|
9346
9398
|
vendor: "Tuya",
|
|
9347
9399
|
description: "3 gang switch with neutral wire",
|
|
@@ -9365,7 +9417,14 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
9365
9417
|
},
|
|
9366
9418
|
},
|
|
9367
9419
|
{
|
|
9368
|
-
fingerprint: tuya.fingerprint("TS0726", [
|
|
9420
|
+
fingerprint: tuya.fingerprint("TS0726", [
|
|
9421
|
+
"_TZ3000_wsspgtcd",
|
|
9422
|
+
"_TZ3000_s678wazd",
|
|
9423
|
+
"_TZ3002_pzao9ls1",
|
|
9424
|
+
"_TZ3002_uu4uircb",
|
|
9425
|
+
"_TZ3002_yptomml1",
|
|
9426
|
+
"_TZ3002_pw4ad2xa",
|
|
9427
|
+
]),
|
|
9369
9428
|
model: "TS0726_4_gang",
|
|
9370
9429
|
vendor: "Tuya",
|
|
9371
9430
|
description: "4 gang switch with neutral wire",
|
|
@@ -11379,6 +11438,7 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
11379
11438
|
"_TZ3290_uc8lwbi2",
|
|
11380
11439
|
"_TZ3290_nba3knpsarkawgnt",
|
|
11381
11440
|
"_TZ3290_8xzb2ghn",
|
|
11441
|
+
"_TZ3290_s6ezpa3j",
|
|
11382
11442
|
]),
|
|
11383
11443
|
model: "ZS06",
|
|
11384
11444
|
vendor: "Tuya",
|
|
@@ -11402,6 +11462,7 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
11402
11462
|
]),
|
|
11403
11463
|
tuya.whitelabel("Zemismart", "ZM-18-USB", "Universal smart IR remote control", ["_TZ3290_uc8lwbi2"]),
|
|
11404
11464
|
tuya.whitelabel("Zemismart", "ZXMIR-02", "Universal smart IR remote control", ["_TZ3290_8xzb2ghn"]),
|
|
11465
|
+
tuya.whitelabel("Ekaza", "EKAT-T304Z", "Universal smart IR remote control", ["_TZ3290_s6ezpa3j"]),
|
|
11405
11466
|
],
|
|
11406
11467
|
},
|
|
11407
11468
|
{
|
|
@@ -19277,7 +19338,7 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
19277
19338
|
},
|
|
19278
19339
|
},
|
|
19279
19340
|
{
|
|
19280
|
-
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_ezqbvrqz", "_TZ3002_ymv5vytn", "_TZ3002_6ahhkwyh", "_TZ3002_zjuvw9zf"]),
|
|
19341
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_ezqbvrqz", "_TZ3002_ymv5vytn", "_TZ3002_6ahhkwyh", "_TZ3002_zjuvw9zf", "_TZ3002_a4kvf6zd"]),
|
|
19281
19342
|
model: "TS0726_2_gang_scene_switch",
|
|
19282
19343
|
vendor: "Tuya",
|
|
19283
19344
|
description: "2 gang switch with scene and backlight",
|
|
@@ -19306,7 +19367,7 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
19306
19367
|
},
|
|
19307
19368
|
},
|
|
19308
19369
|
{
|
|
19309
|
-
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_noru9tix", "_TZ3002_rbnycsav", "_TZ3002_kq3kqwjt"]),
|
|
19370
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_noru9tix", "_TZ3002_rbnycsav", "_TZ3002_kq3kqwjt", "_TZ3002_ybtqbyk3"]),
|
|
19310
19371
|
model: "TS0726_3_gang_scene_switch",
|
|
19311
19372
|
vendor: "Tuya",
|
|
19312
19373
|
description: "3 gang switch with scene and backlight",
|
|
@@ -19334,7 +19395,7 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
19334
19395
|
},
|
|
19335
19396
|
},
|
|
19336
19397
|
{
|
|
19337
|
-
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_rsylfthg", "_TZ3002_umdkr64x"]),
|
|
19398
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_rsylfthg", "_TZ3002_umdkr64x", "_TZ3002_hkaktryd"]),
|
|
19338
19399
|
model: "TS0726_4_gang_scene_switch",
|
|
19339
19400
|
vendor: "Tuya",
|
|
19340
19401
|
description: "4 gang switch with scene and backlight",
|
|
@@ -20650,6 +20711,35 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
20650
20711
|
],
|
|
20651
20712
|
},
|
|
20652
20713
|
},
|
|
20714
|
+
{
|
|
20715
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_mlglxwp3"]),
|
|
20716
|
+
model: "TS0601_cover_12",
|
|
20717
|
+
vendor: "Tuya",
|
|
20718
|
+
description: "Curtain motor",
|
|
20719
|
+
extend: [tuya.modernExtend.tuyaBase({ dp: true })],
|
|
20720
|
+
exposes: [
|
|
20721
|
+
e.cover_position().setAccess("position", ea.STATE_SET),
|
|
20722
|
+
e.enum("motor_direction", ea.STATE_SET, ["forward", "back"]).withDescription("Motor direction"),
|
|
20723
|
+
e.enum("work_state", ea.STATE, ["opening", "closing"]).withDescription("Current work state"),
|
|
20724
|
+
e.numeric("total_time", ea.STATE).withUnit("ms").withDescription("Total running time in milliseconds"),
|
|
20725
|
+
e.enum("situation_set", ea.STATE_SET, ["fully_close", "fully_open"]).withDescription("Set fully open or fully close position"),
|
|
20726
|
+
e.text("fault", ea.STATE).withDescription("Fault details"),
|
|
20727
|
+
e.battery(),
|
|
20728
|
+
],
|
|
20729
|
+
meta: {
|
|
20730
|
+
tuyaDatapoints: [
|
|
20731
|
+
[1, "state", tuya.valueConverterBasic.lookup({ OPEN: tuya.enum(0), STOP: tuya.enum(1), CLOSE: tuya.enum(2) })],
|
|
20732
|
+
[2, "position", tuya.valueConverter.coverPosition],
|
|
20733
|
+
[3, "position", tuya.valueConverter.coverPosition],
|
|
20734
|
+
[5, "motor_direction", tuya.valueConverterBasic.lookup({ forward: tuya.enum(0), back: tuya.enum(1) })],
|
|
20735
|
+
[7, "work_state", tuya.valueConverterBasic.lookup({ opening: tuya.enum(0), closing: tuya.enum(1) })],
|
|
20736
|
+
[10, "total_time", tuya.valueConverter.raw],
|
|
20737
|
+
[11, "situation_set", tuya.valueConverterBasic.lookup({ fully_close: tuya.enum(0), fully_open: tuya.enum(1) })],
|
|
20738
|
+
[12, "fault", tuya.valueConverter.raw],
|
|
20739
|
+
[103, "battery", tuya.valueConverter.raw],
|
|
20740
|
+
],
|
|
20741
|
+
},
|
|
20742
|
+
},
|
|
20653
20743
|
{
|
|
20654
20744
|
zigbeeModel: ["ZS-304Z"],
|
|
20655
20745
|
fingerprint: tuya.fingerprint("TS0601", ["_TZE284_k7p2q5d9", "_TZE284_65gzcss7", "_TZE284_0ints6wl", "_TZE284_yzr43ayq"]),
|
|
@@ -22000,5 +22090,26 @@ Ensure all 12 segments are defined and separated by spaces.`),
|
|
|
22000
22090
|
],
|
|
22001
22091
|
},
|
|
22002
22092
|
},
|
|
22093
|
+
{
|
|
22094
|
+
fingerprint: [{ modelID: "TS0601", manufacturerName: "_TZE284_8se38w3c" }],
|
|
22095
|
+
model: "TZ-ZT01_GA4",
|
|
22096
|
+
vendor: "Tuya",
|
|
22097
|
+
description: "Temperature & humidity Sensor with external probe",
|
|
22098
|
+
extend: [tuya.modernExtend.tuyaBase({ dp: true })],
|
|
22099
|
+
exposes: [
|
|
22100
|
+
e.temperature(),
|
|
22101
|
+
e.numeric("temperature_probe", ea.STATE).withUnit("°C").withDescription("Probe temperature"),
|
|
22102
|
+
e.humidity(),
|
|
22103
|
+
tuya.exposes.batteryState(),
|
|
22104
|
+
],
|
|
22105
|
+
meta: {
|
|
22106
|
+
tuyaDatapoints: [
|
|
22107
|
+
[1, "temperature", tuya.valueConverter.divideBy10],
|
|
22108
|
+
[2, "humidity", tuya.valueConverter.raw],
|
|
22109
|
+
[3, "battery_state", tuya.valueConverter.batteryState],
|
|
22110
|
+
[38, "temperature_probe", tuya.valueConverter.divideBy10],
|
|
22111
|
+
],
|
|
22112
|
+
},
|
|
22113
|
+
},
|
|
22003
22114
|
];
|
|
22004
22115
|
//# sourceMappingURL=tuya.js.map
|