matterbridge-zigbee2mqtt 3.0.2-dev-20251201-2f4acd5 → 3.0.2-dev-20251201-a287727

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
@@ -4,22 +4,24 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-zigbee2mqtt and sponsoring it.
6
6
 
7
- <a href="https://www.buymeacoffee.com/luligugithub">
8
- <img src="bmc-button.svg" alt="Buy me a coffee" width="120">
9
- </a>
7
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
10
8
 
11
- ## [3.0.2] - 2025-11-30
9
+ ## [3.0.2] - 2025-12-01
10
+
11
+ ### Added
12
+
13
+ - [scenes]: Added await for creation.
14
+ - [mqtt]: Added config for a fixed clientId. If not provided, a random clientId will be generated. (https://github.com/Luligu/matterbridge-zigbee2mqtt/issues/138)
12
15
 
13
16
  ### Changed
14
17
 
15
18
  - [package]: Updated dependencies.
19
+ - [package]: Bumped package to automator v.2.1.0.
16
20
  - [package]: Updated to the current Matterbridge signatures.
17
21
  - [package]: Requires Matterbridge v.3.4.0.
18
22
  - [package]: Updated to the Matterbridge Jest module.
19
23
 
20
- <a href="https://www.buymeacoffee.com/luligugithub">
21
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
22
- </a>
24
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
23
25
 
24
26
  ## [3.0.1] - 2025-11-14
25
27
 
@@ -30,9 +32,7 @@ If you like this project and find it useful, please consider giving it a star on
30
32
  - [package]: Updated to the current Matterbridge signatures.
31
33
  - [jest]: Updated jestHelpers to v.1.0.12.
32
34
 
33
- <a href="https://www.buymeacoffee.com/luligugithub">
34
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
35
- </a>
35
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
36
36
 
37
37
  ## [3.0.0] - 2025-11-08
38
38
 
@@ -63,9 +63,7 @@ If you like this project and find it useful, please consider giving it a star on
63
63
 
64
64
  - [platform]: Fixed specific zbminir2 device case for all devices. Thanks subst4nc3 (https://github.com/Luligu/matterbridge-zigbee2mqtt/issues/126).
65
65
 
66
- <a href="https://www.buymeacoffee.com/luligugithub">
67
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
68
- </a>
66
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
69
67
 
70
68
  ## [2.8.1] - 2025-10-02
71
69
 
@@ -86,9 +84,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
86
84
 
87
85
  - [platform]: Fixed command handlers execution when the controllers send scenes.
88
86
 
89
- <a href="https://www.buymeacoffee.com/luligugithub">
90
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
91
- </a>
87
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
92
88
 
93
89
  ## [2.8.0] - 2025-09-14
94
90
 
@@ -120,9 +116,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
120
116
  - [workflows]: Ignore any .md anywhere.
121
117
  - [workflows]: Improved speed on Node CI.
122
118
 
123
- <a href="https://www.buymeacoffee.com/luligugithub">
124
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
125
- </a>
119
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
126
120
 
127
121
  ## [2.7.0] - 2025-07-14
128
122
 
@@ -147,9 +141,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
147
141
  - [CodeQL]: Added CodeQL badge in the readme.
148
142
  - [Codecov]: Added Codecov badge in the readme.
149
143
 
150
- <a href="https://www.buymeacoffee.com/luligugithub">
151
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
152
- </a>
144
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
153
145
 
154
146
  ## [2.6.0] - 2025-06-07
155
147
 
@@ -168,9 +160,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
168
160
 
169
161
  - [subscribe]: Removed async from handlers.
170
162
 
171
- <a href="https://www.buymeacoffee.com/luligugithub">
172
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
173
- </a>
163
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
174
164
 
175
165
  ## [2.5.0] - 2025-05-26
176
166
 
@@ -201,9 +191,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
201
191
  - [issue104]: Solved wrong mode AUTO in system_mode for HEAT only devices.
202
192
  - [issue107]: Solved motor_direction reversed.
203
193
 
204
- <a href="https://www.buymeacoffee.com/luligugithub">
205
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
206
- </a>
194
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
207
195
 
208
196
  ## [2.4.7] - 2025-03-19
209
197
 
@@ -219,9 +207,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
219
207
  - [config]: Added parameter postfix (3 characters max) to be consistent with the other plugins. This parameter works with the Devices panel in the home page.
220
208
  - [config]: The old postfixHostname will be removed in the next release. If you were using postfixHostname, please change it with postfix, the controllers will likely remove and recreate all the devices so make a backup of configurations (i.e. room assignements) and automations on the controller!
221
209
 
222
- <a href="https://www.buymeacoffee.com/luligugithub">
223
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
224
- </a>
210
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
225
211
 
226
212
  ## [2.4.6] - 2025-02-20
227
213
 
@@ -234,9 +220,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
234
220
 
235
221
  - [schema]: Fix wrong default in schema (thanks https://github.com/robvanoostenrijk).
236
222
 
237
- <a href="https://www.buymeacoffee.com/luligugithub">
238
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
239
- </a>
223
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
240
224
 
241
225
  ## [2.4.5] - 2025-02-05
242
226
 
@@ -252,9 +236,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
252
236
 
253
237
  - [thermostat]: Fix thermostat bug (thanks https://github.com/robvanoostenrijk).
254
238
 
255
- <a href="https://www.buymeacoffee.com/luligugithub">
256
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
257
- </a>
239
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
258
240
 
259
241
  ## [2.4.4] - 2025-02-02
260
242
 
@@ -264,9 +246,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
264
246
  - [package]: Updated package.
265
247
  - [package]: Updated dependencies.
266
248
 
267
- <a href="https://www.buymeacoffee.com/luligugithub">
268
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
269
- </a>
249
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
270
250
 
271
251
  ## [2.4.3] - 2025-01-20
272
252
 
@@ -275,9 +255,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
275
255
  - [plugin]: Requires Matterbridge 1.7.3.
276
256
  - [package]: Updated dependencies.
277
257
 
278
- <a href="https://www.buymeacoffee.com/luligugithub">
279
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
280
- </a>
258
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
281
259
 
282
260
  ## [2.4.2] - 2025-01-11
283
261
 
@@ -285,9 +263,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
285
263
 
286
264
  - [endpoint]: Fixed blacklist of child endpoints.
287
265
 
288
- <a href="https://www.buymeacoffee.com/luligugithub">
289
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
290
- </a>
266
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
291
267
 
292
268
  ## [2.4.1] - 2025-01-11
293
269
 
@@ -301,9 +277,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
301
277
  - [plugin]: Requires Matterbridge 1.7.2.
302
278
  - [package]: Updated dependencies.
303
279
 
304
- <a href="https://www.buymeacoffee.com/luligugithub">
305
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
306
- </a>
280
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
307
281
 
308
282
  ## [2.4.0] - 2025-01-08
309
283
 
@@ -317,9 +291,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
317
291
  - [plugin]: Requires Matterbridge 1.7.1.
318
292
  - [package]: Updated dependencies.
319
293
 
320
- <a href="https://www.buymeacoffee.com/luligugithub">
321
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
322
- </a>
294
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
323
295
 
324
296
  ## [2.3.2] - 2024-12-24
325
297
 
@@ -330,9 +302,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
330
302
  - [plugin]: Use platform white and black list.
331
303
  - [platform]: Use platform endpoint number check.
332
304
 
333
- <a href="https://www.buymeacoffee.com/luligugithub">
334
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
335
- </a>
305
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
336
306
 
337
307
  ## [2.3.1] - 2024-12-12
338
308
 
@@ -348,9 +318,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
348
318
 
349
319
  ### Fixed
350
320
 
351
- <a href="https://www.buymeacoffee.com/luligugithub">
352
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
353
- </a>
321
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
354
322
 
355
323
  ## [2.3.0] - 2024-12-04
356
324
 
@@ -368,9 +336,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
368
336
 
369
337
  ### Fixed
370
338
 
371
- <a href="https://www.buymeacoffee.com/luligugithub">
372
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
373
- </a>
339
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
374
340
 
375
341
  ## [2.2.2] - 2024-11-26
376
342
 
@@ -394,9 +360,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
394
360
  - [thermostat]: Fixed the case when instead of current_heating_setpoint the property is occupied_heating_setpoint.
395
361
  - [thermostat]: Fixed the case when instead of current_cooling_setpoint the property is occupied_cooling_setpoint.
396
362
 
397
- <a href="https://www.buymeacoffee.com/luligugithub">
398
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
399
- </a>
363
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
400
364
 
401
365
  ## [2.2.1] - 2024-10-11
402
366
 
@@ -406,9 +370,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
406
370
  - [entity]: Fixed energy kWh.
407
371
  - [entity]: Fixed log.
408
372
 
409
- <a href="https://www.buymeacoffee.com/luligugithub">
410
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
411
- </a>
373
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
412
374
 
413
375
  ## [2.2.0] - 2024-10-10
414
376
 
@@ -423,9 +385,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
423
385
  - [entity]: Code optimization.
424
386
  - [package]: Updated dependencies.
425
387
 
426
- <a href="https://www.buymeacoffee.com/luligugithub">
427
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
428
- </a>
388
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
429
389
 
430
390
  ## [2.1.19] - 2024-10-01
431
391
 
@@ -434,9 +394,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
434
394
  - [package]: Upgrade to new workflows.
435
395
  - [package]: Updated dependencies.
436
396
 
437
- <a href="https://www.buymeacoffee.com/luligugithub">
438
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
439
- </a>
397
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
440
398
 
441
399
  ## [2.1.17] - 2024-09-21
442
400
 
@@ -452,9 +410,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
452
410
  - [plugin]: Added configuration of ColorControl cluster features (HS, XY, CT).
453
411
  - [plugin]: Removed the superset device types.
454
412
 
455
- <a href="https://www.buymeacoffee.com/luligugithub">
456
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
457
- </a>
413
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
458
414
 
459
415
  ## [2.1.16] - 2024-09-04
460
416
 
@@ -463,9 +419,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
463
419
  - [package]: Final update to matter.js 0.10.0.
464
420
  - [package]: Updated dependencies.
465
421
 
466
- <a href="https://www.buymeacoffee.com/luligugithub">
467
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
468
- </a>
422
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
469
423
 
470
424
  ## [2.1.15] - 2024-09-03
471
425
 
@@ -474,9 +428,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
474
428
  - [package]: Updated Thermostat cluster to matter.js 0.10.0.
475
429
  - [package]: Updated dependencies.
476
430
 
477
- <a href="https://www.buymeacoffee.com/luligugithub">
478
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
479
- </a>
431
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
480
432
 
481
433
  ## [2.1.14] - 2024-08-29
482
434
 
@@ -489,9 +441,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
489
441
  - [package]: Updated dependencies.
490
442
  - [package]: Updated imports.
491
443
 
492
- <a href="https://www.buymeacoffee.com/luligugithub">
493
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
494
- </a>
444
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
495
445
 
496
446
  ## [2.1.13] - 2024-08-22
497
447
 
@@ -503,9 +453,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
503
453
 
504
454
  - [package]: Fixed MQTT protocol.
505
455
 
506
- <a href="https://www.buymeacoffee.com/luligugithub">
507
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
508
- </a>
456
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
509
457
 
510
458
  ## [2.1.12] - 2024-08-21
511
459
 
@@ -515,9 +463,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
515
463
  - [schema]: Changed descriptions in schema for easier setup.
516
464
  - [package]: Updated dependencies.
517
465
 
518
- <a href="https://www.buymeacoffee.com/luligugithub">
519
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
520
- </a>
466
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
521
467
 
522
468
  ## [2.1.11] - 2024-08-20
523
469
 
@@ -530,9 +476,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
530
476
 
531
477
  - [package]: Fixed dependencies.
532
478
 
533
- <a href="https://www.buymeacoffee.com/luligugithub">
534
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
535
- </a>
479
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
536
480
 
537
481
  ## [2.1.10] - 2024-08-09
538
482
 
@@ -545,9 +489,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
545
489
 
546
490
  - [z2m]: Fixed issue: 'Only supported EndpointInterface implementation is Endpoint'.
547
491
 
548
- <a href="https://www.buymeacoffee.com/luligugithub">
549
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
550
- </a>
492
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
551
493
 
552
494
  ## [2.1.9] - 2024-07-28
553
495
 
@@ -557,9 +499,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
557
499
  - [logger]: Update node-ansi-logger to 2.0.6.
558
500
  - [storage]: Update node-persist-manager to 1.0.8.
559
501
 
560
- <a href="https://www.buymeacoffee.com/luligugithub">
561
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
562
- </a>
502
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
563
503
 
564
504
  ## [2.1.8] - 2024-07-23
565
505
 
@@ -567,9 +507,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
567
507
 
568
508
  - [z2m]: Updated matterbridge imports.
569
509
 
570
- <a href="https://www.buymeacoffee.com/luligugithub">
571
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
572
- </a>
510
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
573
511
 
574
512
  ## [2.1.7] - 2024-07-11
575
513
 
@@ -577,9 +515,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
577
515
 
578
516
  - [z2m]: Fixed trigger when the endpoint is undefined.
579
517
 
580
- <a href="https://www.buymeacoffee.com/luligugithub">
581
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
582
- </a>
518
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
583
519
 
584
520
  ## [2.1.6] - 2024-07-10
585
521
 
@@ -592,9 +528,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
592
528
 
593
529
  - [z2m]: Fixed the detection of color_temp only lights.
594
530
 
595
- <a href="https://www.buymeacoffee.com/luligugithub">
596
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
597
- </a>
531
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
598
532
 
599
533
  ## [2.1.5] - 2024-07-01
600
534
 
@@ -606,9 +540,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
606
540
 
607
541
  - [zigbee]: Fixed WindowCovering.targetPositionLiftPercent100ths update (Thanks Nitay Ben-Zvi).
608
542
 
609
- <a href="https://www.buymeacoffee.com/luligugithub">
610
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
611
- </a>
543
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
612
544
 
613
545
  ## [2.1.4] - 2024-06-30
614
546
 
@@ -617,9 +549,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
617
549
  - [dependencies]: Update dependencies.
618
550
  - [dependencies]: Update eslint to 9.6.0.
619
551
 
620
- <a href="https://www.buymeacoffee.com/luligugithub">
621
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
622
- </a>
552
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
623
553
 
624
554
  ## [2.1.3] - 2024-06-23
625
555
 
@@ -636,9 +566,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
636
566
  - [bridge/info]: Fixed the issue when advanced.output is set 'attribute_and_json'. (Thanks copystring).
637
567
  - [bridge/info]: Fixed the issue when include_device_information is set to true. (Thanks copystring).
638
568
 
639
- <a href="https://www.buymeacoffee.com/luligugithub">
640
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
641
- </a>
569
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
642
570
 
643
571
  ## [2.1.2] - 2024-06-21
644
572
 
@@ -647,9 +575,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
647
575
  - [dependencies]: Update dependencies.
648
576
  - [start]: Refactor start sequence.
649
577
 
650
- <a href="https://www.buymeacoffee.com/luligugithub">
651
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
652
- </a>
578
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
653
579
 
654
580
  ## [2.1.1] - 2024-06-20
655
581
 
@@ -658,9 +584,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
658
584
  - [dependencies]: Update dependencies (mqtt to 5.7.2).
659
585
  - [schema]: Added info log when the plugin starts to register devices and groups. Added empty bridge/config and bridge/definitions handlers.
660
586
 
661
- <a href="https://www.buymeacoffee.com/luligugithub">
662
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
663
- </a>
587
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
664
588
 
665
589
  ## [2.1.0] - 2024-06-19
666
590
 
@@ -681,9 +605,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
681
605
  - [LevelControl]: Fixed the commandHandler for LevelControl in child endpoint (Thanks jpadie).
682
606
  - [availability]: Fixed the issue that caused the availability event sent before the start to be ignored.
683
607
 
684
- <a href="https://www.buymeacoffee.com/luligugithub">
685
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
686
- </a>
608
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
687
609
 
688
610
  ## [2.0.17] - 2024-06-16
689
611
 
@@ -695,9 +617,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
695
617
 
696
618
  - [dependencies]: Update dependencies
697
619
 
698
- <a href="https://www.buymeacoffee.com/luligugithub">
699
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
700
- </a>
620
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
701
621
 
702
622
  ## [2.0.16] - 2024-06-06
703
623
 
@@ -706,9 +626,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
706
626
  - [dependencies]: Update dependencies
707
627
  - [matterbridge]: Added bridgeOnline to the start checks.
708
628
 
709
- <a href="https://www.buymeacoffee.com/luligugithub">
710
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
711
- </a>
629
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
712
630
 
713
631
  ## [2.0.15] - 2024-06-01
714
632
 
@@ -717,9 +635,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
717
635
  - [dependencies]: Update dependencies
718
636
  - [matterbridge]: Adapted the code to the new start mode of Matterbridge.
719
637
 
720
- <a href="https://www.buymeacoffee.com/luligugithub">
721
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
722
- </a>
638
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
723
639
 
724
640
  ## [2.0.14] - 2024-05-09
725
641
 
@@ -727,9 +643,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
727
643
 
728
644
  - [mqtt]: Added Keekalive to MQTT.
729
645
 
730
- <a href="https://www.buymeacoffee.com/luligugithub">
731
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
732
- </a>
646
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
733
647
 
734
648
  ## [2.0.13] - 2024-05-02
735
649
 
@@ -741,9 +655,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
741
655
 
742
656
  - [payload]: Fixed the case when z2m sends empty action in the payload.
743
657
 
744
- <a href="https://www.buymeacoffee.com/luligugithub">
745
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
746
- </a>
658
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
747
659
 
748
660
  ## [2.0.12] - 2024-04-30
749
661
 
@@ -752,9 +664,7 @@ The package [zigbee2mqtt-automations](https://github.com/Luligu/zigbee2mqtt-auto
752
664
  - [action]: Added support for devices with more then 3 events/actions. All SwitchCluster actions are mapped in groups of 3 on sub endpoints. The mapping schema is shown in log.
753
665
  - [mqtt]: Added handles for group_add, group_remove, group_rename, group_add_member and group_remove_member
754
666
 
755
- <a href="https://www.buymeacoffee.com/luligugithub">
756
- <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
757
- </a>
667
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
758
668
 
759
669
  ## [2.0.11] - 2024-04-26
760
670
 
package/README.md CHANGED
@@ -162,6 +162,7 @@ These are the default vules:
162
162
  "topic": "zigbee2mqtt",
163
163
  "username": "",
164
164
  "password": "",
165
+ "clientId": "",
165
166
  "ca": "",
166
167
  "cert": "",
167
168
  "key": "",
package/dist/entity.js CHANGED
@@ -688,14 +688,14 @@ export class ZigbeeGroup extends ZigbeeEntity {
688
688
  zigbeeGroup.bridgedDevice = new MatterbridgeEndpoint([deviceType, bridgedNode, powerSource], { id: group.friendly_name }, zigbeeGroup.log.logLevel === "debug");
689
689
  }
690
690
  if (!platform.featureBlackList?.includes('scenes') && !platform.deviceFeatureBlackList[group.friendly_name]?.includes('scenes')) {
691
- group.scenes.forEach((scene) => {
691
+ for (const scene of group.scenes) {
692
692
  zigbeeGroup.log.debug(`***Group ${gn}${group.friendly_name}${rs}${db} scene ${CYAN}${scene.name}${db} id ${CYAN}${scene.id}${db}`);
693
693
  platform.setSelectDeviceEntity(`group-${group.id}`, 'scenes', 'Scenes', 'component');
694
- platform._registerVirtualDevice(`${platform.config.scenesPrefix ? group.friendly_name + ' ' : ''}${scene.name}`, async () => {
694
+ await platform.registerVirtualDevice(`${platform.config.scenesPrefix ? group.friendly_name + ' ' : ''}${scene.name}`, platform.config.scenesType, async () => {
695
695
  zigbeeGroup.log.info(`Triggered scene "${scene.name}" id ${scene.id} from group ${group.friendly_name}`);
696
696
  zigbeeGroup.publishCommand('scene_recall', group.friendly_name, { scene_recall: scene.id });
697
697
  });
698
- });
698
+ }
699
699
  }
700
700
  zigbeeGroup.addBridgedDeviceBasicInformation();
701
701
  zigbeeGroup.addPowerSource();
@@ -906,16 +906,16 @@ export class ZigbeeDevice extends ZigbeeEntity {
906
906
  return zigbeeDevice;
907
907
  }
908
908
  if (!platform.featureBlackList?.includes('scenes') && !platform.deviceFeatureBlackList[device.friendly_name]?.includes('scenes')) {
909
- Object.entries(device.endpoints).forEach(([key, endpoint]) => {
910
- Object.values(endpoint.scenes).forEach((scene) => {
909
+ for (const [key, endpoint] of Object.entries(device.endpoints)) {
910
+ for (const scene of Object.values(endpoint.scenes)) {
911
911
  zigbeeDevice.log.debug(`***Device ${dn}${device.friendly_name}${rs}${db} endpoint ${CYAN}${key}${db} scene ${CYAN}${scene.name}${db} id ${CYAN}${scene.id}${db}`);
912
912
  platform.setSelectDeviceEntity(device.ieee_address, 'scenes', 'Scenes', 'component');
913
- platform._registerVirtualDevice(`${platform.config.scenesPrefix ? device.friendly_name + ' ' : ''}${scene.name}`, async () => {
913
+ await platform.registerVirtualDevice(`${platform.config.scenesPrefix ? device.friendly_name + ' ' : ''}${scene.name}`, platform.config.scenesType, async () => {
914
914
  zigbeeDevice.log.info(`Triggered scene "${scene.name}" id ${scene.id} from device ${device.friendly_name}`);
915
915
  zigbeeDevice.publishCommand('scene_recall', device.friendly_name, { scene_recall: scene.id });
916
916
  });
917
- });
918
- });
917
+ }
918
+ }
919
919
  }
920
920
  const types = [];
921
921
  const endpoints = [];
package/dist/module.js CHANGED
@@ -12,7 +12,6 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
12
12
  config;
13
13
  bridgedDevices = [];
14
14
  zigbeeEntities = [];
15
- namePostfix = 1;
16
15
  connectTimeout = 30000;
17
16
  availabilityTimeout = 10000;
18
17
  injectTimer;
@@ -21,7 +20,6 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
21
20
  mqttTopic = 'zigbee2mqtt';
22
21
  mqttUsername = undefined;
23
22
  mqttPassword = undefined;
24
- mqttProtocol = 5;
25
23
  lightList = [];
26
24
  outletList = [];
27
25
  switchList = [];
@@ -60,12 +58,8 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
60
58
  this.mqttUsername = config.username;
61
59
  if (config.password)
62
60
  this.mqttPassword = config.password;
63
- if (config.protocolVersion && typeof config.protocolVersion === 'number' && config.protocolVersion >= 3 && config.protocolVersion <= 5) {
64
- this.mqttProtocol = config.protocolVersion;
65
- }
66
- else {
67
- this.mqttProtocol = 5;
68
- }
61
+ if (!isValidNumber(config.protocolVersion, 3, 5))
62
+ config.protocolVersion = 5;
69
63
  if (config.switchList)
70
64
  this.switchList = config.switchList;
71
65
  if (config.lightList)
@@ -82,7 +76,6 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
82
76
  this.postfix = this.postfix.trim().slice(0, 3);
83
77
  config.host = this.mqttHost;
84
78
  config.port = this.mqttPort;
85
- config.protocolVersion = this.mqttProtocol;
86
79
  config.topic = this.mqttTopic;
87
80
  config.username = this.mqttUsername ?? '';
88
81
  config.password = this.mqttPassword ?? '';
@@ -99,7 +92,7 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
99
92
  config.scenesPrefix = true;
100
93
  this.log.info(`Initializing platform: ${CYAN}${this.config.name}${nf} version: ${CYAN}${this.config.version}${rs}`);
101
94
  this.log.info(`Loaded zigbee2mqtt parameters from ${CYAN}${path.join(matterbridge.matterbridgeDirectory, 'matterbridge-zigbee2mqtt.config.json')}${rs}`);
102
- this.z2m = new Zigbee2MQTT(this.mqttHost, this.mqttPort, this.mqttTopic, this.mqttUsername, this.mqttPassword, this.mqttProtocol, this.config.ca, this.config.rejectUnauthorized, this.config.cert, this.config.key, config.debug);
95
+ this.z2m = new Zigbee2MQTT(this.mqttHost, this.mqttPort, this.mqttTopic, this.mqttUsername, this.mqttPassword, this.config.clientId, this.config.protocolVersion, this.config.ca, this.config.rejectUnauthorized, this.config.cert, this.config.key, config.debug);
103
96
  this.z2m.setLogDebug(config.debug);
104
97
  this.z2m.setDataPath(path.join(matterbridge.matterbridgePluginDirectory, 'matterbridge-zigbee2mqtt'));
105
98
  if (isValidString(this.mqttHost) && isValidNumber(this.mqttPort, 1, 65535)) {
@@ -487,9 +480,6 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
487
480
  }
488
481
  return matterGroup;
489
482
  }
490
- _registerVirtualDevice(name, callback) {
491
- this.registerVirtualDevice(name, this.config.scenesType, callback);
492
- }
493
483
  async unregisterZigbeeEntity(friendly_name) {
494
484
  const entity = this.zigbeeEntities.find((entity) => entity.entityName === friendly_name);
495
485
  if (entity) {
@@ -41,7 +41,7 @@ export class Zigbee2MQTT extends EventEmitter {
41
41
  password: undefined,
42
42
  clean: true,
43
43
  };
44
- constructor(mqttHost, mqttPort, mqttTopic, mqttUsername, mqttPassword, protocolVersion = 5, ca, rejectUnauthorized, cert, key, debug = false) {
44
+ constructor(mqttHost, mqttPort, mqttTopic, mqttUsername, mqttPassword, mqttClientId, protocolVersion = 5, ca, rejectUnauthorized, cert, key, debug = false) {
45
45
  super();
46
46
  this.log = new AnsiLogger({ logName: 'Zigbee2MQTT', logTimestampFormat: 4, logLevel: debug ? "debug" : "info" });
47
47
  this.mqttHost = mqttHost;
@@ -51,6 +51,8 @@ export class Zigbee2MQTT extends EventEmitter {
51
51
  this.mqttPassword = mqttPassword;
52
52
  this.options.username = mqttUsername !== undefined && mqttUsername !== '' ? mqttUsername : undefined;
53
53
  this.options.password = mqttPassword !== undefined && mqttPassword !== '' ? mqttPassword : undefined;
54
+ if (mqttClientId)
55
+ this.options.clientId = mqttClientId;
54
56
  this.options.protocolVersion = protocolVersion;
55
57
  if (mqttHost.startsWith('mqtts://')) {
56
58
  this.log.debug('Using mqtts:// protocol for secure MQTT connection');
@@ -7,6 +7,7 @@
7
7
  "protocolVersion": 5,
8
8
  "username": "",
9
9
  "password": "",
10
+ "clientId": "",
10
11
  "ca": "",
11
12
  "rejectUnauthorized": true,
12
13
  "cert": "",
@@ -40,6 +40,10 @@
40
40
  "type": "string",
41
41
  "ui:widget": "password"
42
42
  },
43
+ "clientId": {
44
+ "description": "MQTT clientId identifier. If not set, a random clientId will be generated.",
45
+ "type": "string"
46
+ },
43
47
  "ca": {
44
48
  "description": "Absolute path to the SSL/TLS CA certificate used to sign both the server and client certificates (PEM format). Required for secure connections (i.e. mqtts://) with self-signed certificates.",
45
49
  "type": "string"
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge-zigbee2mqtt",
3
- "version": "3.0.2-dev-20251201-2f4acd5",
3
+ "version": "3.0.2-dev-20251201-a287727",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-zigbee2mqtt",
9
- "version": "3.0.2-dev-20251201-2f4acd5",
9
+ "version": "3.0.2-dev-20251201-a287727",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "moment": "2.30.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge-zigbee2mqtt",
3
- "version": "3.0.2-dev-20251201-2f4acd5",
3
+ "version": "3.0.2-dev-20251201-a287727",
4
4
  "description": "Matterbridge zigbee2mqtt plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",