zigbee-herdsman-converters 14.0.523 → 14.0.526
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/philips.js +46 -25
- package/devices/tci.js +7 -0
- package/devices/tuya.js +1 -1
- package/devices/vimar.js +11 -0
- package/devices/woox.js +1 -1
- package/package.json +1 -1
package/devices/philips.js
CHANGED
|
@@ -3,27 +3,31 @@ const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/lega
|
|
|
3
3
|
const tz = require('../converters/toZigbee');
|
|
4
4
|
const ota = require('../lib/ota');
|
|
5
5
|
const reporting = require('../lib/reporting');
|
|
6
|
-
const extend = require('../lib/extend');
|
|
7
6
|
const e = exposes.presets;
|
|
8
7
|
const ea = exposes.access;
|
|
9
8
|
|
|
9
|
+
// Make sure extend.light_* is not used (hueExtend should be used instead)
|
|
10
|
+
const extendDontUse = require('../lib/extend');
|
|
11
|
+
const extend = {switch: extendDontUse.switch};
|
|
12
|
+
|
|
10
13
|
const hueExtend = {
|
|
11
14
|
light_onoff_brightness: (options={}) => ({
|
|
12
|
-
...
|
|
13
|
-
toZigbee:
|
|
15
|
+
...extendDontUse.light_onoff_brightness(options),
|
|
16
|
+
toZigbee: extendDontUse.light_onoff_brightness(options).toZigbee.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
|
|
14
17
|
}),
|
|
15
18
|
light_onoff_brightness_colortemp: (options={}) => ({
|
|
16
|
-
...
|
|
17
|
-
toZigbee:
|
|
19
|
+
...extendDontUse.light_onoff_brightness_colortemp(options),
|
|
20
|
+
toZigbee: extendDontUse.light_onoff_brightness_colortemp(options).toZigbee
|
|
21
|
+
.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
|
|
18
22
|
}),
|
|
19
23
|
light_onoff_brightness_color: (options={}) => ({
|
|
20
|
-
...
|
|
21
|
-
toZigbee:
|
|
24
|
+
...extendDontUse.light_onoff_brightness_color({supportsHS: true, ...options}),
|
|
25
|
+
toZigbee: extendDontUse.light_onoff_brightness_color({supportsHS: true, ...options}).toZigbee
|
|
22
26
|
.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
|
|
23
27
|
}),
|
|
24
28
|
light_onoff_brightness_colortemp_color: (options={}) => ({
|
|
25
|
-
...
|
|
26
|
-
toZigbee:
|
|
29
|
+
...extendDontUse.light_onoff_brightness_colortemp_color({supportsHS: true, ...options}),
|
|
30
|
+
toZigbee: extendDontUse.light_onoff_brightness_colortemp_color({supportsHS: true, ...options})
|
|
27
31
|
.toZigbee.concat([tz.hue_power_on_behavior, tz.hue_power_on_error]),
|
|
28
32
|
}),
|
|
29
33
|
};
|
|
@@ -34,7 +38,7 @@ module.exports = [
|
|
|
34
38
|
model: '929003055801',
|
|
35
39
|
vendor: 'Philips',
|
|
36
40
|
description: 'Hue white ambiance bathroom ceiling light Adore with Bluetooth',
|
|
37
|
-
extend:
|
|
41
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
38
42
|
},
|
|
39
43
|
{
|
|
40
44
|
zigbeeModel: ['929003045301_01', '929003045301_02', '929003045301_03'],
|
|
@@ -69,7 +73,7 @@ module.exports = [
|
|
|
69
73
|
vendor: 'Philips',
|
|
70
74
|
description: 'Hue white A60 bulb B22 1055lm with Bluetooth',
|
|
71
75
|
meta: {turnsOffAtBrightness1: true},
|
|
72
|
-
extend:
|
|
76
|
+
extend: hueExtend.light_onoff_brightness(),
|
|
73
77
|
ota: ota.zigbeeOTA,
|
|
74
78
|
},
|
|
75
79
|
{
|
|
@@ -159,7 +163,7 @@ module.exports = [
|
|
|
159
163
|
vendor: 'Philips',
|
|
160
164
|
description: 'Hue Wellness table lamp',
|
|
161
165
|
meta: {turnsOffAtBrightness1: true},
|
|
162
|
-
extend:
|
|
166
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
163
167
|
ota: ota.zigbeeOTA,
|
|
164
168
|
},
|
|
165
169
|
{
|
|
@@ -168,7 +172,7 @@ module.exports = [
|
|
|
168
172
|
vendor: 'Philips',
|
|
169
173
|
description: 'Hue white ambiance suspension Cher with bluetooth 3000lm',
|
|
170
174
|
meta: {turnsOffAtBrightness1: true},
|
|
171
|
-
extend:
|
|
175
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 500]}),
|
|
172
176
|
ota: ota.zigbeeOTA,
|
|
173
177
|
},
|
|
174
178
|
{
|
|
@@ -177,7 +181,7 @@ module.exports = [
|
|
|
177
181
|
vendor: 'Philips',
|
|
178
182
|
description: 'Hue White Ambiance Cher Pendant',
|
|
179
183
|
meta: {turnsOffAtBrightness1: true},
|
|
180
|
-
extend:
|
|
184
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
181
185
|
ota: ota.zigbeeOTA,
|
|
182
186
|
},
|
|
183
187
|
{
|
|
@@ -221,7 +225,7 @@ module.exports = [
|
|
|
221
225
|
model: '3418931P6',
|
|
222
226
|
vendor: 'Philips',
|
|
223
227
|
description: 'Hue white ambiance Struana bathroom ceiling with bluetooth 2400lm',
|
|
224
|
-
extend:
|
|
228
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 500]}),
|
|
225
229
|
ota: ota.zigbeeOTA,
|
|
226
230
|
},
|
|
227
231
|
{
|
|
@@ -398,7 +402,15 @@ module.exports = [
|
|
|
398
402
|
model: '929003055901',
|
|
399
403
|
vendor: 'Philips',
|
|
400
404
|
description: 'Hue white ambiance bathroom ceiling light Adore with Bluetooth',
|
|
401
|
-
extend:
|
|
405
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
406
|
+
ota: ota.zigbeeOTA,
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
zigbeeModel: ['7602031N6'],
|
|
410
|
+
model: '7602031N6',
|
|
411
|
+
vendor: 'Philips',
|
|
412
|
+
description: 'Hue Go portable light',
|
|
413
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 500]}),
|
|
402
414
|
ota: ota.zigbeeOTA,
|
|
403
415
|
},
|
|
404
416
|
{
|
|
@@ -465,7 +477,7 @@ module.exports = [
|
|
|
465
477
|
ota: ota.zigbeeOTA,
|
|
466
478
|
},
|
|
467
479
|
{
|
|
468
|
-
zigbeeModel: ['LCT026', '7602031P7', '7602031U7'
|
|
480
|
+
zigbeeModel: ['LCT026', '7602031P7', '7602031U7'],
|
|
469
481
|
model: '7602031P7',
|
|
470
482
|
vendor: 'Philips',
|
|
471
483
|
description: 'Hue Go with Bluetooth',
|
|
@@ -747,7 +759,7 @@ module.exports = [
|
|
|
747
759
|
vendor: 'Philips',
|
|
748
760
|
description: 'Hue white A60 bulb E27 1050lm with Bluetooth',
|
|
749
761
|
meta: {turnsOffAtBrightness1: true},
|
|
750
|
-
extend:
|
|
762
|
+
extend: hueExtend.light_onoff_brightness(),
|
|
751
763
|
ota: ota.zigbeeOTA,
|
|
752
764
|
},
|
|
753
765
|
{
|
|
@@ -1259,7 +1271,7 @@ module.exports = [
|
|
|
1259
1271
|
vendor: 'Philips',
|
|
1260
1272
|
description: 'Hue white ambiance 5/6" retrofit recessed downlight',
|
|
1261
1273
|
meta: {turnsOffAtBrightness1: true},
|
|
1262
|
-
extend: hueExtend.light_onoff_brightness_colortemp(),
|
|
1274
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
1263
1275
|
ota: ota.zigbeeOTA,
|
|
1264
1276
|
},
|
|
1265
1277
|
{
|
|
@@ -1411,7 +1423,7 @@ module.exports = [
|
|
|
1411
1423
|
model: '929003054101',
|
|
1412
1424
|
vendor: 'Philips',
|
|
1413
1425
|
description: 'Hue Wellner white ambiance E27 806lm with Bluetooth',
|
|
1414
|
-
extend:
|
|
1426
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
1415
1427
|
},
|
|
1416
1428
|
{
|
|
1417
1429
|
zigbeeModel: ['3261330P6'],
|
|
@@ -2355,7 +2367,7 @@ module.exports = [
|
|
|
2355
2367
|
model: '929003055201',
|
|
2356
2368
|
vendor: 'Philips',
|
|
2357
2369
|
description: 'Hue Being',
|
|
2358
|
-
extend:
|
|
2370
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2359
2371
|
},
|
|
2360
2372
|
{
|
|
2361
2373
|
zigbeeModel: ['1743630P7', '1743630V7'],
|
|
@@ -2762,6 +2774,15 @@ module.exports = [
|
|
|
2762
2774
|
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
2763
2775
|
ota: ota.zigbeeOTA,
|
|
2764
2776
|
},
|
|
2777
|
+
{
|
|
2778
|
+
zigbeeModel: ['1745130P7'],
|
|
2779
|
+
model: '1745130P7',
|
|
2780
|
+
vendor: 'Philips',
|
|
2781
|
+
description: 'Hue Calla outdoor',
|
|
2782
|
+
meta: {turnsOffAtBrightness1: true},
|
|
2783
|
+
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
2784
|
+
ota: ota.zigbeeOTA,
|
|
2785
|
+
},
|
|
2765
2786
|
{
|
|
2766
2787
|
zigbeeModel: ['LTO002'],
|
|
2767
2788
|
model: '8719514301542',
|
|
@@ -2795,7 +2816,7 @@ module.exports = [
|
|
|
2795
2816
|
vendor: 'Philips',
|
|
2796
2817
|
description: 'Hue White & Color Ambiance Xamento M',
|
|
2797
2818
|
meta: {turnsOffAtBrightness1: true},
|
|
2798
|
-
extend:
|
|
2819
|
+
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
2799
2820
|
ota: ota.zigbeeOTA,
|
|
2800
2821
|
},
|
|
2801
2822
|
{
|
|
@@ -2804,7 +2825,7 @@ module.exports = [
|
|
|
2804
2825
|
vendor: 'Philips',
|
|
2805
2826
|
description: 'Hue White & Color Ambiance Surimu square panel',
|
|
2806
2827
|
meta: {turnsOffAtBrightness1: true},
|
|
2807
|
-
extend:
|
|
2828
|
+
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
2808
2829
|
ota: ota.zigbeeOTA,
|
|
2809
2830
|
},
|
|
2810
2831
|
{
|
|
@@ -2962,7 +2983,7 @@ module.exports = [
|
|
|
2962
2983
|
vendor: 'Philips',
|
|
2963
2984
|
description: 'Hue white ambiance GU10 with Bluetooth',
|
|
2964
2985
|
meta: {turnsOffAtBrightness1: true},
|
|
2965
|
-
extend:
|
|
2986
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2966
2987
|
ota: ota.zigbeeOTA,
|
|
2967
2988
|
},
|
|
2968
2989
|
{
|
|
@@ -2971,7 +2992,7 @@ module.exports = [
|
|
|
2971
2992
|
vendor: 'Philips',
|
|
2972
2993
|
description: 'Hue white ambiance bathroom recessed downlight Adore with Bluetooth',
|
|
2973
2994
|
meta: {turnsOffAtBrightness1: true},
|
|
2974
|
-
extend:
|
|
2995
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2975
2996
|
ota: ota.zigbeeOTA,
|
|
2976
2997
|
},
|
|
2977
2998
|
{
|
package/devices/tci.js
CHANGED
|
@@ -15,4 +15,11 @@ module.exports = [
|
|
|
15
15
|
description: 'LED driver for wireless control (60 watt)',
|
|
16
16
|
extend: extend.light_onoff_brightness(),
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
zigbeeModel: ['PROFESSIONALE ZB3'],
|
|
20
|
+
model: '122576',
|
|
21
|
+
vendor: 'TCI',
|
|
22
|
+
description: 'Direct current wireless dimmable electronic drivers with DIP-SWITCH',
|
|
23
|
+
extend: extend.light_onoff_brightness(),
|
|
24
|
+
},
|
|
18
25
|
];
|
package/devices/tuya.js
CHANGED
|
@@ -14,7 +14,7 @@ const TS011Fplugs = ['_TZ3000_5f43h46b', '_TZ3000_cphmq0q7', '_TZ3000_dpo1ysak',
|
|
|
14
14
|
'_TZ3000_jvzvulen', '_TZ3000_mraovvmm', '_TZ3000_nfnmi125', '_TZ3000_ps3dmato', '_TZ3000_w0qqde0g', '_TZ3000_u5u4cakc',
|
|
15
15
|
'_TZ3000_rdtixbnu', '_TZ3000_typdpbpg', '_TZ3000_kx0pris5', '_TZ3000_amdymr7l', '_TZ3000_z1pnpsdo', '_TZ3000_ksw8qtmt',
|
|
16
16
|
'_TZ3000_nzkqcvvs', '_TZ3000_1h2x4akh', '_TZ3000_9vo5icau', '_TZ3000_cehuw1lw', '_TZ3000_ko6v90pg', '_TZ3000_f1bapcit',
|
|
17
|
-
'_TZ3000_cjrngdr3', '_TZ3000_zloso4jk'];
|
|
17
|
+
'_TZ3000_cjrngdr3', '_TZ3000_zloso4jk', '_TZ3000_v4mevirn'];
|
|
18
18
|
|
|
19
19
|
const tzLocal = {
|
|
20
20
|
TS0504B_color: {
|
package/devices/vimar.js
CHANGED
|
@@ -26,4 +26,15 @@ module.exports = [
|
|
|
26
26
|
toZigbee: [tz.cover_state, tz.cover_position_tilt],
|
|
27
27
|
exposes: [e.cover_position()],
|
|
28
28
|
},
|
|
29
|
+
{
|
|
30
|
+
zigbeeModel: ['Mains_Power_Outlet_v1.0'],
|
|
31
|
+
model: '14593',
|
|
32
|
+
vendor: 'Vimar',
|
|
33
|
+
description: '16A outlet IoT connected',
|
|
34
|
+
extend: extend.switch(),
|
|
35
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
36
|
+
const endpoint = device.getEndpoint(10);
|
|
37
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
38
|
+
},
|
|
39
|
+
},
|
|
29
40
|
];
|
package/devices/woox.js
CHANGED
|
@@ -134,7 +134,7 @@ module.exports = [
|
|
|
134
134
|
onEvent: tuya.onEventsetTime,
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
|
-
fingerprint: [{modelID: 'TS0219', manufacturerName: '_TYZB01_ynsiasng'}],
|
|
137
|
+
fingerprint: [{modelID: 'TS0219', manufacturerName: '_TYZB01_ynsiasng'}, {modelID: 'TS0219', manufacturerName: '_TYZB01_bwsijaty'}],
|
|
138
138
|
model: 'R7051',
|
|
139
139
|
vendor: 'Woox',
|
|
140
140
|
description: 'Smart siren',
|