zigbee-herdsman-converters 14.0.432 → 14.0.435

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.
@@ -3430,7 +3430,7 @@ const converters = {
3430
3430
  // upscale to 1000
3431
3431
  let newValue;
3432
3432
  let dp = tuya.dataPoints.dimmerLevel;
3433
- if (meta.device.manufacturerName === '_TZE200_9i9dt8is' || meta.device.manufacturerName === '_TZE200_dfxkcots') {
3433
+ if (['_TZE200_3p5ydos3', '_TZE200_9i9dt8is', '_TZE200_dfxkcots'].includes(meta.device.manufacturerName)) {
3434
3434
  dp = tuya.dataPoints.eardaDimmerLevel;
3435
3435
  }
3436
3436
  if (key === 'brightness_min') {
@@ -44,6 +44,13 @@ module.exports = [
44
44
  return {'default': 2};
45
45
  },
46
46
  },
47
+ {
48
+ zigbeeModel: ['AD-E14RGBW3001'],
49
+ model: '81895',
50
+ vendor: 'AduroSmart',
51
+ description: 'ERIA E14 Candle Color',
52
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
53
+ },
47
54
  {
48
55
  zigbeeModel: ['Adurolight_NCC'],
49
56
  model: '81825',
@@ -11,10 +11,11 @@ module.exports = [
11
11
  {
12
12
  // eTRV0100 is the same as Hive TRV001 and Popp eT093WRO. If implementing anything, please consider
13
13
  // changing those two too.
14
- zigbeeModel: ['eTRV0100'],
14
+ zigbeeModel: ['eTRV0100', 'eTRV0101'],
15
15
  model: '014G2461',
16
16
  vendor: 'Danfoss',
17
17
  description: 'Ally thermostat',
18
+ whiteLabel: [{vendor: 'Danfoss', model: '014G2463'}],
18
19
  fromZigbee: [fz.battery, fz.thermostat, fz.thermostat_weekly_schedule, fz.hvac_user_interface, fz.danfoss_thermostat],
19
20
  toZigbee: [tz.danfoss_thermostat_occupied_heating_setpoint, tz.thermostat_local_temperature, tz.danfoss_mounted_mode_active,
20
21
  tz.danfoss_mounted_mode_control, tz.danfoss_thermostat_vertical_orientation, tz.danfoss_algorithm_scale_factor,
@@ -672,4 +672,11 @@ module.exports = [
672
672
  description: 'Zigbee 3.0 smart home switch',
673
673
  extend: gledoptoExtend.switch(),
674
674
  },
675
+ {
676
+ zigbeeModel: ['GL-B-004P'],
677
+ model: 'GL-B-004P',
678
+ vendor: 'Gledopto',
679
+ description: 'Filament LED light bulb E27 G95 7W pro',
680
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
681
+ },
675
682
  ];
@@ -795,6 +795,15 @@ module.exports = [
795
795
  extend: hueExtend.light_onoff_brightness(),
796
796
  ota: ota.zigbeeOTA,
797
797
  },
798
+ {
799
+ zigbeeModel: ['LWG003'],
800
+ model: '9290019536',
801
+ vendor: 'Philips',
802
+ description: 'Hue white GU10',
803
+ meta: {turnsOffAtBrightness1: true},
804
+ extend: hueExtend.light_onoff_brightness(),
805
+ ota: ota.zigbeeOTA,
806
+ },
798
807
  {
799
808
  zigbeeModel: ['LWG004'],
800
809
  model: 'LWG004',
@@ -0,0 +1,11 @@
1
+ const extend = require('../lib/extend');
2
+
3
+ module.exports = [
4
+ {
5
+ zigbeeModel: ['020B0B'],
6
+ model: '020B0B',
7
+ vendor: 'Fischer & Honsel',
8
+ description: 'LED Tischleuchte Beta Zig',
9
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 370]}),
10
+ },
11
+ ];
package/devices/trust.js CHANGED
@@ -26,7 +26,7 @@ module.exports = [
26
26
  vendor: 'Trust',
27
27
  description: 'Remote control',
28
28
  fromZigbee: [fz.command_on, fz.command_off_with_effect, fz.legacy.ZYCT202_stop, fz.legacy.ZYCT202_up_down],
29
- exposes: [e.action(['on', 'off', 'stop', 'brightness_stop', 'brightness_move_up', 'brightness_move_down'])],
29
+ exposes: [e.action(['on', 'off', 'stop', 'brightness_stop', 'brightness_move_up', 'brightness_move_down']), e.action_group()],
30
30
  toZigbee: [],
31
31
  // Device does not support battery: https://github.com/Koenkk/zigbee2mqtt/issues/5928
32
32
  },
package/devices/tuya.js CHANGED
@@ -43,6 +43,18 @@ const tzLocal = {
43
43
  },
44
44
  };
45
45
 
46
+ const fzLocal = {
47
+ TS0201_battery: {
48
+ cluster: 'genPowerCfg',
49
+ type: ['attributeReport', 'readResponse'],
50
+ convert: (model, msg, publish, options, meta) => {
51
+ // https://github.com/Koenkk/zigbee2mqtt/issues/11470
52
+ if (msg.data.batteryVoltage < 30) return;
53
+ return fz.battery(model, msg, publish, options, meta);
54
+ },
55
+ },
56
+ };
57
+
46
58
  module.exports = [
47
59
  {
48
60
  zigbeeModel: ['TS0204'],
@@ -300,6 +312,7 @@ module.exports = [
300
312
  {modelID: 'TS0202', manufacturerName: '_TZ3000_bsvqrxru'},
301
313
  {modelID: 'TS0202', manufacturerName: '_TYZB01_tv3wxhcz'},
302
314
  {modelID: 'TS0202', manufacturerName: '_TYZB01_hqbdru35'},
315
+ {modelID: 'TS0202', manufacturerName: '_TZ3000_otvn3lne'},
303
316
  {modelID: 'TS0202', manufacturerName: '_TZ3000_tiwq83wk'},
304
317
  {modelID: 'TS0202', manufacturerName: '_TZ3000_ykwcwxmz'},
305
318
  {modelID: 'WHD02', manufacturerName: '_TZ3000_hktqahrq'}],
@@ -411,7 +424,12 @@ module.exports = [
411
424
  vendor: 'TuYa',
412
425
  description: 'Socket module',
413
426
  extend: extend.switch(),
414
- whiteLabel: [{vendor: 'LoraTap', model: 'RR400ZB'}],
427
+ whiteLabel: [{vendor: 'LoraTap', model: 'RR400ZB'}, {vendor: 'LoraTap', model: 'SP400ZB'}],
428
+ configure: async (device, coordinatorEndpoint, logger) => {
429
+ const endpoint = device.getEndpoint(1);
430
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
431
+ await reporting.onOff(endpoint);
432
+ },
415
433
  },
416
434
  {
417
435
  fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_wxtp7c5y'},
@@ -649,7 +667,7 @@ module.exports = [
649
667
  vendor: 'TuYa',
650
668
  description: 'Temperature & humidity sensor with display',
651
669
  whiteLabel: [{vendor: 'BlitzWolf', model: 'BW-IS4'}],
652
- fromZigbee: [fz.battery, fz.temperature, fz.humidity],
670
+ fromZigbee: [fzLocal.TS0201_battery, fz.temperature, fz.humidity],
653
671
  toZigbee: [],
654
672
  exposes: [e.battery(), e.temperature(), e.humidity(), e.battery_voltage()],
655
673
  },
package/lib/exposes.js CHANGED
@@ -503,6 +503,7 @@ module.exports = {
503
503
  presets: {
504
504
  ac_frequency: () => new Numeric('ac_frequency', access.STATE).withUnit('Hz').withDescription('Measured electrical AC frequency'),
505
505
  action: (values) => new Enum('action', access.STATE, values).withDescription('Triggered action (e.g. a button click)'),
506
+ action_group: (values) => new Numeric('action_group', access.STATE).withDescription('Group where the action was triggered on'),
506
507
  angle: (name) => new Numeric(name, access.STATE).withValueMin(-360).withValueMax(360).withUnit('°'),
507
508
  angle_axis: (name) => new Numeric(name, access.STATE).withValueMin(-90).withValueMax(90).withUnit('°'),
508
509
  aqi: () => new Numeric('aqi', access.STATE).withDescription('Air quality index'),
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.432",
3
+ "version": "14.0.435",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.432",
3
+ "version": "14.0.435",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [