zigbee-herdsman-converters 25.0.0 → 25.2.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 +39 -0
- package/dist/converters/toZigbee.d.ts.map +1 -1
- package/dist/converters/toZigbee.js +3 -1
- package/dist/converters/toZigbee.js.map +1 -1
- package/dist/devices/awox.d.ts.map +1 -1
- package/dist/devices/awox.js +8 -0
- package/dist/devices/awox.js.map +1 -1
- package/dist/devices/develco.d.ts.map +1 -1
- package/dist/devices/develco.js +40 -2
- package/dist/devices/develco.js.map +1 -1
- package/dist/devices/eglo.js +1 -1
- package/dist/devices/eglo.js.map +1 -1
- package/dist/devices/innr.d.ts.map +1 -1
- package/dist/devices/innr.js +8 -0
- package/dist/devices/innr.js.map +1 -1
- package/dist/devices/inovelli.d.ts.map +1 -1
- package/dist/devices/inovelli.js +15 -122
- package/dist/devices/inovelli.js.map +1 -1
- package/dist/devices/lumi.d.ts.map +1 -1
- package/dist/devices/lumi.js +13 -2
- package/dist/devices/lumi.js.map +1 -1
- package/dist/devices/orztech.js +1 -1
- package/dist/devices/orztech.js.map +1 -1
- package/dist/devices/philips.d.ts.map +1 -1
- package/dist/devices/philips.js +7 -0
- package/dist/devices/philips.js.map +1 -1
- package/dist/devices/qa.js +1 -1
- package/dist/devices/qa.js.map +1 -1
- package/dist/devices/robb.d.ts.map +1 -1
- package/dist/devices/robb.js +2 -1
- package/dist/devices/robb.js.map +1 -1
- package/dist/devices/sonoff.d.ts.map +1 -1
- package/dist/devices/sonoff.js +37 -1
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +14 -19
- package/dist/devices/tuya.js.map +1 -1
- package/dist/lib/philips.js +1 -1
- package/dist/lib/types.d.ts +1 -0
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +1 -1
package/dist/devices/tuya.js
CHANGED
|
@@ -1820,6 +1820,7 @@ exports.definitions = [
|
|
|
1820
1820
|
tuya.whitelabel("Moes", "ZB-LZD10-RCW", "10W RGB+CCT Smart Downlight", ["_TZ3210_s9lumfhn", "_TZ3210_jjqdqxfq", "_TZ3210_dwzfzfjc"]),
|
|
1821
1821
|
tuya.whitelabel("Moes", "ZB-TDC6-RCW-E14", "RGB+CCT 5W E14 LED bulb", ["_TZ3210_ifga63rg"]),
|
|
1822
1822
|
tuya.whitelabel("MiBoxer", "E3-ZR", "3 in 1 LED Controller", ["_TZB210_wy1pyu1q"]),
|
|
1823
|
+
tuya.whitelabel("MiBoxer", "SZ5", "5 in 1 LED Controller", ["_TZB210_w9hcix2r"]),
|
|
1823
1824
|
tuya.whitelabel("MiBoxer", "FUT037Z+", "RGB led controller", ["_TZB210_417ikxay", "_TZB210_wxazcmsh"]),
|
|
1824
1825
|
tuya.whitelabel("MiBoxer", "FUT039Z", "RGB+CCT LED controller", ["_TZ3210_jicmoite", "_TZB210_rs0ufzwg"]),
|
|
1825
1826
|
tuya.whitelabel("MiBoxer", "FUT066Z", "RGB+CCT LED Downlight", ["_TZ3210_zrvxvydd"]),
|
|
@@ -2199,7 +2200,7 @@ exports.definitions = [
|
|
|
2199
2200
|
},
|
|
2200
2201
|
},
|
|
2201
2202
|
{
|
|
2202
|
-
fingerprint: tuya.fingerprint("TS0207", ["_TZ3210_tgvtvdoc"]),
|
|
2203
|
+
fingerprint: tuya.fingerprint("TS0207", ["_TZ3210_tgvtvdoc", "_TZ3210_p68kms0l"]),
|
|
2203
2204
|
model: "RB-SRAIN01",
|
|
2204
2205
|
vendor: "Tuya",
|
|
2205
2206
|
description: "Solar rain sensor",
|
|
@@ -4203,6 +4204,7 @@ exports.definitions = [
|
|
|
4203
4204
|
tuya.whitelabel("Nous", "B1Z", "1 gang switch", ["_TZ3000_ctftgjwb"]),
|
|
4204
4205
|
tuya.whitelabel("Tuya", "XMSJ", "Zigbee USB power switch", ["_TZ3000_8n7lqbm0"]),
|
|
4205
4206
|
tuya.whitelabel("Tuya", "ZG-001", "Smart home relay module", ["_TZ3000_g8n1n7lg"]),
|
|
4207
|
+
tuya.whitelabel("Nova Digital", "SA-1", "Safira smart light switch - 1 gang", ["_TZ3000_udl7uyd2"]),
|
|
4206
4208
|
],
|
|
4207
4209
|
configure: async (device, coordinatorEndpoint) => {
|
|
4208
4210
|
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
@@ -4640,6 +4642,7 @@ exports.definitions = [
|
|
|
4640
4642
|
"_TZE200_2odrmqwq",
|
|
4641
4643
|
"_TZE204_lh3arisb",
|
|
4642
4644
|
"_TZE284_udank5zs",
|
|
4645
|
+
"_TZE284_b7kbnl6q",
|
|
4643
4646
|
"_TZE200_7shyddj3",
|
|
4644
4647
|
"_TZE204_a2jcoyuk",
|
|
4645
4648
|
"_TZE204_zuq5xxib",
|
|
@@ -6644,7 +6647,7 @@ exports.definitions = [
|
|
|
6644
6647
|
{ vendor: "MODEMIX", model: "MOD048" },
|
|
6645
6648
|
{ vendor: "Coswall", model: "CS-AJ-DE2U-ZG-11" },
|
|
6646
6649
|
{ vendor: "Aubess", model: "TS011F_plug_1" },
|
|
6647
|
-
tuya.whitelabel("BSEED", "FK86ZEUSK1W", "Wall-mounted electrical socket", ["_TZ3000_4ux0ondb"]),
|
|
6650
|
+
tuya.whitelabel("BSEED", "FK86ZEUSK1W", "Wall-mounted electrical socket", ["_TZ3000_4ux0ondb", "_TZ3000_b28wrpvx"]),
|
|
6648
6651
|
tuya.whitelabel("Nous", "A1Z", "Smart plug (with power monitoring)", ["_TZ3000_2putqrmw", "_TZ3000_ksw8qtmt"]),
|
|
6649
6652
|
tuya.whitelabel("Moes", "Moes_plug", "Smart plug (with power monitoring)", ["_TZ3000_yujkchbz"]),
|
|
6650
6653
|
tuya.whitelabel("Moes", "ZK-EU", "Smart wallsocket (with power monitoring)", ["_TZ3000_ss98ec5d"]),
|
|
@@ -7922,6 +7925,7 @@ exports.definitions = [
|
|
|
7922
7925
|
tuya.whitelabel("Tuya", "DS-111", "Smart light switch - 4 gang with neutral wire", ["_TZ3000_mdj7kra9"]),
|
|
7923
7926
|
tuya.whitelabel("MHCOZY", "TYWB 4ch-RF", "4 channel relay", ["_TZ3000_u3oupgdy", "_TZ3000_imaccztn"]),
|
|
7924
7927
|
tuya.whitelabel("AVATTO", "TS0004_1", "Smart light switch - 4 gang with neutral wire", ["_TZ3000_nivavasg", "_TZ3000_gexniqbq"]),
|
|
7928
|
+
tuya.whitelabel("Nova Digital", "SA-4", "Safira smart light switch - 4 gang", ["_TZ3000_iymfxdis"]),
|
|
7925
7929
|
],
|
|
7926
7930
|
meta: { multiEndpoint: true },
|
|
7927
7931
|
configure: async (device, coordinatorEndpoint) => {
|
|
@@ -8934,7 +8938,7 @@ exports.definitions = [
|
|
|
8934
8938
|
],
|
|
8935
8939
|
},
|
|
8936
8940
|
{
|
|
8937
|
-
fingerprint: tuya.fingerprint("TS0603", ["_TZE608_c75zqghm", "_TZE608_fmemczv1", "_TZE608_xkr8gep3"]),
|
|
8941
|
+
fingerprint: tuya.fingerprint("TS0603", ["_TZE608_c75zqghm", "_TZE608_fmemczv1", "_TZE608_xkr8gep3", "_TZE608_lapuuoke"]),
|
|
8938
8942
|
model: "TS0603",
|
|
8939
8943
|
vendor: "Tuya",
|
|
8940
8944
|
meta: {
|
|
@@ -10582,7 +10586,7 @@ exports.definitions = [
|
|
|
10582
10586
|
model: "TS110E_1gang_1",
|
|
10583
10587
|
vendor: "Tuya",
|
|
10584
10588
|
description: "1 channel dimmer",
|
|
10585
|
-
extend: [m.light({ powerOnBehavior: false, configureReporting: true })],
|
|
10589
|
+
extend: [m.light({ powerOnBehavior: false, configureReporting: true, effect: false }), tuya.modernExtend.tuyaMagicPacket()],
|
|
10586
10590
|
fromZigbee: [tuya.fz.power_on_behavior_1, fz.TS110E_switch_type, fz.TS110E, fz.on_off],
|
|
10587
10591
|
toZigbee: [tz.TS110E_light_onoff_brightness, tuya.tz.power_on_behavior_1, tz.TS110E_options],
|
|
10588
10592
|
exposes: [e.power_on_behavior(), tuya.exposes.switchType(), e.min_brightness(), e.max_brightness()],
|
|
@@ -10682,11 +10686,9 @@ exports.definitions = [
|
|
|
10682
10686
|
toZigbee: [tz.TS110E_onoff_brightness, tz.TS110E_options, tuya.tz.power_on_behavior_1, tz.light_brightness_move],
|
|
10683
10687
|
meta: { multiEndpoint: true },
|
|
10684
10688
|
exposes: [
|
|
10689
|
+
e.power_on_behavior(),
|
|
10685
10690
|
e.light_brightness().withMinBrightness().withMaxBrightness().withEndpoint("l1"),
|
|
10686
10691
|
e.light_brightness().withMinBrightness().withMaxBrightness().withEndpoint("l2"),
|
|
10687
|
-
e.power_on_behavior().withEndpoint("l1"),
|
|
10688
|
-
e.power_on_behavior().withEndpoint("l2"),
|
|
10689
|
-
tuya.exposes.lightType().withAccess(ea.ALL),
|
|
10690
10692
|
tuya.exposes.switchType().withEndpoint("l1"),
|
|
10691
10693
|
tuya.exposes.switchType().withEndpoint("l2"),
|
|
10692
10694
|
],
|
|
@@ -12164,6 +12166,7 @@ exports.definitions = [
|
|
|
12164
12166
|
fingerprint: tuya.fingerprint("TS0601", [
|
|
12165
12167
|
"_TZE200_vmcgja59",
|
|
12166
12168
|
"_TZE204_dvosyycn",
|
|
12169
|
+
"_TZE284_dvosyycn",
|
|
12167
12170
|
"_TZE200_wktrysab",
|
|
12168
12171
|
"_TZE204_wktrysab",
|
|
12169
12172
|
"_TZE204_nvxorhcj",
|
|
@@ -15401,18 +15404,10 @@ exports.definitions = [
|
|
|
15401
15404
|
null,
|
|
15402
15405
|
{
|
|
15403
15406
|
from: (v) => {
|
|
15404
|
-
|
|
15405
|
-
|
|
15406
|
-
|
|
15407
|
-
|
|
15408
|
-
small_movement: tuya.enum(3),
|
|
15409
|
-
large_movement: tuya.enum(4),
|
|
15410
|
-
};
|
|
15411
|
-
const presenceState = Object.entries(lookup).find((i) => i[1].valueOf() === v)[0];
|
|
15412
|
-
return {
|
|
15413
|
-
presence: presenceState !== "none",
|
|
15414
|
-
presence_state: presenceState,
|
|
15415
|
-
};
|
|
15407
|
+
if (v > 99) {
|
|
15408
|
+
return v / 10;
|
|
15409
|
+
}
|
|
15410
|
+
return v / 100;
|
|
15416
15411
|
},
|
|
15417
15412
|
},
|
|
15418
15413
|
],
|