zigbee-herdsman-converters 15.0.93 → 15.0.95
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/aldi.js +1 -38
- package/devices/gledopto.js +1 -1
- package/devices/iluminize.js +12 -0
- package/devices/lidl.js +1 -261
- package/devices/miboxer.js +0 -34
- package/devices/philips.js +8 -1
- package/devices/sinope.js +33 -2
- package/devices/tlwglobal.js +28 -0
- package/devices/tuya.js +111 -4
- package/index.js +16 -0
- package/lib/tuya.js +9 -1
- package/package.json +3 -3
- package/devices/garza.js +0 -11
- package/devices/mycket.js +0 -11
- package/devices/urlighting.js +0 -12
- /package/devices/{RMC002.js → bouffalo_lab.js} +0 -0
package/devices/aldi.js
CHANGED
|
@@ -1,45 +1,8 @@
|
|
|
1
1
|
const exposes = require('../lib/exposes');
|
|
2
|
-
const fz =
|
|
3
|
-
const tuya = require('../lib/tuya');
|
|
2
|
+
const fz = require('../converters/fromZigbee');
|
|
4
3
|
const e = exposes.presets;
|
|
5
4
|
|
|
6
5
|
module.exports = [
|
|
7
|
-
{
|
|
8
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_j0gtlepx'}],
|
|
9
|
-
model: 'L122FF63H11A5.0W',
|
|
10
|
-
vendor: 'Aldi',
|
|
11
|
-
description: 'LIGHTWAY smart home LED-lamp - spot',
|
|
12
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color(),
|
|
13
|
-
meta: {applyRedFix: true},
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_iivsrikg'}],
|
|
17
|
-
model: 'L122AA63H11A6.5W',
|
|
18
|
-
vendor: 'Aldi',
|
|
19
|
-
description: 'LIGHTWAY smart home LED-lamp - candle',
|
|
20
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color(),
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
fingerprint: [{modelID: 'TS0502B', manufacturerName: '_TZ3000_g1glzzfk'}],
|
|
24
|
-
model: 'F122SB62H22A4.5W',
|
|
25
|
-
vendor: 'Aldi',
|
|
26
|
-
description: 'LIGHTWAY smart home LED-lamp - filament',
|
|
27
|
-
extend: tuya.extend.light_onoff_brightness_colortemp(),
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_v1srfw9x'}],
|
|
31
|
-
model: 'C422AC11D41H140.0W',
|
|
32
|
-
vendor: 'Aldi',
|
|
33
|
-
description: 'MEGOS LED panel RGB+CCT 40W 3600lm 62 x 62 cm',
|
|
34
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color(),
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_gb5gaeca'}],
|
|
38
|
-
model: 'C422AC14D41H140.0W',
|
|
39
|
-
vendor: 'Aldi',
|
|
40
|
-
description: 'MEGOS LED panel RGB+CCT 40W 3600lm 30 x 120 cm',
|
|
41
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color(),
|
|
42
|
-
},
|
|
43
6
|
{
|
|
44
7
|
fingerprint: [{modelID: 'TS1001', manufacturerName: '_TZ3000_ztrfrcsu'}],
|
|
45
8
|
model: '141L100RC',
|
package/devices/gledopto.js
CHANGED
|
@@ -307,7 +307,7 @@ module.exports = [
|
|
|
307
307
|
vendor: 'Gledopto',
|
|
308
308
|
ota: ota.zigbeeOTA,
|
|
309
309
|
description: 'Zigbee LED Controller W (pro)',
|
|
310
|
-
extend: gledoptoExtend.light_onoff_brightness({noConfigure: true}),
|
|
310
|
+
extend: gledoptoExtend.light_onoff_brightness({noConfigure: true, disablePowerOnBehavior: false}),
|
|
311
311
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
312
312
|
await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
|
|
313
313
|
await configureReadModelID(device, coordinatorEndpoint, logger);
|
package/devices/iluminize.js
CHANGED
|
@@ -8,6 +8,18 @@ const e = exposes.presets;
|
|
|
8
8
|
const ea = exposes.access;
|
|
9
9
|
|
|
10
10
|
module.exports = [
|
|
11
|
+
{
|
|
12
|
+
zigbeeModel: ['5120.2210'],
|
|
13
|
+
model: '5120.2210',
|
|
14
|
+
vendor: 'iluminize',
|
|
15
|
+
description: 'Zigbee 3.0 actuator mini 1x 230V',
|
|
16
|
+
extend: extend.switch(),
|
|
17
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
18
|
+
const endpoint = device.getEndpoint(1);
|
|
19
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
20
|
+
await reporting.onOff(endpoint);
|
|
21
|
+
},
|
|
22
|
+
},
|
|
11
23
|
{
|
|
12
24
|
zigbeeModel: ['511.050'],
|
|
13
25
|
model: '511.050',
|
package/devices/lidl.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const exposes = require('../lib/exposes');
|
|
2
|
-
const fz =
|
|
2
|
+
const fz = require('../converters/fromZigbee');
|
|
3
3
|
const tz = require('../converters/toZigbee');
|
|
4
4
|
const reporting = require('../lib/reporting');
|
|
5
5
|
const e = exposes.presets;
|
|
@@ -607,16 +607,6 @@ module.exports = [
|
|
|
607
607
|
return {'l1': 1, 'l2': 2, 'l3': 3};
|
|
608
608
|
},
|
|
609
609
|
},
|
|
610
|
-
{
|
|
611
|
-
fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_riwp3k79'}, {manufacturerName: '_TZ3000_riwp3k79'}],
|
|
612
|
-
model: 'HG06104A',
|
|
613
|
-
vendor: 'Lidl',
|
|
614
|
-
description: 'Livarno Lux smart LED light strip 2.5m',
|
|
615
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({noConfigure: true}),
|
|
616
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
617
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
618
|
-
},
|
|
619
|
-
},
|
|
620
610
|
{
|
|
621
611
|
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_s8gkrkxk'}],
|
|
622
612
|
model: 'HG06467',
|
|
@@ -626,16 +616,6 @@ module.exports = [
|
|
|
626
616
|
fromZigbee: [fz.on_off, fz.silvercrest_smart_led_string],
|
|
627
617
|
exposes: [e.light_brightness_colorhs().setAccess('brightness', ea.STATE_SET).setAccess('color_hs', ea.STATE_SET)],
|
|
628
618
|
},
|
|
629
|
-
{
|
|
630
|
-
fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_odygigth'}],
|
|
631
|
-
model: 'HG06106B',
|
|
632
|
-
vendor: 'Lidl',
|
|
633
|
-
description: 'Livarno Lux E14 candle RGB',
|
|
634
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({noConfigure: true}),
|
|
635
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
636
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
637
|
-
},
|
|
638
|
-
},
|
|
639
619
|
{
|
|
640
620
|
fingerprint: [{modelID: 'TS0504B', manufacturerName: '_TZ3210_sroezl0s'}],
|
|
641
621
|
model: '14153806L',
|
|
@@ -646,205 +626,6 @@ module.exports = [
|
|
|
646
626
|
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
647
627
|
},
|
|
648
628
|
},
|
|
649
|
-
{
|
|
650
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_r0xgkft5'}],
|
|
651
|
-
model: '14156506L',
|
|
652
|
-
vendor: 'Lidl',
|
|
653
|
-
description: 'Livarno Lux smart LED mood light',
|
|
654
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
655
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
656
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
657
|
-
},
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
fingerprint: [{modelID: 'TS0502B', manufacturerName: '_TZ3210_c2iwpxf1'}],
|
|
661
|
-
model: '14156408L',
|
|
662
|
-
vendor: 'Lidl',
|
|
663
|
-
description: 'Livarno Lux smart LED ceiling light',
|
|
664
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
665
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
666
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
667
|
-
},
|
|
668
|
-
},
|
|
669
|
-
{
|
|
670
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_umi6vbsz'}],
|
|
671
|
-
model: 'HG08010',
|
|
672
|
-
vendor: 'Lidl',
|
|
673
|
-
description: 'Livarno Home outdoor spotlight',
|
|
674
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
675
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
676
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
677
|
-
},
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_p9ao60da'}],
|
|
681
|
-
model: 'HG08008',
|
|
682
|
-
vendor: 'Lidl',
|
|
683
|
-
description: 'Livarno Home LED ceiling light',
|
|
684
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
685
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
686
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
687
|
-
},
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_zbabx9wh'}],
|
|
691
|
-
model: 'HG08007',
|
|
692
|
-
vendor: 'TuYa',
|
|
693
|
-
description: 'Livarno Home outdoor LED band',
|
|
694
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
695
|
-
},
|
|
696
|
-
{
|
|
697
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_z1vlyufu'}],
|
|
698
|
-
model: '14158704L',
|
|
699
|
-
vendor: 'Lidl',
|
|
700
|
-
description: 'Livarno Home LED floor lamp, RGBW',
|
|
701
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
702
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
703
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
704
|
-
},
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_hxtfthp5'}],
|
|
708
|
-
model: '14158804L',
|
|
709
|
-
vendor: 'Lidl',
|
|
710
|
-
description: 'Livarno Home LED desk lamp RGBW',
|
|
711
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
712
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
713
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
714
|
-
},
|
|
715
|
-
},
|
|
716
|
-
{
|
|
717
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_quqaeew6'}],
|
|
718
|
-
model: 'HG07834A',
|
|
719
|
-
vendor: 'Lidl',
|
|
720
|
-
description: 'Livarno Lux GU10 spot RGB',
|
|
721
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
722
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
723
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
724
|
-
},
|
|
725
|
-
},
|
|
726
|
-
{
|
|
727
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_th6zqqy6'},
|
|
728
|
-
{modelID: 'TS0505B', manufacturerName: '_TZ3000_wr6g6olr'}],
|
|
729
|
-
model: 'HG07834B',
|
|
730
|
-
vendor: 'Lidl',
|
|
731
|
-
description: 'Livarno Lux E14 candle RGB',
|
|
732
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
733
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
734
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
735
|
-
},
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_q50zhdsc'}],
|
|
739
|
-
model: 'HG08131C',
|
|
740
|
-
vendor: 'Lidl',
|
|
741
|
-
description: 'Livarno Home outdoor E27 bulb in set with flare',
|
|
742
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
743
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
744
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
745
|
-
},
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_kdpxju99'}],
|
|
749
|
-
model: 'HG06106A',
|
|
750
|
-
vendor: 'Lidl',
|
|
751
|
-
description: 'Livarno Lux GU10 spot RGB',
|
|
752
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({noConfigure: true}),
|
|
753
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
754
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
755
|
-
},
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_dbou1ap4'}],
|
|
759
|
-
model: 'HG06106C',
|
|
760
|
-
vendor: 'Lidl',
|
|
761
|
-
description: 'Livarno Lux E27 bulb RGB',
|
|
762
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({noConfigure: true}),
|
|
763
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
764
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
765
|
-
},
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_qd7hej8u'}],
|
|
769
|
-
model: 'HG07834C',
|
|
770
|
-
vendor: 'Lidl',
|
|
771
|
-
description: 'Livarno Lux E27 bulb RGB',
|
|
772
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
773
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
774
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
775
|
-
},
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_el5kt5im'}],
|
|
779
|
-
model: 'HG06492A',
|
|
780
|
-
vendor: 'Lidl',
|
|
781
|
-
description: 'Livarno Lux GU10 spot CCT',
|
|
782
|
-
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], noConfigure: true}),
|
|
783
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
784
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
785
|
-
},
|
|
786
|
-
},
|
|
787
|
-
{
|
|
788
|
-
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_oborybow'}],
|
|
789
|
-
model: 'HG06492B',
|
|
790
|
-
vendor: 'Lidl',
|
|
791
|
-
description: 'Livarno Lux E14 candle CCT',
|
|
792
|
-
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], noConfigure: true}),
|
|
793
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
794
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
795
|
-
},
|
|
796
|
-
},
|
|
797
|
-
{
|
|
798
|
-
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_49qchf10'}],
|
|
799
|
-
model: 'HG06492C',
|
|
800
|
-
vendor: 'Lidl',
|
|
801
|
-
description: 'Livarno Lux E27 bulb CCT',
|
|
802
|
-
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], noConfigure: true}),
|
|
803
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
804
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
805
|
-
},
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_rylaozuc'},
|
|
809
|
-
{modelID: 'TS0502A', manufacturerName: '_TZ3000_5fkufhn1'}],
|
|
810
|
-
model: '14147206L',
|
|
811
|
-
vendor: 'Lidl',
|
|
812
|
-
description: 'Livarno Lux ceiling light',
|
|
813
|
-
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], noConfigure: true}),
|
|
814
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
815
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
816
|
-
},
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
fingerprint: [{modelID: 'TS0502A', manufacturerName: '_TZ3000_8uaoilu9'}],
|
|
820
|
-
model: '14153905L',
|
|
821
|
-
vendor: 'Lidl',
|
|
822
|
-
description: 'Livarno Home LED floor lamp',
|
|
823
|
-
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], noConfigure: true}),
|
|
824
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
825
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
826
|
-
},
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_9cpuaca6'}],
|
|
830
|
-
model: '14148906L',
|
|
831
|
-
vendor: 'Lidl',
|
|
832
|
-
description: 'Livarno Lux mood light RGB+CCT',
|
|
833
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({noConfigure: true}),
|
|
834
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
835
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
836
|
-
},
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_gek6snaj'}],
|
|
840
|
-
model: '14149505L/14149506L_1',
|
|
841
|
-
vendor: 'Lidl',
|
|
842
|
-
description: 'Livarno Lux light bar RGB+CCT (black/white)',
|
|
843
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({noConfigure: true}),
|
|
844
|
-
configure: async (device, coordinatorEndpoint, logger) => {
|
|
845
|
-
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
846
|
-
},
|
|
847
|
-
},
|
|
848
629
|
{
|
|
849
630
|
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_iystcadi'}],
|
|
850
631
|
model: '14149505L/14149506L_2',
|
|
@@ -869,22 +650,6 @@ module.exports = [
|
|
|
869
650
|
exposes: [e.switch(), exposes.numeric('timer', ea.SET).withValueMin(1).withValueMax(10000)
|
|
870
651
|
.withUnit('min').withDescription('Auto off after specific time.')],
|
|
871
652
|
},
|
|
872
|
-
{
|
|
873
|
-
fingerprint: [{modelID: 'TS0501A', manufacturerName: '_TZ3000_j2w1dw29'}],
|
|
874
|
-
model: 'HG06463A',
|
|
875
|
-
vendor: 'Lidl',
|
|
876
|
-
description: 'Livarno Lux E27 ST64 filament bulb',
|
|
877
|
-
extend: tuya.extend.light_onoff_brightness(),
|
|
878
|
-
meta: {turnsOffAtBrightness1: false},
|
|
879
|
-
},
|
|
880
|
-
{
|
|
881
|
-
fingerprint: [{modelID: 'TS0501A', manufacturerName: '_TZ3000_nosnx7im'}],
|
|
882
|
-
model: 'HG06463B',
|
|
883
|
-
vendor: 'Lidl',
|
|
884
|
-
description: 'Livarno Lux E27 G95 filament bulb',
|
|
885
|
-
extend: tuya.extend.light_onoff_brightness(),
|
|
886
|
-
meta: {turnsOffAtBrightness1: false},
|
|
887
|
-
},
|
|
888
653
|
{
|
|
889
654
|
fingerprint: [{modelID: 'TS0101', manufacturerName: '_TZ3000_br3laukf'}],
|
|
890
655
|
model: 'HG06620',
|
|
@@ -897,17 +662,6 @@ module.exports = [
|
|
|
897
662
|
await reporting.onOff(endpoint);
|
|
898
663
|
},
|
|
899
664
|
},
|
|
900
|
-
{
|
|
901
|
-
fingerprint: [
|
|
902
|
-
{modelID: 'TS0501A', manufacturerName: '_TZ3000_7dcddnye'},
|
|
903
|
-
{modelID: 'TS0501A', manufacturerName: '_TZ3000_nbnmw9nc'}, // UK
|
|
904
|
-
],
|
|
905
|
-
model: 'HG06462A',
|
|
906
|
-
vendor: 'Lidl',
|
|
907
|
-
description: 'Livarno Lux E27 A60 filament bulb',
|
|
908
|
-
extend: tuya.extend.light_onoff_brightness(),
|
|
909
|
-
meta: {turnsOffAtBrightness1: false},
|
|
910
|
-
},
|
|
911
665
|
{
|
|
912
666
|
fingerprint: [{modelID: 'TS0101', manufacturerName: '_TZ3000_pnzfdr9y'}],
|
|
913
667
|
model: 'HG06619',
|
|
@@ -927,13 +681,6 @@ module.exports = [
|
|
|
927
681
|
description: 'Livarno gardenspot RGB',
|
|
928
682
|
extend: tuya.extend.light_onoff_brightness_colortemp_color({supportsHS: true, preferHS: true, colorTempRange: [153, 500]}),
|
|
929
683
|
},
|
|
930
|
-
{
|
|
931
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_bwlvyjwk'}],
|
|
932
|
-
model: 'HG08383B',
|
|
933
|
-
vendor: 'Lidl',
|
|
934
|
-
description: 'Livarno outdoor LED light chain',
|
|
935
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
936
|
-
},
|
|
937
684
|
{
|
|
938
685
|
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_chyvmhay'}],
|
|
939
686
|
model: '368308_2010',
|
|
@@ -990,11 +737,4 @@ module.exports = [
|
|
|
990
737
|
}),
|
|
991
738
|
],
|
|
992
739
|
},
|
|
993
|
-
{
|
|
994
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_taspddvq'}],
|
|
995
|
-
model: 'HG08383A',
|
|
996
|
-
vendor: 'Lidl',
|
|
997
|
-
description: 'Livarno outdoor LED light chain',
|
|
998
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
999
|
-
},
|
|
1000
740
|
];
|
package/devices/miboxer.js
CHANGED
|
@@ -4,40 +4,6 @@ const e = exposes.presets;
|
|
|
4
4
|
const tuya = require('../lib/tuya');
|
|
5
5
|
|
|
6
6
|
module.exports = [
|
|
7
|
-
{
|
|
8
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_zrvxvydd'}],
|
|
9
|
-
model: 'FUT066Z',
|
|
10
|
-
vendor: 'MiBoxer',
|
|
11
|
-
description: 'RGB+CCT LED Downlight',
|
|
12
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_jicmoite'}],
|
|
16
|
-
model: 'FUT039Z',
|
|
17
|
-
vendor: 'Miboxer',
|
|
18
|
-
description: 'RGB+CCT LED controller',
|
|
19
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
fingerprint: [{modelID: 'TS0501B', manufacturerName: '_TZ3210_dxroobu3'},
|
|
23
|
-
{modelID: 'TS0501B', manufacturerName: '_TZ3210_dbilpfqk'}],
|
|
24
|
-
model: 'FUT036Z',
|
|
25
|
-
description: 'Single color LED controller',
|
|
26
|
-
vendor: 'Miboxer',
|
|
27
|
-
extend: tuya.extend.light_onoff_brightness(),
|
|
28
|
-
onEvent: tuya.onEventSetTime,
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
fingerprint: [
|
|
32
|
-
{modelID: 'TS0502B', manufacturerName: '_TZ3210_frm6149r'},
|
|
33
|
-
{modelID: 'TS0502B', manufacturerName: '_TZ3210_jtifm80b'},
|
|
34
|
-
{modelID: 'TS0502B', manufacturerName: '_TZ3210_xwqng7ol'},
|
|
35
|
-
],
|
|
36
|
-
model: 'FUT035Z',
|
|
37
|
-
description: 'Dual white LED controller',
|
|
38
|
-
vendor: 'Miboxer',
|
|
39
|
-
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], disablePowerOnBehavior: true}),
|
|
40
|
-
},
|
|
41
7
|
{
|
|
42
8
|
fingerprint: [{modelID: 'TS0504B', manufacturerName: '_TZ3210_ttkgurpb'}],
|
|
43
9
|
model: 'FUT038Z',
|
package/devices/philips.js
CHANGED
|
@@ -620,7 +620,7 @@ module.exports = [
|
|
|
620
620
|
extend: philips.extend.light_onoff_brightness_colortemp_color_gradient({colorTempRange: [153, 500]}),
|
|
621
621
|
},
|
|
622
622
|
{
|
|
623
|
-
zigbeeModel: ['LCG002', '929003047701', '929003047701', '929003526202_01', '929003526202_02', '929003526202_03'],
|
|
623
|
+
zigbeeModel: ['LCG002', '929003047701', '929003047701', '929003526202_01', '929003526202_02', '929003526202_03', '929003526101'],
|
|
624
624
|
model: '929001953101',
|
|
625
625
|
vendor: 'Philips',
|
|
626
626
|
description: 'Hue White and Color Ambiance GU10',
|
|
@@ -2595,6 +2595,13 @@ module.exports = [
|
|
|
2595
2595
|
description: 'Hue White and color ambiance A19 800 lumen',
|
|
2596
2596
|
extend: philips.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
2597
2597
|
},
|
|
2598
|
+
{
|
|
2599
|
+
zigbeeModel: ['929003553001'],
|
|
2600
|
+
model: '929003553001',
|
|
2601
|
+
vendor: 'Philips',
|
|
2602
|
+
description: 'Hue outdoor Resonate downward wall lamp',
|
|
2603
|
+
extend: philips.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
2604
|
+
},
|
|
2598
2605
|
{
|
|
2599
2606
|
zigbeeModel: ['LWE003'],
|
|
2600
2607
|
model: '9290020400',
|
package/devices/sinope.js
CHANGED
|
@@ -179,6 +179,15 @@ const fzLocal = {
|
|
|
179
179
|
if (msg.data.hasOwnProperty('minimumBrightness')) {
|
|
180
180
|
result.minimum_brightness = msg.data['minimumBrightness'];
|
|
181
181
|
}
|
|
182
|
+
if (msg.data.hasOwnProperty('actionReport')) {
|
|
183
|
+
const lookup = {2: 'up_single', 3: 'up_hold', 4: 'up_double',
|
|
184
|
+
18: 'down_single', 19: 'down_hold', 20: 'down_double'};
|
|
185
|
+
result.action = lookup[msg.data['actionReport']];
|
|
186
|
+
}
|
|
187
|
+
if (msg.data.hasOwnProperty('keypadLockout')) {
|
|
188
|
+
const lookup = {0: 'unlock', 1: 'lock'};
|
|
189
|
+
result.keypad_lockout = lookup[msg.data['keypadLockout']];
|
|
190
|
+
}
|
|
182
191
|
return result;
|
|
183
192
|
},
|
|
184
193
|
},
|
|
@@ -473,6 +482,18 @@ const tzLocal = {
|
|
|
473
482
|
await entity.read('manuSpecificSinope', ['dimmerTimmer']);
|
|
474
483
|
},
|
|
475
484
|
},
|
|
485
|
+
keypad_lock: {
|
|
486
|
+
// SW2500ZB
|
|
487
|
+
key: ['keypad_lockout'],
|
|
488
|
+
convertSet: async (entity, key, value, meta) => {
|
|
489
|
+
const lookup = {'unlock': 0, 'lock': 1};
|
|
490
|
+
await entity.write('manuSpecificSinope', {keypadLockout: lookup[value]});
|
|
491
|
+
return {state: {keypad_lockout: value}};
|
|
492
|
+
},
|
|
493
|
+
convertGet: async (entity, key, meta) => {
|
|
494
|
+
await entity.read('manuSpecificSinope', ['keypadLockout']);
|
|
495
|
+
},
|
|
496
|
+
},
|
|
476
497
|
};
|
|
477
498
|
module.exports = [
|
|
478
499
|
{
|
|
@@ -972,8 +993,9 @@ module.exports = [
|
|
|
972
993
|
description: 'Zigbee smart light switch',
|
|
973
994
|
fromZigbee: [fz.on_off, fz.electrical_measurement, fzLocal.sinope],
|
|
974
995
|
toZigbee: [tz.on_off, tzLocal.timer_seconds, tzLocal.led_intensity_on, tzLocal.led_intensity_off,
|
|
975
|
-
tzLocal.led_color_on, tzLocal.led_color_off],
|
|
996
|
+
tzLocal.led_color_on, tzLocal.led_color_off, tzLocal.keypad_lock],
|
|
976
997
|
exposes: [e.switch(),
|
|
998
|
+
e.action(['up_single', 'up_double', 'up_hold', 'down_single', 'down_double', 'down_hold']),
|
|
977
999
|
exposes.numeric('timer_seconds', ea.ALL).withValueMin(0).withValueMax(10800)
|
|
978
1000
|
.withDescription('Automatically turn off load after x seconds'),
|
|
979
1001
|
exposes.numeric('led_intensity_on', ea.ALL).withValueMin(0).withValueMax(100)
|
|
@@ -989,12 +1011,21 @@ module.exports = [
|
|
|
989
1011
|
.withFeature(exposes.numeric('r', ea.SET))
|
|
990
1012
|
.withFeature(exposes.numeric('g', ea.SET))
|
|
991
1013
|
.withFeature(exposes.numeric('b', ea.SET))
|
|
992
|
-
.withDescription('Control status LED color when load OFF')
|
|
1014
|
+
.withDescription('Control status LED color when load OFF'),
|
|
1015
|
+
exposes.enum('keypad_lockout', ea.ALL, ['unlock', 'lock'])
|
|
1016
|
+
.withDescription('Enables or disables the device’s buttons')],
|
|
993
1017
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
994
1018
|
const endpoint = device.getEndpoint(1);
|
|
995
1019
|
const binds = ['genOnOff'];
|
|
996
1020
|
await reporting.bind(endpoint, coordinatorEndpoint, binds);
|
|
997
1021
|
await reporting.onOff(endpoint);
|
|
1022
|
+
const payload = [{
|
|
1023
|
+
attribute: 'actionReport',
|
|
1024
|
+
minimumReportInterval: 0,
|
|
1025
|
+
maximumReportInterval: 0,
|
|
1026
|
+
reportableChange: 0,
|
|
1027
|
+
}];
|
|
1028
|
+
await endpoint.configureReporting('manuSpecificSinope', payload);
|
|
998
1029
|
},
|
|
999
1030
|
},
|
|
1000
1031
|
{
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const extend = require('../lib/extend');
|
|
2
|
+
|
|
3
|
+
module.exports = [
|
|
4
|
+
// Tested working with firmare 2.5.3_r58: dimming, on/off, and effects give no
|
|
5
|
+
// errors (although the stop effect and the finish effect do nothing).
|
|
6
|
+
{
|
|
7
|
+
zigbeeModel: ['K10-1220Z'],
|
|
8
|
+
model: 'K10-1220Z',
|
|
9
|
+
vendor: 'TLW Global',
|
|
10
|
+
description: '12V LED smart driver 15W with 6-port micro plug connector',
|
|
11
|
+
extend: extend.light_onoff_brightness(),
|
|
12
|
+
},
|
|
13
|
+
// K10-1230Z and K10-1250Z untested, but assumed to be consistent with K10-1220W
|
|
14
|
+
{
|
|
15
|
+
zigbeeModel: ['K10-1230Z'],
|
|
16
|
+
model: 'K10-1230Z',
|
|
17
|
+
vendor: 'TLW Global',
|
|
18
|
+
description: '12V LED smart driver 30W with 6-port micro plug connector',
|
|
19
|
+
extend: extend.light_onoff_brightness(),
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
zigbeeModel: ['K10-1250Z'],
|
|
23
|
+
model: 'K10-1250Z',
|
|
24
|
+
vendor: 'TLW Global',
|
|
25
|
+
description: '12V LED smart driver 50W with 6-port micro plug connector',
|
|
26
|
+
extend: extend.light_onoff_brightness(),
|
|
27
|
+
},
|
|
28
|
+
];
|
package/devices/tuya.js
CHANGED
|
@@ -1012,8 +1012,34 @@ module.exports = [
|
|
|
1012
1012
|
{vendor: 'Zemismart', model: 'LXZB-ZB-09A', description: 'Zemismart LED Surface Mounted Downlight 9W RGBW'},
|
|
1013
1013
|
{vendor: 'Feconn', model: 'FE-GU10-5W', description: 'Zigbee GU10 5W smart bulb'},
|
|
1014
1014
|
{vendor: 'Nedis', model: 'ZBLC1E14'},
|
|
1015
|
+
tuya.whitelabel('Aldi', 'L122FF63H11A5.0W', 'LIGHTWAY smart home LED-lamp - spot', ['_TZ3000_j0gtlepx']),
|
|
1016
|
+
tuya.whitelabel('Aldi', 'L122AA63H11A6.5W', 'LIGHTWAY smart home LED-lamp - candle', ['_TZ3000_iivsrikg']),
|
|
1017
|
+
tuya.whitelabel('Aldi', 'C422AC11D41H140.0W', 'MEGOS LED panel RGB+CCT 40W 3600lm 62 x 62 cm', ['_TZ3000_v1srfw9x']),
|
|
1018
|
+
tuya.whitelabel('Aldi', 'C422AC14D41H140.0W', 'MEGOS LED panel RGB+CCT 40W 3600lm 30 x 120 cm', ['_TZ3000_gb5gaeca']),
|
|
1019
|
+
tuya.whitelabel('MiBoxer', 'FUT066Z', 'RGB+CCT LED Downlight', ['_TZ3210_zrvxvydd']),
|
|
1020
|
+
tuya.whitelabel('Miboxer', 'FUT039Z', 'RGB+CCT LED controller', ['_TZ3210_jicmoite']),
|
|
1021
|
+
tuya.whitelabel('Lidl', '14156506L', 'Livarno Lux smart LED mood light', ['_TZ3210_r0xgkft5']),
|
|
1022
|
+
tuya.whitelabel('Lidl', 'HG08010', 'Livarno Home outdoor spotlight', ['_TZ3210_umi6vbsz']),
|
|
1023
|
+
tuya.whitelabel('Lidl', 'HG08008', 'Livarno Home LED ceiling light', ['_TZ3210_p9ao60da']),
|
|
1024
|
+
tuya.whitelabel('TuYa', 'HG08007', 'Livarno Home outdoor LED band', ['_TZ3210_zbabx9wh']),
|
|
1025
|
+
tuya.whitelabel('Lidl', '14158704L', 'Livarno Home LED floor lamp, RGBW', ['_TZ3210_z1vlyufu']),
|
|
1026
|
+
tuya.whitelabel('Lidl', '14158804L', 'Livarno Home LED desk lamp RGBW', ['_TZ3210_hxtfthp5']),
|
|
1027
|
+
tuya.whitelabel('Lidl', 'HG07834A', 'Livarno Lux GU10 spot RGB', ['_TZ3000_quqaeew6']),
|
|
1028
|
+
tuya.whitelabel('Lidl', 'HG07834B', 'Livarno Lux E14 candle RGB', ['_TZ3000_th6zqqy6', '_TZ3000_wr6g6olr']),
|
|
1029
|
+
tuya.whitelabel('Lidl', 'HG08131C', 'Livarno Home outdoor E27 bulb in set with flare', ['_TZ3000_q50zhdsc']),
|
|
1030
|
+
tuya.whitelabel('Lidl', 'HG07834C', 'Livarno Lux E27 bulb RGB', ['_TZ3000_qd7hej8u']),
|
|
1031
|
+
tuya.whitelabel('Lidl', 'HG08383B', 'Livarno outdoor LED light chain', ['_TZ3000_bwlvyjwk']),
|
|
1032
|
+
tuya.whitelabel('Lidl', 'HG08383A', 'Livarno outdoor LED light chain', ['_TZ3000_taspddvq']),
|
|
1033
|
+
tuya.whitelabel('Garza Smart', 'Garza-Standard-A60', 'Standard A60 bulb', ['_TZ3210_sln7ah6r']),
|
|
1034
|
+
tuya.whitelabel('UR Lighting', 'TH008L10RGBCCT', '10W RGB+CCT downlight', ['_TZ3210_dn5higyl']),
|
|
1035
|
+
tuya.whitelabel('Lidl', 'HG08010', 'Livarno Home outdoor spotlight', ['_TZ3210_umi6vbsz']),
|
|
1036
|
+
tuya.whitelabel('Lidl', 'HG08008', 'Livarno Home LED ceiling light', ['_TZ3210_p9ao60da']),
|
|
1037
|
+
tuya.whitelabel('Lidl', 'HG08007', 'Livarno Home outdoor LED band', ['_TZ3210_zbabx9wh']),
|
|
1015
1038
|
],
|
|
1016
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
1039
|
+
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500], noConfigure: true}),
|
|
1040
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
1041
|
+
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
1042
|
+
},
|
|
1017
1043
|
},
|
|
1018
1044
|
{
|
|
1019
1045
|
zigbeeModel: ['TS0503B'],
|
|
@@ -1040,6 +1066,12 @@ module.exports = [
|
|
|
1040
1066
|
description: 'Zigbee light',
|
|
1041
1067
|
vendor: 'TuYa',
|
|
1042
1068
|
extend: tuya.extend.light_onoff_brightness(),
|
|
1069
|
+
meta: {turnsOffAtBrightness1: false},
|
|
1070
|
+
whiteLabel: [
|
|
1071
|
+
tuya.whitelabel('Lidl', 'HG06463A', 'Livarno Lux E27 ST64 filament bulb', ['_TZ3000_j2w1dw29']),
|
|
1072
|
+
tuya.whitelabel('Lidl', 'HG06463B', 'Livarno Lux E27 G95 filament bulb', ['_TZ3000_nosnx7im']),
|
|
1073
|
+
tuya.whitelabel('Lidl', 'HG06462A', 'Livarno Lux E27 A60 filament bulb', ['_TZ3000_7dcddnye', '_TZ3000_nbnmw9nc']),
|
|
1074
|
+
],
|
|
1043
1075
|
},
|
|
1044
1076
|
{
|
|
1045
1077
|
zigbeeModel: ['TS0501B'],
|
|
@@ -1047,6 +1079,9 @@ module.exports = [
|
|
|
1047
1079
|
description: 'Zigbee light',
|
|
1048
1080
|
vendor: 'TuYa',
|
|
1049
1081
|
extend: tuya.extend.light_onoff_brightness(),
|
|
1082
|
+
whiteLabel: [
|
|
1083
|
+
tuya.whitelabel('Miboxer', 'FUT036Z', 'Single color LED controller', ['_TZ3210_dxroobu3', '_TZ3210_dbilpfqk']),
|
|
1084
|
+
],
|
|
1050
1085
|
},
|
|
1051
1086
|
{
|
|
1052
1087
|
fingerprint: tuya.fingerprint('TS0202', ['_TYZB01_vwqnz1sn']),
|
|
@@ -1690,7 +1725,17 @@ module.exports = [
|
|
|
1690
1725
|
model: 'TS0502A',
|
|
1691
1726
|
vendor: 'TuYa',
|
|
1692
1727
|
description: 'Light controller',
|
|
1693
|
-
extend: tuya.extend.light_onoff_brightness_colortemp(),
|
|
1728
|
+
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], noConfigure: true}),
|
|
1729
|
+
whiteLabel: [
|
|
1730
|
+
tuya.whitelabel('Lidl', 'HG06492B', 'Livarno Lux E14 candle CCT', ['_TZ3000_oborybow']),
|
|
1731
|
+
tuya.whitelabel('Lidl', 'HG06492A', 'Livarno Lux GU10 spot CCT', ['_TZ3000_el5kt5im']),
|
|
1732
|
+
tuya.whitelabel('Lidl', 'HG06492C', 'Livarno Lux E27 bulb CCT', ['_TZ3000_49qchf10']),
|
|
1733
|
+
tuya.whitelabel('Lidl', '14147206L', 'Livarno Lux ceiling light', ['_TZ3000_rylaozuc', '_TZ3000_5fkufhn1']),
|
|
1734
|
+
tuya.whitelabel('Lidl', '14153905L', 'Livarno Home LED floor lamp', ['_TZ3000_8uaoilu9']),
|
|
1735
|
+
],
|
|
1736
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
1737
|
+
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
1738
|
+
},
|
|
1694
1739
|
},
|
|
1695
1740
|
{
|
|
1696
1741
|
zigbeeModel: ['TS0502B'],
|
|
@@ -1700,8 +1745,14 @@ module.exports = [
|
|
|
1700
1745
|
whiteLabel: [
|
|
1701
1746
|
{vendor: 'Mercator Ikuü', model: 'SMI7040', description: 'Ford Batten Light'},
|
|
1702
1747
|
{vendor: 'Mercator Ikuü', model: 'SMD9300', description: 'Donovan Panel Light'},
|
|
1748
|
+
tuya.whitelabel('Aldi', 'F122SB62H22A4.5W', 'LIGHTWAY smart home LED-lamp - filament', ['_TZ3000_g1glzzfk']),
|
|
1749
|
+
tuya.whitelabel('Miboxer', 'FUT035Z', 'Dual white LED controller', ['_TZ3210_frm6149r', '_TZ3210_jtifm80b', '_TZ3210_xwqng7ol']),
|
|
1750
|
+
tuya.whitelabel('Lidl', '14156408L', 'Livarno Lux smart LED ceiling light', ['_TZ3210_c2iwpxf1']),
|
|
1703
1751
|
],
|
|
1704
|
-
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500]}),
|
|
1752
|
+
extend: tuya.extend.light_onoff_brightness_colortemp({colorTempRange: [153, 500], noConfigure: true}),
|
|
1753
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
1754
|
+
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 16});
|
|
1755
|
+
},
|
|
1705
1756
|
},
|
|
1706
1757
|
{
|
|
1707
1758
|
zigbeeModel: ['TS0504A'],
|
|
@@ -1724,7 +1775,19 @@ module.exports = [
|
|
|
1724
1775
|
model: 'TS0505A',
|
|
1725
1776
|
vendor: 'TuYa',
|
|
1726
1777
|
description: 'RGB+CCT light controller',
|
|
1727
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color(),
|
|
1778
|
+
extend: tuya.extend.light_onoff_brightness_colortemp_color({noConfigure: true}),
|
|
1779
|
+
whiteLabel: [
|
|
1780
|
+
tuya.whitelabel('Lidl', 'HG06106B', 'Livarno Lux E14 candle RGB', ['_TZ3000_odygigth']),
|
|
1781
|
+
tuya.whitelabel('Lidl', 'HG06106A', 'Livarno Lux GU10 spot RGB', ['_TZ3000_kdpxju99']),
|
|
1782
|
+
tuya.whitelabel('Lidl', 'HG06106C', 'Livarno Lux E27 bulb RGB', ['_TZ3000_dbou1ap4']),
|
|
1783
|
+
tuya.whitelabel('Lidl', '14148906L', 'Livarno Lux mood light RGB+CCT', ['_TZ3000_9cpuaca6']),
|
|
1784
|
+
tuya.whitelabel('Lidl', '14149505L/14149506L_1', 'Livarno Lux light bar RGB+CCT (black/white)', ['_TZ3000_gek6snaj']),
|
|
1785
|
+
tuya.whitelabel('Mycket', 'MS-SP-LE27WRGB', 'E27 RGBW bulb', ['_TZ3000_evag0pvn']),
|
|
1786
|
+
tuya.whitelabel('Lidl', 'HG06104A', 'Livarno Lux smart LED light strip 2.5m', ['_TZ3000_riwp3k79', '_TZ3000_riwp3k79']),
|
|
1787
|
+
],
|
|
1788
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
1789
|
+
device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
|
|
1790
|
+
},
|
|
1728
1791
|
},
|
|
1729
1792
|
{
|
|
1730
1793
|
fingerprint: [{manufacturerName: '_TZ2000_a476raq2'}],
|
|
@@ -2775,6 +2838,23 @@ module.exports = [
|
|
|
2775
2838
|
await reporting.bind(device.getEndpoint(5), coordinatorEndpoint, ['genOnOff']);
|
|
2776
2839
|
},
|
|
2777
2840
|
},
|
|
2841
|
+
{
|
|
2842
|
+
fingerprint: tuya.fingerprint('TS011F', ['_TZ3000_dlug3kbc']),
|
|
2843
|
+
model: 'TS011F_3_gang',
|
|
2844
|
+
description: '3 gang wall ac outlet',
|
|
2845
|
+
vendor: 'TuYa',
|
|
2846
|
+
extend: tuya.extend.switch({powerOutageMemory: true, childLock: true, endpoints: ['l1', 'l2', 'l3']}),
|
|
2847
|
+
endpoint: (device) => {
|
|
2848
|
+
return {l1: 1, l2: 2, l3: 3, l4: 4, l5: 5};
|
|
2849
|
+
},
|
|
2850
|
+
meta: {multiEndpoint: true},
|
|
2851
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
2852
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint, logger);
|
|
2853
|
+
for (const ep of [1, 2, 3]) {
|
|
2854
|
+
await reporting.bind(device.getEndpoint(ep), coordinatorEndpoint, ['genOnOff']);
|
|
2855
|
+
}
|
|
2856
|
+
},
|
|
2857
|
+
},
|
|
2778
2858
|
{
|
|
2779
2859
|
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_ntcy3xu1']),
|
|
2780
2860
|
model: 'TS0601_smoke_1',
|
|
@@ -4276,6 +4356,33 @@ module.exports = [
|
|
|
4276
4356
|
],
|
|
4277
4357
|
},
|
|
4278
4358
|
},
|
|
4359
|
+
{
|
|
4360
|
+
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_x8fp01wi']),
|
|
4361
|
+
model: 'TS0601_3_phase_clamp_meter_relay',
|
|
4362
|
+
vendor: 'TuYa',
|
|
4363
|
+
description: '3-phase clamp power meter with relay',
|
|
4364
|
+
fromZigbee: [tuya.fz.datapoints],
|
|
4365
|
+
toZigbee: [tuya.tz.datapoints],
|
|
4366
|
+
configure: tuya.configureMagicPacket,
|
|
4367
|
+
whiteLabel: [{vendor: 'Wenzhou Taiye Electric', model: 'TAC7361C BI'}],
|
|
4368
|
+
exposes: [
|
|
4369
|
+
e.switch().setAccess('state', ea.STATE_SET), e.power(), e.energy(), e.produced_energy(),
|
|
4370
|
+
tuya.exposes.voltageWithPhase('a'), tuya.exposes.voltageWithPhase('b'), tuya.exposes.voltageWithPhase('c'),
|
|
4371
|
+
tuya.exposes.powerWithPhase('a'), tuya.exposes.powerWithPhase('b'), tuya.exposes.powerWithPhase('c'),
|
|
4372
|
+
tuya.exposes.currentWithPhase('a'), tuya.exposes.currentWithPhase('b'), tuya.exposes.currentWithPhase('c'),
|
|
4373
|
+
],
|
|
4374
|
+
meta: {
|
|
4375
|
+
tuyaDatapoints: [
|
|
4376
|
+
[16, 'state', tuya.valueConverter.onOff],
|
|
4377
|
+
[1, 'energy', tuya.valueConverter.divideBy100],
|
|
4378
|
+
[2, 'produced_energy', tuya.valueConverter.divideBy100],
|
|
4379
|
+
[9, 'power', tuya.valueConverter.raw],
|
|
4380
|
+
[6, null, tuya.valueConverter.phaseVariant2WithPhase('a')],
|
|
4381
|
+
[7, null, tuya.valueConverter.phaseVariant2WithPhase('b')],
|
|
4382
|
+
[8, null, tuya.valueConverter.phaseVariant2WithPhase('c')],
|
|
4383
|
+
],
|
|
4384
|
+
},
|
|
4385
|
+
},
|
|
4279
4386
|
{
|
|
4280
4387
|
zigbeeModel: ['TS0049'],
|
|
4281
4388
|
model: 'TS0049',
|
package/index.js
CHANGED
|
@@ -131,6 +131,22 @@ function findByZigbeeModel(zigbeeModel) {
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
function findByDevice(device) {
|
|
134
|
+
let definition = findDefintion(device);
|
|
135
|
+
if (definition && definition.whiteLabel) {
|
|
136
|
+
const match = definition.whiteLabel.find((w) => w.fingerprint && w.fingerprint.find((f) => isFingerprintMatch(f, device)));
|
|
137
|
+
if (match) {
|
|
138
|
+
definition = {
|
|
139
|
+
...definition,
|
|
140
|
+
model: match.model,
|
|
141
|
+
vendor: match.vendor,
|
|
142
|
+
description: match.description || definition.description,
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
return definition;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
function findDefintion(device) {
|
|
134
150
|
if (!device) {
|
|
135
151
|
return null;
|
|
136
152
|
}
|
package/lib/tuya.js
CHANGED
|
@@ -1179,6 +1179,13 @@ const fingerprint = (modelID, manufacturerNames) => {
|
|
|
1179
1179
|
});
|
|
1180
1180
|
};
|
|
1181
1181
|
|
|
1182
|
+
const whitelabel = (vendor, model, description, manufacturerNames) => {
|
|
1183
|
+
const fingerprint = manufacturerNames.map((manufacturerName) => {
|
|
1184
|
+
return {manufacturerName};
|
|
1185
|
+
});
|
|
1186
|
+
return {vendor, model, description, fingerprint};
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1182
1189
|
class Base {
|
|
1183
1190
|
constructor(value) {
|
|
1184
1191
|
this.value = value;
|
|
@@ -1770,7 +1777,7 @@ const tuyaFz = {
|
|
|
1770
1777
|
convert: (model, msg, publish, options, meta) => {
|
|
1771
1778
|
if (msg.data.hasOwnProperty('tuyaBacklightSwitch')) {
|
|
1772
1779
|
const value = msg.data['tuyaBacklightSwitch'];
|
|
1773
|
-
const backlightLookup = {0: '
|
|
1780
|
+
const backlightLookup = {0: 'OFF', 1: 'ON'};
|
|
1774
1781
|
return {backlight_mode: backlightLookup[value]};
|
|
1775
1782
|
}
|
|
1776
1783
|
},
|
|
@@ -1973,6 +1980,7 @@ module.exports = {
|
|
|
1973
1980
|
skip,
|
|
1974
1981
|
configureMagicPacket,
|
|
1975
1982
|
fingerprint,
|
|
1983
|
+
whitelabel,
|
|
1976
1984
|
enum: (value) => new Enum(value),
|
|
1977
1985
|
bitmap: (value) => new Bitmap(value),
|
|
1978
1986
|
valueConverter,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zigbee-herdsman-converters",
|
|
3
|
-
"version": "15.0.
|
|
3
|
+
"version": "15.0.95",
|
|
4
4
|
"description": "Collection of device converters to be used with zigbee-herdsman",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/Koenkk/zigbee-herdsman-converters",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"axios": "^1.3.
|
|
37
|
+
"axios": "^1.3.6",
|
|
38
38
|
"buffer-crc32": "^0.2.13",
|
|
39
39
|
"https-proxy-agent": "^5.0.1",
|
|
40
40
|
"tar-stream": "^3.0.0",
|
|
41
|
-
"zigbee-herdsman": "^0.14.
|
|
41
|
+
"zigbee-herdsman": "^0.14.108"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"eslint": "*",
|
package/devices/garza.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const tuya = require('../lib/tuya');
|
|
2
|
-
|
|
3
|
-
module.exports = [
|
|
4
|
-
{
|
|
5
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_sln7ah6r'}],
|
|
6
|
-
model: 'Garza-Standard-A60',
|
|
7
|
-
vendor: 'Garza Smart',
|
|
8
|
-
description: 'Standard A60 bulb',
|
|
9
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
10
|
-
},
|
|
11
|
-
];
|
package/devices/mycket.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
const tuya = require('../lib/tuya');
|
|
2
|
-
|
|
3
|
-
module.exports = [
|
|
4
|
-
{
|
|
5
|
-
fingerprint: [{modelID: 'TS0505A', manufacturerName: '_TZ3000_evag0pvn'}],
|
|
6
|
-
model: 'MS-SP-LE27WRGB',
|
|
7
|
-
description: 'E27 RGBW bulb',
|
|
8
|
-
vendor: 'Mycket',
|
|
9
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color(),
|
|
10
|
-
},
|
|
11
|
-
];
|
package/devices/urlighting.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const tuya = require('../lib/tuya');
|
|
2
|
-
|
|
3
|
-
module.exports = [
|
|
4
|
-
{
|
|
5
|
-
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_dn5higyl'}],
|
|
6
|
-
model: 'TH008L10RGBCCT',
|
|
7
|
-
vendor: 'UR Lighting',
|
|
8
|
-
description: '10W RGB+CCT downlight',
|
|
9
|
-
meta: {applyRedFix: true, enhancedHue: false},
|
|
10
|
-
extend: tuya.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
11
|
-
},
|
|
12
|
-
];
|
|
File without changes
|