matterbridge-zigbee2mqtt 2.4.7-dev.1 → 2.4.7
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 +46 -42
- package/dist/entity.js +18 -5
- package/dist/platform.js +2 -2
- package/matterbridge-zigbee2mqtt.schema.json +25 -9
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# <img src="matterbridge.svg" alt="Matterbridge Logo" width="64px" height="64px"> Matterbridge zigbee2mqtt plugin changelog
|
|
2
2
|
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
3
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.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
8
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="120">
|
|
9
|
+
</a>
|
|
6
10
|
|
|
7
|
-
## [2.4.7] - 2025-03-
|
|
11
|
+
## [2.4.7] - 2025-03-19
|
|
8
12
|
|
|
9
13
|
### Added
|
|
10
14
|
|
|
@@ -14,12 +18,12 @@ All notable changes to this project will be documented in this file.
|
|
|
14
18
|
|
|
15
19
|
- [package]: Updated package.
|
|
16
20
|
- [package]: Updated dependencies.
|
|
17
|
-
- [plugin]: Requires Matterbridge 2.2.
|
|
21
|
+
- [plugin]: Requires Matterbridge 2.2.5.
|
|
18
22
|
- [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.
|
|
19
23
|
- [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!
|
|
20
24
|
|
|
21
25
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
22
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
26
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
23
27
|
</a>
|
|
24
28
|
|
|
25
29
|
## [2.4.6] - 2025-02-20
|
|
@@ -34,7 +38,7 @@ All notable changes to this project will be documented in this file.
|
|
|
34
38
|
- [schema]: Fix wrong default in schema (thanks https://github.com/robvanoostenrijk).
|
|
35
39
|
|
|
36
40
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
37
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
41
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
38
42
|
</a>
|
|
39
43
|
|
|
40
44
|
## [2.4.5] - 2025-02-05
|
|
@@ -52,7 +56,7 @@ All notable changes to this project will be documented in this file.
|
|
|
52
56
|
- [thermostat]: Fix thermostat bug (thanks https://github.com/robvanoostenrijk).
|
|
53
57
|
|
|
54
58
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
55
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
59
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
56
60
|
</a>
|
|
57
61
|
|
|
58
62
|
## [2.4.4] - 2025-02-02
|
|
@@ -64,7 +68,7 @@ All notable changes to this project will be documented in this file.
|
|
|
64
68
|
- [package]: Updated dependencies.
|
|
65
69
|
|
|
66
70
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
67
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
71
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
68
72
|
</a>
|
|
69
73
|
|
|
70
74
|
## [2.4.3] - 2025-01-20
|
|
@@ -75,7 +79,7 @@ All notable changes to this project will be documented in this file.
|
|
|
75
79
|
- [package]: Updated dependencies.
|
|
76
80
|
|
|
77
81
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
78
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
82
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
79
83
|
</a>
|
|
80
84
|
|
|
81
85
|
## [2.4.2] - 2025-01-11
|
|
@@ -85,7 +89,7 @@ All notable changes to this project will be documented in this file.
|
|
|
85
89
|
- [endpoint]: Fixed blacklist of child endpoints.
|
|
86
90
|
|
|
87
91
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
88
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
92
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
89
93
|
</a>
|
|
90
94
|
|
|
91
95
|
## [2.4.1] - 2025-01-11
|
|
@@ -101,7 +105,7 @@ All notable changes to this project will be documented in this file.
|
|
|
101
105
|
- [package]: Updated dependencies.
|
|
102
106
|
|
|
103
107
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
104
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
108
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
105
109
|
</a>
|
|
106
110
|
|
|
107
111
|
## [2.4.0] - 2025-01-08
|
|
@@ -117,7 +121,7 @@ All notable changes to this project will be documented in this file.
|
|
|
117
121
|
- [package]: Updated dependencies.
|
|
118
122
|
|
|
119
123
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
120
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
124
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
121
125
|
</a>
|
|
122
126
|
|
|
123
127
|
## [2.3.2] - 2024-12-24
|
|
@@ -130,7 +134,7 @@ All notable changes to this project will be documented in this file.
|
|
|
130
134
|
- [platform]: Use platform endpoint number check.
|
|
131
135
|
|
|
132
136
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
133
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
137
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
134
138
|
</a>
|
|
135
139
|
|
|
136
140
|
## [2.3.1] - 2024-12-12
|
|
@@ -148,7 +152,7 @@ All notable changes to this project will be documented in this file.
|
|
|
148
152
|
### Fixed
|
|
149
153
|
|
|
150
154
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
151
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
155
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
152
156
|
</a>
|
|
153
157
|
|
|
154
158
|
## [2.3.0] - 2024-12-04
|
|
@@ -168,7 +172,7 @@ All notable changes to this project will be documented in this file.
|
|
|
168
172
|
### Fixed
|
|
169
173
|
|
|
170
174
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
171
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
175
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
172
176
|
</a>
|
|
173
177
|
|
|
174
178
|
## [2.2.2] - 2024-11-26
|
|
@@ -194,7 +198,7 @@ All notable changes to this project will be documented in this file.
|
|
|
194
198
|
- [thermostat]: Fixed the case when instead of current_cooling_setpoint the property is occupied_cooling_setpoint.
|
|
195
199
|
|
|
196
200
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
197
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
201
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
198
202
|
</a>
|
|
199
203
|
|
|
200
204
|
## [2.2.1] - 2024-10-11
|
|
@@ -206,7 +210,7 @@ All notable changes to this project will be documented in this file.
|
|
|
206
210
|
- [entity]: Fixed log.
|
|
207
211
|
|
|
208
212
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
209
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
213
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
210
214
|
</a>
|
|
211
215
|
|
|
212
216
|
## [2.2.0] - 2024-10-10
|
|
@@ -223,7 +227,7 @@ All notable changes to this project will be documented in this file.
|
|
|
223
227
|
- [package]: Updated dependencies.
|
|
224
228
|
|
|
225
229
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
226
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
230
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
227
231
|
</a>
|
|
228
232
|
|
|
229
233
|
## [2.1.19] - 2024-10-01
|
|
@@ -234,7 +238,7 @@ All notable changes to this project will be documented in this file.
|
|
|
234
238
|
- [package]: Updated dependencies.
|
|
235
239
|
|
|
236
240
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
237
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
241
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
238
242
|
</a>
|
|
239
243
|
|
|
240
244
|
## [2.1.17] - 2024-09-21
|
|
@@ -252,7 +256,7 @@ All notable changes to this project will be documented in this file.
|
|
|
252
256
|
- [plugin]: Removed the superset device types.
|
|
253
257
|
|
|
254
258
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
255
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
259
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
256
260
|
</a>
|
|
257
261
|
|
|
258
262
|
## [2.1.16] - 2024-09-04
|
|
@@ -263,7 +267,7 @@ All notable changes to this project will be documented in this file.
|
|
|
263
267
|
- [package]: Updated dependencies.
|
|
264
268
|
|
|
265
269
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
266
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
270
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
267
271
|
</a>
|
|
268
272
|
|
|
269
273
|
## [2.1.15] - 2024-09-03
|
|
@@ -274,7 +278,7 @@ All notable changes to this project will be documented in this file.
|
|
|
274
278
|
- [package]: Updated dependencies.
|
|
275
279
|
|
|
276
280
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
277
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
281
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
278
282
|
</a>
|
|
279
283
|
|
|
280
284
|
## [2.1.14] - 2024-08-29
|
|
@@ -289,7 +293,7 @@ All notable changes to this project will be documented in this file.
|
|
|
289
293
|
- [package]: Updated imports.
|
|
290
294
|
|
|
291
295
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
292
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
296
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
293
297
|
</a>
|
|
294
298
|
|
|
295
299
|
## [2.1.13] - 2024-08-22
|
|
@@ -303,7 +307,7 @@ All notable changes to this project will be documented in this file.
|
|
|
303
307
|
- [package]: Fixed MQTT protocol.
|
|
304
308
|
|
|
305
309
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
306
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
310
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
307
311
|
</a>
|
|
308
312
|
|
|
309
313
|
## [2.1.12] - 2024-08-21
|
|
@@ -315,7 +319,7 @@ All notable changes to this project will be documented in this file.
|
|
|
315
319
|
- [package]: Updated dependencies.
|
|
316
320
|
|
|
317
321
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
318
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
322
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
319
323
|
</a>
|
|
320
324
|
|
|
321
325
|
## [2.1.11] - 2024-08-20
|
|
@@ -330,7 +334,7 @@ All notable changes to this project will be documented in this file.
|
|
|
330
334
|
- [package]: Fixed dependencies.
|
|
331
335
|
|
|
332
336
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
333
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
337
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
334
338
|
</a>
|
|
335
339
|
|
|
336
340
|
## [2.1.10] - 2024-08-09
|
|
@@ -345,7 +349,7 @@ All notable changes to this project will be documented in this file.
|
|
|
345
349
|
- [z2m]: Fixed issue: 'Only supported EndpointInterface implementation is Endpoint'.
|
|
346
350
|
|
|
347
351
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
348
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
352
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
349
353
|
</a>
|
|
350
354
|
|
|
351
355
|
## [2.1.9] - 2024-07-28
|
|
@@ -357,7 +361,7 @@ All notable changes to this project will be documented in this file.
|
|
|
357
361
|
- [storage]: Update node-persist-manager to 1.0.8.
|
|
358
362
|
|
|
359
363
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
360
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
364
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
361
365
|
</a>
|
|
362
366
|
|
|
363
367
|
## [2.1.8] - 2024-07-23
|
|
@@ -367,7 +371,7 @@ All notable changes to this project will be documented in this file.
|
|
|
367
371
|
- [z2m]: Updated matterbridge imports.
|
|
368
372
|
|
|
369
373
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
370
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
374
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
371
375
|
</a>
|
|
372
376
|
|
|
373
377
|
## [2.1.7] - 2024-07-11
|
|
@@ -377,7 +381,7 @@ All notable changes to this project will be documented in this file.
|
|
|
377
381
|
- [z2m]: Fixed trigger when the endpoint is undefined.
|
|
378
382
|
|
|
379
383
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
380
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
384
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
381
385
|
</a>
|
|
382
386
|
|
|
383
387
|
## [2.1.6] - 2024-07-10
|
|
@@ -392,7 +396,7 @@ All notable changes to this project will be documented in this file.
|
|
|
392
396
|
- [z2m]: Fixed the detection of color_temp only lights.
|
|
393
397
|
|
|
394
398
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
395
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
399
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
396
400
|
</a>
|
|
397
401
|
|
|
398
402
|
## [2.1.5] - 2024-07-01
|
|
@@ -406,7 +410,7 @@ All notable changes to this project will be documented in this file.
|
|
|
406
410
|
- [zigbee]: Fixed WindowCovering.targetPositionLiftPercent100ths update (Thanks Nitay Ben-Zvi).
|
|
407
411
|
|
|
408
412
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
409
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
413
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
410
414
|
</a>
|
|
411
415
|
|
|
412
416
|
## [2.1.4] - 2024-06-30
|
|
@@ -417,7 +421,7 @@ All notable changes to this project will be documented in this file.
|
|
|
417
421
|
- [dependencies]: Update eslint to 9.6.0.
|
|
418
422
|
|
|
419
423
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
420
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
424
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
421
425
|
</a>
|
|
422
426
|
|
|
423
427
|
## [2.1.3] - 2024-06-23
|
|
@@ -436,7 +440,7 @@ All notable changes to this project will be documented in this file.
|
|
|
436
440
|
- [bridge/info]: Fixed the issue when include_device_information is set to true. (Thanks copystring).
|
|
437
441
|
|
|
438
442
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
439
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
443
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
440
444
|
</a>
|
|
441
445
|
|
|
442
446
|
## [2.1.2] - 2024-06-21
|
|
@@ -447,7 +451,7 @@ All notable changes to this project will be documented in this file.
|
|
|
447
451
|
- [start]: Refactor start sequence.
|
|
448
452
|
|
|
449
453
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
450
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
454
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
451
455
|
</a>
|
|
452
456
|
|
|
453
457
|
## [2.1.1] - 2024-06-20
|
|
@@ -458,7 +462,7 @@ All notable changes to this project will be documented in this file.
|
|
|
458
462
|
- [schema]: Added info log when the plugin starts to register devices and groups. Added empty bridge/config and bridge/definitions handlers.
|
|
459
463
|
|
|
460
464
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
461
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
465
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
462
466
|
</a>
|
|
463
467
|
|
|
464
468
|
## [2.1.0] - 2024-06-19
|
|
@@ -481,7 +485,7 @@ All notable changes to this project will be documented in this file.
|
|
|
481
485
|
- [availability]: Fixed the issue that caused the availability event sent before the start to be ignored.
|
|
482
486
|
|
|
483
487
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
484
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
488
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
485
489
|
</a>
|
|
486
490
|
|
|
487
491
|
## [2.0.17] - 2024-06-16
|
|
@@ -495,7 +499,7 @@ All notable changes to this project will be documented in this file.
|
|
|
495
499
|
- [dependencies]: Update dependencies
|
|
496
500
|
|
|
497
501
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
498
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
502
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
499
503
|
</a>
|
|
500
504
|
|
|
501
505
|
## [2.0.16] - 2024-06-06
|
|
@@ -506,7 +510,7 @@ All notable changes to this project will be documented in this file.
|
|
|
506
510
|
- [matterbridge]: Added bridgeOnline to the start checks.
|
|
507
511
|
|
|
508
512
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
509
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
513
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
510
514
|
</a>
|
|
511
515
|
|
|
512
516
|
## [2.0.15] - 2024-06-01
|
|
@@ -517,7 +521,7 @@ All notable changes to this project will be documented in this file.
|
|
|
517
521
|
- [matterbridge]: Adapted the code to the new start mode of Matterbridge.
|
|
518
522
|
|
|
519
523
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
520
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
524
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
521
525
|
</a>
|
|
522
526
|
|
|
523
527
|
## [2.0.14] - 2024-05-09
|
|
@@ -527,7 +531,7 @@ All notable changes to this project will be documented in this file.
|
|
|
527
531
|
- [mqtt]: Added Keekalive to MQTT.
|
|
528
532
|
|
|
529
533
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
530
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
534
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
531
535
|
</a>
|
|
532
536
|
|
|
533
537
|
## [2.0.13] - 2024-05-02
|
|
@@ -541,7 +545,7 @@ All notable changes to this project will be documented in this file.
|
|
|
541
545
|
- [payload]: Fixed the case when z2m sends empty action in the payload.
|
|
542
546
|
|
|
543
547
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
544
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
548
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
545
549
|
</a>
|
|
546
550
|
|
|
547
551
|
## [2.0.12] - 2024-04-30
|
|
@@ -552,7 +556,7 @@ All notable changes to this project will be documented in this file.
|
|
|
552
556
|
- [mqtt]: Added handles for group_add, group_remove, group_rename, group_add_member and group_remove_member
|
|
553
557
|
|
|
554
558
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
555
|
-
<img src="bmc-button.svg" alt="Buy me a coffee" width="
|
|
559
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
556
560
|
</a>
|
|
557
561
|
|
|
558
562
|
## [2.0.11] - 2024-04-26
|
package/dist/entity.js
CHANGED
|
@@ -339,7 +339,6 @@ export class ZigbeeGroup extends ZigbeeEntity {
|
|
|
339
339
|
else {
|
|
340
340
|
zigbeeGroup.serial = `group-${group.id}`.slice(0, 32);
|
|
341
341
|
}
|
|
342
|
-
zigbeeGroup.log.debug(`***Group ${zigbeeGroup.en}${group.friendly_name}${db} adds select device "group-${group.id}" "${group.friendly_name}" "wifi"`);
|
|
343
342
|
platform.setSelectDevice(`group-${group.id}`, group.friendly_name, 'wifi');
|
|
344
343
|
let useState = false;
|
|
345
344
|
let useBrightness = false;
|
|
@@ -441,6 +440,11 @@ export class ZigbeeGroup extends ZigbeeEntity {
|
|
|
441
440
|
return zigbeeGroup;
|
|
442
441
|
zigbeeGroup.bridgedDevice = new MatterbridgeEndpoint([deviceType, bridgedNode, powerSource], { uniqueStorageKey: group.friendly_name }, zigbeeGroup.log.logLevel === "debug");
|
|
443
442
|
}
|
|
443
|
+
if (platform.config.groupScenes === true) {
|
|
444
|
+
group.scenes.forEach((scene) => {
|
|
445
|
+
zigbeeGroup.log.debug(`***Group ${gn}${group.friendly_name}${rs}${db} scene ${CYAN}${scene.name}${db} id ${CYAN}${scene.id}${db}`);
|
|
446
|
+
});
|
|
447
|
+
}
|
|
444
448
|
zigbeeGroup.addBridgedDeviceBasicInformation();
|
|
445
449
|
zigbeeGroup.addPowerSource();
|
|
446
450
|
zigbeeGroup.bridgedDevice.addRequiredClusterServers();
|
|
@@ -660,6 +664,7 @@ export class ZigbeeDevice extends ZigbeeEntity {
|
|
|
660
664
|
}
|
|
661
665
|
if (device.friendly_name === 'Coordinator' || (device.model_id === 'ti.router' && device.manufacturer === 'TexasInstruments') || (device.model_id.startsWith('SLZB-') && device.manufacturer === 'SMLIGHT')) {
|
|
662
666
|
zigbeeDevice.isRouter = true;
|
|
667
|
+
platform.setSelectDevice(device.ieee_address, device.friendly_name, 'wifi');
|
|
663
668
|
zigbeeDevice.bridgedDevice = new MatterbridgeEndpoint([doorLockDevice], { uniqueStorageKey: device.friendly_name }, zigbeeDevice.log.logLevel === "debug");
|
|
664
669
|
zigbeeDevice.addBridgedDeviceBasicInformation();
|
|
665
670
|
zigbeeDevice.addPowerSource();
|
|
@@ -678,6 +683,13 @@ export class ZigbeeDevice extends ZigbeeEntity {
|
|
|
678
683
|
});
|
|
679
684
|
return zigbeeDevice;
|
|
680
685
|
}
|
|
686
|
+
if (platform.config.deviceScenes === true) {
|
|
687
|
+
Object.entries(device.endpoints).forEach(([key, endpoint]) => {
|
|
688
|
+
Object.values(endpoint.scenes).forEach((scene) => {
|
|
689
|
+
zigbeeDevice.log.debug(`***Device ${dn}${device.friendly_name}${rs}${db} endpoint ${CYAN}${key}${db} scene ${CYAN}${scene.name}${db} id ${CYAN}${scene.id}${db}`);
|
|
690
|
+
});
|
|
691
|
+
});
|
|
692
|
+
}
|
|
681
693
|
const types = [];
|
|
682
694
|
const endpoints = [];
|
|
683
695
|
const names = [];
|
|
@@ -758,9 +770,7 @@ export class ZigbeeDevice extends ZigbeeEntity {
|
|
|
758
770
|
}
|
|
759
771
|
platform.setSelectEntity('last_seen', 'Last seen', 'hub');
|
|
760
772
|
for (const [index, property] of properties.entries()) {
|
|
761
|
-
zigbeeDevice.log.debug(`***Device ${zigbeeDevice.en}${device.friendly_name}${db} adds select device ${device.ieee_address} (${device.friendly_name})`);
|
|
762
773
|
platform.setSelectDevice(device.ieee_address, device.friendly_name, 'wifi');
|
|
763
|
-
zigbeeDevice.log.debug(`***Device ${zigbeeDevice.en}${device.friendly_name}${db} adds select entity ${property} (${descriptions[index]})`);
|
|
764
774
|
if (endpoints[index] === '')
|
|
765
775
|
platform.setSelectEntity(property, descriptions[index], 'hub');
|
|
766
776
|
platform.setSelectDeviceEntity(device.ieee_address, property, descriptions[index], 'hub');
|
|
@@ -802,7 +812,8 @@ export class ZigbeeDevice extends ZigbeeEntity {
|
|
|
802
812
|
}
|
|
803
813
|
else {
|
|
804
814
|
zigbeeDevice.mutableDevice.get(endpoint)?.deviceTypes.push(z2m.deviceType);
|
|
805
|
-
zigbeeDevice.mutableDevice.get(endpoint)?.clusterServersIds.push(...z2m.deviceType.requiredServerClusters
|
|
815
|
+
zigbeeDevice.mutableDevice.get(endpoint)?.clusterServersIds.push(...z2m.deviceType.requiredServerClusters);
|
|
816
|
+
zigbeeDevice.mutableDevice.get(endpoint)?.clusterServersIds.push(ClusterId(z2m.cluster));
|
|
806
817
|
}
|
|
807
818
|
}
|
|
808
819
|
else {
|
|
@@ -903,7 +914,9 @@ export class ZigbeeDevice extends ZigbeeEntity {
|
|
|
903
914
|
zigbeeDevice.bridgedDevice = new MatterbridgeEndpoint([...mainEndpoint.deviceTypes, bridgedNode, powerSource], { uniqueStorageKey: device.friendly_name }, zigbeeDevice.log.logLevel === "debug");
|
|
904
915
|
zigbeeDevice.addBridgedDeviceBasicInformation();
|
|
905
916
|
zigbeeDevice.addPowerSource();
|
|
906
|
-
|
|
917
|
+
if (mainEndpoint.clusterServersIds.includes(PowerSource.Cluster.id)) {
|
|
918
|
+
mainEndpoint.clusterServersIds.splice(mainEndpoint.clusterServersIds.indexOf(PowerSource.Cluster.id), 1);
|
|
919
|
+
}
|
|
907
920
|
for (const [endpoint, device] of zigbeeDevice.mutableDevice) {
|
|
908
921
|
const deviceClusterServersIdMap = new Map();
|
|
909
922
|
device.clusterServersIds.forEach((clusterServer) => {
|
package/dist/platform.js
CHANGED
|
@@ -38,8 +38,8 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
|
|
|
38
38
|
availabilityTimer;
|
|
39
39
|
constructor(matterbridge, log, config) {
|
|
40
40
|
super(matterbridge, log, config);
|
|
41
|
-
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('2.2.
|
|
42
|
-
throw new Error(`This plugin requires Matterbridge version >= "2.2.
|
|
41
|
+
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('2.2.5')) {
|
|
42
|
+
throw new Error(`This plugin requires Matterbridge version >= "2.2.5". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend."`);
|
|
43
43
|
}
|
|
44
44
|
this.debugEnabled = config.debug;
|
|
45
45
|
this.shouldStart = false;
|
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
"name": {
|
|
8
8
|
"description": "Plugin name",
|
|
9
9
|
"type": "string",
|
|
10
|
-
"readOnly": true
|
|
10
|
+
"readOnly": true,
|
|
11
|
+
"ui:widget": "hidden"
|
|
11
12
|
},
|
|
12
13
|
"type": {
|
|
13
14
|
"description": "Plugin type",
|
|
14
15
|
"type": "string",
|
|
15
|
-
"readOnly": true
|
|
16
|
+
"readOnly": true,
|
|
17
|
+
"ui:widget": "hidden"
|
|
16
18
|
},
|
|
17
19
|
"host": {
|
|
18
20
|
"description": "MQTT server host (IP address or hostname without mqtt://)",
|
|
@@ -25,7 +27,8 @@
|
|
|
25
27
|
},
|
|
26
28
|
"password": {
|
|
27
29
|
"description": "MQTT server authentication password",
|
|
28
|
-
"type": "string"
|
|
30
|
+
"type": "string",
|
|
31
|
+
"ui:widget": "password"
|
|
29
32
|
},
|
|
30
33
|
"port": {
|
|
31
34
|
"description": "MQTT server port (default 1883)",
|
|
@@ -43,12 +46,12 @@
|
|
|
43
46
|
"default": "zigbee2mqtt"
|
|
44
47
|
},
|
|
45
48
|
"zigbeeFrontend": {
|
|
46
|
-
"description": "Zigbee frontend host to prefix the configUrl",
|
|
49
|
+
"description": "Zigbee frontend host to prefix the configUrl (i.e. http://192.168.1.100:8080)",
|
|
47
50
|
"type": "string",
|
|
48
51
|
"default": "http://localhost:8080"
|
|
49
52
|
},
|
|
50
|
-
"
|
|
51
|
-
"description": "
|
|
53
|
+
"whiteList": {
|
|
54
|
+
"description": "Only the devices in the list will be exposed. If the list is empty, all the devices will be exposed.",
|
|
52
55
|
"type": "array",
|
|
53
56
|
"items": {
|
|
54
57
|
"type": "string"
|
|
@@ -56,8 +59,8 @@
|
|
|
56
59
|
"uniqueItems": true,
|
|
57
60
|
"selectFrom": "name"
|
|
58
61
|
},
|
|
59
|
-
"
|
|
60
|
-
"description": "
|
|
62
|
+
"blackList": {
|
|
63
|
+
"description": "The devices in the list will not be exposed. If the list is empty, no devices will be excluded.",
|
|
61
64
|
"type": "array",
|
|
62
65
|
"items": {
|
|
63
66
|
"type": "string"
|
|
@@ -116,6 +119,18 @@
|
|
|
116
119
|
"selectDeviceEntityFrom": "name"
|
|
117
120
|
}
|
|
118
121
|
},
|
|
122
|
+
"deviceScenes": {
|
|
123
|
+
"description": "Enable the devices scenes",
|
|
124
|
+
"type": "boolean",
|
|
125
|
+
"default": false,
|
|
126
|
+
"ui:widget": "hidden"
|
|
127
|
+
},
|
|
128
|
+
"groupScenes": {
|
|
129
|
+
"description": "Enable the groups scenes",
|
|
130
|
+
"type": "boolean",
|
|
131
|
+
"default": false,
|
|
132
|
+
"ui:widget": "hidden"
|
|
133
|
+
},
|
|
119
134
|
"postfix": {
|
|
120
135
|
"description": "Add this unique postfix (3 characters max) to each device serial to avoid collision with other instances (you may loose the configuration of the devices in your controller when changing this value).",
|
|
121
136
|
"type": "string",
|
|
@@ -134,7 +149,8 @@
|
|
|
134
149
|
"unregisterOnShutdown": {
|
|
135
150
|
"description": "Unregister all devices on shutdown (development only)",
|
|
136
151
|
"type": "boolean",
|
|
137
|
-
"default": false
|
|
152
|
+
"default": false,
|
|
153
|
+
"ui:widget": "hidden"
|
|
138
154
|
}
|
|
139
155
|
}
|
|
140
156
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-zigbee2mqtt",
|
|
3
|
-
"version": "2.4.7
|
|
3
|
+
"version": "2.4.7",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge-zigbee2mqtt",
|
|
9
|
-
"version": "2.4.7
|
|
9
|
+
"version": "2.4.7",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"moment": "2.30.1",
|