zigbee-herdsman-converters 15.74.0 → 15.75.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [15.75.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.74.0...v15.75.0) (2023-09-13)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** RB56SC ([#6156](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6156)) ([ec2a508](https://github.com/Koenkk/zigbee-herdsman-converters/commit/ec2a5088d2e0e7b6b9bfd2ba944007514db1614b))
9
+ * **add:** ZWT198 ([#6155](https://github.com/Koenkk/zigbee-herdsman-converters/issues/6155)) ([0eb982d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/0eb982d8c40f0b120a347f464c6c9f366f10e0e4))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **detect:** Detect `_TZE200_gaj531w3` as Yushun YS-MT750L https://github.com/Koenkk/zigbee2mqtt/issues/18954 ([a81f017](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a81f017403b5fa801504ab850e1f6463a60bb404))
15
+ * **detect:** Detect `_TZE204_hlx9tnzb` as ZS-SR-EUD-1 and `_TZE204_1v1dxkck` as `ZS-SR-EUD-3` https://github.com/Koenkk/zigbee-herdsman-converters/pull/6136 ([a011a93](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a011a937f7a4422d006d395d9d41e2817ab4800c))
16
+ * **detect:** Detect `_TZE204_wvovwe9h` as TuYa TS0601_switch_2_gang @BandBxx https://github.com/Koenkk/zigbee2mqtt/issues/18336 ([d0131f1](https://github.com/Koenkk/zigbee-herdsman-converters/commit/d0131f1c3c79d47078aee8e5b8c61c5f81bf5675))
17
+
3
18
  ## [15.74.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.73.0...v15.74.0) (2023-09-11)
4
19
 
5
20
 
@@ -12,6 +12,13 @@ const definitions = [
12
12
  description: 'Juno 4" and 6" LED smart wafer downlight',
13
13
  extend: extend_1.default.light_onoff_brightness_colortemp({ colorTempRange: [200, 370], disableColorTempStartup: true }),
14
14
  },
15
+ {
16
+ zigbeeModel: ['ABL-LIGHT-Z-201'],
17
+ model: 'RB56SC',
18
+ vendor: 'Acuity Brands Lighting (ABL)',
19
+ description: 'Juno Retrobasics 4" and 6" LED smart downlight',
20
+ extend: extend_1.default.light_onoff_brightness_colortemp({ colorTempRange: [200, 370], disableColorTempStartup: true }),
21
+ },
15
22
  ];
16
23
  module.exports = definitions;
17
24
  //# sourceMappingURL=acuity_brands_lighting.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"acuity_brands_lighting.js","sourceRoot":"","sources":["../src/devices/acuity_brands_lighting.ts"],"names":[],"mappings":";;;;;AACA,2DAAmC;AAEnC,MAAM,WAAW,GAAiB;IAC9B;QACI,WAAW,EAAE,CAAC,iBAAiB,CAAC;QAChC,KAAK,EAAE,WAAW;QAClB,MAAM,EAAE,8BAA8B;QACtC,WAAW,EAAE,0CAA0C;QACvD,MAAM,EAAE,gBAAM,CAAC,gCAAgC,CAAC,EAAC,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,uBAAuB,EAAE,IAAI,EAAC,CAAC;KAC/G;CACJ,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,WAAW,CAAC"}
1
+ {"version":3,"file":"acuity_brands_lighting.js","sourceRoot":"","sources":["../src/devices/acuity_brands_lighting.ts"],"names":[],"mappings":";;;;;AACA,2DAAmC;AAEnC,MAAM,WAAW,GAAiB;IAC9B;QACI,WAAW,EAAE,CAAC,iBAAiB,CAAC;QAChC,KAAK,EAAE,WAAW;QAClB,MAAM,EAAE,8BAA8B;QACtC,WAAW,EAAE,0CAA0C;QACvD,MAAM,EAAE,gBAAM,CAAC,gCAAgC,CAAC,EAAC,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,uBAAuB,EAAE,IAAI,EAAC,CAAC;KAC/G;IACD;QACI,WAAW,EAAE,CAAC,iBAAiB,CAAC;QAChC,KAAK,EAAE,QAAQ;QACf,MAAM,EAAE,8BAA8B;QACtC,WAAW,EAAE,gDAAgD;QAC7D,MAAM,EAAE,gBAAM,CAAC,gCAAgC,CAAC,EAAC,cAAc,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,uBAAuB,EAAE,IAAI,EAAC,CAAC;KAC/G;CACJ,CAAC;AAEF,MAAM,CAAC,OAAO,GAAG,WAAW,CAAC"}
package/devices/tuya.js CHANGED
@@ -1245,7 +1245,7 @@ const definitions = [
1245
1245
  },
1246
1246
  {
1247
1247
  fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ip2akl4w', '_TZE200_1agwnems', '_TZE200_la2c2uo9', '_TZE200_579lguh2',
1248
- '_TZE200_vucankjx', '_TZE200_4mh6tyyo']),
1248
+ '_TZE200_vucankjx', '_TZE200_4mh6tyyo', '_TZE204_hlx9tnzb']),
1249
1249
  model: 'TS0601_dimmer_1',
