@matterbridge/core 3.6.1-dev-20260313-a699c0e → 3.6.1-dev-20260313-1c1c125
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.js
CHANGED
|
@@ -1183,7 +1183,7 @@ export class Matterbridge extends EventEmitter {
|
|
|
1183
1183
|
catch {
|
|
1184
1184
|
}
|
|
1185
1185
|
}
|
|
1186
|
-
if (hasParameter('reset-sessions')) {
|
|
1186
|
+
if (hasParameter('reset-sessions') || !hasParameter('no-reset-sessions')) {
|
|
1187
1187
|
this.log.debug(`Cleaning matter storage context for ${GREEN}Matterbridge${db}...`);
|
|
1188
1188
|
unlinkSafe(path.join(this.matterbridgeDirectory, MATTER_STORAGE_NAME, 'Matterbridge', 'sessions.resumptionRecords'), this.log);
|
|
1189
1189
|
unlinkSafe(path.join(this.matterbridgeDirectory, MATTER_STORAGE_NAME, 'Matterbridge', 'root.subscriptions.subscriptions'), this.log);
|
|
@@ -1615,6 +1615,7 @@ declare const MatterbridgeThermostatServer_base: import("@matter/node").ClusterB
|
|
|
1615
1615
|
}];
|
|
1616
1616
|
}>, readonly [Thermostat.Feature.Cooling, Thermostat.Feature.Heating, Thermostat.Feature.AutoMode]>, typeof ThermostatServer, import("@matter/node/behaviors/thermostat").ThermostatInterface>;
|
|
1617
1617
|
export declare class MatterbridgeThermostatServer extends MatterbridgeThermostatServer_base {
|
|
1618
|
+
initialize(): Promise<void>;
|
|
1618
1619
|
setpointRaiseLower(request: Thermostat.SetpointRaiseLowerRequest): MaybePromise;
|
|
1619
1620
|
}
|
|
1620
1621
|
declare const MatterbridgePresetThermostatServer_base: import("@matter/node").ClusterBehavior.Type<import("@matter/types").ClusterComposer.WithFeatures<import("@matter/types").ClusterType.Of<{
|
|
@@ -321,6 +321,17 @@ export class MatterbridgeFanControlServer extends FanControlServer.with(FanContr
|
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
export class MatterbridgeThermostatServer extends ThermostatServer.with(Thermostat.Feature.Cooling, Thermostat.Feature.Heating, Thermostat.Feature.AutoMode) {
|
|
324
|
+
async initialize() {
|
|
325
|
+
await super.initialize();
|
|
326
|
+
this.endpoint.construction.onSuccess(async () => {
|
|
327
|
+
const device = this.endpoint.stateOf(MatterbridgeServer);
|
|
328
|
+
device.log.debug(`Removing atomic commands (endpoint ${this.endpoint.maybeId}.${this.endpoint.maybeNumber})`);
|
|
329
|
+
await this.endpoint.setStateOf(ThermostatServer, {
|
|
330
|
+
acceptedCommandList: [0],
|
|
331
|
+
generatedCommandList: [],
|
|
332
|
+
});
|
|
333
|
+
});
|
|
334
|
+
}
|
|
324
335
|
setpointRaiseLower(request) {
|
|
325
336
|
const device = this.endpoint.stateOf(MatterbridgeServer);
|
|
326
337
|
device.log.info(`Setting setpoint by ${request.amount} in mode ${request.mode} (endpoint ${this.endpoint.maybeId}.${this.endpoint.maybeNumber})`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matterbridge/core",
|
|
3
|
-
"version": "3.6.1-dev-20260313-
|
|
3
|
+
"version": "3.6.1-dev-20260313-1c1c125",
|
|
4
4
|
"description": "Matterbridge core library",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"homepage": "https://matterbridge.io/",
|
|
@@ -121,11 +121,11 @@
|
|
|
121
121
|
"CHANGELOG.md"
|
|
122
122
|
],
|
|
123
123
|
"dependencies": {
|
|
124
|
-
"@matter/main": "0.
|
|
125
|
-
"@matterbridge/dgram": "3.6.1-dev-20260313-
|
|
126
|
-
"@matterbridge/thread": "3.6.1-dev-20260313-
|
|
127
|
-
"@matterbridge/types": "3.6.1-dev-20260313-
|
|
128
|
-
"@matterbridge/utils": "3.6.1-dev-20260313-
|
|
124
|
+
"@matter/main": "0.16.10",
|
|
125
|
+
"@matterbridge/dgram": "3.6.1-dev-20260313-1c1c125",
|
|
126
|
+
"@matterbridge/thread": "3.6.1-dev-20260313-1c1c125",
|
|
127
|
+
"@matterbridge/types": "3.6.1-dev-20260313-1c1c125",
|
|
128
|
+
"@matterbridge/utils": "3.6.1-dev-20260313-1c1c125",
|
|
129
129
|
"archiver": "7.0.1",
|
|
130
130
|
"express": "5.2.1",
|
|
131
131
|
"glob": "13.0.6",
|