zigbee-herdsman-converters 18.31.0 → 18.32.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [18.32.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v18.31.0...v18.32.0) (2024-02-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * **add:** MEG5126-0300/MEG5171-0000 ([#7050](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7050)) ([8231fad](https://github.com/Koenkk/zigbee-herdsman-converters/commit/8231fad9c0c5f58560683bd18c0ff60fc390f8b6))
9
+ * **add:** QBKG33LM, QBKG17LM, QBKG27LM ([#7059](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7059)) ([4bcd149](https://github.com/Koenkk/zigbee-herdsman-converters/commit/4bcd149a98ff2279735c2ebc0b6463989265b5e9))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * Fix Aqara JTQJ-BF-01LM/BW device type and power source ([#7037](https://github.com/Koenkk/zigbee-herdsman-converters/issues/7037)) ([96e6e92](https://github.com/Koenkk/zigbee-herdsman-converters/commit/96e6e92e142cf8efefbfab808b165f26df04017e))
15
+ * Fix state not updating for MakeGood MG-AUZG01 https://github.com/Koenkk/zigbee2mqtt/issues/20032 ([07cec96](https://github.com/Koenkk/zigbee-herdsman-converters/commit/07cec96be27cbb945f943485bd236e8449437fd8))
16
+
3
17
  ## [18.31.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v18.30.0...v18.31.0) (2024-02-11)
4
18
 
5
19
 
@@ -1 +1 @@
1
- {"version":3,"file":"lumi.d.ts","sourceRoot":"","sources":["../src/devices/lumi.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAC,UAAU,EAAU,MAAM,cAAc,CAAC;AAsBjD,QAAA,MAAM,WAAW,EAAE,UAAU,EAglG5B,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"lumi.d.ts","sourceRoot":"","sources":["../src/devices/lumi.ts"],"names":[],"mappings":"AAsBA,OAAO,EAAC,UAAU,EAAU,MAAM,cAAc,CAAC;AAsBjD,QAAA,MAAM,WAAW,EAAE,UAAU,EAgqG5B,CAAC;AAEF,eAAe,WAAW,CAAC"}
package/devices/lumi.js CHANGED
@@ -518,14 +518,37 @@ const definitions = [
518
518
  },
519
519
  extend: [lumiZigbeeOTA()],
520
520
  },
521
+ {
522
+ zigbeeModel: ['lumi.switch.l1acn1'],
523
+ model: 'QBKG27LM',
524
+ vendor: 'Aqara',
525
+ description: 'Smart wall switch H1 (no neutral, single rocker)',
526
+ fromZigbee: [fromZigbee_1.default.on_off, lumi.fromZigbee.lumi_specific, lumi.fromZigbee.lumi_action_multistate],
527
+ toZigbee: [toZigbee_1.default.on_off, lumi.toZigbee.lumi_switch_operation_mode_opple, lumi.toZigbee.lumi_switch_power_outage_memory,
528
+ lumi.toZigbee.lumi_led_disabled_night, lumi.toZigbee.lumi_flip_indicator_light, lumi.toZigbee.lumi_switch_mode_switch],
529
+ exposes: [e.switch(), e.device_temperature(), e.power_outage_memory(), e.led_disabled_night(), e.flip_indicator_light(),
530
+ e.action(['single', 'double']),
531
+ e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
532
+ .withDescription('Decoupled mode'),
533
+ e.power_outage_count(),
534
+ e.enum('mode_switch', ea.ALL, ['anti_flicker_mode', 'quick_mode'])
535
+ .withDescription('Anti flicker mode can be used to solve blinking issues of some lights.' +
536
+ 'Quick mode makes the device respond faster.'),
537
+ ],
538
+ onEvent: preventReset,
539
+ configure: async (device, coordinatorEndpoint, logger) => {
540
+ await device.getEndpoint(1).write('manuSpecificLumi', { 'mode': 1 }, { manufacturerCode: manufacturerCode, disableResponse: true });
541
+ },
542
+ extend: [lumiZigbeeOTA()],
543
+ },
521
544
  {
522
545
  zigbeeModel: ['lumi.switch.l2acn1'],
523
546
  model: 'QBKG28LM',
524
547
  vendor: 'Aqara',
525
- description: 'Smart wall switch H1 Pro (no neutral, double rocker)',
548
+ description: 'Smart wall switch H1 (no neutral, double rocker)',
526
549
  fromZigbee: [fromZigbee_1.default.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
527
550
  toZigbee: [toZigbee_1.default.on_off, lumi.toZigbee.lumi_switch_operation_mode_opple, lumi.toZigbee.lumi_switch_power_outage_memory,
528
- lumi.toZigbee.lumi_flip_indicator_light, lumi.toZigbee.lumi_led_disabled_night],
551
+ lumi.toZigbee.lumi_flip_indicator_light, lumi.toZigbee.lumi_led_disabled_night, lumi.toZigbee.lumi_switch_mode_switch],
529
552
  meta: { multiEndpoint: true },
530
553
  endpoint: (device) => {
531
554
  return { 'left': 1, 'right': 2 };
@@ -536,13 +559,54 @@ const definitions = [
536
559
  e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
537
560
  .withDescription('Decoupled mode for right button').withEndpoint('right'),
538
561
  e.action(['single_left', 'double_left', 'single_right', 'double_right', 'single_both', 'double_both']),
539
- e.power_outage_memory(), e.flip_indicator_light(), e.led_disabled_night()],
562
+ e.power_outage_memory(), e.flip_indicator_light(), e.led_disabled_night(),
563
+ e.enum('mode_switch', ea.ALL, ['anti_flicker_mode', 'quick_mode'])
564
+ .withDescription('Anti flicker mode can be used to solve blinking issues of some lights.' +
565
+ 'Quick mode makes the device respond faster.'),
566
+ ],
540
567
  onEvent: preventReset,
541
568
  configure: async (device, coordinatorEndpoint, logger) => {
542
569
  await device.getEndpoint(1).write('manuSpecificLumi', { 'mode': 1 }, { manufacturerCode: manufacturerCode, disableResponse: true });
543
570
  },
544
571
  extend: [lumiZigbeeOTA()],
545
572
  },
573
+ {
574
+ zigbeeModel: ['lumi.switch.l3acn1'],
575
+ model: 'QBKG29LM',
576
+ vendor: 'Aqara',
577
+ description: 'Smart wall switch H1 (no neutral, triple rocker)',
578
+ fromZigbee: [fromZigbee_1.default.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
579
+ toZigbee: [toZigbee_1.default.on_off, lumi.toZigbee.lumi_switch_operation_mode_opple, lumi.toZigbee.lumi_switch_power_outage_memory,
580
+ lumi.toZigbee.lumi_flip_indicator_light, lumi.toZigbee.lumi_led_disabled_night, lumi.toZigbee.lumi_switch_mode_switch],
581
+ meta: { multiEndpoint: true },
582
+ endpoint: (device) => ({ left: 1, center: 2, right: 3 }),
583
+ exposes: [
584
+ e.switch().withEndpoint('left'), e.switch().withEndpoint('center'), e.switch().withEndpoint('right'),
585
+ e.power_outage_memory(), e.flip_indicator_light(), e.led_disabled_night(), e.power_outage_count(),
586
+ e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
587
+ .withDescription('Decoupled mode for left button')
588
+ .withEndpoint('left'),
589
+ e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
590
+ .withDescription('Decoupled mode for center button')
591
+ .withEndpoint('center'),
592
+ e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
593
+ .withDescription('Decoupled mode for right button')
594
+ .withEndpoint('right'),
595
+ e.enum('mode_switch', ea.ALL, ['anti_flicker_mode', 'quick_mode'])
596
+ .withDescription('Anti flicker mode can be used to solve blinking issues of some lights.' +
597
+ 'Quick mode makes the device respond faster.'),
598
+ e.device_temperature().withAccess(ea.STATE),
599
+ e.action([
600
+ 'single_left', 'double_left', 'single_center', 'double_center', 'single_right', 'double_right',
601
+ 'single_left_center', 'double_left_center', 'single_left_right', 'double_left_right',
602
+ 'single_center_right', 'double_center_right', 'single_all', 'double_all',
603
+ ]),
604
+ ],
605
+ onEvent: preventReset,
606
+ configure: async (device, coordinatorEndpoint, logger) => {
607
+ await device.getEndpoint(1).write('manuSpecificLumi', { 'mode': 1 }, { manufacturerCode: manufacturerCode, disableResponse: true });
608
+ },
609
+ },
546
610
  {
547
611
  zigbeeModel: ['lumi.switch.n1acn1'],
548
612
  model: 'QBKG30LM',
@@ -667,43 +731,6 @@ const definitions = [
667
731
  await device.getEndpoint(1).write('manuSpecificLumi', { 'mode': 1 }, { manufacturerCode: manufacturerCode, disableResponse: true });
668
732
  },
669
733
  },
670
- {
671
- zigbeeModel: ['lumi.switch.l3acn1'],
672
- model: 'QBKG29LM',
673
- vendor: 'Aqara',
674
- description: 'Smart wall switch H1 (no neutral, triple rocker)',
675
- fromZigbee: [fromZigbee_1.default.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
676
- toZigbee: [toZigbee_1.default.on_off, lumi.toZigbee.lumi_switch_operation_mode_opple, lumi.toZigbee.lumi_switch_power_outage_memory,
677
- lumi.toZigbee.lumi_flip_indicator_light, lumi.toZigbee.lumi_led_disabled_night, lumi.toZigbee.lumi_switch_mode_switch],
678
- meta: { multiEndpoint: true },
679
- endpoint: (device) => ({ left: 1, center: 2, right: 3 }),
680
- exposes: [
681
- e.switch().withEndpoint('left'), e.switch().withEndpoint('center'), e.switch().withEndpoint('right'),
682
- e.power_outage_memory(), e.flip_indicator_light(), e.led_disabled_night(), e.power_outage_count(),
683
- e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
684
- .withDescription('Decoupled mode for left button')
685
- .withEndpoint('left'),
686
- e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
687
- .withDescription('Decoupled mode for center button')
688
- .withEndpoint('center'),
689
- e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
690
- .withDescription('Decoupled mode for right button')
691
- .withEndpoint('right'),
692
- e.enum('mode_switch', ea.ALL, ['anti_flicker_mode', 'quick_mode'])
693
- .withDescription('Anti flicker mode can be used to solve blinking issues of some lights.' +
694
- 'Quick mode makes the device respond faster.'),
695
- e.device_temperature().withAccess(ea.STATE),
696
- e.action([
697
- 'single_left', 'double_left', 'single_center', 'double_center', 'single_right', 'double_right',
698
- 'single_left_center', 'double_left_center', 'single_left_right', 'double_left_right',
699
- 'single_center_right', 'double_center_right', 'single_all', 'double_all',
700
- ]),
701
- ],
702
- onEvent: preventReset,
703
- configure: async (device, coordinatorEndpoint, logger) => {
704
- await device.getEndpoint(1).write('manuSpecificLumi', { 'mode': 1 }, { manufacturerCode: manufacturerCode, disableResponse: true });
705
- },
706
- },
707
734
  {
708
735
  zigbeeModel: ['lumi.switch.n1aeu1'],
709
736
  model: 'WS-EUK03',
@@ -1082,6 +1109,23 @@ const definitions = [
1082
1109
  onEvent: preventReset,
1083
1110
  extend: [lumiZigbeeOTA()],
1084
1111
  },
1112
+ {
1113
+ zigbeeModel: ['lumi.switch.b1lacn01'],
1114
+ model: 'QBKG17LM',
1115
+ vendor: 'Aqara',
1116
+ description: 'Smart wall switch T1 (no neutral, single rocker)',
1117
+ fromZigbee: [fromZigbee_1.default.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
1118
+ toZigbee: [toZigbee_1.default.on_off, lumi.toZigbee.lumi_switch_operation_mode_opple, lumi.toZigbee.lumi_switch_power_outage_memory,
1119
+ lumi.toZigbee.lumi_led_disabled_night, lumi.toZigbee.lumi_flip_indicator_light],
1120
+ exposes: [
1121
+ e.switch(), e.action(['single', 'double']), e.device_temperature().withAccess(ea.STATE),
1122
+ e.power_outage_memory(), e.led_disabled_night(), e.flip_indicator_light(),
1123
+ e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
1124
+ .withDescription('Decoupled mode for left button'),
1125
+ ],
1126
+ onEvent: preventReset,
1127
+ extend: [lumiZigbeeOTA()],
1128
+ },
1085
1129
  {
1086
1130
  zigbeeModel: ['lumi.switch.b2lacn01'],
1087
1131
  model: 'QBKG18LM',
@@ -1104,7 +1148,7 @@ const definitions = [
1104
1148
  zigbeeModel: ['lumi.switch.b1nacn01'],
1105
1149
  model: 'QBKG19LM',
1106
1150
  vendor: 'Aqara',
1107
- description: 'Smart wall switch T1 (with neutral, double rocker)',
1151
+ description: 'Smart wall switch T1 (with neutral, single rocker)',
1108
1152
  fromZigbee: [fromZigbee_1.default.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
1109
1153
  toZigbee: [toZigbee_1.default.on_off, lumi.toZigbee.lumi_switch_operation_mode_opple, lumi.toZigbee.lumi_switch_power_outage_memory,
1110
1154
  lumi.toZigbee.lumi_led_disabled_night, lumi.toZigbee.lumi_flip_indicator_light],
@@ -1147,11 +1191,46 @@ const definitions = [
1147
1191
  ],
1148
1192
  onEvent: preventReset,
1149
1193
  },
1194
+ {
1195
+ zigbeeModel: ['lumi.switch.b3l01'],
1196
+ model: 'QBKG33LM',
1197
+ vendor: 'Aqara',
1198
+ description: 'Smart wall switch T1 (no neutral, triple rocker)',
1199
+ fromZigbee: [fromZigbee_1.default.on_off, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
1200
+ toZigbee: [toZigbee_1.default.on_off, lumi.toZigbee.lumi_switch_operation_mode_opple, lumi.toZigbee.lumi_switch_power_outage_memory,
1201
+ lumi.toZigbee.lumi_led_disabled_night, lumi.toZigbee.lumi_flip_indicator_light],
1202
+ meta: { multiEndpoint: true },
1203
+ endpoint: (device) => {
1204
+ return { 'left': 1, 'center': 2, 'right': 3 };
1205
+ },
1206
+ exposes: [
1207
+ e.switch().withEndpoint('left'), e.switch().withEndpoint('center'), e.switch().withEndpoint('right'),
1208
+ e.flip_indicator_light(),
1209
+ e.power_outage_memory(), e.led_disabled_night(), e.device_temperature().withAccess(ea.STATE),
1210
+ e.action([
1211
+ 'single_left', 'double_left', 'single_center', 'double_center',
1212
+ 'single_right', 'double_right', 'single_left_center', 'double_left_center',
1213
+ 'single_left_right', 'double_left_right', 'single_center_right', 'double_center_right',
1214
+ 'single_all', 'double_all'
1215
+ ]),
1216
+ e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
1217
+ .withDescription('Decoupled mode for left button')
1218
+ .withEndpoint('left'),
1219
+ e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
1220
+ .withDescription('Decoupled mode for right button')
1221
+ .withEndpoint('center'),
1222
+ e.enum('operation_mode', ea.ALL, ['control_relay', 'decoupled'])
1223
+ .withDescription('Decoupled mode for right button')
1224
+ .withEndpoint('right'),
1225
+ ],
1226
+ onEvent: preventReset,
1227
+ extend: [lumiZigbeeOTA()],
1228
+ },
1150
1229
  {
1151
1230
  zigbeeModel: ['lumi.switch.b3n01'],
1152
1231
  model: 'QBKG34LM',
1153
1232
  vendor: 'Aqara',
1154
- description: 'Smart wall switch T1 (with neutral, three rocker)',
1233
+ description: 'Smart wall switch T1 (with neutral, triple rocker)',
1155
1234
  fromZigbee: [fromZigbee_1.default.on_off, lumi.fromZigbee.lumi_power, lumi.fromZigbee.lumi_action_multistate, lumi.fromZigbee.lumi_specific],
1156
1235
  toZigbee: [toZigbee_1.default.on_off, lumi.toZigbee.lumi_switch_operation_mode_opple, lumi.toZigbee.lumi_switch_power_outage_memory,
1157
1236
  lumi.toZigbee.lumi_led_disabled_night, lumi.toZigbee.lumi_flip_indicator_light],
@@ -1640,12 +1719,12 @@ const definitions = [
1640
1719
  fromZigbee: [fromZigbee_1.default.ias_gas_alarm_1, lumi.fromZigbee.lumi_gas_sensitivity, lumi.fromZigbee.lumi_gas_density],
1641
1720
  toZigbee: [lumi.toZigbee.lumi_sensitivity, lumi.toZigbee.lumi_selftest],
1642
1721
  exposes: [
1643
- e.gas(), e.battery_low(), e.tamper(), e.enum('sensitivity', ea.STATE_SET, ['low', 'medium', 'high']),
1722
+ e.gas(), e.tamper(), e.enum('sensitivity', ea.STATE_SET, ['low', 'medium', 'high']),
1644
1723
  e.numeric('gas_density', ea.STATE), e.enum('selftest', ea.SET, ['']),
1645
1724
  ],
1646
1725
  configure: async (device, coordinatorEndpoint, logger) => {
1647
- device.powerSource = 'Battery';
1648
- device.type = 'EndDevice';
1726
+ device.powerSource = 'Mains (single phase)';
1727
+ device.type = 'Router';
1649
1728
  device.save();
1650
1729
  },
1651
1730
  },