zigbee-herdsman-converters 14.0.664 → 14.0.666
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/converters/fromZigbee.js +12 -5
- package/devices/RMC002.js +3 -0
- package/devices/gledopto.js +8 -0
- package/devices/philips.js +7 -0
- package/devices/sengled.js +16 -0
- package/devices/tuya.js +2 -1
- package/lib/ota/OTA_URLs.md +6 -0
- package/package.json +1 -1
package/converters/fromZigbee.js
CHANGED
|
@@ -347,16 +347,16 @@ const converters = {
|
|
|
347
347
|
msg.data.batteryAlarmState & 1<<3
|
|
348
348
|
) > 0;
|
|
349
349
|
const battery2Low = (
|
|
350
|
-
msg.data.batteryAlarmState & 1<<9 ||
|
|
351
350
|
msg.data.batteryAlarmState & 1<<10 ||
|
|
352
351
|
msg.data.batteryAlarmState & 1<<11 ||
|
|
353
|
-
msg.data.batteryAlarmState & 1<<12
|
|
352
|
+
msg.data.batteryAlarmState & 1<<12 ||
|
|
353
|
+
msg.data.batteryAlarmState & 1<<13
|
|
354
354
|
) > 0;
|
|
355
355
|
const battery3Low = (
|
|
356
|
-
msg.data.batteryAlarmState & 1<<19 ||
|
|
357
356
|
msg.data.batteryAlarmState & 1<<20 ||
|
|
358
357
|
msg.data.batteryAlarmState & 1<<21 ||
|
|
359
|
-
msg.data.batteryAlarmState & 1<<22
|
|
358
|
+
msg.data.batteryAlarmState & 1<<22 ||
|
|
359
|
+
msg.data.batteryAlarmState & 1<<23
|
|
360
360
|
) > 0;
|
|
361
361
|
payload.battery_low = battery1Low || battery2Low || battery3Low;
|
|
362
362
|
}
|
|
@@ -4086,7 +4086,14 @@ const converters = {
|
|
|
4086
4086
|
case tuya.dataPoints.moesSvalvePosition:
|
|
4087
4087
|
return {position: value};
|
|
4088
4088
|
case tuya.dataPoints.moesScompensationTempSet:
|
|
4089
|
-
return {
|
|
4089
|
+
return {
|
|
4090
|
+
local_temperature_calibration: value,
|
|
4091
|
+
// local_temperature is now stale: the valve does not report the re-calibrated value until an actual temperature change
|
|
4092
|
+
// so update local_temperature by subtracting the old calibration and adding the new one
|
|
4093
|
+
...(meta && meta.state && meta.state.local_temperature != null && meta.state.local_temperature_calibration != null) ?
|
|
4094
|
+
{local_temperature: meta.state.local_temperature + (value - meta.state.local_temperature_calibration)} :
|
|
4095
|
+
{},
|
|
4096
|
+
};
|
|
4090
4097
|
case tuya.dataPoints.moesSecoMode:
|
|
4091
4098
|
return {eco_mode: value ? 'ON' : 'OFF'};
|
|
4092
4099
|
case tuya.dataPoints.moesSecoModeTempSet:
|
package/devices/RMC002.js
CHANGED
|
@@ -12,6 +12,9 @@ module.exports = [
|
|
|
12
12
|
const endpoint = device.getEndpoint(1);
|
|
13
13
|
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
14
14
|
await reporting.onOff(endpoint);
|
|
15
|
+
// Reports itself as unknown which is not correct
|
|
16
|
+
device.powerSource = 'Mains (single phase)';
|
|
17
|
+
device.save();
|
|
15
18
|
},
|
|
16
19
|
},
|
|
17
20
|
];
|
package/devices/gledopto.js
CHANGED
|
@@ -690,6 +690,14 @@ module.exports = [
|
|
|
690
690
|
description: 'Zigbee 12W Garden Lamp RGB+CCT (pro)',
|
|
691
691
|
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
692
692
|
},
|
|
693
|
+
{
|
|
694
|
+
zigbeeModel: ['GL-G-101P'],
|
|
695
|
+
model: 'GL-G-101P',
|
|
696
|
+
vendor: 'Gledopto',
|
|
697
|
+
ota: ota.zigbeeOTA,
|
|
698
|
+
description: 'Zigbee 12W garden lamp RGB+CCT (pro)',
|
|
699
|
+
extend: gledoptoExtend.light_onoff_brightness_colortemp_color(),
|
|
700
|
+
},
|
|
693
701
|
{
|
|
694
702
|
zigbeeModel: ['GL-G-002P'],
|
|
695
703
|
model: 'GL-G-002P',
|
package/devices/philips.js
CHANGED
|
@@ -1700,6 +1700,13 @@ module.exports = [
|
|
|
1700
1700
|
description: 'Hue White & Color ambience Centris ceiling light (3 spots)',
|
|
1701
1701
|
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
1702
1702
|
},
|
|
1703
|
+
{
|
|
1704
|
+
zigbeeModel: ['5060831P7_01', '5060831P7_02', '5060831P7_03', '5060831P7_04'],
|
|
1705
|
+
model: '5060831P7',
|
|
1706
|
+
vendor: 'Philips',
|
|
1707
|
+
description: 'Hue White & Color ambience Centris ceiling light (3 spots)',
|
|
1708
|
+
extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
|
|
1709
|
+
},
|
|
1703
1710
|
{
|
|
1704
1711
|
zigbeeModel: ['5061031P7_01', '5061031P7_02', '5061031P7_03'],
|
|
1705
1712
|
model: '5061031P7',
|
package/devices/sengled.js
CHANGED
|
@@ -246,6 +246,22 @@ module.exports = [
|
|
|
246
246
|
await reporting.batteryPercentageRemaining(endpoint);
|
|
247
247
|
},
|
|
248
248
|
},
|
|
249
|
+
{
|
|
250
|
+
zigbeeModel: ['E2D-G73'],
|
|
251
|
+
model: 'E2D-G73',
|
|
252
|
+
vendor: 'Sengled',
|
|
253
|
+
description: 'Smart window and door sensor G2',
|
|
254
|
+
fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
|
|
255
|
+
toZigbee: [],
|
|
256
|
+
ota: ota.zigbeeOTA,
|
|
257
|
+
exposes: [e.contact(), e.battery_low(), e.battery(), e.battery_voltage(), e.tamper()],
|
|
258
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
259
|
+
const endpoint = device.getEndpoint(1);
|
|
260
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg']);
|
|
261
|
+
await reporting.batteryVoltage(endpoint);
|
|
262
|
+
await reporting.batteryPercentageRemaining(endpoint);
|
|
263
|
+
},
|
|
264
|
+
},
|
|
249
265
|
{
|
|
250
266
|
zigbeeModel: ['E1C-NB6'],
|
|
251
267
|
model: 'E1C-NB6',
|
package/devices/tuya.js
CHANGED
|
@@ -1479,7 +1479,8 @@ module.exports = [
|
|
|
1479
1479
|
{
|
|
1480
1480
|
fingerprint: [{modelID: 'TS0215A', manufacturerName: '_TZ3000_p6ju8myv'},
|
|
1481
1481
|
{modelID: 'TS0215A', manufacturerName: '_TZ3000_0zrccfgx'},
|
|
1482
|
-
{modelID: 'TS0215A', manufacturerName: '_TZ3000_fsiepnrh'}
|
|
1482
|
+
{modelID: 'TS0215A', manufacturerName: '_TZ3000_fsiepnrh'},
|
|
1483
|
+
{modelID: 'TS0215A', manufacturerName: '_TZ3000_ug1vtuzn'}],
|
|
1483
1484
|
model: 'TS0215A_remote',
|
|
1484
1485
|
vendor: 'TuYa',
|
|
1485
1486
|
description: 'Security remote control',
|
package/lib/ota/OTA_URLs.md
CHANGED
|
@@ -111,3 +111,9 @@ https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/OTA-Image-Types---
|
|
|
111
111
|
Ubisys Zigbee OTA firmware images are made publicly available by Ubisys (first-party) at the following URL:
|
|
112
112
|
|
|
113
113
|
https://www.ubisys.de/en/support/firmware/
|
|
114
|
+
|
|
115
|
+
### Third Reality (3reality)
|
|
116
|
+
|
|
117
|
+
ThirdReality (3reality) Zigbee OTA firmware images are made publicly available by Third Reality, Inc. (first-party) at the following URL:
|
|
118
|
+
|
|
119
|
+
https://tr-zha.s3.amazonaws.com/firmware.json
|