zigbee-herdsman-converters 23.26.0 → 23.28.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 +34 -0
- package/dist/converters/toZigbee.js +1 -1
- package/dist/converters/toZigbee.js.map +1 -1
- package/dist/devices/bosch.js +1 -1
- package/dist/devices/bosch.js.map +1 -1
- package/dist/devices/efekta.js +2 -2
- package/dist/devices/efekta.js.map +1 -1
- package/dist/devices/gledopto.js +1 -1
- package/dist/devices/gledopto.js.map +1 -1
- package/dist/devices/gmmts.js +1 -1
- package/dist/devices/gmmts.js.map +1 -1
- package/dist/devices/heiman.d.ts.map +1 -1
- package/dist/devices/heiman.js +7 -0
- package/dist/devices/heiman.js.map +1 -1
- package/dist/devices/ikea.js +1 -1
- package/dist/devices/ikea.js.map +1 -1
- package/dist/devices/inovelli.js +15 -15
- package/dist/devices/inovelli.js.map +1 -1
- package/dist/devices/ledvance.d.ts.map +1 -1
- package/dist/devices/ledvance.js +7 -0
- package/dist/devices/ledvance.js.map +1 -1
- package/dist/devices/lincukoo.d.ts.map +1 -1
- package/dist/devices/lincukoo.js +11 -5
- package/dist/devices/lincukoo.js.map +1 -1
- package/dist/devices/lixee.js +1 -1
- package/dist/devices/namron.js +1 -1
- package/dist/devices/namron.js.map +1 -1
- package/dist/devices/paulmann.js +1 -1
- package/dist/devices/paulmann.js.map +1 -1
- package/dist/devices/qoto.js +1 -1
- package/dist/devices/qoto.js.map +1 -1
- package/dist/devices/sber.d.ts.map +1 -1
- package/dist/devices/sber.js +773 -0
- package/dist/devices/sber.js.map +1 -1
- package/dist/devices/sonoff.d.ts.map +1 -1
- package/dist/devices/sonoff.js +63 -1
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/tech.js +2 -2
- package/dist/devices/tech.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +34 -16
- package/dist/devices/tuya.js.map +1 -1
- package/dist/devices/vimar.js +1 -1
- package/dist/devices/yandex.js +1 -1
- package/dist/devices/yandex.js.map +1 -1
- package/dist/devices/yokis.js +8 -8
- package/dist/devices/yokis.js.map +1 -1
- package/dist/lib/develco.js +1 -1
- package/dist/lib/develco.js.map +1 -1
- package/dist/lib/ewelink.js +8 -8
- package/dist/lib/ewelink.js.map +1 -1
- package/dist/lib/exposes.d.ts +2 -0
- package/dist/lib/exposes.d.ts.map +1 -1
- package/dist/lib/exposes.js +7 -0
- package/dist/lib/exposes.js.map +1 -1
- package/dist/lib/ikea.d.ts.map +1 -1
- package/dist/lib/ikea.js +87 -1
- package/dist/lib/ikea.js.map +1 -1
- package/dist/lib/lumi.js +4 -4
- package/dist/lib/lumi.js.map +1 -1
- package/dist/lib/modernExtend.js +2 -2
- package/dist/lib/modernExtend.js.map +1 -1
- package/dist/lib/utils.js +1 -1
- package/dist/lib/utils.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +1 -1
package/dist/devices/tuya.js
CHANGED
|
@@ -83,12 +83,12 @@ const storeLocal = {
|
|
|
83
83
|
// 115 power_ab
|
|
84
84
|
//
|
|
85
85
|
// It should be noted that when no current is detected on channel x then
|
|
86
|
-
// energy_flow_x is not
|
|
86
|
+
// energy_flow_x is not emitted and current_x==0, power_x==0 and power_factor_x==100.
|
|
87
87
|
//
|
|
88
88
|
// The other datapoints are emitted every few minutes.
|
|
89
89
|
//
|
|
90
90
|
// There is a known issue on the _TZE204_81yrt3lo (with appVersion 74, stackVersion 0 and hwVersion 1).
|
|
91
|
-
// The energy_flow datapoints are (incorrectly)
|
|
91
|
+
// The energy_flow datapoints are (incorrectly) emitted during the next update. This is quite problematic
|
|
92
92
|
// because that means that the direction can be inverted for up to update_frequency seconds.
|
|
93
93
|
//
|
|
94
94
|
// The features implemented here are
|
|
@@ -96,7 +96,7 @@ const storeLocal = {
|
|
|
96
96
|
// - (OPTIONAL) solve the issue described above by waiting for the next energy flow datapoint
|
|
97
97
|
// before publishing the cached channel data.
|
|
98
98
|
// - (OPTIONAL) provide signed power instead of energy flow.
|
|
99
|
-
// - detect missing or reordered Zigbee message using the Tuya 'seq'
|
|
99
|
+
// - detect missing or reordered Zigbee message using the Tuya 'seq' attribute and invalidate
|
|
100
100
|
// cached data accordingly.
|
|
101
101
|
//
|
|
102
102
|
priv = {
|
|
@@ -3044,7 +3044,7 @@ exports.definitions = [
|
|
|
3044
3044
|
},
|
|
3045
3045
|
},
|
|
3046
3046
|
{
|
|
3047
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_go3tvswy", "_TZE204_2imwyigp"]),
|
|
3047
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_go3tvswy", "_TZE204_2imwyigp", "_TZE200_2imwyigp"]),
|
|
3048
3048
|
model: "MG-ZG03W",
|
|
3049
3049
|
vendor: "Tuya",
|
|
3050
3050
|
description: "3 gang switch",
|
|
@@ -8083,7 +8083,7 @@ exports.definitions = [
|
|
|
8083
8083
|
.numeric("sensitivity", ea.STATE_SET)
|
|
8084
8084
|
.withValueMin(0)
|
|
8085
8085
|
.withValueMax(50)
|
|
8086
|
-
.withDescription("
|
|
8086
|
+
.withDescription("Sensitivity of the sensor (0 = highest sensitivity, 50 = lowest sensitivity). " +
|
|
8087
8087
|
"Press button on the device right before changing this"),
|
|
8088
8088
|
],
|
|
8089
8089
|
},
|
|
@@ -8279,7 +8279,7 @@ exports.definitions = [
|
|
|
8279
8279
|
name: "status",
|
|
8280
8280
|
dp: 12,
|
|
8281
8281
|
type: tuya.dataTypes.enum,
|
|
8282
|
-
description: "Indicates run time alarm, door open alarm or
|
|
8282
|
+
description: "Indicates run time alarm, door open alarm or normal status, will not return to normal until door is triggered again",
|
|
8283
8283
|
lookup: { "Open Time Alarm": 0, "Run Time Alarm": 1, Normal: 2 },
|
|
8284
8284
|
readOnly: true,
|
|
8285
8285
|
}),
|
|
@@ -11308,7 +11308,7 @@ exports.definitions = [
|
|
|
11308
11308
|
},
|
|
11309
11309
|
},
|
|
11310
11310
|
{
|
|
11311
|
-
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_ac0fhfiq"]),
|
|
11311
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_ac0fhfiq", "_TZE284_ac0fhfiq"]),
|
|
11312
11312
|
model: "TS0601_bidirectional_energy meter",
|
|
11313
11313
|
vendor: "Tuya",
|
|
11314
11314
|
description: "Bidirectional energy meter with 150A Current Clamp",
|
|
@@ -12565,7 +12565,7 @@ exports.definitions = [
|
|
|
12565
12565
|
.withValueMax(8)
|
|
12566
12566
|
.withValueStep(0.1)
|
|
12567
12567
|
.withUnit("m")
|
|
12568
|
-
.withDescription("Indent the distance inward based on the
|
|
12568
|
+
.withDescription("Indent the distance inward based on the detection distance"),
|
|
12569
12569
|
e
|
|
12570
12570
|
.numeric("entry_filter_time", ea.STATE_SET)
|
|
12571
12571
|
.withValueMin(0)
|
|
@@ -13933,10 +13933,10 @@ exports.definitions = [
|
|
|
13933
13933
|
[107, "low_temperature_protection_state", tuya.valueConverter.onOff],
|
|
13934
13934
|
// range -9 to +9, data type 2, affects shown room temperature (even tho sensors detect its 19, you can make it show 21 by setting this to 2)
|
|
13935
13935
|
[109, "local_temperature_calibration", tuya.valueConverter.localTempCalibration3],
|
|
13936
|
-
// according to manual settable
|
|
13936
|
+
// according to manual settable between 0.5 and 2.5 degree.
|
|
13937
13937
|
// staring with 5 as 0.5 degree, and 25 as 2.5 degree (data type 2)
|
|
13938
13938
|
[110, "temperature_return_difference", tuya.valueConverter.raw],
|
|
13939
|
-
// range 1-9. How far should temperature drop to turn back heating, if
|
|
13939
|
+
// range 1-9. How far should temperature drop to turn back heating, if high temp protection kicked in
|
|
13940
13940
|
[111, "deadzone_temperature", tuya.valueConverter.raw],
|
|
13941
13941
|
// High temperature protection
|
|
13942
13942
|
// range 20-70, trying to turn below 20 keeps this datapoint at 20 but turns 106 to 0
|
|
@@ -13946,7 +13946,7 @@ exports.definitions = [
|
|
|
13946
13946
|
[114, "max_temperature", tuya.valueConverter.raw],
|
|
13947
13947
|
// choose_sensor
|
|
13948
13948
|
// 0: device sensor. Switches "higsyht_temperature_protection_state" off
|
|
13949
|
-
// 1: external sensor /
|
|
13949
|
+
// 1: external sensor / high temperature protection off
|
|
13950
13950
|
// 2: internal for room + external for high temperature protection. Switches "hight_temperature_protection_state" on
|
|
13951
13951
|
[116, "sensor_mode", tuya.valueConverterBasic.lookup({ IN: 0, OU: 1, AL: 2 })],
|
|
13952
13952
|
// once every 24h it provides an array of numbers, maybe device fingerprint or something
|
|
@@ -15243,10 +15243,10 @@ exports.definitions = [
|
|
|
15243
15243
|
.withLocalTemperature(ea.STATE),
|
|
15244
15244
|
e
|
|
15245
15245
|
.enum("sensor_mode", ea.STATE_SET, ["room_temperature", "floor_temperature", "room_with_floor_limit"])
|
|
15246
|
-
.withDescription("What type of sensor are you using to
|
|
15246
|
+
.withDescription("What type of sensor are you using to measure the temperature of the floor?"),
|
|
15247
15247
|
e
|
|
15248
15248
|
.binary("adaptive_start", ea.STATE_SET, "ON", "OFF")
|
|
15249
|
-
.withDescription("Preheat the room to the desired
|
|
15249
|
+
.withDescription("Preheat the room to the desired temperature before the scheduled start time."),
|
|
15250
15250
|
e.max_temperature_limit().withDescription("Maximum temperature (default: 35 ºC)").withValueMin(5).withValueMax(35).withValueStep(0.5),
|
|
15251
15251
|
e
|
|
15252
15252
|
.min_temperature_limit()
|
|
@@ -15778,14 +15778,14 @@ exports.definitions = [
|
|
|
15778
15778
|
.withValueMin(0.1)
|
|
15779
15779
|
.withValueMax(7)
|
|
15780
15780
|
.withValueStep(0.1)
|
|
15781
|
-
.withDescription("The
|
|
15781
|
+
.withDescription("The farthest distance that can be detected (moving)")
|
|
15782
15782
|
.withUnit("m"),
|
|
15783
15783
|
e
|
|
15784
15784
|
.numeric("largest_presence_detection_distance", ea.STATE_SET)
|
|
15785
15785
|
.withValueMin(0.1)
|
|
15786
15786
|
.withValueMax(7)
|
|
15787
15787
|
.withValueStep(0.1)
|
|
15788
|
-
.withDescription("The
|
|
15788
|
+
.withDescription("The farthest distance that can be detected (present)")
|
|
15789
15789
|
.withUnit("m"),
|
|
15790
15790
|
e.binary("restore_factory", ea.STATE_SET, "ON", "OFF").withDescription("restore_factory"),
|
|
15791
15791
|
e.binary("led_indicator", ea.STATE_SET, "ON", "OFF").withDescription("turn on or off the led "),
|
|
@@ -15855,7 +15855,7 @@ exports.definitions = [
|
|
|
15855
15855
|
.withValueMax(8)
|
|
15856
15856
|
.withValueStep(0.1)
|
|
15857
15857
|
.withUnit("m")
|
|
15858
|
-
.withDescription("
|
|
15858
|
+
.withDescription("Detection distance when unoccupied"),
|
|
15859
15859
|
e
|
|
15860
15860
|
.numeric("entry_filter_time", ea.STATE_SET)
|
|
15861
15861
|
.withValueMin(0)
|
|
@@ -16629,5 +16629,23 @@ exports.definitions = [
|
|
|
16629
16629
|
}
|
|
16630
16630
|
},
|
|
16631
16631
|
},
|
|
16632
|
+
{
|
|
16633
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE200_oc7xqqbs"]),
|
|
16634
|
+
model: "HY-SZLUMPIR",
|
|
16635
|
+
vendor: "Homcloud",
|
|
16636
|
+
description: "PIR sensor",
|
|
16637
|
+
fromZigbee: [tuya.fz.datapoints],
|
|
16638
|
+
toZigbee: [tuya.tz.datapoints],
|
|
16639
|
+
onEvent: tuya.onEvent(),
|
|
16640
|
+
configure: tuya.configureMagicPacket,
|
|
16641
|
+
exposes: [e.occupancy(), e.illuminance(), e.battery()],
|
|
16642
|
+
meta: {
|
|
16643
|
+
tuyaDatapoints: [
|
|
16644
|
+
[1, "occupancy", tuya.valueConverter.trueFalse0],
|
|
16645
|
+
[4, "battery", tuya.valueConverter.raw],
|
|
16646
|
+
[101, "illuminance", tuya.valueConverter.raw],
|
|
16647
|
+
],
|
|
16648
|
+
},
|
|
16649
|
+
},
|
|
16632
16650
|
];
|
|
16633
16651
|
//# sourceMappingURL=tuya.js.map
|