zigbee-herdsman-converters 15.0.23 → 15.0.25
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 +1 -3
- package/devices/ajax_online.js +7 -0
- package/devices/bosch.js +1 -1
- package/devices/cleverio.js +36 -0
- package/devices/halemeier.js +7 -0
- package/devices/heiman.js +14 -0
- package/devices/legrand.js +11 -3
- package/devices/lidl.js +1 -1
- package/devices/nue_3a.js +2 -0
- package/devices/philips.js +419 -792
- package/devices/samotech.js +16 -1
- package/devices/schwaiger.js +7 -0
- package/devices/sengled.js +11 -1
- package/devices/sinope.js +67 -0
- package/devices/sonoff.js +7 -12
- package/devices/tuya.js +32 -5
- package/devices/xiaomi.js +3 -0
- package/lib/philips.js +415 -0
- package/lib/utils.js +12 -0
- package/package.json +1 -1
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
|
-
|
|
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'],
|
package/devices/ajax_online.js
CHANGED
|
@@ -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
|
];
|
package/devices/bosch.js
CHANGED
|
@@ -410,7 +410,7 @@ const definition = [
|
|
|
410
410
|
exposes.climate()
|
|
411
411
|
.withLocalTemperature(ea.STATE)
|
|
412
412
|
.withSetpoint('occupied_heating_setpoint', 5, 30, 0.5)
|
|
413
|
-
.withLocalTemperatureCalibration(-
|
|
413
|
+
.withLocalTemperatureCalibration(-5, 5, 0.1)
|
|
414
414
|
.withSystemMode(['off', 'heat', 'auto'])
|
|
415
415
|
.withPiHeatingDemand(ea.STATE),
|
|
416
416
|
exposes.binary('boost', ea.ALL, 'ON', 'OFF')
|
|
@@ -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
|
+
];
|
package/devices/halemeier.js
CHANGED
|
@@ -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',
|
package/devices/legrand.js
CHANGED
|
@@ -135,9 +135,17 @@ module.exports = [
|
|
|
135
135
|
allowing to see it in the dark`)],
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
|
-
//
|
|
139
|
-
|
|
140
|
-
|
|
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.
|
|
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
|
];
|