zigbee-herdsman-converters 23.6.0 → 23.8.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 +45 -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 +2235 -883
- package/dist/devices/efekta.js.map +1 -1
- package/dist/devices/index.d.ts.map +1 -1
- package/dist/devices/index.js +4 -0
- 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/paulmann.d.ts.map +1 -1
- package/dist/devices/paulmann.js +7 -0
- package/dist/devices/paulmann.js.map +1 -1
- package/dist/devices/quirky.d.ts +8 -0
- package/dist/devices/quirky.d.ts.map +1 -0
- package/dist/devices/quirky.js +47 -0
- package/dist/devices/quirky.js.map +1 -0
- 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 +58 -4
- package/dist/devices/tuya.js.map +1 -1
- package/dist/lib/exposes.d.ts.map +1 -1
- package/dist/lib/exposes.js +5 -11
- package/dist/lib/exposes.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/zosung.js +1 -1
- package/dist/lib/zosung.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +2 -2
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"]),
|
|
@@ -5373,6 +5390,7 @@ exports.definitions = [
|
|
|
5373
5390
|
.withLocalTemperature(ea.STATE)
|
|
5374
5391
|
.withSystemMode(["auto", "heat", "off"], ea.STATE_SET)
|
|
5375
5392
|
.withRunningState(["idle", "heat"], ea.STATE)
|
|
5393
|
+
.withPiHeatingDemand()
|
|
5376
5394
|
.withLocalTemperatureCalibration(-9, 9, 1, ea.STATE_SET),
|
|
5377
5395
|
...tuya.exposes.scheduleAllDays(ea.STATE_SET, "HH:MM/C HH:MM/C HH:MM/C HH:MM/C HH:MM/C HH:MM/C"),
|
|
5378
5396
|
e
|
|
@@ -5420,6 +5438,7 @@ exports.definitions = [
|
|
|
5420
5438
|
[36, "frost_protection", tuya.valueConverter.onOff],
|
|
5421
5439
|
[39, "scale_protection", tuya.valueConverter.onOff],
|
|
5422
5440
|
[47, "local_temperature_calibration", tuya.valueConverter.localTempCalibration2],
|
|
5441
|
+
[101, "pi_heating_demand", tuya.valueConverter.raw],
|
|
5423
5442
|
],
|
|
5424
5443
|
},
|
|
5425
5444
|
},
|
|
@@ -5828,6 +5847,15 @@ exports.definitions = [
|
|
|
5828
5847
|
e.min_temperature(),
|
|
5829
5848
|
e.position(),
|
|
5830
5849
|
e.window_detection(),
|
|
5850
|
+
e
|
|
5851
|
+
.numeric("boost_timeset_countdown", ea.STATE_SET)
|
|
5852
|
+
.withUnit("m")
|
|
5853
|
+
.withDescription("Setting " +
|
|
5854
|
+
"minimum 0 - maximum 120 minutes boost time. The boost function is activated. The remaining " +
|
|
5855
|
+
"time for the function will be counted down in minutes ( 120 to 0 ).")
|
|
5856
|
+
.withValueMin(0)
|
|
5857
|
+
.withValueMax(120),
|
|
5858
|
+
e.binary("frost_protection", ea.STATE_SET, "ON", "OFF").withDescription("Antifreeze function"),
|
|
5831
5859
|
e.binary("window", ea.STATE, "OPEN", "CLOSE").withDescription("Window status closed or open "),
|
|
5832
5860
|
e
|
|
5833
5861
|
.climate()
|
|
@@ -5929,9 +5957,11 @@ exports.definitions = [
|
|
|
5929
5957
|
}),
|
|
5930
5958
|
],
|
|
5931
5959
|
[114, "position", tuya.valueConverter.divideBy10],
|
|
5960
|
+
[118, "boost_timeset_countdown", tuya.valueConverter.raw],
|
|
5932
5961
|
[119, "comfort_temperature", tuya.valueConverter.divideBy10],
|
|
5933
5962
|
[120, "eco_temperature", tuya.valueConverter.divideBy10],
|
|
5934
5963
|
[121, "holiday_temperature", tuya.valueConverter.divideBy10],
|
|
5964
|
+
[122, "frost_protection", tuya.valueConverter.onOff],
|
|
5935
5965
|
[
|
|
5936
5966
|
127,
|
|
5937
5967
|
"hysteresis",
|
|
@@ -7396,6 +7426,30 @@ exports.definitions = [
|
|
|
7396
7426
|
}
|
|
7397
7427
|
},
|
|
7398
7428
|
},
|
|
7429
|
+
{
|
|
7430
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_qhyadm57"]),
|
|
7431
|
+
model: "TS0726_4_gang_switch_and_2_scene",
|
|
7432
|
+
vendor: "Tuya",
|
|
7433
|
+
description: "4 gang switch and 2 scene",
|
|
7434
|
+
fromZigbee: [fz.on_off, tuya.fz.power_on_behavior_2, fz.ignore_basic_report, fzLocal.TS0726_action],
|
|
7435
|
+
toZigbee: [tz.on_off, tuya.tz.power_on_behavior_2, tzLocal.TS0726_switch_mode],
|
|
7436
|
+
exposes: [
|
|
7437
|
+
...[1, 2, 3, 4].map((ep) => e.switch().withEndpoint(`l${ep}`)),
|
|
7438
|
+
...[1, 2, 3, 4].map((ep) => e.power_on_behavior().withEndpoint(`l${ep}`)),
|
|
7439
|
+
...[1, 2, 3, 4].map((ep) => e.enum("switch_mode", ea.STATE_SET, ["switch", "scene"]).withEndpoint(`l${ep}`)),
|
|
7440
|
+
e.action(["scene_1", "scene_2", "scene_3", "scene_4", "scene_5", "scene_6"]),
|
|
7441
|
+
],
|
|
7442
|
+
endpoint: (device) => {
|
|
7443
|
+
return { l1: 1, l2: 2, l3: 3, l4: 4, l5: 5, l6: 6 };
|
|
7444
|
+
},
|
|
7445
|
+
meta: { multiEndpoint: true },
|
|
7446
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
7447
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
7448
|
+
for (const ep of [1, 2, 3, 4, 5, 6]) {
|
|
7449
|
+
await reporting.bind(device.getEndpoint(ep), coordinatorEndpoint, ["genOnOff"]);
|
|
7450
|
+
}
|
|
7451
|
+
},
|
|
7452
|
+
},
|
|
7399
7453
|
{
|
|
7400
7454
|
fingerprint: tuya.fingerprint("TS0726", ["_TZ3000_wsspgtcd"]),
|
|
7401
7455
|
model: "TS0726_4_gang",
|
|
@@ -7421,7 +7475,7 @@ exports.definitions = [
|
|
|
7421
7475
|
},
|
|
7422
7476
|
},
|
|
7423
7477
|
{
|
|
7424
|
-
fingerprint: tuya.fingerprint("TS0726", ["
|
|
7478
|
+
fingerprint: tuya.fingerprint("TS0726", ["_TZ3002_sal078g8"]),
|
|
7425
7479
|
model: "TS0726_switch_4g_2s",
|
|
7426
7480
|
vendor: "Tuya",
|
|
7427
7481
|
description: "COSWALL smart switch (4 gang + 2 scene)",
|
|
@@ -9468,7 +9522,7 @@ exports.definitions = [
|
|
|
9468
9522
|
},
|
|
9469
9523
|
},
|
|
9470
9524
|
{
|
|
9471
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_f1pvdgoh"]),
|
|
9525
|
+
fingerprint: [...tuya.fingerprint("TS0601", ["_TZE200_f1pvdgoh"]), ...tuya.fingerprint("\u0000B", ["_TZE200_f1pvdgoh"])],
|
|
9472
9526
|
model: "TS0601_pir",
|
|
9473
9527
|
vendor: "Tuya",
|
|
9474
9528
|
description: "Haozee PIR sensor",
|
|
@@ -14470,7 +14524,7 @@ exports.definitions = [
|
|
|
14470
14524
|
},
|
|
14471
14525
|
},
|
|
14472
14526
|
{
|
|
14473
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_ncti2pro"]),
|
|
14527
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_ncti2pro", "_TZE204_l8xiyymq"]),
|
|
14474
14528
|
model: "PN6",
|
|
14475
14529
|
vendor: "ZSVIOT",
|
|
14476
14530
|
description: "6-way controller",
|