zigbee-herdsman-converters 15.0.23 → 15.0.24

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/devices/adeo.js CHANGED
@@ -234,8 +234,7 @@ module.exports = [
234
234
  model: 'LDSENK02F',
235
235
  description: '10A/16A EU smart plug',
236
236
  vendor: 'ADEO',
237
- fromZigbee: [fz.on_off, fz.electrical_measurement, fz.metering, fz.ignore_genLevelCtrl_report],
238
- toZigbee: [tz.on_off],
237
+ extend: extend.switch({exposes: [e.power(), e.energy()], fromZigbee: [fz.electrical_measurement, fz.metering]}),
239
238
  configure: async (device, coordinatorEndpoint, logger) => {
240
239
  const endpoint = device.getEndpoint(1);
241
240
  await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff', 'haElectricalMeasurement', 'seMetering']);
@@ -244,7 +243,6 @@ module.exports = [
244
243
  await reporting.currentSummDelivered(endpoint);
245
244
  await reporting.readMeteringMultiplierDivisor(endpoint);
246
245
  },
247
- exposes: [e.power(), e.switch(), e.energy()],
248
246
  },
249
247
  {
250
248
  zigbeeModel: ['LDSENK10'],
@@ -38,4 +38,11 @@ module.exports = [
38
38
  extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], disableColorTempStartup: true}),
39
39
  meta: {applyRedFix: true, enhancedHue: false},
40
40
  },
41
+ {
42
+ zigbeeModel: ['ZB-CCT_Filament'],
43
+ model: 'ZB-CCT_Filament',
44
+ vendor: 'Ajax Online',
45
+ description: 'Zigbee LED filament light dimmable E27, edison ST64, flame 2200K',
46
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
47
+ },
41
48
  ];
@@ -0,0 +1,36 @@
1
+ const exposes = require('../lib/exposes');
2
+ const fz = require('../converters/fromZigbee');
3
+ const tz = require('../converters/toZigbee');
4
+ const reporting = require('../lib/reporting');
5
+ const tuya = require('../lib/tuya');
6
+ const e = exposes.presets;
7
+ const ea = exposes.access;
8
+
9
+ module.exports = [
10
+ {
11
+ fingerprint: [{modelID: 'TS0219', manufacturerName: '_TZ3000_vdfwjopk'}],
12
+ model: 'SA100',
13
+ vendor: 'Cleverio',
14
+ description: 'Smart siren',
15
+ fromZigbee: [fz.ts0216_siren, fz.ias_alarm_only_alarm_1, fz.power_source],
16
+ toZigbee: [tz.warning, tz.ts0216_volume],
17
+ exposes: [e.warning(), exposes.binary('alarm', ea.STATE, true, false),
18
+ exposes.numeric('volume', ea.ALL).withValueMin(0).withValueMax(100).withDescription('Volume of siren')],
19
+ meta: {disableDefaultResponse: true},
20
+ configure: async (device, coordinatorEndpoint) => {
21
+ const endpoint = device.getEndpoint(1);
22
+ const bindClusters = ['genPowerCfg'];
23
+ await reporting.bind(endpoint, coordinatorEndpoint, bindClusters);
24
+ },
25
+ },
26
+ {
27
+ fingerprint: [{modelID: 'TS0041A', manufacturerName: '_TYZB01_4qw4rl1u'}],
28
+ model: 'SB100',
29
+ vendor: 'Cleverio',
30
+ description: 'Wireless switch with 1 button',
31
+ exposes: [e.battery(), e.action(['single', 'double', 'hold'])],
32
+ fromZigbee: [fz.tuya_on_off_action, fz.battery],
33
+ toZigbee: [],
34
+ configure: tuya.configureMagicPacket,
35
+ },
36
+ ];
@@ -8,4 +8,11 @@ module.exports = [
8
8
  description: '1-channel smart receiver',
9
9
  extend: extend.light_onoff_brightness(),
10
10
  },
