@matterbridge/core 3.10.3-dev-20260727-b80c82f → 3.10.3-dev-20260728-90e10eb
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/dist/matterbridge.d.ts +2 -0
- package/dist/matterbridge.js +10 -4
- package/package.json +6 -6
package/dist/matterbridge.d.ts
CHANGED
|
@@ -78,6 +78,8 @@ export declare class Matterbridge extends EventEmitter<MatterbridgeEvents> {
|
|
|
78
78
|
runningDays: number;
|
|
79
79
|
private startMatterInterval;
|
|
80
80
|
private readonly startMatterIntervalMs;
|
|
81
|
+
private readonly startConfigureTimeoutMs;
|
|
82
|
+
private readonly startReachabilityTimeoutMs;
|
|
81
83
|
private checkUpdateInterval;
|
|
82
84
|
private checkUpdateTimeout;
|
|
83
85
|
private systemCheckTimeout;
|
package/dist/matterbridge.js
CHANGED
|
@@ -111,6 +111,12 @@ export class Matterbridge extends EventEmitter {
|
|
|
111
111
|
runningDays = 0;
|
|
112
112
|
startMatterInterval;
|
|
113
113
|
startMatterIntervalMs = 1000;
|
|
114
|
+
startConfigureTimeoutMs = isValidNumber(Number(process.env['MATTERBRIDGE_START_CONFIGURE_TIMEOUT']), 0)
|
|
115
|
+
? Number(process.env['MATTERBRIDGE_START_CONFIGURE_TIMEOUT'])
|
|
116
|
+
: 30 * 1000;
|
|
117
|
+
startReachabilityTimeoutMs = isValidNumber(Number(process.env['MATTERBRIDGE_START_REACHABILITY_TIMEOUT']), 0)
|
|
118
|
+
? Number(process.env['MATTERBRIDGE_START_REACHABILITY_TIMEOUT'])
|
|
119
|
+
: 60 * 1000;
|
|
114
120
|
checkUpdateInterval;
|
|
115
121
|
checkUpdateTimeout;
|
|
116
122
|
systemCheckTimeout;
|
|
@@ -1623,12 +1629,12 @@ export class Matterbridge extends EventEmitter {
|
|
|
1623
1629
|
this.sendPluginStatusUpdate(plugin);
|
|
1624
1630
|
}
|
|
1625
1631
|
})();
|
|
1626
|
-
},
|
|
1632
|
+
}, this.startConfigureTimeoutMs).unref();
|
|
1627
1633
|
this.reachabilityTimeout = setTimeout(() => {
|
|
1628
1634
|
this.log.info(`Setting reachability to true for ${plg}Matterbridge${db}`);
|
|
1629
1635
|
if (this.aggregatorNode)
|
|
1630
1636
|
fireAndForget(this.setAggregatorReachability(this.aggregatorNode, true), this.log, `Failed to set aggregator node reachability for Matterbridge`);
|
|
1631
|
-
},
|
|
1637
|
+
}, this.startReachabilityTimeoutMs).unref();
|
|
1632
1638
|
this.emit('bridge_started');
|
|
1633
1639
|
this.log.notice('Matterbridge bridge started successfully');
|
|
1634
1640
|
this.server.request({ type: 'frontend_matterbridgestatusupdate', src: 'matterbridge', dst: 'frontend', params: { status: (this.bridgeStatus = 'started') } });
|
|
@@ -1713,7 +1719,7 @@ export class Matterbridge extends EventEmitter {
|
|
|
1713
1719
|
this.sendPluginStatusUpdate(plugin);
|
|
1714
1720
|
}
|
|
1715
1721
|
})();
|
|
1716
|
-
},
|
|
1722
|
+
}, this.startConfigureTimeoutMs).unref();
|
|
1717
1723
|
for (const plugin of this.plugins.array()) {
|
|
1718
1724
|
if (!plugin.enabled || plugin.error)
|
|
1719
1725
|
continue;
|
|
@@ -1738,7 +1744,7 @@ export class Matterbridge extends EventEmitter {
|
|
|
1738
1744
|
this.log.info(`Setting reachability to true for ${plg}${plugin.name}${nf}`);
|
|
1739
1745
|
if (plugin.type === 'DynamicPlatform' && plugin.aggregatorNode)
|
|
1740
1746
|
fireAndForget(this.setAggregatorReachability(plugin.aggregatorNode, true), this.log, `Set aggregator node reachability for plugin ${plugin.name}`);
|
|
1741
|
-
},
|
|
1747
|
+
}, this.startReachabilityTimeoutMs).unref();
|
|
1742
1748
|
}
|
|
1743
1749
|
for (const device of this.devices.array()) {
|
|
1744
1750
|
if (device.mode === 'server' && device.serverNode) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matterbridge/core",
|
|
3
|
-
"version": "3.10.3-dev-
|
|
3
|
+
"version": "3.10.3-dev-20260728-90e10eb",
|
|
4
4
|
"description": "Matterbridge core library",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"homepage": "https://matterbridge.io/",
|
|
@@ -131,11 +131,11 @@
|
|
|
131
131
|
"skipTsconfig": true
|
|
132
132
|
},
|
|
133
133
|
"dependencies": {
|
|
134
|
-
"@matter/main": "0.17.7
|
|
135
|
-
"@matterbridge/dgram": "3.10.3-dev-
|
|
136
|
-
"@matterbridge/thread": "3.10.3-dev-
|
|
137
|
-
"@matterbridge/types": "3.10.3-dev-
|
|
138
|
-
"@matterbridge/utils": "3.10.3-dev-
|
|
134
|
+
"@matter/main": "0.17.7",
|
|
135
|
+
"@matterbridge/dgram": "3.10.3-dev-20260728-90e10eb",
|
|
136
|
+
"@matterbridge/thread": "3.10.3-dev-20260728-90e10eb",
|
|
137
|
+
"@matterbridge/types": "3.10.3-dev-20260728-90e10eb",
|
|
138
|
+
"@matterbridge/utils": "3.10.3-dev-20260728-90e10eb",
|
|
139
139
|
"escape-html": "1.0.3",
|
|
140
140
|
"express": "5.2.1",
|
|
141
141
|
"express-rate-limit": "8.6.0",
|