matterbridge 1.3.12 → 1.3.28
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 +48 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +10 -7
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/matterbridge.d.ts +157 -261
- package/dist/matterbridge.d.ts.map +1 -1
- package/dist/matterbridge.js +1395 -1611
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeAccessoryPlatform.d.ts.map +1 -1
- package/dist/matterbridgeAccessoryPlatform.js +1 -0
- package/dist/matterbridgeAccessoryPlatform.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +9 -3
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +11 -4
- package/dist/matterbridgeDevice.js.map +1 -1
- package/dist/matterbridgeDynamicPlatform.d.ts.map +1 -1
- package/dist/matterbridgeDynamicPlatform.js +1 -0
- package/dist/matterbridgeDynamicPlatform.js.map +1 -1
- package/dist/matterbridgeTypes.d.ts +111 -0
- package/dist/matterbridgeTypes.d.ts.map +1 -0
- package/dist/matterbridgeTypes.js +2 -0
- package/dist/matterbridgeTypes.js.map +1 -0
- package/dist/plugins.d.ts +102 -0
- package/dist/plugins.d.ts.map +1 -0
- package/dist/plugins.js +674 -0
- package/dist/plugins.js.map +1 -0
- package/dist/utils/export.d.ts +3 -0
- package/dist/utils/export.d.ts.map +1 -0
- package/dist/utils/export.js +3 -0
- package/dist/utils/export.js.map +1 -0
- package/dist/utils/utils.d.ts +37 -2
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +79 -7
- package/dist/utils/utils.js.map +1 -1
- package/frontend/build/asset-manifest.json +6 -6
- package/frontend/build/index.html +1 -1
- package/frontend/build/static/css/{main.b4d28450.css → main.df840158.css} +2 -2
- package/frontend/build/static/css/main.df840158.css.map +1 -0
- package/frontend/build/static/js/{main.3105733e.js → main.2a46688a.js} +3 -3
- package/frontend/build/static/js/main.2a46688a.js.map +1 -0
- package/package.json +25 -20
- package/__mocks__/@project-chip/matter-node.js/util.js +0 -41
- package/dist/utils.d.ts +0 -94
- package/dist/utils.d.ts.map +0 -1
- package/dist/utils.js +0 -291
- package/dist/utils.js.map +0 -1
- package/frontend/build/static/css/main.b4d28450.css.map +0 -1
- package/frontend/build/static/js/main.3105733e.js.map +0 -1
- /package/frontend/build/static/js/{main.3105733e.js.LICENSE.txt → main.2a46688a.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,49 @@ 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 and sponsoring it.
|
|
6
6
|
|
|
7
|
+
## [1.4.0] - 2024-07-23
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- [package]: Update dependencies.
|
|
14
|
+
- [matterbridge]: Added PluginsManager.
|
|
15
|
+
- [matterbridge]: Removed timeout on cleanup (saved 5 seconds on restart and shutdown).
|
|
16
|
+
- [matterbridge]: Removed write cache and expired interval for node storage.
|
|
17
|
+
- [matterbridge]: Added matterbridgeTypes.ts
|
|
18
|
+
- [frontend]: The frontend reconnects to WebSocket when the connection is closed.
|
|
19
|
+
- [frontend]: Removed QR button for plugins in error and not enabled.
|
|
20
|
+
- [frontend]: The Logs page and the log in the Home page persist till you close or reload the frontend (the last 1000 lines are available).
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- [matterbridge]: Fixed utils export
|
|
26
|
+
|
|
27
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
28
|
+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
|
|
29
|
+
</a>
|
|
30
|
+
|
|
31
|
+
## [1.3.13] - 2024-07-11
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- [frontend]: The Logs window in the Home page has the same filter as the Logs page.
|
|
38
|
+
- [matterbridge]: The plugins debug is now indipendent from matterbridge debug and matter.js log level. It can be set from the plugin config.
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- [frontend]: Fix Home page for mobile (the page doesn't "jump" anymore with touchscreens).
|
|
43
|
+
- [matterbridge]: Fixed npm ignore for exports.
|
|
44
|
+
- [matterbridge]: Fixed load plugin when the don't have author and description.
|
|
45
|
+
|
|
46
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
47
|
+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
|
|
48
|
+
</a>
|
|
49
|
+
|
|
7
50
|
## [1.3.12] - 2024-07-10
|
|
8
51
|
|
|
9
52
|
### Added
|
|
@@ -24,6 +67,7 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
24
67
|
## [1.3.11] - 2024-07-08
|
|
25
68
|
|
|
26
69
|
### Added
|
|
70
|
+
|
|
27
71
|
- [device]: Added addRequiredClusterServers and addOptionalClusterServers methods.
|
|
28
72
|
- [frontend]: Added separated settings for the two logging systems (Matterbridge and Matter.js).
|
|
29
73
|
|
|
@@ -59,6 +103,7 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
59
103
|
## [1.3.9] - 2024-07-02
|
|
60
104
|
|
|
61
105
|
### Fixed
|
|
106
|
+
|
|
62
107
|
- [matterbridge]: Fixed nodeLabel in childbridge mode
|
|
63
108
|
- [matterbridge]: Fixed MeasurementClusters
|
|
64
109
|
|
|
@@ -69,6 +114,7 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
69
114
|
## [1.3.8] - 2024-07-01
|
|
70
115
|
|
|
71
116
|
### Fixed
|
|
117
|
+
|
|
72
118
|
- [matterbridge]: Fixed crash in childbridge mode
|
|
73
119
|
|
|
74
120
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
@@ -78,6 +124,7 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
78
124
|
## [1.3.7] - 2024-06-30
|
|
79
125
|
|
|
80
126
|
### Added
|
|
127
|
+
|
|
81
128
|
- [matter.js]: Added -mdnsinterface command line parameter to limit the MdnsBroadcaster to a single interface (e.g. matterbridge -bridge -mdnsinterface eth0). Matterbridge will validate the given interface and log a message if the interface is not available and will use all available interfaces.
|
|
82
129
|
|
|
83
130
|
### Changed
|
|
@@ -120,7 +167,7 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
120
167
|
- [package]: Updated to use prettier and jest with the flat config
|
|
121
168
|
- [matterbridge]: Updated dependencies
|
|
122
169
|
- [matterbridgeDevice]: Updated ColorControl commandHandlers for improved compatibility with (https://github.com/Luligu/matterbridge-shelly)
|
|
123
|
-
- [matterbridge]:
|
|
170
|
+
- [matterbridge]: The "plugin disable" and "plugin remove" methods now also remove the registered devices from the bridge
|
|
124
171
|
- [matterbridge]: The "plugin add" method now loads, starts, and configures the plugin
|
|
125
172
|
|
|
126
173
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
package/dist/cli.d.ts
CHANGED
package/dist/cli.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @file cli.ts
|
|
6
6
|
* @author Luca Liguori
|
|
7
7
|
* @date 2023-12-29
|
|
8
|
-
* @version 1.0.
|
|
8
|
+
* @version 1.0.11
|
|
9
9
|
*
|
|
10
10
|
* Copyright 2023, 2024 Luca Liguori.
|
|
11
11
|
*
|
|
@@ -25,13 +25,16 @@
|
|
|
25
25
|
// import wtf from 'wtfnode';
|
|
26
26
|
import { Matterbridge } from './matterbridge.js';
|
|
27
27
|
let instance;
|
|
28
|
+
const cli = '\u001B[32m';
|
|
29
|
+
const er = '\u001B[38;5;9m';
|
|
30
|
+
const rs = '\u001B[40;0m';
|
|
28
31
|
async function main() {
|
|
29
32
|
if (process.argv.includes('-debug'))
|
|
30
|
-
console.log('CLI: Matterbridge.loadInstance() called');
|
|
33
|
+
console.log(cli + 'CLI: Matterbridge.loadInstance() called' + rs);
|
|
31
34
|
instance = await Matterbridge.loadInstance(true);
|
|
32
35
|
registerHandlers();
|
|
33
36
|
if (process.argv.includes('-debug'))
|
|
34
|
-
console.log('CLI: Matterbridge.loadInstance() exited');
|
|
37
|
+
console.log(cli + 'CLI: Matterbridge.loadInstance() exited' + rs);
|
|
35
38
|
}
|
|
36
39
|
function registerHandlers() {
|
|
37
40
|
if (instance)
|
|
@@ -43,24 +46,24 @@ function registerHandlers() {
|
|
|
43
46
|
}
|
|
44
47
|
async function shutdown() {
|
|
45
48
|
if (process.argv.includes('-debug'))
|
|
46
|
-
console.log('CLI: received shutdown event, exiting...');
|
|
49
|
+
console.log(cli + 'CLI: received shutdown event, exiting...' + rs);
|
|
47
50
|
// wtf.dump();
|
|
48
51
|
process.exit(0);
|
|
49
52
|
}
|
|
50
53
|
async function restart() {
|
|
51
54
|
if (process.argv.includes('-debug'))
|
|
52
|
-
console.log('CLI: received restart event, loading...');
|
|
55
|
+
console.log(cli + 'CLI: received restart event, loading...' + rs);
|
|
53
56
|
instance = await Matterbridge.loadInstance(true);
|
|
54
57
|
registerHandlers();
|
|
55
58
|
}
|
|
56
59
|
async function update() {
|
|
57
60
|
if (process.argv.includes('-debug'))
|
|
58
|
-
console.log('CLI: received update event, updating...');
|
|
61
|
+
console.log(cli + 'CLI: received update event, updating...' + rs);
|
|
59
62
|
instance = await Matterbridge.loadInstance(true);
|
|
60
63
|
registerHandlers();
|
|
61
64
|
}
|
|
62
65
|
process.title = 'matterbridge';
|
|
63
66
|
main().catch((error) => {
|
|
64
|
-
console.error(`CLI: Matterbridge.loadInstance() failed with error: ${error}`);
|
|
67
|
+
console.error(er + `CLI: Matterbridge.loadInstance() failed with error: ${error}` + rs);
|
|
65
68
|
});
|
|
66
69
|
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,+BAA+B;AAC/B,6BAA6B;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,IAAI,QAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,+BAA+B;AAC/B,6BAA6B;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,IAAI,QAAkC,CAAC;AACvC,MAAM,GAAG,GAAG,YAAY,CAAC;AACzB,MAAM,EAAE,GAAG,gBAAgB,CAAC;AAC5B,MAAM,EAAE,GAAG,cAAc,CAAC;AAE1B,KAAK,UAAU,IAAI;IACjB,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAAE,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,yCAAyC,GAAG,EAAE,CAAC,CAAC;IACvG,QAAQ,GAAG,MAAM,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IACjD,gBAAgB,EAAE,CAAC;IACnB,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAAE,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,yCAAyC,GAAG,EAAE,CAAC,CAAC;AACzG,CAAC;AAED,SAAS,gBAAgB;IACvB,IAAI,QAAQ;QAAE,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC9D,IAAI,QAAQ;QAAE,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,KAAK,IAAI,EAAE,CAAC,OAAO,EAA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 2023-12-29
|
|
7
|
-
* @version 1.0.
|
|
7
|
+
* @version 1.0.6
|
|
8
8
|
*
|
|
9
9
|
* Copyright 2023, 2024 Luca Liguori.
|
|
10
10
|
*
|
|
@@ -28,12 +28,15 @@ export * from '@project-chip/matter-node.js/datatype';
|
|
|
28
28
|
export * from '@project-chip/matter.js/util';
|
|
29
29
|
export * from '@project-chip/matter.js/schema';
|
|
30
30
|
export * from '@project-chip/matter.js/tlv';
|
|
31
|
-
export * from 'matter-history';
|
|
32
31
|
export * from './matterbridge.js';
|
|
33
32
|
export * from './matterbridgeDevice.js';
|
|
34
33
|
export * from './matterbridgePlatform.js';
|
|
35
34
|
export * from './matterbridgeAccessoryPlatform.js';
|
|
36
35
|
export * from './matterbridgeDynamicPlatform.js';
|
|
36
|
+
export * from './matterbridgeTypes.js';
|
|
37
|
+
export * from 'matter-history';
|
|
38
|
+
export * from './utils/utils.js';
|
|
39
|
+
export * from './utils/colorUtils.js';
|
|
37
40
|
export * from './cluster/AirQualityCluster.js';
|
|
38
41
|
export * from './cluster/BooleanStateConfigurationCluster.js';
|
|
39
42
|
export * from './cluster/CarbonDioxideConcentrationMeasurementCluster.js';
|
|
@@ -56,5 +59,4 @@ export * from './cluster/PowerTopologyCluster.js';
|
|
|
56
59
|
export * from './cluster/RadonConcentrationMeasurementCluster.js';
|
|
57
60
|
export * from './cluster/SmokeCoAlarmCluster.js';
|
|
58
61
|
export * from './cluster/TvocCluster.js';
|
|
59
|
-
export * from './utils.js';
|
|
60
62
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,8BAA8B,CAAC;AAGtC,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAA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Ac,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @file index.ts
|
|
5
5
|
* @author Luca Liguori
|
|
6
6
|
* @date 2023-12-29
|
|
7
|
-
* @version 1.0.
|
|
7
|
+
* @version 1.0.6
|
|
8
8
|
*
|
|
9
9
|
* Copyright 2023, 2024 Luca Liguori.
|
|
10
10
|
*
|
|
@@ -29,12 +29,17 @@ export * from '@project-chip/matter-node.js/datatype';
|
|
|
29
29
|
export * from '@project-chip/matter.js/util';
|
|
30
30
|
export * from '@project-chip/matter.js/schema';
|
|
31
31
|
export * from '@project-chip/matter.js/tlv';
|
|
32
|
-
export * from 'matter-history';
|
|
33
32
|
export * from './matterbridge.js';
|
|
34
33
|
export * from './matterbridgeDevice.js';
|
|
35
34
|
export * from './matterbridgePlatform.js';
|
|
36
35
|
export * from './matterbridgeAccessoryPlatform.js';
|
|
37
36
|
export * from './matterbridgeDynamicPlatform.js';
|
|
37
|
+
export * from './matterbridgeTypes.js';
|
|
38
|
+
// TODO Remove in august 2024
|
|
39
|
+
export * from 'matter-history';
|
|
40
|
+
export * from './utils/utils.js';
|
|
41
|
+
export * from './utils/colorUtils.js';
|
|
42
|
+
// TODO Refactor all plugins to import from matterbridge/cluster and remove in september 2024
|
|
38
43
|
export * from './cluster/AirQualityCluster.js';
|
|
39
44
|
export * from './cluster/BooleanStateConfigurationCluster.js';
|
|
40
45
|
export * from './cluster/CarbonDioxideConcentrationMeasurementCluster.js';
|
|
@@ -57,18 +62,20 @@ export * from './cluster/PowerTopologyCluster.js';
|
|
|
57
62
|
export * from './cluster/RadonConcentrationMeasurementCluster.js';
|
|
58
63
|
export * from './cluster/SmokeCoAlarmCluster.js';
|
|
59
64
|
export * from './cluster/TvocCluster.js';
|
|
60
|
-
|
|
65
|
+
const cli = '\u001B[32m';
|
|
66
|
+
const er = '\u001B[38;5;9m';
|
|
67
|
+
const rs = '\u001B[40;0m';
|
|
61
68
|
async function main() {
|
|
62
69
|
// eslint-disable-next-line no-console
|
|
63
70
|
if (process.argv.includes('-debug'))
|
|
64
|
-
console.log('MAIN: Matterbridge.loadInstance() called');
|
|
71
|
+
console.log(cli + 'MAIN: Matterbridge.loadInstance() called' + rs);
|
|
65
72
|
await Matterbridge.loadInstance();
|
|
66
73
|
// eslint-disable-next-line no-console
|
|
67
74
|
if (process.argv.includes('-debug'))
|
|
68
|
-
console.log('MAIN: Matterbridge.loadInstance() exited');
|
|
75
|
+
console.log(cli + 'MAIN: Matterbridge.loadInstance() exited' + rs);
|
|
69
76
|
}
|
|
70
77
|
main().catch((error) => {
|
|
71
78
|
// eslint-disable-next-line no-console
|
|
72
|
-
console.error(`MAIN: Matterbridge.loadInstance() failed with error: ${error}`);
|
|
79
|
+
console.error(er + `MAIN: Matterbridge.loadInstance() failed with error: ${error}` + rs);
|
|
73
80
|
});
|
|
74
81
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,cAAc,qCAAqC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