matterbridge-zigbee2mqtt 3.0.10 → 3.0.11-dev-20260418-9148456
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 +30 -3
- package/README.md +3 -3
- package/dist/entity.js +5 -5
- package/npm-shrinkwrap.json +24 -24
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|

|
|
8
8
|

|
|
9
9
|
[](https://codecov.io/gh/Luligu/matterbridge-zigbee2mqtt)
|
|
10
|
-
[](https://
|
|
11
|
-
[](https://
|
|
10
|
+
[](https://prettier.io/)
|
|
11
|
+
[](https://eslint.org/)
|
|
12
12
|
[](https://www.typescriptlang.org/)
|
|
13
|
-
[](https://nodejs.org/
|
|
13
|
+
[](https://nodejs.org/)
|
|
14
14
|
[](https://matterbridge.io)
|
|
15
15
|
|
|
16
16
|
[](https://www.npmjs.com/package/matterbridge)
|
|
@@ -26,6 +26,33 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
26
26
|
|
|
27
27
|
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
|
|
28
28
|
|
|
29
|
+
## [3.0.11] - Dev branch
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- [package]: Preliminary compatibility update to `matterbridge 3.8.0`, matter 1.5.1 and matter.js 0.17.0.
|
|
34
|
+
- [package]: Update dependencies.
|
|
35
|
+
- [package]: Bump package to `automator` v.3.1.6.
|
|
36
|
+
- [package]: Bump `typescript` to v.6.0.2.
|
|
37
|
+
- [package]: Bump `typescript-eslint` to v.8.58.2.
|
|
38
|
+
- [package]: Bump `eslint` to v.10.2.0.
|
|
39
|
+
- [package]: Bump `prettier` to v.3.8.2.
|
|
40
|
+
- [package]: Bump `node-ansi-logger` to v.3.2.1.
|
|
41
|
+
- [package]: Bump `node-persist-manager` to v.2.0.2.
|
|
42
|
+
- [agent]: Add `.vscode\tasks.json`.
|
|
43
|
+
- [agent]: Add `.github\copilot-instructions.md` for copilot.
|
|
44
|
+
- [agent]: Add `.claude\CLAUDE.md` for claude.
|
|
45
|
+
- [agent]: Add agent custom instructions (`testing`) for copilot and claude.
|
|
46
|
+
- [agent]: Add agent custom instructions (`matterbridge`) for copilot and claude.
|
|
47
|
+
- [devcontainer]: Fix pull of new image.
|
|
48
|
+
- [devcontainer]: Update VS Code settings.
|
|
49
|
+
- [devcontainer]: Leave matterbridge scripts in the cloned repo.
|
|
50
|
+
- [scripts]: Update mb-run script.
|
|
51
|
+
- [scripts]: Update package watch script.
|
|
52
|
+
- [scripts]: Add prune-releases script.
|
|
53
|
+
|
|
54
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
55
|
+
|
|
29
56
|
## [3.0.10] - 2026-03-23
|
|
30
57
|
|
|
31
58
|
### Fixed
|
package/README.md
CHANGED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|

|
|
8
8
|

|
|
9
9
|
[](https://codecov.io/gh/Luligu/matterbridge-zigbee2mqtt)
|
|
10
|
-
[](https://
|
|
11
|
-
[](https://
|
|
10
|
+
[](https://prettier.io/)
|
|
11
|
+
[](https://eslint.org/)
|
|
12
12
|
[](https://www.typescriptlang.org/)
|
|
13
|
-
[](https://nodejs.org/
|
|
13
|
+
[](https://nodejs.org/)
|
|
14
14
|
[](https://matterbridge.io)
|
|
15
15
|
|
|
16
16
|
[](https://www.npmjs.com/package/matterbridge)
|
package/dist/entity.js
CHANGED
|
@@ -6,8 +6,8 @@ import { AnsiLogger, CYAN, db, debugStringify, dn, er, gn, hk, idn, ign, nf, or,
|
|
|
6
6
|
import { NumberTag, SwitchesTag } from 'matterbridge/matter';
|
|
7
7
|
import { AirQuality, BooleanState, BridgedDeviceBasicInformation, CarbonDioxideConcentrationMeasurement, CarbonMonoxideConcentrationMeasurement, ColorControl, ColorControlCluster, DoorLock, DoorLockCluster, ElectricalEnergyMeasurement, ElectricalPowerMeasurement, FormaldehydeConcentrationMeasurement, Identify, IlluminanceMeasurement, LevelControl, OccupancySensing, OnOff, Pm1ConcentrationMeasurement, Pm10ConcentrationMeasurement, Pm25ConcentrationMeasurement, PowerSource, PressureMeasurement, RelativeHumidityMeasurement, SmokeCoAlarm, TemperatureMeasurement, Thermostat, ThermostatCluster, TotalVolatileOrganicCompoundsConcentrationMeasurement, WindowCovering, WindowCoveringCluster, } from 'matterbridge/matter/clusters';
|
|
8
8
|
import { ClusterId, getClusterNameById } from 'matterbridge/matter/types';
|
|
9
|
-
import { deepCopy, deepEqual, isValidArray, isValidNumber, isValidObject, kelvinToRGB, miredToKelvin } from 'matterbridge/utils';
|
|
10
9
|
import * as color from 'matterbridge/utils';
|
|
10
|
+
import { deepCopy, deepEqual, isValidArray, isValidNumber, isValidObject, kelvinToRGB, miredToKelvin } from 'matterbridge/utils';
|
|
11
11
|
export class ZigbeeEntity extends EventEmitter {
|
|
12
12
|
log;
|
|
13
13
|
serial = '';
|
|
@@ -1409,12 +1409,12 @@ export class ZigbeeDevice extends ZigbeeEntity {
|
|
|
1409
1409
|
});
|
|
1410
1410
|
}
|
|
1411
1411
|
if (zigbeeDevice.bridgedDevice.hasClusterServer(DoorLockCluster.id)) {
|
|
1412
|
-
zigbeeDevice.bridgedDevice.addCommandHandler('lockDoor', async (
|
|
1413
|
-
zigbeeDevice.log.debug(`Command lockDoor called for ${zigbeeDevice.ien}${device.friendly_name}${rs}${db}
|
|
1412
|
+
zigbeeDevice.bridgedDevice.addCommandHandler('lockDoor', async () => {
|
|
1413
|
+
zigbeeDevice.log.debug(`Command lockDoor called for ${zigbeeDevice.ien}${device.friendly_name}${rs}${db}`);
|
|
1414
1414
|
zigbeeDevice.publishCommand('lockDoor', device.friendly_name, { state: 'LOCK' });
|
|
1415
1415
|
});
|
|
1416
|
-
zigbeeDevice.bridgedDevice.addCommandHandler('unlockDoor', async (
|
|
1417
|
-
zigbeeDevice.log.debug(`Command unlockDoor called for ${zigbeeDevice.ien}${device.friendly_name}${rs}${db}
|
|
1416
|
+
zigbeeDevice.bridgedDevice.addCommandHandler('unlockDoor', async () => {
|
|
1417
|
+
zigbeeDevice.log.debug(`Command unlockDoor called for ${zigbeeDevice.ien}${device.friendly_name}${rs}${db}`);
|
|
1418
1418
|
zigbeeDevice.publishCommand('unlockDoor', device.friendly_name, { state: 'UNLOCK' });
|
|
1419
1419
|
});
|
|
1420
1420
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-zigbee2mqtt",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11-dev-20260418-9148456",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge-zigbee2mqtt",
|
|
9
|
-
"version": "3.0.
|
|
9
|
+
"version": "3.0.11-dev-20260418-9148456",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"moment": "2.30.1",
|
|
13
|
-
"mqtt": "5.15.
|
|
14
|
-
"node-ansi-logger": "3.2.
|
|
15
|
-
"node-persist-manager": "2.0.
|
|
13
|
+
"mqtt": "5.15.1",
|
|
14
|
+
"node-ansi-logger": "3.2.1",
|
|
15
|
+
"node-persist-manager": "2.0.2"
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
|
-
"node": ">=20.
|
|
18
|
+
"node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0"
|
|
19
19
|
},
|
|
20
20
|
"funding": {
|
|
21
21
|
"type": "buymeacoffee",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"node_modules/@types/node": {
|
|
35
|
-
"version": "25.
|
|
36
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.
|
|
37
|
-
"integrity": "sha512
|
|
35
|
+
"version": "25.6.0",
|
|
36
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz",
|
|
37
|
+
"integrity": "sha512-+qIYRKdNYJwY3vRCZMdJbPLJAtGjQBudzZzdzwQYkEPQd+PJGixUL5QfvCLDaULoLv+RhT3LDkwEfKaAkgSmNQ==",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"undici-types": "~7.
|
|
40
|
+
"undici-types": "~7.19.0"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"node_modules/@types/readable-stream": {
|
|
@@ -303,9 +303,9 @@
|
|
|
303
303
|
}
|
|
304
304
|
},
|
|
305
305
|
"node_modules/mqtt": {
|
|
306
|
-
"version": "5.15.
|
|
307
|
-
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-5.15.
|
|
308
|
-
"integrity": "sha512-
|
|
306
|
+
"version": "5.15.1",
|
|
307
|
+
"resolved": "https://registry.npmjs.org/mqtt/-/mqtt-5.15.1.tgz",
|
|
308
|
+
"integrity": "sha512-V1WnkGuJh3ec9QXzy5Iylw8OOBK+Xu1WhxcQ9mMpLThG+/JZIMV1PgLNRgIiqXhZnvnVLsuyxHl5A/3bHHbcAA==",
|
|
309
309
|
"license": "MIT",
|
|
310
310
|
"dependencies": {
|
|
311
311
|
"@types/readable-stream": "^4.0.21",
|
|
@@ -352,13 +352,13 @@
|
|
|
352
352
|
"license": "MIT"
|
|
353
353
|
},
|
|
354
354
|
"node_modules/node-ansi-logger": {
|
|
355
|
-
"version": "3.2.
|
|
356
|
-
"resolved": "https://registry.npmjs.org/node-ansi-logger/-/node-ansi-logger-3.2.
|
|
357
|
-
"integrity": "sha512-
|
|
355
|
+
"version": "3.2.1",
|
|
356
|
+
"resolved": "https://registry.npmjs.org/node-ansi-logger/-/node-ansi-logger-3.2.1.tgz",
|
|
357
|
+
"integrity": "sha512-R5YptDlGVfVqACSiOtfmAwV+N/ytj8crwXStrs9d9kdAXYT4xF1J1H5qfhGbXsot06OHSha76Y2Fq66sIzMq2A==",
|
|
358
358
|
"hasShrinkwrap": true,
|
|
359
359
|
"license": "Apache-2.0",
|
|
360
360
|
"engines": {
|
|
361
|
-
"node": ">=20.
|
|
361
|
+
"node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0"
|
|
362
362
|
},
|
|
363
363
|
"funding": {
|
|
364
364
|
"type": "buymeacoffee",
|
|
@@ -366,16 +366,16 @@
|
|
|
366
366
|
}
|
|
367
367
|
},
|
|
368
368
|
"node_modules/node-persist-manager": {
|
|
369
|
-
"version": "2.0.
|
|
370
|
-
"resolved": "https://registry.npmjs.org/node-persist-manager/-/node-persist-manager-2.0.
|
|
371
|
-
"integrity": "sha512-
|
|
369
|
+
"version": "2.0.2",
|
|
370
|
+
"resolved": "https://registry.npmjs.org/node-persist-manager/-/node-persist-manager-2.0.2.tgz",
|
|
371
|
+
"integrity": "sha512-FGDdNOH4c6Xqb2LwTZ55GT0UaoqaOiWJ+hWt+O7w1+9QIUQh2NsaXPtGaTiibvCi6cX823JTFQPJK2NRseLTvw==",
|
|
372
372
|
"hasShrinkwrap": true,
|
|
373
373
|
"license": "Apache-2.0",
|
|
374
374
|
"dependencies": {
|
|
375
375
|
"node-persist": "4.0.4"
|
|
376
376
|
},
|
|
377
377
|
"engines": {
|
|
378
|
-
"node": ">=20.
|
|
378
|
+
"node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0"
|
|
379
379
|
},
|
|
380
380
|
"funding": {
|
|
381
381
|
"type": "buymeacoffee",
|
|
@@ -543,9 +543,9 @@
|
|
|
543
543
|
"license": "MIT"
|
|
544
544
|
},
|
|
545
545
|
"node_modules/undici-types": {
|
|
546
|
-
"version": "7.
|
|
547
|
-
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.
|
|
548
|
-
"integrity": "sha512-
|
|
546
|
+
"version": "7.19.2",
|
|
547
|
+
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.19.2.tgz",
|
|
548
|
+
"integrity": "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg==",
|
|
549
549
|
"license": "MIT"
|
|
550
550
|
},
|
|
551
551
|
"node_modules/util-deprecate": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-zigbee2mqtt",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11-dev-20260418-9148456",
|
|
4
4
|
"description": "Matterbridge zigbee2mqtt plugin",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"ewelink"
|
|
54
54
|
],
|
|
55
55
|
"engines": {
|
|
56
|
-
"node": ">=20.
|
|
56
|
+
"node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0"
|
|
57
57
|
},
|
|
58
58
|
"files": [
|
|
59
59
|
"bin",
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
],
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"moment": "2.30.1",
|
|
69
|
-
"mqtt": "5.15.
|
|
70
|
-
"node-ansi-logger": "3.2.
|
|
71
|
-
"node-persist-manager": "2.0.
|
|
69
|
+
"mqtt": "5.15.1",
|
|
70
|
+
"node-ansi-logger": "3.2.1",
|
|
71
|
+
"node-persist-manager": "2.0.2"
|
|
72
72
|
},
|
|
73
73
|
"overrides": {
|
|
74
|
-
"eslint": "10.
|
|
74
|
+
"eslint": "10.2.0",
|
|
75
75
|
"@eslint/js": "10.0.1"
|
|
76
76
|
}
|
|
77
77
|
}
|