1250
1250
  vendor: 'TuYa',
1251
1251
  description: '1 gang smart dimmer',
@@ -1269,6 +1269,7 @@ const definitions = [
1269
1269
  { vendor: 'Moes', model: 'MS-105Z' },
1270
1270
  { vendor: 'Lerlink', model: 'X706U' },
1271
1271
  { vendor: 'Moes', model: 'ZS-EUD_1gang' },
1272
+ tuya.whitelabel('Moes', 'ZS-SR-EUD-1', 'Star ring smart dimmer switch 1 gang', ['_TZE204_zenj4lxv']),
1272
1273
  ],
1273
1274
  },
1274
1275
  {
@@ -1310,7 +1311,7 @@ const definitions = [
1310
1311
  ],
1311
1312
  },
1312
1313
  {
1313
- fingerprint: tuya.fingerprint('TS0601', ['_TZE200_vm1gyrso']),
1314
+ fingerprint: tuya.fingerprint('TS0601', ['_TZE200_vm1gyrso', '_TZE204_1v1dxkck']),
1314
1315
  model: 'TS0601_dimmer_3',
1315
1316
  vendor: 'TuYa',
1316
1317
  description: '3 gang smart dimmer',
@@ -1335,6 +1336,7 @@ const definitions = [
1335
1336
  },
1336
1337
  whiteLabel: [
1337
1338
  { vendor: 'Moes', model: 'ZS-EUD_3gang' },
1339
+ tuya.whitelabel('Moes', 'ZS-SR-EUD-3', 'Star ring smart dimmer switch 3 gangs', ['_TZE204_1v1dxkck']),
1338
1340
  ],
1339
1341
  },
1340
1342
  {
@@ -1571,11 +1573,7 @@ const definitions = [
1571
1573
  },
1572
1574
  },
