zigbee-herdsman-converters 23.43.0 → 23.44.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.
@@ -1613,8 +1613,6 @@ exports.definitions = [
1613
1613
  tuya.whitelabel("Aldi", "L122AA63H11A6.5W", "LIGHTWAY smart home LED-lamp - candle", ["_TZ3000_iivsrikg"]),
1614
1614
  tuya.whitelabel("Aldi", "C422AC11D41H140.0W", "MEGOS LED panel RGB+CCT 40W 3600lm 62 x 62 cm", ["_TZ3000_v1srfw9x"]),
1615
1615
  tuya.whitelabel("Aldi", "C422AC14D41H140.0W", "MEGOS LED panel RGB+CCT 40W 3600lm 30 x 120 cm", ["_TZ3000_gb5gaeca"]),
1616
- tuya.whitelabel("MiBoxer", "FUT066Z", "RGB+CCT LED Downlight", ["_TZ3210_zrvxvydd"]),
1617
- tuya.whitelabel("MiBoxer", "FUT039Z", "RGB+CCT LED controller", ["_TZ3210_jicmoite"]),
1618
1616
  tuya.whitelabel("Lidl", "14156506L", "Livarno Lux smart LED mood light", ["_TZ3210_r0xgkft5"]),
1619
1617
  tuya.whitelabel("Lidl", "HG08010", "Livarno Home outdoor spotlight", ["_TZ3210_umi6vbsz"]),
1620
1618
  tuya.whitelabel("Lidl", "HG08008", "Livarno Home LED ceiling light", ["_TZ3210_p9ao60da"]),
@@ -1625,7 +1623,6 @@ exports.definitions = [
1625
1623
  tuya.whitelabel("Lidl", "HG07834B", "Livarno Home E14 candle RGB+CCT", ["_TZ3000_wr6g6olr"]),
1626
1624
  tuya.whitelabel("Lidl", "HG08131C", "Livarno Home outdoor E27 bulb in set with flare", ["_TZ3000_q50zhdsc"]),
1627
1625
  tuya.whitelabel("Lidl", "HG07834C/HG09155C/HG08131C", "Livarno Home E27 bulb RGB+CCT", ["_TZ3000_qd7hej8u"]),
1628
- tuya.whitelabel("MiBoxer", "FUT037Z+", "RGB led controller", ["_TZB210_417ikxay", "_TZB210_wxazcmsh"]),
1629
1626
  tuya.whitelabel("Lidl", "HG08383B", "Livarno outdoor LED light chain", ["_TZ3000_bwlvyjwk"]),
1630
1627
  tuya.whitelabel("Lidl", "HG08383A", "Livarno outdoor LED light chain", ["_TZ3000_taspddvq"]),
1631
1628
  tuya.whitelabel("Garza Smart", "Garza-Standard-A60", "Standard A60 bulb", ["_TZ3210_sln7ah6r"]),
@@ -1638,9 +1635,12 @@ exports.definitions = [
1638
1635
  tuya.whitelabel("Moes", "ZB-TDA9-RCW-E27-MS", "RGB+CCT 9W E27 LED bulb", ["_TZ3210_wxa85bwk"]),
1639
1636
  tuya.whitelabel("Moes", "ZB-LZD10-RCW", "10W RGB+CCT Smart Downlight", ["_TZ3210_s9lumfhn", "_TZ3210_jjqdqxfq"]),
1640
1637
  tuya.whitelabel("Moes", "ZB-TDC6-RCW-E14", "RGB+CCT 5W E14 LED bulb", ["_TZ3210_ifga63rg"]),
1641
- tuya.whitelabel("MiBoxer", "FUT106ZR", "GU10 RGB+CCT", ["_TZB210_rwy5hexp", "_TZB210_lnnkh3f9"]),
1642
- tuya.whitelabel("MiBoxer", "FUT103ZR", "GU10 RGB+CCT", ["_TZB210_6eed09b9"]),
1643
1638
  tuya.whitelabel("MiBoxer", "E3-ZR", "3 in 1 LED Controller", ["_TZB210_wy1pyu1q"]),
1639
+ tuya.whitelabel("MiBoxer", "FUT037Z+", "RGB led controller", ["_TZB210_417ikxay", "_TZB210_wxazcmsh"]),
1640
+ tuya.whitelabel("MiBoxer", "FUT039Z", "RGB+CCT LED controller", ["_TZ3210_jicmoite", "_TZB210_rs0ufzwg"]),
1641
+ tuya.whitelabel("MiBoxer", "FUT066Z", "RGB+CCT LED Downlight", ["_TZ3210_zrvxvydd"]),
1642
+ tuya.whitelabel("MiBoxer", "FUT103ZR", "GU10 RGB+CCT", ["_TZB210_6eed09b9"]),
1643
+ tuya.whitelabel("MiBoxer", "FUT106ZR", "GU10 RGB+CCT", ["_TZB210_rwy5hexp", "_TZB210_lnnkh3f9"]),
1644
1644
  tuya.whitelabel("Tuya", "TS0505B_1_1", "Zigbee 3.0 18W led light bulb E27 RGBCW", [
1645
1645
  "_TZ3210_jd3z4yig",
1646
1646
  "_TZ3210_r5afgmkl",
@@ -2667,7 +2667,11 @@ exports.definitions = [
2667
2667
  description: "2 gang smart dimmer switch module without neutral",
2668
2668
  extend: [
2669
2669
  m.deviceEndpoints({ endpoints: { l1: 1, l2: 2 } }),
2670
- m.light({ powerOnBehavior: false, endpointNames: ["l1", "l2"], configureReporting: true }),
2670
+ m.light({
2671
+ powerOnBehavior: false,
2672
+ endpointNames: ["l1", "l2"],
2673
+ configureReporting: true,
2674
+ }),
2671
2675
  ],
2672
2676
  meta: { multiEndpoint: true },
2673
2677
  },
@@ -4211,7 +4215,12 @@ exports.definitions = [
4211
4215
  model: "TW-03",
4212
4216
  vendor: "Tuya",
4213
4217
  description: "3-Gang switch",
4214
- extend: [tuya.modernExtend.tuyaOnOff({ powerOnBehavior2: true, endpoints: ["l1", "l2", "l3"] })],
4218
+ extend: [
4219
+ tuya.modernExtend.tuyaOnOff({
4220
+ powerOnBehavior2: true,
4221
+ endpoints: ["l1", "l2", "l3"],
4222
+ }),
4223
+ ],
4215
4224
  endpoint: (device) => {
4216
4225
  return { l1: 1, l2: 2, l3: 3 };
4217
4226
  },
@@ -4252,7 +4261,14 @@ exports.definitions = [
4252
4261
  model: "_TZ3000_mw1pqqqt",
4253
4262
  description: "3 channel USB switch",
4254
4263
  vendor: "Tuya",
4255
- extend: [tuya.modernExtend.tuyaOnOff({ switchType: false, indicatorMode: false, onOffCountdown: true, endpoints: ["l1", "l2", "l3"] })],
4264
+ extend: [
4265
+ tuya.modernExtend.tuyaOnOff({
4266
+ switchType: false,
4267
+ indicatorMode: false,
4268
+ onOffCountdown: true,
4269
+ endpoints: ["l1", "l2", "l3"],
4270
+ }),
4271
+ ],
4256
4272
  endpoint: (device) => {
4257
4273
  return { l1: 1, l2: 2, l3: 3 };
4258
4274
  },
@@ -4588,7 +4604,15 @@ exports.definitions = [
4588
4604
  exposes: [e.cover_position().setAccess("position", ea.STATE_SET)],
4589
4605
  meta: {
4590
4606
  tuyaDatapoints: [
4591
- [2, "state", tuya.valueConverterBasic.lookup({ OPEN: tuya.enum(0), STOP: tuya.enum(1), CLOSE: tuya.enum(2) })],
4607
+ [
4608
+ 2,
4609
+ "state",
4610
+ tuya.valueConverterBasic.lookup({
4611
+ OPEN: tuya.enum(0),
4612
+ STOP: tuya.enum(1),
4613
+ CLOSE: tuya.enum(2),
4614
+ }),
4615
+ ],
4592
4616
  [7, "position", tuya.valueConverter.coverPosition],
4593
4617
  [8, "position", tuya.valueConverter.coverPosition],
4594
4618
  ],
@@ -5986,7 +6010,14 @@ exports.definitions = [
5986
6010
  meta: {
5987
6011
  tuyaDatapoints: [
5988
6012
  [1, "state", tuya.valueConverter.onOff],
5989
- [2, "system_mode", tuya.valueConverterBasic.lookup({ auto: tuya.enum(0), manual: tuya.enum(1) })],
6013
+ [
6014
+ 2,
6015
+ "system_mode",
6016
+ tuya.valueConverterBasic.lookup({
6017
+ auto: tuya.enum(0),
6018
+ manual: tuya.enum(1),
6019
+ }),
6020
+ ],
5990
6021
  [16, "local_temperature", tuya.valueConverter.divideBy10],
5991
6022
  [18, "min_temperature", tuya.valueConverter.raw],
5992
6023
  [19, "local_temperature_calibration", tuya.valueConverter.localTemperatureCalibration],
@@ -8778,7 +8809,14 @@ exports.definitions = [
8778
8809
  {
8779
8810
  // Only the ones with applicationVersion 145 should be detected as this, e.g. applicationVersion 66 should be detected as ERS-10TZBVK-AA.
8780
8811
  // https://github.com/Koenkk/zigbee2mqtt/issues/25053
8781
- fingerprint: [{ modelID: "TS004F", manufacturerName: "_TZ3000_abrsvsou", applicationVersion: 145, priority: 1 }],
8812
+ fingerprint: [
8813
+ {
8814
+ modelID: "TS004F",
8815
+ manufacturerName: "_TZ3000_abrsvsou",
8816
+ applicationVersion: 145,
8817
+ priority: 1,
8818
+ },
8819
+ ],
8782
8820
  model: "ZG-101Z/D",
8783
8821
  vendor: "Tuya",
8784
8822
  description: "Smart knob",
@@ -9776,6 +9814,7 @@ exports.definitions = [
9776
9814
  },
9777
9815
  },
9778
9816
  {
9817
+ zigbeeModel: ["CK-BL702-MWS-01(7016)"],
9779
9818
  fingerprint: tuya.fingerprint("TS0225", ["_TZE200_2aaelwxk"]),
9780
9819
  model: "ZG-205Z/A",
9781
9820
  vendor: "Tuya",
@@ -9784,6 +9823,8 @@ exports.definitions = [
9784
9823
  toZigbee: [tuya.tz.datapoints],
9785
9824
  exposes: [
9786
9825
  e.presence(),
9826
+ e.enum("motion_state", ea.STATE, ["none", "small", "medium", "large", "far", "near"]).withDescription("State of the motion"),
9827
+ e.numeric("target_distance", ea.STATE).withDescription("Distance to target").withUnit("m"),
9787
9828
  e.illuminance().withUnit("lx"),
9788
9829
  e
9789
9830
  .numeric("large_motion_detection_sensitivity", ea.STATE_SET)
@@ -9799,7 +9840,6 @@ exports.definitions = [
9799
9840
  .withValueStep(0.01)
9800
9841
  .withUnit("m")
9801
9842
  .withDescription("Motion detection distance"),
9802
- e.enum("motion_state", ea.STATE, ["none", "small", "medium", "large", "huge", "gigantic"]).withDescription("State of the motion"),
9803
9843
  e
9804
9844
  .numeric("fading_time", ea.STATE_SET)
9805
9845
  .withValueMin(0)
@@ -9836,6 +9876,13 @@ exports.definitions = [
9836
9876
  .withValueStep(1)
9837
9877
  .withUnit("x")
9838
9878
  .withDescription("Small detection sensitivity"),
9879
+ e
9880
+ .numeric("minimum_range", ea.STATE_SET)
9881
+ .withValueMin(0)
9882
+ .withValueMax(6)
9883
+ .withValueStep(0.01)
9884
+ .withUnit("m")
9885
+ .withDescription("Minimum range"),
9839
9886
  ],
9840
9887
  meta: {
9841
9888
  tuyaDatapoints: [
@@ -9850,8 +9897,8 @@ exports.definitions = [
9850
9897
  large: tuya.enum(1),
9851
9898
  medium: tuya.enum(2),
9852
9899
  small: tuya.enum(3),
9853
- huge: tuya.enum(4),
9854
- gigantic: tuya.enum(5),
9900
+ far: tuya.enum(4),
9901
+ near: tuya.enum(5),
9855
9902
  }),
9856
9903
  ],
9857
9904
  [102, "fading_time", tuya.valueConverter.raw],
@@ -9861,6 +9908,8 @@ exports.definitions = [
9861
9908
  [107, "indicator", tuya.valueConverter.onOff],
9862
9909
  [108, "small_detection_distance", tuya.valueConverter.divideBy100],
9863
9910
  [109, "small_detection_sensitivity", tuya.valueConverter.raw],
9911
+ [122, "target_distance", tuya.valueConverter.divideBy100],
9912
+ [123, "minimum_range", tuya.valueConverter.divideBy100],
9864
9913
  // Not exposed DPs/untested
9865
9914
  // [103, 'motion_false_detection', tuya.valueConverter.raw],
9866
9915
  // [113, 'breathe_false_detection', tuya.valueConverter.raw],
@@ -10053,10 +10102,11 @@ exports.definitions = [
10053
10102
  ],
10054
10103
  },
10055
10104
  {
10056
- fingerprint: tuya.fingerprint("TS110E", ["_TZ3210_pagajpog", "_TZ3210_4ubylghk", "_TZ3210_vfwhhldz", "_TZ3210_3mpwqzuu"]),
10105
+ fingerprint: tuya.fingerprint("TS110E", ["_TZ3210_pagajpog", "_TZ3210_4ubylghk", "_TZ3210_vfwhhldz", "_TZ3210_3mpwqzuu", "_TZ3210_mt5xjoy6"]),
10057
10106
  model: "TS110E_2gang_2",
10058
10107
  vendor: "Tuya",
10059
10108
  description: "2 channel dimmer",
10109
+ whiteLabel: [tuya.whitelabel("Nedis", "ZBWD20RD", "SmartLife Triac Dimmer", ["_TZ3210_mt5xjoy6"])],
10060
10110
  fromZigbee: [fz.TS110E, fz.TS110E_light_type, tuya.fz.power_on_behavior_1, fz.on_off],
10061
10111
  toZigbee: [tz.TS110E_onoff_brightness, tz.TS110E_options, tuya.tz.power_on_behavior_1, tz.light_brightness_move],
10062
10112
  meta: { multiEndpoint: true },
@@ -13679,7 +13729,10 @@ exports.definitions = [
13679
13729
  description: "Din rail smart meter",
13680
13730
  fromZigbee: [tuya.fz.datapoints, tuya.fz.gateway_connection_status],
13681
13731
  toZigbee: [tuya.tz.datapoints],
13682
- onEvent: tuya.onEvent({ respondToMcuVersionResponse: false, queryIntervalSeconds: 10 }),
13732
+ onEvent: tuya.onEvent({
13733
+ respondToMcuVersionResponse: false,
13734
+ queryIntervalSeconds: 10,
13735
+ }),
13683
13736
  configure: async (device, coordinatorEndpoint) => {
13684
13737
  await tuya.configureMagicPacket(device, coordinatorEndpoint);
13685
13738
  // Required to get the device to start reporting
@@ -15130,7 +15183,7 @@ exports.definitions = [
15130
15183
  alarm: tuya.enum(1),
15131
15184
  }),
15132
15185
  ],
15133
- [101, "temperature", tuya.valueConverter.divideBy10],
15186
+ [103, "temperature", tuya.valueConverter.divideBy10],
15134
15187
  [109, "humidity", tuya.valueConverter.raw],
15135
15188
  [107, "soil_moisture", tuya.valueConverter.raw],
15136
15189
  [108, "battery", tuya.valueConverter.raw],
@@ -15788,7 +15841,15 @@ exports.definitions = [
15788
15841
  ],
15789
15842
  meta: {
15790
15843
  tuyaDatapoints: [
15791
- [1, "liquid_state", tuya.valueConverterBasic.lookup({ low: tuya.enum(1), normal: tuya.enum(0), high: tuya.enum(2) })],
15844
+ [
15845
+ 1,
15846
+ "liquid_state",
15847
+ tuya.valueConverterBasic.lookup({
15848
+ low: tuya.enum(1),
15849
+ normal: tuya.enum(0),
15850
+ high: tuya.enum(2),
15851
+ }),
15852
+ ],
15792
15853
  [2, "liquid_depth", tuya.valueConverter.raw], // mm
15793
15854
  [22, "liquid_level_percent", tuya.valueConverter.raw],
15794
15855
  [7, "max_set", tuya.valueConverter.raw],
@@ -17058,5 +17119,134 @@ exports.definitions = [
17058
17119
  ],
17059
17120
  },
17060
17121
  },
17122
+ {
17123
+ fingerprint: tuya.fingerprint("TS0601", ["_TZE200_wzk0x7fq"]),
17124
+ model: "ZG-102ZM",
17125
+ vendor: "HOBEIAN",
17126
+ description: "Vibration sensor",
17127
+ fromZigbee: [tuya.fz.datapoints],
17128
+ toZigbee: [tuya.tz.datapoints],
17129
+ configure: tuya.configureMagicPacket,
17130
+ exposes: [
17131
+ e.vibration(),
17132
+ e.contact(),
17133
+ e.battery(),
17134
+ e
17135
+ .numeric("sensitivity", ea.STATE_SET)
17136
+ .withValueMin(1)
17137
+ .withValueMax(50)
17138
+ .withValueStep(1)
17139
+ .withUnit("x")
17140
+ .withDescription("The larger the value, the more sensitive it is (refresh and update only while active)"),
17141
+ ],
17142
+ meta: {
17143
+ tuyaDatapoints: [
17144
+ [1, "vibration", tuya.valueConverter.trueFalse1],
17145
+ [101, "contact", tuya.valueConverter.inverse],
17146
+ [4, "battery", tuya.valueConverter.raw],
17147
+ [6, "sensitivity", tuya.valueConverter.raw],
17148
+ ],
17149
+ },
17150
+ },
17151
+ {
17152
+ fingerprint: tuya.fingerprint("TS0601", ["_TZE200_uli8wasj", "_TZE200_grgol3xp"]),
17153
+ model: "ZG-204ZV",
17154
+ vendor: "HOBEIAN",
17155
+ description: "Millimeter wave motion detection",
17156
+ fromZigbee: [tuya.fz.datapoints],
17157
+ toZigbee: [tuya.tz.datapoints],
17158
+ exposes: [
17159
+ e.presence(),
17160
+ e.illuminance(),
17161
+ e.temperature(),
17162
+ e.humidity(),
17163
+ tuya.exposes.temperatureUnit(),
17164
+ tuya.exposes.temperatureCalibration(),
17165
+ tuya.exposes.humidityCalibration(),
17166
+ e.battery(),
17167
+ e
17168
+ .numeric("fading_time", ea.STATE_SET)
17169
+ .withValueMin(0)
17170
+ .withValueMax(28800)
17171
+ .withValueStep(1)
17172
+ .withUnit("s")
17173
+ .withDescription("Motion keep time"),
17174
+ e.binary("indicator", ea.STATE_SET, "ON", "OFF").withDescription("LED indicator mode"),
17175
+ e
17176
+ .numeric("illuminance_interval", ea.STATE_SET)
17177
+ .withValueMin(1)
17178
+ .withValueMax(720)
17179
+ .withValueStep(1)
17180
+ .withUnit("minutes")
17181
+ .withDescription("Light sensing sampling(refresh and update only while active)"),
17182
+ e
17183
+ .numeric("motion_detection_sensitivity", ea.STATE_SET)
17184
+ .withValueMin(0)
17185
+ .withValueMax(19)
17186
+ .withValueStep(1)
17187
+ .withUnit("x")
17188
+ .withDescription("The larger the value, the more sensitive it is (refresh and update only while active)"),
17189
+ ],
17190
+ meta: {
17191
+ tuyaDatapoints: [
17192
+ [1, "presence", tuya.valueConverter.trueFalse1],
17193
+ [106, "illuminance", tuya.valueConverter.raw],
17194
+ [102, "fading_time", tuya.valueConverter.raw],
17195
+ [2, "motion_detection_sensitivity", tuya.valueConverter.raw],
17196
+ [108, "indicator", tuya.valueConverter.onOff],
17197
+ [110, "battery", tuya.valueConverter.raw],
17198
+ [111, "temperature", tuya.valueConverter.divideBy10],
17199
+ [101, "humidity", tuya.valueConverter.raw],
17200
+ [109, "temperature_unit", tuya.valueConverter.temperatureUnit],
17201
+ [105, "temperature_calibration", tuya.valueConverter.divideBy10],
17202
+ [104, "humidity_calibration", tuya.valueConverter.raw],
17203
+ [107, "illuminance_interval", tuya.valueConverter.raw],
17204
+ ],
17205
+ },
17206
+ },
17207
+ {
17208
+ fingerprint: tuya.fingerprint("TS0601", ["_TZE200_jsaqgakf"]),
17209
+ model: "ZG-223Z",
17210
+ vendor: "HOBEIAN",
17211
+ description: "Rainwater detection sensor",
17212
+ fromZigbee: [tuya.fz.datapoints],
17213
+ toZigbee: [tuya.tz.datapoints],
17214
+ configure: tuya.configureMagicPacket,
17215
+ exposes: [
17216
+ e.enum("rainwater", ea.STATE, ["none", "raining"]).withDescription("Sensor rainwater status"),
17217
+ e.illuminance().withUnit("x"),
17218
+ e
17219
+ .numeric("sensitivity", ea.STATE_SET)
17220
+ .withValueMin(0)
17221
+ .withValueMax(9)
17222
+ .withValueStep(1)
17223
+ .withUnit("x")
17224
+ .withDescription("The larger the value, the more sensitive it is (refresh and update only while active)"),
17225
+ e
17226
+ .numeric("illuminance_sampling", ea.STATE_SET)
17227
+ .withValueMin(1)
17228
+ .withValueMax(480)
17229
+ .withValueStep(1)
17230
+ .withUnit("minutes")
17231
+ .withDescription("Brightness acquisition interval (refresh and update only while active)"),
17232
+ e.battery(),
17233
+ ],
17234
+ meta: {
17235
+ tuyaDatapoints: [
17236
+ [
17237
+ 1,
17238
+ "rainwater",
17239
+ tuya.valueConverterBasic.lookup({
17240
+ none: tuya.enum(0),
17241
+ raining: tuya.enum(1),
17242
+ }),
17243
+ ],
17244
+ [102, "illuminance", tuya.valueConverter.raw],
17245
+ [104, "battery", tuya.valueConverter.raw],
17246
+ [2, "sensitivity", tuya.valueConverter.raw],
17247
+ [101, "illuminance_sampling", tuya.valueConverter.raw],
17248
+ ],
17249
+ },
17250
+ },
17061
17251
  ];
17062
17252
  //# sourceMappingURL=tuya.js.map