zigbee-herdsman-converters 23.40.1 → 23.41.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/dist/converters/fromZigbee.d.ts.map +1 -1
- package/dist/converters/fromZigbee.js +27 -19
- package/dist/converters/fromZigbee.js.map +1 -1
- package/dist/devices/avatto.d.ts.map +1 -1
- package/dist/devices/avatto.js +80 -2
- package/dist/devices/avatto.js.map +1 -1
- package/dist/devices/bosch.d.ts.map +1 -1
- package/dist/devices/bosch.js +1 -0
- package/dist/devices/bosch.js.map +1 -1
- package/dist/devices/slacky_diy.d.ts.map +1 -1
- package/dist/devices/slacky_diy.js +3 -5
- package/dist/devices/slacky_diy.js.map +1 -1
- package/dist/devices/sonoff.js +1 -1
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +3 -76
- package/dist/devices/tuya.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +1 -1
package/dist/devices/tuya.js
CHANGED
|
@@ -2543,71 +2543,6 @@ exports.definitions = [
|
|
|
2543
2543
|
},
|
|
2544
2544
|
whiteLabel: [{ vendor: "Moes", model: "MS-105-M" }],
|
|
2545
2545
|
},
|
|
2546
|
-
{
|
|
2547
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_5cuocqty", "_TZE204_nqqylykc", "_TZE204_2cyb66xl", "_TZE204_tgdnh7pw"]),
|
|
2548
|
-
model: "ZDMS16-1",
|
|
2549
|
-
vendor: "AVATTO",
|
|
2550
|
-
description: "Zigbee 1 channel Dimmer",
|
|
2551
|
-
fromZigbee: [tuya.fz.datapoints],
|
|
2552
|
-
toZigbee: [tuya.tz.datapoints],
|
|
2553
|
-
configure: tuya.configureMagicPacket,
|
|
2554
|
-
exposes: [
|
|
2555
|
-
tuya.exposes.lightBrightnessWithMinMax(),
|
|
2556
|
-
tuya.exposes.countdown(),
|
|
2557
|
-
tuya.exposes.switchType(),
|
|
2558
|
-
e.power_on_behavior().withAccess(ea.STATE_SET),
|
|
2559
|
-
],
|
|
2560
|
-
meta: {
|
|
2561
|
-
tuyaDatapoints: [
|
|
2562
|
-
[1, "state", tuya.valueConverter.onOff, { skip: tuya.skip.stateOnAndBrightnessPresent }],
|
|
2563
|
-
[2, "brightness", tuya.valueConverter.scale0_254to0_1000],
|
|
2564
|
-
[3, "min_brightness", tuya.valueConverter.scale0_254to0_1000],
|
|
2565
|
-
[4, "switch_type", tuya.valueConverter.switchType2],
|
|
2566
|
-
[5, "max_brightness", tuya.valueConverter.scale0_254to0_1000],
|
|
2567
|
-
[6, "countdown", tuya.valueConverter.countdown],
|
|
2568
|
-
[14, "power_on_behavior", tuya.valueConverter.powerOnBehaviorEnum],
|
|
2569
|
-
],
|
|
2570
|
-
},
|
|
2571
|
-
},
|
|
2572
|
-
{
|
|
2573
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_o9gyszw2", "_TZE204_jtbgusdc"]),
|
|
2574
|
-
model: "ZDMS16-2",
|
|
2575
|
-
vendor: "AVATTO",
|
|
2576
|
-
description: "Zigbee 2 channels Dimmer",
|
|
2577
|
-
fromZigbee: [tuya.fz.datapoints],
|
|
2578
|
-
toZigbee: [tuya.tz.datapoints],
|
|
2579
|
-
configure: tuya.configureMagicPacket,
|
|
2580
|
-
exposes: [
|
|
2581
|
-
tuya.exposes.lightBrightnessWithMinMax().withEndpoint("l1"),
|
|
2582
|
-
tuya.exposes.countdown().withEndpoint("l1"),
|
|
2583
|
-
tuya.exposes.switchType().withEndpoint("l1"),
|
|
2584
|
-
tuya.exposes.lightBrightnessWithMinMax().withEndpoint("l2"),
|
|
2585
|
-
tuya.exposes.countdown().withEndpoint("l2"),
|
|
2586
|
-
tuya.exposes.switchType().withEndpoint("l2"),
|
|
2587
|
-
e.power_on_behavior().withAccess(ea.STATE_SET),
|
|
2588
|
-
],
|
|
2589
|
-
meta: {
|
|
2590
|
-
multiEndpoint: true,
|
|
2591
|
-
tuyaDatapoints: [
|
|
2592
|
-
[1, "state_l1", tuya.valueConverter.onOff, { skip: tuya.skip.stateOnAndBrightnessPresent }],
|
|
2593
|
-
[2, "brightness_l1", tuya.valueConverter.scale0_254to0_1000],
|
|
2594
|
-
[3, "min_brightness_l1", tuya.valueConverter.scale0_254to0_1000],
|
|
2595
|
-
[4, "switch_type_l1", tuya.valueConverter.switchType2],
|
|
2596
|
-
[5, "max_brightness_l1", tuya.valueConverter.scale0_254to0_1000],
|
|
2597
|
-
[6, "countdown_l1", tuya.valueConverter.countdown],
|
|
2598
|
-
[7, "state_l2", tuya.valueConverter.onOff, { skip: tuya.skip.stateOnAndBrightnessPresent }],
|
|
2599
|
-
[8, "brightness_l2", tuya.valueConverter.scale0_254to0_1000],
|
|
2600
|
-
[9, "min_brightness_l2", tuya.valueConverter.scale0_254to0_1000],
|
|
2601
|
-
[10, "switch_type_l2", tuya.valueConverter.switchType2],
|
|
2602
|
-
[11, "max_brightness_l2", tuya.valueConverter.scale0_254to0_1000],
|
|
2603
|
-
[12, "countdown_l2", tuya.valueConverter.countdown],
|
|
2604
|
-
[14, "power_on_behavior", tuya.valueConverter.powerOnBehaviorEnum],
|
|
2605
|
-
],
|
|
2606
|
-
},
|
|
2607
|
-
endpoint: (device) => {
|
|
2608
|
-
return { l1: 1, l2: 1 };
|
|
2609
|
-
},
|
|
2610
|
-
},
|
|
2611
2546
|
{
|
|
2612
2547
|
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_p0gzbqct"]),
|
|
2613
2548
|
model: "TS0601_dimmer_knob",
|
|
@@ -2850,6 +2785,7 @@ exports.definitions = [
|
|
|
2850
2785
|
"_TZE204_aagrxlbd",
|
|
2851
2786
|
"_TZE204_f5efvtbv",
|
|
2852
2787
|
"_TZE284_f5efvtbv",
|
|
2788
|
+
"_TZE204_lbhh5o6z",
|
|
2853
2789
|
]),
|
|
2854
2790
|
model: "TS0601_switch_4_gang_1",
|
|
2855
2791
|
vendor: "Tuya",
|
|
@@ -2870,6 +2806,7 @@ exports.definitions = [
|
|
|
2870
2806
|
{ vendor: "Moes", model: "WS-EUB1-ZG" },
|
|
2871
2807
|
{ vendor: "AVATTO", model: "ZGB-WS-EU" },
|
|
2872
2808
|
tuya.whitelabel("AVATTO", "WSMD-4", "4 gang switch", ["_TZE204_f5efvtbv", "_TZE284_f5efvtbv"]),
|
|
2809
|
+
tuya.whitelabel("AVATTO", "ZWSMD-4", "4 gang switch", ["_TZE204_lbhh5o6z"]),
|
|
2873
2810
|
],
|
|
2874
2811
|
meta: {
|
|
2875
2812
|
multiEndpoint: true,
|
|
@@ -3287,6 +3224,7 @@ exports.definitions = [
|
|
|
3287
3224
|
tuya.whitelabel("Moes", "ZSS-S01-TH", "Temperature and humidity sensor", ["_TZ3000_f2bw0b6k"]),
|
|
3288
3225
|
tuya.whitelabel("Danfoss", "014G2480", "Temperature and humidity sensor", ["_TZ3000_mxzo5rhf"]),
|
|
3289
3226
|
tuya.whitelabel("Tuya", "HS09", "Hanging temperature humidity sensor", ["_TZ3000_1twfmkcc"]),
|
|
3227
|
+
tuya.whitelabel("Nedis", "ZBSC10WT", "Temperature and humidity sensor", ["_TZ3000_fie1dpkm"]),
|
|
3290
3228
|
],
|
|
3291
3229
|
},
|
|
3292
3230
|
{
|
|
@@ -7285,17 +7223,6 @@ exports.definitions = [
|
|
|
7285
7223
|
device.save();
|
|
7286
7224
|
},
|
|
7287
7225
|
},
|
|
7288
|
-
{
|
|
7289
|
-
fingerprint: tuya.fingerprint("TS0011", ["_TZ3000_hbxsdd6k"]),
|
|
7290
|
-
model: "LZWSM16-1",
|
|
7291
|
-
description: "1 gang switch module - (without neutral)",
|
|
7292
|
-
vendor: "AVATTO",
|
|
7293
|
-
extend: [tuya.modernExtend.tuyaOnOff({ switchType: true, onOffCountdown: true }), m.forcePowerSource({ powerSource: "Mains (single phase)" })],
|
|
7294
|
-
configure: async (device, coordinatorEndpoint) => {
|
|
7295
|
-
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
7296
|
-
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ["genOnOff"]);
|
|
7297
|
-
},
|
|
7298
|
-
},
|
|
7299
7226
|
{
|
|
7300
7227
|
fingerprint: tuya.fingerprint("TS0012", ["_TZ3000_jl7qyupf", "_TZ3000_nPGIPl5D", "_TZ3000_kpatq5pq", "_TZ3000_ljhbw1c9", "_TZ3000_4zf0crgo"]),
|
|
7301
7228
|
model: "TS0012_switch_module",
|