zigbee-herdsman-converters 14.0.300 → 14.0.304
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/gledopto.js +1 -0
- package/devices/ledvance.js +1 -1
- package/devices/osram.js +7 -3
- package/devices/perenio.js +14 -0
- package/devices/philips.js +12 -3
- package/devices/tuya.js +3 -2
- package/lib/exposes.js +1 -0
- package/lib/ota/tradfri.js +5 -2
- package/npm-shrinkwrap.json +1137 -1315
- package/package.json +3 -3
package/devices/gledopto.js
CHANGED
package/devices/ledvance.js
CHANGED
|
@@ -47,7 +47,7 @@ module.exports = [
|
|
|
47
47
|
model: '4058075208414',
|
|
48
48
|
vendor: 'LEDVANCE',
|
|
49
49
|
description: 'SMART+ candle E14 tunable white',
|
|
50
|
-
extend: extend.ledvance.light_onoff_brightness_colortemp(),
|
|
50
|
+
extend: extend.ledvance.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
|
|
51
51
|
ota: ota.ledvance,
|
|
52
52
|
},
|
|
53
53
|
{
|
package/devices/osram.js
CHANGED
|
@@ -51,7 +51,7 @@ module.exports = [
|
|
|
51
51
|
model: 'AC10787',
|
|
52
52
|
vendor: 'OSRAM',
|
|
53
53
|
description: 'SMART+ classic E27 TW',
|
|
54
|
-
extend: extend.ledvance.light_onoff_brightness_colortemp(),
|
|
54
|
+
extend: extend.ledvance.light_onoff_brightness_colortemp({colorTempRange: [153, 370]}),
|
|
55
55
|
ota: ota.ledvance,
|
|
56
56
|
},
|
|
57
57
|
{
|
|
@@ -385,8 +385,12 @@ module.exports = [
|
|
|
385
385
|
zigbeeModel: ['Zigbee 3.0 DALI CONV LI'],
|
|
386
386
|
model: '4062172044776',
|
|
387
387
|
vendor: 'OSRAM',
|
|
388
|
-
description: '
|
|
388
|
+
description: 'Zigbee 3.0 DALI CONV LI dimmer for DALI-based luminaires',
|
|
389
389
|
extend: extend.ledvance.light_onoff_brightness(),
|
|
390
|
-
|
|
390
|
+
exposes: [e.light_brightness().withEndpoint('l1'), e.light_brightness().withEndpoint('l2')],
|
|
391
|
+
endpoint: (device) => {
|
|
392
|
+
return {'l1': 10, 'l2': 11};
|
|
393
|
+
},
|
|
394
|
+
meta: {multiEndpoint: true},
|
|
391
395
|
},
|
|
392
396
|
];
|
package/devices/perenio.js
CHANGED
|
@@ -18,4 +18,18 @@ module.exports = [
|
|
|
18
18
|
},
|
|
19
19
|
exposes: [e.water_leak(), e.battery_low(), e.tamper(), e.battery()],
|
|
20
20
|
},
|
|
21
|
+
{
|
|
22
|
+
zigbeeModel: ['ZHA-DoorLockSensor'],
|
|
23
|
+
model: 'PECWS01',
|
|
24
|
+
vendor: 'Perenio',
|
|
25
|
+
description: 'Door sensor',
|
|
26
|
+
fromZigbee: [fz.ias_contact_alarm_1, fz.battery, fz.ignore_basic_report, fz.ias_contact_alarm_1_report],
|
|
27
|
+
toZigbee: [],
|
|
28
|
+
exposes: [e.contact(), e.battery()],
|
|
29
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
30
|
+
const endpoint = device.getEndpoint(1);
|
|
31
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg']);
|
|
32
|
+
await reporting.batteryPercentageRemaining(endpoint);
|
|
33
|
+
},
|
|
34
|
+
},
|
|
21
35
|
];
|
package/devices/philips.js
CHANGED
|
@@ -1964,12 +1964,12 @@ module.exports = [
|
|
|
1964
1964
|
ota: ota.zigbeeOTA,
|
|
1965
1965
|
},
|
|
1966
1966
|
{
|
|
1967
|
-
zigbeeModel: ['5047131P9'],
|
|
1967
|
+
zigbeeModel: ['5047131P9', '5047131P6'],
|
|
1968
1968
|
model: '5047131P9',
|
|
1969
1969
|
vendor: 'Philips',
|
|
1970
|
-
description: 'Hue White ambiance Buckram',
|
|
1970
|
+
description: 'Hue White ambiance Buckram single spotlight with bluetooth',
|
|
1971
1971
|
meta: {turnsOffAtBrightness1: true},
|
|
1972
|
-
extend: hueExtend.light_onoff_brightness_colortemp(),
|
|
1972
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
1973
1973
|
ota: ota.zigbeeOTA,
|
|
1974
1974
|
},
|
|
1975
1975
|
{
|
|
@@ -2197,4 +2197,13 @@ module.exports = [
|
|
|
2197
2197
|
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2198
2198
|
ota: ota.zigbeeOTA,
|
|
2199
2199
|
},
|
|
2200
|
+
{
|
|
2201
|
+
zigbeeModel: ['5047131P8'],
|
|
2202
|
+
model: '5047131P8',
|
|
2203
|
+
vendor: 'Philips',
|
|
2204
|
+
description: 'Hue White ambiance Buckram single spotlight',
|
|
2205
|
+
meta: {turnsOffAtBrightness1: true},
|
|
2206
|
+
extend: hueExtend.light_onoff_brightness_colortemp({colorTempRange: [153, 454]}),
|
|
2207
|
+
ota: ota.zigbeeOTA,
|
|
2208
|
+
},
|
|
2200
2209
|
];
|
package/devices/tuya.js
CHANGED
|
@@ -705,6 +705,7 @@ module.exports = [
|
|
|
705
705
|
{modelID: 'TS0601', manufacturerName: '_TZE200_rddyvrci'},
|
|
706
706
|
{modelID: 'TS0601', manufacturerName: '_TZE200_nueqqe6k'},
|
|
707
707
|
{modelID: 'TS0601', manufacturerName: '_TZE200_xaabybja'},
|
|
708
|
+
{modelID: 'TS0601', manufacturerName: '_TZE200_rmymn92d'},
|
|
708
709
|
{modelID: 'zo2pocs\u0000', manufacturerName: '_TYST11_fzo2pocs'},
|
|
709
710
|
// Roller blinds:
|
|
710
711
|
{modelID: 'TS0601', manufacturerName: '_TZE200_sbordckq'},
|
|
@@ -825,8 +826,8 @@ module.exports = [
|
|
|
825
826
|
},
|
|
826
827
|
{
|
|
827
828
|
fingerprint: [{modelID: 'TS0601', manufacturerName: '_TZE200_a4bpgplm'}],
|
|
828
|
-
model: '
|
|
829
|
-
vendor: '
|
|
829
|
+
model: 'TS0601_thermostat_1',
|
|
830
|
+
vendor: 'TuYa',
|
|
830
831
|
description: 'Thermostatic radiator valve',
|
|
831
832
|
onEvent: tuya.onEventSetLocalTime,
|
|
832
833
|
fromZigbee: [fz.ignore_basic_report, fz.ignore_tuya_set_time, fz.haozee_thermostat],
|
package/lib/exposes.js
CHANGED
package/lib/ota/tradfri.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
const productionURL = 'http://fw.ota.homesmart.ikea.net/feed/version_info.json';
|
|
2
2
|
const testURL = 'http://fw.test.ota.homesmart.ikea.net/feed/version_info.json';
|
|
3
|
-
const assert = require('assert');
|
|
4
3
|
const common = require('./common');
|
|
5
4
|
const axios = common.getAxios();
|
|
6
5
|
let useTestURL = false;
|
|
@@ -14,7 +13,11 @@ async function getImageMeta(current, logger, device) {
|
|
|
14
13
|
const imageType = current.imageType;
|
|
15
14
|
const images = (await axios.get(url)).data;
|
|
16
15
|
const image = images.find((i) => i.fw_image_type === imageType);
|
|
17
|
-
|
|
16
|
+
|
|
17
|
+
if (!image) {
|
|
18
|
+
throw new Error(`No image available for imageType '${imageType}'`);
|
|
19
|
+
}
|
|
20
|
+
|
|
18
21
|
return {
|
|
19
22
|
fileVersion: (image.fw_file_version_MSB << 16) | image.fw_file_version_LSB,
|
|
20
23
|
url: image.fw_binary_url,
|