1573
1575
  {
1574
- fingerprint: [
1575
- { modelID: 'TS0601', manufacturerName: '_TZE200_nkjintbl' },
1576
- { modelID: 'TS0601', manufacturerName: '_TZE200_ji1gn7rw' },
1577
- { modelID: 'TS0601', manufacturerName: '_TZE200_3t91nb6k' },
1578
- ],
1576
+ fingerprint: tuya.fingerprint('TS0601', ['_TZE200_nkjintbl', '_TZE200_ji1gn7rw', '_TZE200_3t91nb6k', '_TZE204_wvovwe9h']),
1579
1577
  model: 'TS0601_switch_2_gang',
1580
1578
  vendor: 'TuYa',
1581
1579
  description: '2 gang switch',
@@ -2302,13 +2300,14 @@ const definitions = [
2302
2300
  { modelID: 'TS0601', manufacturerName: '_TZE200_axgvo9jh' },
2303
2301
  { modelID: 'TS0601', manufacturerName: '_TZE200_bv1jcqqu' },
2304
2302
  { modelID: 'TS0601', manufacturerName: '_TZE200_7eue9vhc' },
2303
+ { modelID: 'TS0601', manufacturerName: '_TZE200_gaj531w3' },
2305
2304
  ],
2306
2305
  model: 'TS0601_cover_1',
2307
2306
  vendor: 'TuYa',
2308
2307
  description: 'Curtain motor/roller blind motor/window pusher/tubular motor',
2309
2308
  whiteLabel: [
2310
2309
  { vendor: 'Yushun', model: 'YS-MT750' },
2311
- tuya.whitelabel('Yushun', 'YS-MT750L', 'Curtain motor', ['_TZE200_bqcqqjpb']),
2310
+ tuya.whitelabel('Yushun', 'YS-MT750L', 'Curtain motor', ['_TZE200_bqcqqjpb', '_TZE200_gaj531w3']),
2312
2311
  { vendor: 'Zemismart', model: 'ZM79E-DT' },
2313
2312
  { vendor: 'Binthen', model: 'BCM100D' },
2314
2313
  { vendor: 'Binthen', model: 'CV01A' },
@@ -3833,6 +3832,71 @@ const definitions = [
3833
3832
  ],
3834
3833
  onEvent: tuya.onEventSetTime,
3835
3834
  },
3835
+ {
3836
+ fingerprint: tuya.fingerprint('TS0601', ['_TZE200_viy9ihs7']),
3837
+ model: 'ZWT198',
3838
+ vendor: 'TuYa',
3839
+ description: 'ONNDO smart thermostat',
3840
+ fromZigbee: [tuya.fz.datapoints],
3841
+ toZigbee: [tuya.tz.datapoints],
3842
+ onEvent: tuya.onEvent({ timeStart: '2000' }),
3843
+ configure: tuya.configureMagicPacket,
3844
+ exposes: [
3845
+ e.child_lock(),
3846
+ e.climate()
3847
+ .withSystemMode(['off', 'heat'], ea.STATE_SET)
3848
+ .withPreset(['auto', 'manual'])
3849
+ .withSetpoint('current_heating_setpoint', 5, 35, 0.5, ea.STATE_SET)
3850
+ .withRunningState(['idle', 'heat'], ea.STATE)
3851
+ .withLocalTemperature(ea.STATE)
3852
+ .withLocalTemperatureCalibration(-9.9, 9.9, 0.1, ea.STATE_SET),
3853
+ e.binary('frost_protection', ea.STATE_SET, 'ON', 'OFF')
3854
+ .withDescription('Antifreeze function'),
3855
+ e.numeric('upper_temp', ea.STATE_SET).withUnit('°C').withValueMax(95)
3856
+ .withValueMin(15).withValueStep(1).withPreset('default', 60, 'Default value')
3857
+ .withDescription('Maximum upper temperature'),
3858
+ e.numeric('deadzone_temperature', ea.STATE_SET).withUnit('°C').withValueMax(10)
3859
+ .withValueMin(0.5).withValueStep(0.5).withPreset('default', 1, 'Default value')
3860
+ .withDescription('The delta between local_temperature and current_heating_setpoint to trigger Heat'),
3861
+ // Not working yet:
3862
+ // e.enum('schedule_mode', ea.STATE_SET, ['disabled','weekday/sat+sun','weekday+sat/sun','7day'])
3863
+ // .withDescription('Schedule mode')
3864
+ ],
3865
+ meta: {
3866
+ tuyaDatapoints: [
3867
+ [1, 'system_mode', tuya.valueConverterBasic.lookup({ 'heat': true, 'off': false })],
3868
+ [2, 'current_heating_setpoint', tuya.valueConverter.divideBy10],
3869
+ [3, 'local_temperature', tuya.valueConverter.divideBy10],
3870
+ [4, 'preset', tuya.valueConverterBasic.lookup({ 'auto': tuya.enum(0), 'manual': tuya.enum(1) })],
3871
+ [9, 'child_lock', tuya.valueConverter.lockUnlock],
3872
+ [15, 'upper_temp', tuya.valueConverter.divideBy10],
3873
+ [19, 'local_temperature_calibration', tuya.valueConverter.divideBy10],
3874
+ [101, 'running_state', tuya.valueConverterBasic.lookup({ 'heat': tuya.enum(1), 'idle': tuya.enum(0) })],
3875
+ [102, 'frost_protection', tuya.valueConverter.onOff],
3876
+ [104, 'schedule_mode', tuya.valueConverterBasic.lookup({ 'disabled': 0, 'weekday/sat+sun': 1, 'weekday+sat/sun': 2, '7day': 3 })],
3877
+ [107, 'deadzone_temperature', tuya.valueConverter.divideBy10],
3878
+ // These are the schedule values in bytes, 8 periods in total (4 bytes per period).
3879
+ // For each period:
3880
+ // 1st byte: hour
3881
+ // 2nd byte: minute
3882
+ // 3rd, 4rd bytes: temperature multiplied by 10
3883
+ // Last 2 periods are ignored if schedule_mode is 7day. When schedule_mode is disabled,
3884
+ // scheduling can't be configured at all.
3885
+ // For example, if schedule_mode is weekday/sat+sun and this byte array is received:
3886
+ // [6,10,1,144,8,10,0,170,11,40,0,170,12,40,0,170,17,10,0,230,22,10,0,170,8,5,0,200,23,0,0,160]
3887
+ // Then the schedule is:
3888
+ // Mon-Fri: 6:10 --> 40C, 8:10 --> 17C, 11:40 --> 17C, 12:40 --> 17C, 17:10 --> 23C, 22:10 --> 17C
3889
+ // Sat-Sun: 8:05 --> 20C, 23:00 --> 16C
3890
+ // I wasn't able to find a proper converter or to create one, so i commented it out
3891
+ // [109, 'dp109', tuya.valueConverter.raw],
3892
+ // unmapped DPs, still need to figure out what they do
3893
+ // [103, 'dp103', tuya.valueConverter.trueFalse1],
3894
+ // [105, 'dp105', tuya.valueConverter.trueFalse1],
3895
+ // [110, 'dp110', tuya.valueConverter.raw],
3896
+ // [111, 'dp111', tuya.valueConverter.trueFalse1]
3897
+ ],
3898
+ },
3899
+ },
3836
3900
  {
3837
3901
  fingerprint: tuya.fingerprint('TS0222', ['_TZ3000_kky16aay']),
3838
3902
  model: 'TS0222_temperature_humidity',