zigbee-herdsman-converters 14.0.562 → 14.0.563
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/hive.js +7 -0
- package/devices/tuya.js +8 -0
- package/devices/xiaomi.js +12 -4
- package/package.json +1 -1
package/devices/hive.js
CHANGED
|
@@ -9,6 +9,13 @@ const e = exposes.presets;
|
|
|
9
9
|
const ea = exposes.access;
|
|
10
10
|
|
|
11
11
|
module.exports = [
|
|
12
|
+
{
|
|
13
|
+
zigbeeModel: ['FWGU10Bulb02UK'],
|
|
14
|
+
model: 'FWGU10Bulb02UK',
|
|
15
|
+
vendor: 'Hive',
|
|
16
|
+
description: 'GU10 warm white',
|
|
17
|
+
extend: extend.light_onoff_brightness(),
|
|
18
|
+
},
|
|
12
19
|
{
|
|
13
20
|
zigbeeModel: ['MOT003'],
|
|
14
21
|
model: 'MOT003',
|
package/devices/tuya.js
CHANGED
|
@@ -441,6 +441,14 @@ module.exports = [
|
|
|
441
441
|
extend: extend.switch(),
|
|
442
442
|
whiteLabel: [{vendor: 'Mumubiz', model: 'ZJSB9-80Z'}],
|
|
443
443
|
},
|
|
444
|
+
{
|
|
445
|
+
fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_8fdayfch'}],
|
|
446
|
+
model: 'TS011F_relay_switch',
|
|
447
|
+
vendor: 'TuYa',
|
|
448
|
+
description: 'Dry contact relay switch',
|
|
449
|
+
extend: extend.switch(),
|
|
450
|
+
whiteLabel: [{vendor: 'KTNNKG', model: 'ZB1248-10A'}],
|
|
451
|
+
},
|
|
444
452
|
{
|
|
445
453
|
fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3000_qqjaziws'},
|
|
446
454
|
{modelID: 'TS0505B', manufacturerName: '_TZ3000_jtmhndw2'},
|
package/devices/xiaomi.js
CHANGED
|
@@ -269,11 +269,19 @@ module.exports = [
|
|
|
269
269
|
model: 'WS-USC01',
|
|
270
270
|
vendor: 'Xiaomi',
|
|
271
271
|
description: 'Aqara smart wall switch (no neutral, single rocker)',
|
|
272
|
-
|
|
272
|
+
fromZigbee: [fz.on_off, fz.xiaomi_multistate_action, fz.aqara_opple],
|
|
273
|
+
toZigbee: [tz.on_off, tz.xiaomi_switch_operation_mode_opple,
|
|
274
|
+
tz.xiaomi_flip_indicator_light, tz.aqara_switch_mode_switch],
|
|
275
|
+
exposes: [e.switch(), e.action(['single', 'double']), e.flip_indicator_light(),
|
|
276
|
+
exposes.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled']).withDescription('Decoupled mode'),
|
|
277
|
+
exposes.enum('mode_switch', ea.ALL, ['anti_flicker_mode', 'quick_mode'])
|
|
278
|
+
.withDescription('Anti flicker mode can be used to solve blinking issues of some lights.' +
|
|
279
|
+
'Quick mode makes the device respond faster.')],
|
|
280
|
+
onEvent: preventReset,
|
|
273
281
|
configure: async (device, coordinatorEndpoint, logger) => {
|
|
274
|
-
const
|
|
275
|
-
|
|
276
|
-
await
|
|
282
|
+
const endpoint1 = device.getEndpoint(1);
|
|
283
|
+
// set "event" mode
|
|
284
|
+
await endpoint1.write('aqaraOpple', {'mode': 1}, {manufacturerCode: 0x115f, disableResponse: true});
|
|
277
285
|
},
|
|
278
286
|
},
|
|
279
287
|
{
|