matterbridge-zigbee2mqtt 2.5.0-dev.9 → 2.5.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
@@ -19,7 +19,7 @@ New device types:
19
19
 
20
20
  If your controller has issues detecting the new device type, blacklist these devices, restart, wait 5 minutes that the controller removes them, remove the blacklist and restart again. This will create a new endpoint on the controller and 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.
21
21
 
22
- ## [2.5.0] - 2025-05-25
22
+ ## [2.5.0] - 2025-05-26
23
23
 
24
24
  ### Added
25
25
 
@@ -37,7 +37,7 @@ If your controller has issues detecting the new device type, blacklist these dev
37
37
 
38
38
  - [package]: Updated package.
39
39
  - [package]: Updated dependencies.
40
- - [plugin]: Requires Matterbridge 3.0.3.
40
+ - [plugin]: Requires Matterbridge 3.0.4.
41
41
  - [config]: As anticipated in the previous release, the parameter postfixHostname has been removed. Use postfix if needed.
42
42
  - [colorRgb]: Changed the default device type from colorTemperatureLight to extendedColorLight to solve the SmartThings issue with colors.
43
43
  - [colorTemp]: The min and max mired values for color_temp are now set in the cluster.
package/README.md CHANGED
@@ -129,6 +129,12 @@ The featureBlackList allows to globally (for all devices) blacklist a z2m featur
129
129
 
130
130
  The deviceFeatureBlackList allows to blacklist a z2m feature for a single device if you don't want to expose it (e.g. temperature for a motion sensor).
131
131
 
132
+ The scenesType enable and set how to expose the scenes.
133
+
134
+ The scenesPrefix enable the prefix with device/grop name to the scene device.
135
+
136
+ The debug option allows to set the debug mode only for the plugin.
137
+
132
138
  The unregisterOnShutdown option allows to remove from the bridge all z2m devices when you shut down Matterbridge.
133
139
 
134
140
  These are the default vules:
@@ -152,7 +158,9 @@ These are the default vules:
152
158
  "deviceFeatureBlackList": {},
153
159
  "scenesType": "outlet",
154
160
  "scenesPrefix": true,
155
- "postfix": ""
161
+ "postfix": "",
162
+ "debug": false,
163
+ "unregisterOnShutdown": false
156
164
  }
157
165
  ```
158
166
 
package/dist/platform.js CHANGED
@@ -39,8 +39,8 @@ export class ZigbeePlatform extends MatterbridgeDynamicPlatform {
39
39
  availabilityTimer;
40
40
  constructor(matterbridge, log, config) {
41
41
  super(matterbridge, log, config);
42
- if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.0.3')) {
43
- throw new Error(`This plugin requires Matterbridge version >= "3.0.3". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend."`);
42
+ if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.0.4')) {
43
+ throw new Error(`This plugin requires Matterbridge version >= "3.0.4". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend."`);
44
44
  }
45
45
  this.debugEnabled = config.debug;
46
46
  this.shouldStart = false;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge-zigbee2mqtt",
3
- "version": "2.5.0-dev.9",
3
+ "version": "2.5.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-zigbee2mqtt",
9
- "version": "2.5.0-dev.9",
9
+ "version": "2.5.0",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "moment": "2.30.1",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge-zigbee2mqtt",
3
- "version": "2.5.0-dev.9",
3
+ "version": "2.5.0",
4
4
  "description": "Matterbridge zigbee2mqtt plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
7
7
  "type": "module",
8
8
  "main": "dist/index.js",
9
- "homepage": "https://github.com/Luligu/matterbridge-zigbee2mqtt/blob/main/README.md",
9
+ "homepage": "https://www.npmjs.com/package/matterbridge-zigbee2mqtt",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git+https://github.com/Luligu/matterbridge-zigbee2mqtt.git"