zigbee-herdsman-converters 23.25.0 → 23.26.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 +18 -0
- package/README.md +33 -18
- package/dist/devices/index.d.ts.map +1 -1
- package/dist/devices/index.js +2 -0
- package/dist/devices/index.js.map +1 -1
- package/dist/devices/lincukoo.d.ts +3 -0
- package/dist/devices/lincukoo.d.ts.map +1 -0
- package/dist/devices/lincukoo.js +135 -0
- package/dist/devices/lincukoo.js.map +1 -0
- package/dist/devices/muller_licht.d.ts.map +1 -1
- package/dist/devices/muller_licht.js +7 -0
- package/dist/devices/muller_licht.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/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +105 -25
- package/dist/devices/tuya.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/ota.d.ts +2 -1
- package/dist/lib/ota.d.ts.map +1 -1
- package/dist/lib/ota.js +30 -18
- package/dist/lib/ota.js.map +1 -1
- package/dist/lib/tuya.d.ts +17 -0
- package/dist/lib/tuya.d.ts.map +1 -1
- package/dist/lib/tuya.js +30 -0
- package/dist/lib/tuya.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../../src/devices/tuya.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAC,oBAAoB,EAA0E,MAAM,cAAc,CAAC;AAiwBhI,eAAO,MAAM,WAAW,EAAE,oBAAoB,EA+
|
|
1
|
+
{"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../../src/devices/tuya.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAC,oBAAoB,EAA0E,MAAM,cAAc,CAAC;AAiwBhI,eAAO,MAAM,WAAW,EAAE,oBAAoB,EA+pf7C,CAAC"}
|
package/dist/devices/tuya.js
CHANGED
|
@@ -7375,30 +7375,6 @@ exports.definitions = [
|
|
|
7375
7375
|
}
|
|
7376
7376
|
},
|
|
7377
7377
|
},
|
|
7378
|
-
{
|
|
7379
|
-
fingerprint: tuya.fingerprint("TS0726", ["_TZ3002_rbnycsav"]),
|
|
7380
|
-
model: "TS0726_3_gang",
|
|
7381
|
-
vendor: "Tuya",
|
|
7382
|
-
description: "3 gang switch with neutral wire",
|
|
7383
|
-
fromZigbee: [fz.on_off, tuya.fz.power_on_behavior_2, fz.ignore_basic_report, fzLocal.TS0726_action],
|
|
7384
|
-
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_2, tzLocal.TS0726_switch_mode],
|
|
7385
|
-
exposes: [
|
|
7386
|
-
...[1, 2, 3].map((ep) => e.switch().withEndpoint(`l${ep}`)),
|
|
7387
|
-
...[1, 2, 3].map((ep) => e.power_on_behavior().withEndpoint(`l${ep}`)),
|
|
7388
|
-
...[1, 2, 3].map((ep) => e.enum("switch_mode", ea.STATE_SET, ["switch", "scene"]).withEndpoint(`l${ep}`)),
|
|
7389
|
-
e.action(["scene_1", "scene_2", "scene_3"]),
|
|
7390
|
-
],
|
|
7391
|
-
endpoint: (device) => {
|
|
7392
|
-
return { l1: 1, l2: 2, l3: 3 };
|
|
7393
|
-
},
|
|
7394
|
-
meta: { multiEndpoint: true },
|
|
7395
|
-
configure: async (device, coordinatorEndpoint) => {
|
|
7396
|
-
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
7397
|
-
for (const ep of [1, 2, 3]) {
|
|
7398
|
-
await reporting.bind(device.getEndpoint(ep), coordinatorEndpoint, ["genOnOff"]);
|
|
7399
|
-
}
|
|
7400
|
-
},
|
|
7401
|
-
},
|
|
7402
7378
|
{
|
|
7403
7379
|
fingerprint: tuya.fingerprint("TS0726", ["_TZ3002_9vcekkp1", "_TZ3000_m4ah6bcz"]),
|
|
7404
7380
|
model: "TS0726_multi_1_gang",
|
|
@@ -7496,7 +7472,7 @@ exports.definitions = [
|
|
|
7496
7472
|
},
|
|
7497
7473
|
},
|
|
7498
7474
|
{
|
|
7499
|
-
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_wsspgtcd"]),
|
|
7475
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_wsspgtcd", "_TZ3000_s678wazd"]),
|
|
7500
7476
|
model: "TS0726_4_gang",
|
|
7501
7477
|
vendor: "Tuya",
|
|
7502
7478
|
description: "4 gang switch with neutral wire",
|
|
@@ -16549,5 +16525,109 @@ exports.definitions = [
|
|
|
16549
16525
|
],
|
|
16550
16526
|
},
|
|
16551
16527
|
},
|
|
16528
|
+
{
|
|
16529
|
+
fingerprint: tuya.fingerprint("TS0003", ["_TZ3000_g9chy2ib"]),
|
|
16530
|
+
model: "TS0003_3_gang_switch",
|
|
16531
|
+
vendor: "Tuya",
|
|
16532
|
+
description: "3 gang switch with backlight",
|
|
16533
|
+
extend: [
|
|
16534
|
+
tuya.modernExtend.tuyaOnOff({
|
|
16535
|
+
powerOnBehavior2: true,
|
|
16536
|
+
backlightModeOffOn: true,
|
|
16537
|
+
onOffCountdown: true,
|
|
16538
|
+
endpoints: ["l1", "l2", "l3"],
|
|
16539
|
+
}),
|
|
16540
|
+
],
|
|
16541
|
+
fromZigbee: [],
|
|
16542
|
+
toZigbee: [],
|
|
16543
|
+
endpoint: (device) => ({ l1: 1, l2: 2, l3: 3 }),
|
|
16544
|
+
meta: {
|
|
16545
|
+
multiEndpoint: true,
|
|
16546
|
+
},
|
|
16547
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
16548
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
16549
|
+
for (const ep of [1, 2, 3]) {
|
|
16550
|
+
await reporting.bind(device.getEndpoint(ep), coordinatorEndpoint, ["genOnOff"]);
|
|
16551
|
+
}
|
|
16552
|
+
},
|
|
16553
|
+
},
|
|
16554
|
+
{
|
|
16555
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_ezqbvrqz", "_TZ3002_ymv5vytn"]),
|
|
16556
|
+
model: "TS0726_2_gang_scene_switch",
|
|
16557
|
+
vendor: "Tuya",
|
|
16558
|
+
description: "2 gang switch with scene and backlight",
|
|
16559
|
+
extend: [
|
|
16560
|
+
tuya.modernExtend.tuyaOnOff({
|
|
16561
|
+
switchMode: true,
|
|
16562
|
+
powerOnBehavior2: true,
|
|
16563
|
+
backlightModeOffOn: true,
|
|
16564
|
+
indicatorModeNoneRelayPos: true,
|
|
16565
|
+
onOffCountdown: true,
|
|
16566
|
+
endpoints: ["l1", "l2"],
|
|
16567
|
+
}),
|
|
16568
|
+
],
|
|
16569
|
+
endpoint: (device) => ({ l1: 1, l2: 2 }),
|
|
16570
|
+
meta: {
|
|
16571
|
+
multiEndpoint: true,
|
|
16572
|
+
},
|
|
16573
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
16574
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
16575
|
+
for (const ep of [1, 2]) {
|
|
16576
|
+
await reporting.bind(device.getEndpoint(ep), coordinatorEndpoint, ["genOnOff"]);
|
|
16577
|
+
}
|
|
16578
|
+
},
|
|
16579
|
+
},
|
|
16580
|
+
{
|
|
16581
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_noru9tix", "_TZ3002_rbnycsav"]),
|
|
16582
|
+
model: "TS0726_3_gang_scene_switch",
|
|
16583
|
+
vendor: "Tuya",
|
|
16584
|
+
description: "3 gang switch with scene and backlight",
|
|
16585
|
+
extend: [
|
|
16586
|
+
tuya.modernExtend.tuyaOnOff({
|
|
16587
|
+
switchMode: true,
|
|
16588
|
+
powerOnBehavior2: true,
|
|
16589
|
+
backlightModeOffOn: true,
|
|
16590
|
+
indicatorModeNoneRelayPos: true,
|
|
16591
|
+
onOffCountdown: true,
|
|
16592
|
+
endpoints: ["l1", "l2", "l3"],
|
|
16593
|
+
}),
|
|
16594
|
+
],
|
|
16595
|
+
endpoint: (device) => ({ l1: 1, l2: 2, l3: 3 }),
|
|
16596
|
+
meta: {
|
|
16597
|
+
multiEndpoint: true,
|
|
16598
|
+
},
|
|
16599
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
16600
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
16601
|
+
for (const ep of [1, 2, 3]) {
|
|
16602
|
+
await reporting.bind(device.getEndpoint(ep), coordinatorEndpoint, ["genOnOff"]);
|
|
16603
|
+
}
|
|
16604
|
+
},
|
|
16605
|
+
},
|
|
16606
|
+
{
|
|
16607
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_rsylfthg"]),
|
|
16608
|
+
model: "TS0726_4_gang_scene_switch",
|
|
16609
|
+
vendor: "Tuya",
|
|
16610
|
+
description: "4 gang switch with scene and backlight",
|
|
16611
|
+
extend: [
|
|
16612
|
+
tuya.modernExtend.tuyaOnOff({
|
|
16613
|
+
switchMode: true,
|
|
16614
|
+
powerOnBehavior2: true,
|
|
16615
|
+
backlightModeOffOn: true,
|
|
16616
|
+
indicatorModeNoneRelayPos: true,
|
|
16617
|
+
onOffCountdown: true,
|
|
16618
|
+
endpoints: ["l1", "l2", "l3", "l4"],
|
|
16619
|
+
}),
|
|
16620
|
+
],
|
|
16621
|
+
endpoint: (device) => ({ l1: 1, l2: 2, l3: 3, l4: 4 }),
|
|
16622
|
+
meta: {
|
|
16623
|
+
multiEndpoint: true,
|
|
16624
|
+
},
|
|
16625
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
16626
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
16627
|
+
for (const ep of [1, 2, 3, 4]) {
|
|
16628
|
+
await reporting.bind(device.getEndpoint(ep), coordinatorEndpoint, ["genOnOff"]);
|
|
16629
|
+
}
|
|
16630
|
+
},
|
|
16631
|
+
},
|
|
16552
16632
|
];
|
|
16553
16633
|
//# sourceMappingURL=tuya.js.map
|