zigbee-herdsman-converters 14.0.464 → 14.0.465
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/ikea.js +8 -1
- package/devices/niko.js +24 -1
- package/devices/tuya.js +6 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/devices/ikea.js
CHANGED
|
@@ -746,7 +746,7 @@ module.exports = [
|
|
|
746
746
|
extend: tradfriExtend.light_onoff_brightness_colortemp_color({colorTempRange: [250, 454]}),
|
|
747
747
|
},
|
|
748
748
|
{
|
|
749
|
-
zigbeeModel: ['TRADFRI bulb E14 CWS 470lm', 'TRADFRI bulb E12 CWS 450lm'],
|
|
749
|
+
zigbeeModel: ['TRADFRI bulb E14 CWS 470lm', 'TRADFRI bulb E12 CWS 450lm', 'TRADFRI bulb E17 CWS 440lm'],
|
|
750
750
|
model: 'LED1925G6',
|
|
751
751
|
vendor: 'IKEA',
|
|
752
752
|
description: 'TRADFRI LED bulb E14 470 lumen, opal, dimmable, white spectrum, color spectrum',
|
|
@@ -820,4 +820,11 @@ module.exports = [
|
|
|
820
820
|
description: 'TRADFRI LED bulb E14 470 lumen, wireless dimmable white spectrum/chandelier opal white',
|
|
821
821
|
extend: tradfriExtend.light_onoff_brightness_colortemp(),
|
|
822
822
|
},
|
|
823
|
+
{
|
|
824
|
+
zigbeeModel: ['NYMANE PENDANT'],
|
|
825
|
+
model: '90504044',
|
|
826
|
+
vendor: 'IKEA',
|
|
827
|
+
description: 'NYMÅNE Pendant lamp',
|
|
828
|
+
extend: tradfriExtend.light_onoff_brightness_colortemp(),
|
|
829
|
+
},
|
|
823
830
|
];
|
package/devices/niko.js
CHANGED
|
@@ -77,7 +77,7 @@ module.exports = [
|
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
zigbeeModel: ['Single connectable switch,10A'],
|
|
80
|
-
model: '552-
|
|
80
|
+
model: '552-721X1',
|
|
81
81
|
vendor: 'Niko',
|
|
82
82
|
description: 'Single connectable switch',
|
|
83
83
|
fromZigbee: [fz.on_off],
|
|
@@ -91,4 +91,27 @@ module.exports = [
|
|
|
91
91
|
e.switch(),
|
|
92
92
|
],
|
|
93
93
|
},
|
|
94
|
+
{
|
|
95
|
+
zigbeeModel: ['Double connectable switch,10A'],
|
|
96
|
+
model: '552-721X2',
|
|
97
|
+
vendor: 'Niko',
|
|
98
|
+
description: 'Double connectable switch',
|
|
99
|
+
fromZigbee: [fz.on_off],
|
|
100
|
+
toZigbee: [tz.on_off],
|
|
101
|
+
endpoint: (device) => {
|
|
102
|
+
return {'l1': 1, 'l2': 2};
|
|
103
|
+
},
|
|
104
|
+
meta: {multiEndpoint: true},
|
|
105
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
106
|
+
const ep1 = device.getEndpoint(1);
|
|
107
|
+
const ep2 = device.getEndpoint(2);
|
|
108
|
+
await reporting.bind(ep1, coordinatorEndpoint, ['genOnOff']);
|
|
109
|
+
await reporting.bind(ep2, coordinatorEndpoint, ['genOnOff']);
|
|
110
|
+
await reporting.onOff(ep1);
|
|
111
|
+
await reporting.onOff(ep2);
|
|
112
|
+
},
|
|
113
|
+
exposes: [
|
|
114
|
+
e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'),
|
|
115
|
+
],
|
|
116
|
+
},
|
|
94
117
|
];
|
package/devices/tuya.js
CHANGED
|
@@ -358,6 +358,11 @@ module.exports = [
|
|
|
358
358
|
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_occupancy_alarm_1_report],
|
|
359
359
|
toZigbee: [],
|
|
360
360
|
exposes: [e.occupancy(), e.battery_low(), e.tamper(), e.battery(), e.battery_voltage()],
|
|
361
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
362
|
+
const endpoint = device.getEndpoint(1);
|
|
363
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg']);
|
|
364
|
+
await reporting.batteryPercentageRemaining(endpoint);
|
|
365
|
+
},
|
|
361
366
|
},
|
|
362
367
|
{
|
|
363
368
|
fingerprint: [{modelID: 'TS0202', manufacturerName: '_TZ3000_mcxw5ehu'},
|
|
@@ -663,6 +668,7 @@ module.exports = [
|
|
|
663
668
|
{modelID: 'TS0502B', manufacturerName: '_TZ3000_zw7wr5uo'},
|
|
664
669
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_pz9zmxjj'},
|
|
665
670
|
{modelID: 'TS0502B', manufacturerName: '_TZ3000_fzwhym79'},
|
|
671
|
+
{modelID: 'TS0502B', manufacturerName: '_TZ3000_ogceypug'},
|
|
666
672
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_rm0hthdo'},
|
|
667
673
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_zwqnazkb'},
|
|
668
674
|
{modelID: 'TS0502B', manufacturerName: '_TZ3210_ijsj2evj'},
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zigbee-herdsman-converters",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.465",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "zigbee-herdsman-converters",
|
|
9
|
-
"version": "14.0.
|
|
9
|
+
"version": "14.0.465",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"axios": "^0.26.1",
|