matterbridge 2.0.0-edge.2 → 2.0.0-edge.3
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 +7 -2
- package/dist/frontend.js +0 -4
- package/dist/matterbridge.js +10 -8
- package/dist/pluginManager.js +0 -1
- package/frontend/build/asset-manifest.json +3 -3
- package/frontend/build/index.html +1 -1
- package/frontend/build/static/js/{main.6204ae54.js → main.6df4ebe4.js} +3 -3
- package/frontend/build/static/js/main.6df4ebe4.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/frontend/build/static/js/main.6204ae54.js.map +0 -1
- /package/frontend/build/static/js/{main.6204ae54.js.LICENSE.txt → main.6df4ebe4.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -21,7 +21,7 @@ The legacy old api have been completely removed.
|
|
|
21
21
|
The frontend has a new dark and light mode. The dark mode is now the default mode.
|
|
22
22
|
It is possible to change the mode (Classic, Dark or Light) in Settings, Matterbridge settings.
|
|
23
23
|
|
|
24
|
-
## [2.0.0-edge.
|
|
24
|
+
## [2.0.0-edge.3] - 2025-01-16
|
|
25
25
|
|
|
26
26
|
### Added
|
|
27
27
|
|
|
@@ -36,9 +36,14 @@ It is possible to change the mode (Classic, Dark or Light) in Settings, Matterbr
|
|
|
36
36
|
- [iconView]: Improved render for energySensor adding voltage, current and power.
|
|
37
37
|
- [iconView]: Improved render for PowerSource adding battery voltage.
|
|
38
38
|
- [jest]: Refactor all tests for edge.
|
|
39
|
-
- [frontend]: WebSocketProvider
|
|
39
|
+
- [frontend]: WebSocketProvider added a startTimeout of 300 sec. to start ping.
|
|
40
|
+
- [frontend]: WebSocketProvider changed pingIntervalSeconds to 60 sec. and offlineTimeoutSeconds to 50 sec.
|
|
41
|
+
- [frontend]: Search on select is no more case sensitive.
|
|
40
42
|
- [package]: Update dependencies.
|
|
41
43
|
|
|
44
|
+
### Fixed
|
|
45
|
+
|
|
46
|
+
- [sessions]: Fixed the case when Active session was not reporting correctly.
|
|
42
47
|
|
|
43
48
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
44
49
|
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
|
package/dist/frontend.js
CHANGED
|
@@ -201,7 +201,6 @@ export class Frontend {
|
|
|
201
201
|
this.matterbridge.matterbridgeInformation.matterDiscriminator = await this.matterbridge.nodeContext?.get('matterdiscriminator');
|
|
202
202
|
this.matterbridge.matterbridgeInformation.matterPasscode = await this.matterbridge.nodeContext?.get('matterpasscode');
|
|
203
203
|
this.matterbridge.matterbridgeInformation.matterbridgePaired = this.matterbridge.matterbridgePaired;
|
|
204
|
-
this.matterbridge.matterbridgeInformation.matterbridgeConnected = this.matterbridge.matterbridgeConnected;
|
|
205
204
|
this.matterbridge.matterbridgeInformation.matterbridgeQrPairingCode = this.matterbridge.matterbridgeQrPairingCode;
|
|
206
205
|
this.matterbridge.matterbridgeInformation.matterbridgeManualPairingCode = this.matterbridge.matterbridgeManualPairingCode;
|
|
207
206
|
this.matterbridge.matterbridgeInformation.matterbridgeFabricInformations = this.matterbridge.matterbridgeFabricInformations;
|
|
@@ -680,7 +679,6 @@ export class Frontend {
|
|
|
680
679
|
plugin.loaded = undefined;
|
|
681
680
|
plugin.started = undefined;
|
|
682
681
|
plugin.configured = undefined;
|
|
683
|
-
plugin.connected = undefined;
|
|
684
682
|
plugin.platform = undefined;
|
|
685
683
|
plugin.registeredDevices = undefined;
|
|
686
684
|
plugin.addedDevices = undefined;
|
|
@@ -880,7 +878,6 @@ export class Frontend {
|
|
|
880
878
|
started: plugin.started,
|
|
881
879
|
configured: plugin.configured,
|
|
882
880
|
paired: plugin.paired,
|
|
883
|
-
connected: plugin.connected,
|
|
884
881
|
fabricInformations: plugin.fabricInformations,
|
|
885
882
|
sessionInformations: plugin.sessionInformations,
|
|
886
883
|
registeredDevices: plugin.registeredDevices,
|
|
@@ -975,7 +972,6 @@ export class Frontend {
|
|
|
975
972
|
this.matterbridge.matterbridgeInformation.matterDiscriminator = await this.matterbridge.nodeContext?.get('matterdiscriminator');
|
|
976
973
|
this.matterbridge.matterbridgeInformation.matterPasscode = await this.matterbridge.nodeContext?.get('matterpasscode');
|
|
977
974
|
this.matterbridge.matterbridgeInformation.matterbridgePaired = this.matterbridge.matterbridgePaired;
|
|
978
|
-
this.matterbridge.matterbridgeInformation.matterbridgeConnected = this.matterbridge.matterbridgeConnected;
|
|
979
975
|
this.matterbridge.matterbridgeInformation.matterbridgeQrPairingCode = this.matterbridge.matterbridgeQrPairingCode;
|
|
980
976
|
this.matterbridge.matterbridgeInformation.matterbridgeManualPairingCode = this.matterbridge.matterbridgeManualPairingCode;
|
|
981
977
|
this.matterbridge.matterbridgeInformation.matterbridgeFabricInformations = this.matterbridge.matterbridgeFabricInformations;
|
package/dist/matterbridge.js
CHANGED
|
@@ -49,7 +49,6 @@ export class Matterbridge extends EventEmitter {
|
|
|
49
49
|
matterbridgeFabricInformations: [],
|
|
50
50
|
matterbridgeSessionInformations: [],
|
|
51
51
|
matterbridgePaired: false,
|
|
52
|
-
matterbridgeConnected: false,
|
|
53
52
|
bridgeMode: '',
|
|
54
53
|
restartMode: '',
|
|
55
54
|
readOnly: hasParameter('readonly'),
|
|
@@ -79,7 +78,6 @@ export class Matterbridge extends EventEmitter {
|
|
|
79
78
|
matterbridgeFabricInformations = [];
|
|
80
79
|
matterbridgeSessionInformations = [];
|
|
81
80
|
matterbridgePaired = false;
|
|
82
|
-
matterbridgeConnected = false;
|
|
83
81
|
bridgeMode = '';
|
|
84
82
|
restartMode = '';
|
|
85
83
|
profile = getParameter('profile');
|
|
@@ -557,7 +555,6 @@ export class Matterbridge extends EventEmitter {
|
|
|
557
555
|
plugin.loaded = false;
|
|
558
556
|
plugin.started = false;
|
|
559
557
|
plugin.configured = false;
|
|
560
|
-
plugin.connected = undefined;
|
|
561
558
|
plugin.registeredDevices = undefined;
|
|
562
559
|
plugin.addedDevices = undefined;
|
|
563
560
|
plugin.qrPairingCode = undefined;
|
|
@@ -1363,14 +1360,12 @@ export class Matterbridge extends EventEmitter {
|
|
|
1363
1360
|
this.log.info(`Fabrics: ${debugStringify(sanitizedFabrics)}`);
|
|
1364
1361
|
if (this.bridgeMode === 'bridge') {
|
|
1365
1362
|
this.matterbridgeFabricInformations = sanitizedFabrics;
|
|
1366
|
-
this.matterbridgeSessionInformations = [];
|
|
1367
1363
|
this.matterbridgePaired = true;
|
|
1368
1364
|
}
|
|
1369
1365
|
if (this.bridgeMode === 'childbridge') {
|
|
1370
1366
|
const plugin = this.plugins.get(storeId);
|
|
1371
1367
|
if (plugin) {
|
|
1372
1368
|
plugin.fabricInformations = sanitizedFabrics;
|
|
1373
|
-
plugin.sessionInformations = [];
|
|
1374
1369
|
plugin.paired = true;
|
|
1375
1370
|
}
|
|
1376
1371
|
}
|
|
@@ -1388,7 +1383,6 @@ export class Matterbridge extends EventEmitter {
|
|
|
1388
1383
|
this.matterbridgeFabricInformations = [];
|
|
1389
1384
|
this.matterbridgeSessionInformations = [];
|
|
1390
1385
|
this.matterbridgePaired = false;
|
|
1391
|
-
this.matterbridgeConnected = false;
|
|
1392
1386
|
this.log.notice(`QR Code URL: https://project-chip.github.io/connectedhomeip/qrcode.html?data=${qrPairingCode}`);
|
|
1393
1387
|
this.log.notice(`Manual pairing code: ${manualPairingCode}`);
|
|
1394
1388
|
}
|
|
@@ -1400,7 +1394,6 @@ export class Matterbridge extends EventEmitter {
|
|
|
1400
1394
|
plugin.fabricInformations = [];
|
|
1401
1395
|
plugin.sessionInformations = [];
|
|
1402
1396
|
plugin.paired = false;
|
|
1403
|
-
plugin.connected = false;
|
|
1404
1397
|
this.log.notice(`QR Code URL: https://project-chip.github.io/connectedhomeip/qrcode.html?data=${qrPairingCode}`);
|
|
1405
1398
|
this.log.notice(`Manual pairing code: ${manualPairingCode}`);
|
|
1406
1399
|
}
|
|
@@ -1420,7 +1413,16 @@ export class Matterbridge extends EventEmitter {
|
|
|
1420
1413
|
this.matterbridgeFabricInformations = [];
|
|
1421
1414
|
this.matterbridgeSessionInformations = [];
|
|
1422
1415
|
this.matterbridgePaired = false;
|
|
1423
|
-
|
|
1416
|
+
}
|
|
1417
|
+
if (this.bridgeMode === 'childbridge') {
|
|
1418
|
+
const plugin = this.plugins.get(storeId);
|
|
1419
|
+
if (plugin) {
|
|
1420
|
+
plugin.qrPairingCode = undefined;
|
|
1421
|
+
plugin.manualPairingCode = undefined;
|
|
1422
|
+
plugin.fabricInformations = [];
|
|
1423
|
+
plugin.sessionInformations = [];
|
|
1424
|
+
plugin.paired = false;
|
|
1425
|
+
}
|
|
1424
1426
|
}
|
|
1425
1427
|
this.frontend.wssSendRefreshRequired();
|
|
1426
1428
|
});
|
package/dist/pluginManager.js
CHANGED
|
@@ -555,7 +555,6 @@ export class PluginManager {
|
|
|
555
555
|
plugin.loaded = undefined;
|
|
556
556
|
plugin.started = undefined;
|
|
557
557
|
plugin.configured = undefined;
|
|
558
|
-
plugin.connected = undefined;
|
|
559
558
|
plugin.platform = undefined;
|
|
560
559
|
if (removeAllDevices) {
|
|
561
560
|
this.log.info(`Removing all endpoints for plugin ${plg}${plugin.name}${nf}: ${reason}...`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
3
|
"main.css": "./static/css/main.cf25d33e.css",
|
|
4
|
-
"main.js": "./static/js/main.
|
|
4
|
+
"main.js": "./static/js/main.6df4ebe4.js",
|
|
5
5
|
"static/js/453.abd36b29.chunk.js": "./static/js/453.abd36b29.chunk.js",
|
|
6
6
|
"static/media/roboto-latin-700-normal.woff2": "./static/media/roboto-latin-700-normal.4535474e1cf8598695ad.woff2",
|
|
7
7
|
"static/media/roboto-latin-500-normal.woff2": "./static/media/roboto-latin-500-normal.7077203b1982951ecf76.woff2",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"static/media/roboto-greek-ext-400-normal.woff": "./static/media/roboto-greek-ext-400-normal.16eb83b4a3b1ea994243.woff",
|
|
62
62
|
"index.html": "./index.html",
|
|
63
63
|
"main.cf25d33e.css.map": "./static/css/main.cf25d33e.css.map",
|
|
64
|
-
"main.
|
|
64
|
+
"main.6df4ebe4.js.map": "./static/js/main.6df4ebe4.js.map",
|
|
65
65
|
"453.abd36b29.chunk.js.map": "./static/js/453.abd36b29.chunk.js.map"
|
|
66
66
|
},
|
|
67
67
|
"entrypoints": [
|
|
68
68
|
"static/css/main.cf25d33e.css",
|
|
69
|
-
"static/js/main.
|
|
69
|
+
"static/js/main.6df4ebe4.js"
|
|
70
70
|
]
|
|
71
71
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="./"><link rel="icon" href="./matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="./manifest.json"/><script defer="defer" src="./static/js/main.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="./"><link rel="icon" href="./matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="./manifest.json"/><script defer="defer" src="./static/js/main.6df4ebe4.js"></script><link href="./static/css/main.cf25d33e.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|