zigbee-herdsman-converters 23.5.0 → 23.7.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 +40 -0
- package/dist/converters/fromZigbee.d.ts.map +1 -1
- package/dist/converters/fromZigbee.js +3 -0
- package/dist/converters/fromZigbee.js.map +1 -1
- package/dist/devices/cwd.d.ts +3 -0
- package/dist/devices/cwd.d.ts.map +1 -0
- package/dist/devices/cwd.js +14 -0
- package/dist/devices/cwd.js.map +1 -0
- package/dist/devices/dqsmart.js +34 -1
- package/dist/devices/dqsmart.js.map +1 -1
- package/dist/devices/efekta.d.ts.map +1 -1
- package/dist/devices/efekta.js +1169 -0
- package/dist/devices/efekta.js.map +1 -1
- package/dist/devices/index.d.ts +3 -12
- package/dist/devices/index.d.ts.map +1 -1
- package/dist/devices/index.js +6 -1
- package/dist/devices/index.js.map +1 -1
- package/dist/devices/niko.d.ts.map +1 -1
- package/dist/devices/niko.js +9 -3
- package/dist/devices/niko.js.map +1 -1
- package/dist/devices/nodon.d.ts.map +1 -1
- package/dist/devices/nodon.js +75 -76
- package/dist/devices/nodon.js.map +1 -1
- package/dist/devices/nordtronic.d.ts.map +1 -1
- package/dist/devices/nordtronic.js +7 -0
- package/dist/devices/nordtronic.js.map +1 -1
- package/dist/devices/orvibo.d.ts.map +1 -1
- package/dist/devices/orvibo.js +164 -51
- package/dist/devices/orvibo.js.map +1 -1
- package/dist/devices/owon.d.ts.map +1 -1
- package/dist/devices/owon.js +36 -0
- package/dist/devices/owon.js.map +1 -1
- package/dist/devices/samotech.js +2 -2
- package/dist/devices/samotech.js.map +1 -1
- package/dist/devices/shinasystem.d.ts.map +1 -1
- package/dist/devices/shinasystem.js +34 -0
- package/dist/devices/shinasystem.js.map +1 -1
- package/dist/devices/sonoff.d.ts.map +1 -1
- package/dist/devices/sonoff.js +17 -6
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +32 -3
- package/dist/devices/tuya.js.map +1 -1
- package/dist/lib/constants.d.ts.map +1 -1
- package/dist/lib/constants.js +2 -0
- package/dist/lib/constants.js.map +1 -1
- package/dist/lib/modernExtend.d.ts +1 -0
- package/dist/lib/modernExtend.d.ts.map +1 -1
- package/dist/lib/modernExtend.js +8 -6
- package/dist/lib/modernExtend.js.map +1 -1
- package/dist/lib/types.d.ts +1 -1
- 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
|
@@ -3018,7 +3018,14 @@ exports.definitions = [
|
|
|
3018
3018
|
},
|
|
3019
3019
|
},
|
|
3020
3020
|
{
|
|
3021
|
-
fingerprint: tuya.fingerprint("TS0601", [
|
|
3021
|
+
fingerprint: tuya.fingerprint("TS0601", [
|
|
3022
|
+
"_TZE200_nkjintbl",
|
|
3023
|
+
"_TZE200_ji1gn7rw",
|
|
3024
|
+
"_TZE200_3t91nb6k",
|
|
3025
|
+
"_TZE204_wvovwe9h",
|
|
3026
|
+
"_TZE200_wvovwe9h",
|
|
3027
|
+
"_TZE204_3t91nb6k",
|
|
3028
|
+
]),
|
|
3022
3029
|
model: "TS0601_switch_2_gang",
|
|
3023
3030
|
vendor: "Tuya",
|
|
3024
3031
|
description: "2 gang switch",
|
|
@@ -4256,6 +4263,16 @@ exports.definitions = [
|
|
|
4256
4263
|
vendor: "Tuya",
|
|
4257
4264
|
description: "3-Gang switch",
|
|
4258
4265
|
extend: [tuya.modernExtend.tuyaOnOff({ powerOnBehavior2: true, endpoints: ["l1", "l2", "l3"] })],
|
|
4266
|
+
endpoint: (device) => {
|
|
4267
|
+
return { l1: 1, l2: 2, l3: 3 };
|
|
4268
|
+
},
|
|
4269
|
+
meta: { multiEndpoint: true },
|
|
4270
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
4271
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
4272
|
+
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ["genOnOff"]);
|
|
4273
|
+
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ["genOnOff"]);
|
|
4274
|
+
await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ["genOnOff"]);
|
|
4275
|
+
},
|
|
4259
4276
|
},
|
|
4260
4277
|
{
|
|
4261
4278
|
fingerprint: tuya.fingerprint("TS0003", ["_TZ3000_vsasbzkf", "_TZ3000_nnwehhst"]),
|
|
@@ -4281,6 +4298,17 @@ exports.definitions = [
|
|
|
4281
4298
|
await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ["genOnOff"]);
|
|
4282
4299
|
},
|
|
4283
4300
|
},
|
|
4301
|
+
{
|
|
4302
|
+
fingerprint: [{ modelID: "TS0003", manufacturerName: "_TZ3000_mw1pqqqt" }],
|
|
4303
|
+
model: "_TZ3000_mw1pqqqt",
|
|
4304
|
+
description: "3 channel USB switch",
|
|
4305
|
+
vendor: "Tuya",
|
|
4306
|
+
extend: [tuya.modernExtend.tuyaOnOff({ switchType: false, indicatorMode: false, onOffCountdown: true, endpoints: ["l1", "l2", "l3"] })],
|
|
4307
|
+
endpoint: (device) => {
|
|
4308
|
+
return { l1: 1, l2: 2, l3: 3 };
|
|
4309
|
+
},
|
|
4310
|
+
meta: { multiEndpoint: true },
|
|
4311
|
+
},
|
|
4284
4312
|
{
|
|
4285
4313
|
fingerprint: tuya.fingerprint("TS0001", [
|
|
4286
4314
|
"_TZ3000_tqlv4ug4",
|
|
@@ -4365,6 +4393,7 @@ exports.definitions = [
|
|
|
4365
4393
|
"_TZE200_1fuxihti",
|
|
4366
4394
|
"_TZE204_1fuxihti",
|
|
4367
4395
|
"_TZE204_57hjqelq",
|
|
4396
|
+
"_TZE200_hojryzzd",
|
|
4368
4397
|
"_TZE204_m1wl5fvq",
|
|
4369
4398
|
"_TZE200_en3wvcbx",
|
|
4370
4399
|
"_TZE200_fctwhugx",
|
|
@@ -7385,7 +7414,7 @@ exports.definitions = [
|
|
|
7385
7414
|
},
|
|
7386
7415
|
},
|
|
7387
7416
|
{
|
|
7388
|
-
|
|
7417
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_wsspgtcd"]),
|
|
7389
7418
|
model: "TS0726_4_gang",
|
|
7390
7419
|
vendor: "Tuya",
|
|
7391
7420
|
description: "4 gang switch with neutral wire",
|
|
@@ -7409,7 +7438,7 @@ exports.definitions = [
|
|
|
7409
7438
|
},
|
|
7410
7439
|
},
|
|
7411
7440
|
{
|
|
7412
|
-
fingerprint: tuya.fingerprint("TS0726", ["_TZ3002_sal078g8"]),
|
|
7441
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_qhyadm57", "_TZ3002_sal078g8"]),
|
|
7413
7442
|
model: "TS0726_switch_4g_2s",
|
|
7414
7443
|
vendor: "Tuya",
|
|
7415
7444
|
description: "COSWALL smart switch (4 gang + 2 scene)",
|