zigbee-herdsman-converters 14.0.492 → 14.0.493
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/heiman.js +10 -2
- package/devices/philips.js +1 -1
- package/devices/tuya.js +2 -1
- package/package.json +1 -1
package/devices/heiman.js
CHANGED
|
@@ -285,9 +285,17 @@ module.exports = [
|
|
|
285
285
|
model: 'SMHM-I1',
|
|
286
286
|
vendor: 'HEIMAN',
|
|
287
287
|
description: 'Smart motion sensor',
|
|
288
|
-
fromZigbee: [fz.ias_occupancy_alarm_1],
|
|
288
|
+
fromZigbee: [fz.ias_occupancy_alarm_1, fz.battery],
|
|
289
289
|
toZigbee: [],
|
|
290
|
-
exposes: [e.occupancy(), e.battery_low()],
|
|
290
|
+
exposes: [e.occupancy(), e.battery_low(), e.battery(), e.battery_voltage()],
|
|
291
|
+
meta: {battery: {voltageToPercentage: '3V_2500'}},
|
|
292
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
293
|
+
const endpoint = device.getEndpoint(1);
|
|
294
|
+
const bindClusters = ['genPowerCfg'];
|
|
295
|
+
await reporting.bind(endpoint, coordinatorEndpoint, bindClusters);
|
|
296
|
+
await reporting.batteryPercentageRemaining(endpoint);
|
|
297
|
+
await reporting.batteryVoltage(endpoint);
|
|
298
|
+
},
|
|
291
299
|
},
|
|
292
300
|
{
|
|
293
301
|
zigbeeModel: ['HT-EM', 'TH-EM', 'TH-T_V14'],
|
package/devices/philips.js
CHANGED
|
@@ -591,7 +591,7 @@ module.exports = [
|
|
|
591
591
|
ota: ota.zigbeeOTA,
|
|
592
592
|
},
|
|
593
593
|
{
|
|
594
|
-
zigbeeModel: ['4090531P9'],
|
|
594
|
+
zigbeeModel: ['4090531P9', '929003053601'],
|
|
595
595
|
model: '4090531P9',
|
|
596
596
|
vendor: 'Philips',
|
|
597
597
|
description: 'Hue Flourish white and color ambiance ceiling light with Bluetooth',
|
package/devices/tuya.js
CHANGED
|
@@ -287,7 +287,8 @@ module.exports = [
|
|
|
287
287
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_mzdax7ha'},
|
|
288
288
|
{modelID: 'TS0505B', manufacturerName: '_TZB210_tmi0rihb'},
|
|
289
289
|
{modelID: 'TS0505B', manufacturerName: '_TZ3210_a4s41wm4'},
|
|
290
|
-
{modelID: 'TS0505B', manufacturerName: '_TZ3210_qxenlrin'}
|
|
290
|
+
{modelID: 'TS0505B', manufacturerName: '_TZ3210_qxenlrin'},
|
|
291
|
+
{modelID: 'TS0505B', manufacturerName: '_TZ3210_klv2wul0'}],
|
|
291
292
|
model: 'TS0505B',
|
|
292
293
|
vendor: 'TuYa',
|
|
293
294
|
description: 'Zigbee RGB+CCT light',
|