zigbee-herdsman-converters 15.0.22 → 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 +1 -3
- package/devices/ajax_online.js +7 -0
- package/devices/cleverio.js +36 -0
- package/devices/custom_devices_diy.js +1 -1
- package/devices/ewelink.js +21 -0
- package/devices/halemeier.js +7 -0
- package/devices/heiman.js +14 -0
- package/devices/legrand.js +11 -3
- package/devices/lidl.js +44 -27
- package/devices/nue_3a.js +2 -0
- package/devices/philips.js +397 -791
- package/devices/schwaiger.js +7 -0
- package/devices/sinope.js +67 -0
- package/devices/tuya.js +19 -2
- package/devices/xiaomi.js +3 -0
- package/lib/exposes.js +1 -0
- package/lib/philips.js +415 -0
- package/lib/utils.js +12 -0
- package/package.json +2 -2
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
|
];
|
|
@@ -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
|
+
];
|
|
@@ -148,7 +148,7 @@ const fzLocal = {
|
|
|
148
148
|
type: ['attributeReport', 'readResponse'],
|
|
149
149
|
convert: (model, msg, publish, options, meta) => {
|
|
150
150
|
const result = {linkquality: msg.linkquality};
|
|
151
|
-
if (msg.data['4919']) result['transmit_power'] = msg.data['4919']
|
|
151
|
+
if (msg.data['4919']) result['transmit_power'] = msg.data['4919'];
|
|
152
152
|
return result;
|
|
153
153
|
},
|
|
154
154
|
},
|
package/devices/ewelink.js
CHANGED
|
@@ -4,6 +4,18 @@ const reporting = require('../lib/reporting');
|
|
|
4
4
|
const extend = require('../lib/extend');
|
|
5
5
|
const e = exposes.presets;
|
|
6
6
|
|
|
7
|
+
const fzLocal = {
|
|
8
|
+
WS01_rain: {
|
|
9
|
+
cluster: 'ssIasZone',
|
|
10
|
+
type: 'commandStatusChangeNotification',
|
|
11
|
+
convert: (model, msg, publish, options, meta) => {
|
|
12
|
+
const zoneStatus = msg.data.zonestatus;
|
|
13
|
+
if (msg.endpoint.ID != 1) return;
|
|
14
|
+
return {rain: (zoneStatus & 1) > 0};
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
|
|
7
19
|
module.exports = [
|
|
8
20
|
{
|
|
9
21
|
zigbeeModel: ['SA-003-Zigbee'],
|
|
@@ -160,4 +172,13 @@ module.exports = [
|
|
|
160
172
|
device.skipDefaultResponse = true;
|
|
161
173
|
},
|
|
162
174
|
},
|
|
175
|
+
{
|
|
176
|
+
zigbeeModel: ['WS01'],
|
|
177
|
+
model: 'WS01',
|
|
178
|
+
vendor: 'eWeLink',
|
|
179
|
+
description: 'Rainfall sensor',
|
|
180
|
+
fromZigbee: [fzLocal.WS01_rain],
|
|
181
|
+
toZigbee: [],
|
|
182
|
+
exposes: [e.rain()],
|
|
183
|
+
},
|
|
163
184
|
];
|
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
|
@@ -531,7 +531,7 @@ module.exports = [
|
|
|
531
531
|
model: 'HG06106B',
|
|
532
532
|
vendor: 'Lidl',
|
|
533
533
|
description: 'Livarno Lux E14 candle RGB',
|
|
534
|
-
...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true}),
|
|
534
|
+
...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
535
535
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
536
536
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
537
537
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -542,7 +542,8 @@ module.exports = [
|
|
|
542
542
|
model: '14153806L',
|
|
543
543
|
vendor: 'Lidl',
|
|
544
544
|
description: 'Livarno smart LED ceiling light',
|
|
545
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
545
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
546
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
546
547
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
547
548
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
548
549
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -553,7 +554,8 @@ module.exports = [
|
|
|
553
554
|
model: '14156506L',
|
|
554
555
|
vendor: 'Lidl',
|
|
555
556
|
description: 'Livarno Lux smart LED mood light',
|
|
556
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
557
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
558
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
557
559
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
558
560
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
559
561
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -564,7 +566,8 @@ module.exports = [
|
|
|
564
566
|
model: '14156408L',
|
|
565
567
|
vendor: 'Lidl',
|
|
566
568
|
description: 'Livarno Lux smart LED ceiling light',
|
|
567
|
-
...extend.
|
|
569
|
+
...extend.light_onoff_brightness_colortemp(
|
|
570
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
568
571
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
569
572
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
570
573
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
@@ -575,7 +578,8 @@ module.exports = [
|
|
|
575
578
|
model: 'HG08010',
|
|
576
579
|
vendor: 'Lidl',
|
|
577
580
|
description: 'Livarno Home outdoor spotlight',
|
|
578
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
581
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
582
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
579
583
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
580
584
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
581
585
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -586,7 +590,8 @@ module.exports = [
|
|
|
586
590
|
model: 'HG08008',
|
|
587
591
|
vendor: 'Lidl',
|
|
588
592
|
description: 'Livarno Home LED ceiling light',
|
|
589
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
593
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
594
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
590
595
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
591
596
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
592
597
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -597,7 +602,8 @@ module.exports = [
|
|
|
597
602
|
model: 'HG08007',
|
|
598
603
|
vendor: 'TuYa',
|
|
599
604
|
description: 'Livarno Home outdoor LED band',
|
|
600
|
-
extend: extend.light_onoff_brightness_colortemp_color(
|
|
605
|
+
extend: extend.light_onoff_brightness_colortemp_color(
|
|
606
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
601
607
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
602
608
|
},
|
|
603
609
|
{
|
|
@@ -605,7 +611,8 @@ module.exports = [
|
|
|
605
611
|
model: '14158704L',
|
|
606
612
|
vendor: 'Lidl',
|
|
607
613
|
description: 'Livarno Home LED floor lamp, RGBW',
|
|
608
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
614
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
615
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
609
616
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
610
617
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
611
618
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -616,7 +623,8 @@ module.exports = [
|
|
|
616
623
|
model: '14158804L',
|
|
617
624
|
vendor: 'Lidl',
|
|
618
625
|
description: 'Livarno Home LED desk lamp RGBW',
|
|
619
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
626
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
627
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
620
628
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
621
629
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
622
630
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -627,7 +635,8 @@ module.exports = [
|
|
|
627
635
|
model: 'HG07834A',
|
|
628
636
|
vendor: 'Lidl',
|
|
629
637
|
description: 'Livarno Lux GU10 spot RGB',
|
|
630
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
638
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
639
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
631
640
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
632
641
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
633
642
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -639,7 +648,8 @@ module.exports = [
|
|
|
639
648
|
model: 'HG07834B',
|
|
640
649
|
vendor: 'Lidl',
|
|
641
650
|
description: 'Livarno Lux E14 candle RGB',
|
|
642
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
651
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
652
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
643
653
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
644
654
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
645
655
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -650,7 +660,8 @@ module.exports = [
|
|
|
650
660
|
model: 'HG08131C',
|
|
651
661
|
vendor: 'Lidl',
|
|
652
662
|
description: 'Livarno Home outdoor E27 bulb in set with flare',
|
|
653
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
663
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
664
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
654
665
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
655
666
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
656
667
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -661,7 +672,7 @@ module.exports = [
|
|
|
661
672
|
model: 'HG06106A',
|
|
662
673
|
vendor: 'Lidl',
|
|
663
674
|
description: 'Livarno Lux GU10 spot RGB',
|
|
664
|
-
...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true}),
|
|
675
|
+
...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
665
676
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
666
677
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
667
678
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -683,7 +694,8 @@ module.exports = [
|
|
|
683
694
|
model: 'HG07834C',
|
|
684
695
|
vendor: 'Lidl',
|
|
685
696
|
description: 'Livarno Lux E27 bulb RGB',
|
|
686
|
-
...extend.light_onoff_brightness_colortemp_color(
|
|
697
|
+
...extend.light_onoff_brightness_colortemp_color(
|
|
698
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
687
699
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
688
700
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
689
701
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -694,7 +706,7 @@ module.exports = [
|
|
|
694
706
|
model: 'HG06492A',
|
|
695
707
|
vendor: 'Lidl',
|
|
696
708
|
description: 'Livarno Lux GU10 spot CCT',
|
|
697
|
-
...extend.light_onoff_brightness_colortemp({disableColorTempStartup: true}),
|
|
709
|
+
...extend.light_onoff_brightness_colortemp({disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
698
710
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
699
711
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
700
712
|
},
|
|
@@ -704,7 +716,8 @@ module.exports = [
|
|
|
704
716
|
model: 'HG06492B',
|
|
705
717
|
vendor: 'Lidl',
|
|
706
718
|
description: 'Livarno Lux E14 candle CCT',
|
|
707
|
-
...extend.light_onoff_brightness_colortemp(
|
|
719
|
+
...extend.light_onoff_brightness_colortemp(
|
|
720
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 500]}),
|
|
708
721
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
709
722
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
710
723
|
},
|
|
@@ -714,7 +727,7 @@ module.exports = [
|
|
|
714
727
|
model: 'HG06492C',
|
|
715
728
|
vendor: 'Lidl',
|
|
716
729
|
description: 'Livarno Lux E27 bulb CCT',
|
|
717
|
-
...extend.light_onoff_brightness_colortemp({disableColorTempStartup: true}),
|
|
730
|
+
...extend.light_onoff_brightness_colortemp({disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
718
731
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
719
732
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
720
733
|
},
|
|
@@ -725,7 +738,7 @@ module.exports = [
|
|
|
725
738
|
model: '14147206L',
|
|
726
739
|
vendor: 'Lidl',
|
|
727
740
|
description: 'Livarno Lux ceiling light',
|
|
728
|
-
...extend.light_onoff_brightness_colortemp({disableColorTempStartup: true}),
|
|
741
|
+
...extend.light_onoff_brightness_colortemp({disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
729
742
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
730
743
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
731
744
|
},
|
|
@@ -735,7 +748,8 @@ module.exports = [
|
|
|
735
748
|
model: '14153905L',
|
|
736
749
|
vendor: 'Lidl',
|
|
737
750
|
description: 'Livarno Home LED floor lamp',
|
|
738
|
-
...extend.light_onoff_brightness_colortemp(
|
|
751
|
+
...extend.light_onoff_brightness_colortemp(
|
|
752
|
+
{disableColorTempStartup: true, disablePowerOnBehavior: true, colorTempRange: [153, 333]}),
|
|
739
753
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
740
754
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
741
755
|
},
|
|
@@ -745,7 +759,7 @@ module.exports = [
|
|
|
745
759
|
model: '14148906L',
|
|
746
760
|
vendor: 'Lidl',
|
|
747
761
|
description: 'Livarno Lux mood light RGB+CCT',
|
|
748
|
-
...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true}),
|
|
762
|
+
...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
749
763
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
750
764
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
751
765
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -757,7 +771,7 @@ module.exports = [
|
|
|
757
771
|
model: '14149505L/14149506L',
|
|
758
772
|
vendor: 'Lidl',
|
|
759
773
|
description: 'Livarno Lux light bar RGB+CCT (black/white)',
|
|
760
|
-
...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true}),
|
|
774
|
+
...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
761
775
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
762
776
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
763
777
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
@@ -780,7 +794,7 @@ module.exports = [
|
|
|
780
794
|
model: 'HG06463A',
|
|
781
795
|
vendor: 'Lidl',
|
|
782
796
|
description: 'Livarno Lux E27 ST64 filament bulb',
|
|
783
|
-
extend: extend.light_onoff_brightness({disableEffect: true}),
|
|
797
|
+
extend: extend.light_onoff_brightness({disableEffect: true, disablePowerOnBehavior: true}),
|
|
784
798
|
meta: {turnsOffAtBrightness1: false},
|
|
785
799
|
},
|
|
786
800
|
{
|
|
@@ -788,7 +802,7 @@ module.exports = [
|
|
|
788
802
|
model: 'HG06463B',
|
|
789
803
|
vendor: 'Lidl',
|
|
790
804
|
description: 'Livarno Lux E27 G95 filament bulb',
|
|
791
|
-
extend: extend.light_onoff_brightness({disableEffect: true}),
|
|
805
|
+
extend: extend.light_onoff_brightness({disableEffect: true, disablePowerOnBehavior: true}),
|
|
792
806
|
meta: {turnsOffAtBrightness1: false},
|
|
793
807
|
},
|
|
794
808
|
{
|
|
@@ -811,7 +825,7 @@ module.exports = [
|
|
|
811
825
|
model: 'HG06462A',
|
|
812
826
|
vendor: 'Lidl',
|
|
813
827
|
description: 'Livarno Lux E27 A60 filament bulb',
|
|
814
|
-
extend: extend.light_onoff_brightness({disableEffect: true}),
|
|
828
|
+
extend: extend.light_onoff_brightness({disableEffect: true, disablePowerOnBehavior: true}),
|
|
815
829
|
meta: {turnsOffAtBrightness1: false},
|
|
816
830
|
},
|
|
817
831
|
{
|
|
@@ -831,7 +845,8 @@ module.exports = [
|
|
|
831
845
|
model: 'HG08633',
|
|
832
846
|
vendor: 'Lidl',
|
|
833
847
|
description: 'Livarno gardenspot RGB',
|
|
834
|
-
extend: extend.light_onoff_brightness_colortemp_color({supportsHS: true, preferHS: true, colorTempRange: [153, 500]
|
|
848
|
+
extend: extend.light_onoff_brightness_colortemp_color({supportsHS: true, preferHS: true, colorTempRange: [153, 500],
|
|
849
|
+
disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
835
850
|
meta: {enhancedHue: false},
|
|
836
851
|
},
|
|
837
852
|
{
|
|
@@ -839,7 +854,8 @@ module.exports = [
|
|
|
839
854
|
model: 'HG08383B',
|
|
840
855
|
vendor: 'Lidl',
|
|
841
856
|
description: 'Livarno outdoor LED light chain',
|
|
842
|
-
extend: extend.light_onoff_brightness_colortemp_color(
|
|
857
|
+
extend: extend.light_onoff_brightness_colortemp_color(
|
|
858
|
+
{colorTempRange: [153, 500], disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
843
859
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
844
860
|
},
|
|
845
861
|
{
|
|
@@ -903,7 +919,8 @@ module.exports = [
|
|
|
903
919
|
model: 'HG08383A',
|
|
904
920
|
vendor: 'Lidl',
|
|
905
921
|
description: 'Livarno outdoor LED light chain',
|
|
906
|
-
extend: extend.light_onoff_brightness_colortemp_color(
|
|
922
|
+
extend: extend.light_onoff_brightness_colortemp_color(
|
|
923
|
+
{colorTempRange: [153, 500], disableColorTempStartup: true, disablePowerOnBehavior: true}),
|
|
907
924
|
meta: {applyRedFix: true, enhancedHue: false},
|
|
908
925
|
},
|
|
909
926
|
];
|
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
|
];
|