zigbee-herdsman-converters 15.0.115 → 15.0.116

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/bosch.js CHANGED
@@ -812,6 +812,7 @@ const definition = [
812
812
  model: 'BSP-FZ2',
813
813
  vendor: 'Bosch',
814
814
  description: 'Plug compact EU',
815
+ ota: ota.zigbeeOTA,
815
816
  fromZigbee: [fz.on_off, fz.power_on_behavior, fz.electrical_measurement, fz.metering],
816
817
  toZigbee: [tz.on_off, tz.power_on_behavior],
817
818
  configure: async (device, coordinatorEndpoint, logger) => {
@@ -578,6 +578,38 @@ module.exports = [
578
578
  description: 'Zigbee 12W Downlight RGB+CCT (pro)',
579
579
  extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
580
580
  },
581
+ {
582
+ zigbeeModel: ['GL-D-009P'],
583
+ model: 'GL-D-009P',
584
+ vendor: 'Gledopto',
585
+ ota: ota.zigbeeOTA,
586
+ description: 'Zigbee 12W Downlight RGB+CCT (pro)',
587
+ extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
588
+ },
589
+ {
590
+ zigbeeModel: ['GL-D-015P'],
591
+ model: 'GL-D-015P',
592
+ vendor: 'Gledopto',
593
+ ota: ota.zigbeeOTA,
594
+ description: 'Zigbee 12W Downlight RGB+CCT (pro)',
595
+ extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
596
+ },
597
+ {
598
+ zigbeeModel: ['GL-D-010P'],
599
+ model: 'GL-D-010P',
600
+ vendor: 'Gledopto',
601
+ ota: ota.zigbeeOTA,
602
+ description: 'Zigbee 12W Downlight RGB+CCT (pro)',
603
+ extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
604
+ },
605
+ {
606
+ zigbeeModel: ['GL-D-013P'],
607
+ model: 'GL-D-013P',
608
+ vendor: 'Gledopto',
609
+ ota: ota.zigbeeOTA,
610
+ description: 'Zigbee 6W Downlight RGB+CCT (pro)',
611
+ extend: gledoptoExtend.light_onoff_brightness_colortemp_color({colorTempRange: [158, 495]}),
612
+ },
581
613
  {
582
614
  zigbeeModel: ['GL-D-006P'],
583
615
  model: 'GL-D-006P',
@@ -35,7 +35,7 @@ module.exports = [
35
35
  exposes.numeric('calibration_time', ea.STATE).withUnit('S').withDescription('Calibration time')],
36
36
  },
37
37
  {
38
- fingerprint: [{modelID: 'TS130F', manufacturerName: '_TZ3000_j1xl73iw'}, {modelID: 'TS130F', manufacturerName: '_TZ3000_kmsbwdol'}],
38
+ fingerprint: tuya.fingerprint('TS130F', ['_TZ3000_j1xl73iw', '_TZ3000_kmsbwdol', '_TZ3000_esynmmox']),
39
39
  model: 'TS130F_dual',
40
40
  vendor: 'Lonsonho',
41
41
  description: 'Dual curtain/blind module',
package/devices/namron.js CHANGED
@@ -773,4 +773,13 @@ module.exports = [
773
773
  await reporting.currentPositionLiftPercentage(endpoint);
774
774
  },
775
775
  },
776
+ {
777
+ zigbeeModel: ['4512763'],
778
+ model: '4512763',
779
+ vendor: 'Namron',
780
+ description: 'Zigbee movement sensor',
781
+ fromZigbee: [fz.ias_occupancy_alarm_1],
782
+ toZigbee: [],
783
+ exposes: [e.occupancy()],
784
+ },
776
785
  ];
package/devices/nodon.js CHANGED
@@ -36,6 +36,21 @@ module.exports = [
36
36
  },
37
37
  exposes: [e.cover_position()],
38
38
  },
39
+ {
40
+ zigbeeModel: ['SIN-4-RS-20_LEX'],
41
+ model: 'SIN-4-RS-20_LEX',
42
+ vendor: 'NodOn',
43
+ description: 'Roller shutter controller (Leroy Merlin version)',
44
+ fromZigbee: [fz.cover_position_tilt],
45
+ toZigbee: [tz.cover_state, tz.cover_position_tilt],
46
+ configure: async (device, coordinatorEndpoint, logger) => {
47
+ const endpoint = device.getEndpoint(1);
48
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genPowerCfg', 'closuresWindowCovering']);
49
+ await reporting.currentPositionLiftPercentage(endpoint);
50
+ await reporting.currentPositionTiltPercentage(endpoint);
51
+ },
52
+ exposes: [e.cover_position()],
53
+ },
39
54
  {
40
55
  zigbeeModel: ['SIN-4-1-20'],
41
56
  model: 'SIN-4-1-20',
package/devices/tuya.js CHANGED
@@ -1225,22 +1225,6 @@ module.exports = [
1225
1225
  await endpoint.read('genOnOff', ['onOff', 'moesStartUpOnOff']);
1226
1226
  },
1227
1227
  },