11
+ {
12
+ zigbeeModel: ['HA-ZM12/24-mw2'],
13
+ model: 'HA-ZM12/24-mw2',
14
+ vendor: 'Halemeier',
15
+ description: 'MultiWhite 1-channel smart receiver 12V',
16
+ extend: extend.light_onoff_brightness_colortemp({colorTempRange: [160, 450]}),
17
+ },
11
18
  ];
package/devices/heiman.js CHANGED
@@ -737,6 +737,20 @@ module.exports = [
737
737
  },
738
738
  exposes: [e.battery(), e.action(['pressed']), e.battery_low(), e.tamper()],
739
739
  },
740
+ {
741
+ fingerprint: [{modelID: 'DoorBell-EF-3.0', manufacturerName: 'HEIMAN'}],
742
+ model: 'HS2SS-E_V03',
743
+ vendor: 'HEIMAN',
744
+ description: 'Smart doorbell button',
745
+ fromZigbee: [fz.battery, fz.heiman_doorbell_button, fz.ignore_basic_report],
746
+ toZigbee: [],
747
+ configure: async (device, coordinatorEndpoint, logger) => {
748
+ const endpoint = device.getEndpoint(1);
749
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg']);
750
+ await reporting.batteryPercentageRemaining(endpoint);
751
+ },
752
+ exposes: [e.battery(), e.action(['pressed']), e.battery_low(), e.tamper()],
753
+ },
740
754
  {
741
755
  zigbeeModel: ['HS3AQ-EFA-3.0'],
742
756
  model: 'HS3AQ',
@@ -135,9 +135,17 @@ module.exports = [
135
135
  allowing to see it in the dark`)],
136
136
  },
137
137
  {
138
- // swbuildid 001a requires coverInverted: https://github.com/Koenkk/zigbee2mqtt/issues/15101#issuecomment-1356787490
139
- fingerprint: [{modelID: ' Shutter switch with neutral\u0000\u0000\u0000', softwareBuildID: '001a'}],
140
- model: '067776_001a',
138
+ // Some require coverInverted:
139
+ // - https://github.com/Koenkk/zigbee2mqtt/issues/15101#issuecomment-1356787490
140
+ // - https://github.com/Koenkk/zigbee2mqtt/issues/16090
141
+ fingerprint: [
142
+ {modelID: ' Shutter switch with neutral\u0000\u0000\u0000', softwareBuildID: '001a'},
143
+ {modelID: ' Shutter switch with neutral\u0000\u0000\u0000', softwareBuildID:
144
+ '00d\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u00000\u0012\u0002\u0000' +
145
+ '\t\u0007\u0000\u0018\u0002\u0003\b\u0000 \u00132\u0000\u0000\u0000\u0000X\u0002\n\u0000\u0000\u0000\u0000d' +
146
+ '\u0017\u0000\u0018\u0000'},
147
+ ],
148
+ model: '067776_inverted',
141
149
  vendor: 'Legrand',
142
150
  description: 'Netatmo wired shutter switch',
143
151
  fromZigbee: [fz.identify, fz.ignore_basic_report, fz.legrand_binary_input_moving, fz.cover_position_tilt],
package/devices/lidl.js CHANGED
@@ -566,7 +566,7 @@ module.exports = [
566
566
  model: '14156408L',
567
567
  vendor: 'Lidl',
568
568
  description: 'Livarno Lux smart LED ceiling light',
569
- ...extend.light_onoff_brightness_colortemp_color(
569
+ ...extend.light_onoff_brightness_colortemp(
570
570
  {disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
571
571
  meta: {applyRedFix: true, enhancedHue: false},
572
572
  configure: async (device, coordinatorEndpoint, logger) => {
package/devices/nue_3a.js CHANGED
@@ -391,6 +391,8 @@ module.exports = [
391
391
  await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ['genOnOff']);
392
392
  await reporting.bind(device.getEndpoint(3), coordinatorEndpoint, ['genOnOff']);
393
393
  await reporting.bind(device.getEndpoint(4), coordinatorEndpoint, ['genOnOff']);
394
+ device.powerSource = 'Mains (single phase)';
395
+ device.save();
394
396
  },
395
397
  },
396
398
  ];