1228
- {
1229
- fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_1hwjutgo'}, {modelID: 'TS011F', manufacturerName: '_TZ3000_lnggrqqi'}],
1230
- model: 'TS011F_circuit_breaker',
1231
- vendor: 'TuYa',
1232
- description: 'Circuit breaker',
1233
- extend: tuya.extend.switch(),
1234
- whiteLabel: [{vendor: 'Mumubiz', model: 'ZJSB9-80Z'}],
1235
- },
1236
- {
1237
- fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_8fdayfch'}],
1238
- model: 'TS011F_relay_switch',
1239
- vendor: 'TuYa',
1240
- description: 'Dry contact relay switch',
1241
- extend: tuya.extend.switch(),
1242
- whiteLabel: [{vendor: 'KTNNKG', model: 'ZB1248-10A'}],
1243
- },
1244
1228
  {
1245
1229
  zigbeeModel: ['CK-BL702-AL-01(7009_Z102LG03-1)'],
1246
1230
  model: 'CK-BL702-AL-01',
@@ -1917,6 +1901,22 @@ module.exports = [
1917
1901
  ],
1918
1902
  },
1919
1903
  },
1904
+ {
1905
+ fingerprint: tuya.fingerprint('TS0601', ['_TZE204_ojtqawav']),
1906
+ model: 'TS0601_switch_1_gang',
1907
+ vendor: 'TuYa',
1908
+ description: '1 gang switch',
1909
+ exposes: [e.switch().setAccess('state', ea.STATE_SET)],
1910
+ fromZigbee: [fz.ignore_basic_report, fz.tuya_switch],
1911
+ toZigbee: [tz.tuya_switch_state],
1912
+ whiteLabel: [
1913
+ tuya.whitelabel('Shawader', 'SMKG-1KNL-US/TZB-W', '1 gang switch', ['_TZE204_ojtqawav']),
1914
+ ],
1915
+ configure: async (device, coordinatorEndpoint, logger) => {
1916
+ await tuya.configureMagicPacket(device, coordinatorEndpoint, logger);
1917
+ await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ['genOnOff']);
1918
+ },
1919
+ },
1920
1920
  {
1921
1921
  fingerprint: [
1922
1922
  {modelID: 'TS0601', manufacturerName: '_TZE200_nkjintbl'},
@@ -2231,9 +2231,12 @@ module.exports = [
2231
2231
  model: 'TS0044',
2232
2232
  vendor: 'TuYa',
2233
2233
  description: 'Wireless switch with 4 buttons',
2234
- whiteLabel: [{vendor: 'Lonsonho', model: 'TS0044'}, {vendor: 'Haozee', model: 'ESW-OZAA-EU'},
2234
+ whiteLabel: [
2235
+ {vendor: 'Lonsonho', model: 'TS0044'}, {vendor: 'Haozee', model: 'ESW-OZAA-EU'},
2235
2236
  {vendor: 'LoraTap', model: 'SS6400ZB'}, {vendor: 'Moes', model: 'ZT-SY-EU-G-4S-WH-MS'},
2236
- tuya.whitelabel('Moes', 'ZT-SR-EU4', 'Star Ring 4 Gang Scene Switch', ['_TZ3000_a4xycprs'])],
2237
+ tuya.whitelabel('Moes', 'ZT-SR-EU4', 'Star Ring 4 Gang Scene Switch', ['_TZ3000_a4xycprs']),
2238
+ tuya.whitelabel('TuYa', 'TS0044_1', 'Zigbee 4 button remote - 12 scene', ['_TZ3000_dziaict4']),
2239
+ ],
2237
2240
  fromZigbee: [fz.tuya_on_off_action, fz.battery],
2238
2241
  exposes: [e.battery(), e.action(['1_single', '1_double', '1_hold', '2_single', '2_double', '2_hold',
2239
2242
  '3_single', '3_double', '3_hold', '4_single', '4_double', '4_hold'])],
@@ -5237,6 +5240,20 @@ module.exports = [
5237
5240
  tuya.whitelabel('ZYXH', 'TS0601_switch_8', '8 Gang switch', ['_TZE200_vmcgja59']),
5238
5241
  ],
5239
5242
  },
5243
+
5244
+ // TS011F
5245
+ {
5246
+ fingerprint: tuya.fingerprint('TS01FF', ['_TZ3000_8fdayfch', '_TZ3000_1hwjutgo', '_TZ3000_lnggrqqi', '_TZ3000_tvuarksa']),
5247
+ model: 'TS011F_1',
5248
+ vendor: 'TuYa',
5249
+ description: 'Switch',
5250
+ extend: tuya.extend.switch(),
5251
+ whiteLabel: [
5252
+ {vendor: 'Mumubiz', model: 'ZJSB9-80Z'},
5253
+ tuya.whitelabel('KTNNKG', 'ZB1248-10A', 'Relay switch', ['_TZ3000_8fdayfch']),
5254
+ tuya.whitelabel('UseeLink', 'SM-AZ713', 'Smart water/gas valve', ['_TZ3000_tvuarksa']),
5255
+ ],
5256
+ },
5240
5257
  {
5241
5258
  fingerprint: tuya.fingerprint('TS01FF', ['_TZ3000_rqbjepe8']),
5242
5259
  model: 'TS011F_4',
@@ -5259,4 +5276,25 @@ module.exports = [
5259
5276
  options: [exposes.options.measurement_poll_interval()],
5260
5277
  onEvent: (type, data, device, options) => tuya.onEventMeasurementPoll(type, data, device, options, true, false),
5261
5278
  },
5279
+ {
5280
+ fingerprint: tuya.fingerprint('TS011F', ['_TZ3000_cfnprab5', '_TZ3000_o005nuxx']),
5281
+ model: 'TS011F_5',
5282
+ description: '5 gang switch',
5283
+ vendor: 'TuYa',
5284
+ extend: tuya.extend.switch({powerOutageMemory: true, childLock: true, endpoints: ['l1', 'l2', 'l3', 'l4', 'l5']}),
5285
+ endpoint: (device) => {
5286
+ return {l1: 1, l2: 2, l3: 3, l4: 4, l5: 5};
5287
+ },
5288
+ meta: {multiEndpoint: true},
5289
+ configure: async (device, coordinatorEndpoint, logger) => {
5290
+ await tuya.configureMagicPacket(device, coordinatorEndpoint, logger);
5291
+ for (const ID of [1, 2, 3, 4, 5]) {
5292
+ await reporting.bind(device.getEndpoint(ID), coordinatorEndpoint, ['genOnOff']);
5293
+ }
5294
+ },
5295
+ whiteLabel: [
5296
+ tuya.whitelabel('UseeLink', 'SM-0306E-2W', '4 gang switch, with USB', ['_TZ3000_cfnprab5']),
5297
+ tuya.whitelabel('UseeLink', 'SM-O301-AZ', 'AU 4 plug 10A power board + USB', ['_TZ3000_o005nuxx']),
5298
+ ],
5299
+ },
5262
5300
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "15.0.115",
3
+ "version": "15.0.116",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -1,52 +0,0 @@
1
- const exposes = require('../lib/exposes');
2
- const reporting = require('../lib/reporting');
3
- const extend = require('../lib/extend');
4
- const tuya = require('../lib/tuya');
5
- const e = exposes.presets;
6
-
7
- module.exports = [
8
- {
9
- fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_o005nuxx'}],
10
- model: 'SM-SO306EZ-10',
11
- vendor: 'UseeLink',
12
- description: '4 gang switch, with USB',
13
- exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.switch().withEndpoint('l3'),
14
- e.switch().withEndpoint('l4'), e.switch().withEndpoint('l5')],
15
- extend: extend.switch(),
16
- meta: {multiEndpoint: true},
17
- configure: async (device, coordinatorEndpoint, logger) => {
18
- for (const ID of [1, 2, 3, 4, 5]) {
19
- await reporting.bind(device.getEndpoint(ID), coordinatorEndpoint, ['genOnOff']);
20
- }
21
- },
22
- endpoint: (device) => {
23
- return {'l1': 1, 'l2': 2, 'l3': 3, 'l4': 4, 'l5': 5};
24
- },
25
- },
26
- {
27
- fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_cfnprab5'}],
28
- model: 'SM-0306E-2W',
29
- vendor: 'UseeLink',
30
- description: '4 gang switch, with USB',
31
- exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.switch().withEndpoint('l3'),
32
- e.switch().withEndpoint('l4'), e.switch().withEndpoint('l5')],
33
- extend: extend.switch(),
34
- meta: {multiEndpoint: true},
35
- configure: async (device, coordinatorEndpoint, logger) => {
36
- await tuya.configureMagicPacket(device, coordinatorEndpoint, logger);
37
- for (const ID of [1, 2, 3, 4, 5]) {
38
- await reporting.bind(device.getEndpoint(ID), coordinatorEndpoint, ['genOnOff']);
39
- }
40
- },
41
- endpoint: (device) => {
42
- return {'l1': 1, 'l2': 2, 'l3': 3, 'l4': 4, 'l5': 5};
43
- },
44
- },
45
- {
46
- fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_tvuarksa'}],
47
- model: 'SM-AZ713',
48
- vendor: 'UseeLink',
49
- description: 'Smart water/gas valve',
50
- extend: extend.switch(),
51
- },
52
- ];