matterbridge 3.0.3-dev-20250519-6aad062 → 3.0.3-dev-20250520-e6e7257
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 +2 -3
- package/dist/matterbridge.js +2 -1
- package/dist/matterbridgeBehaviors.js +3 -3
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,7 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
8
8
|
<img src="bmc-button.svg" alt="Buy me a coffee" width="120">
|
|
9
9
|
</a>
|
|
10
10
|
|
|
11
|
-
## [3.0.3] - 2025-05-
|
|
11
|
+
## [3.0.3] - 2025-05-19
|
|
12
12
|
|
|
13
13
|
### New plugins
|
|
14
14
|
|
|
@@ -26,6 +26,7 @@ AEG RX 9 / Electrolux Pure i9 robot vacuum plugin for Matterbridge.
|
|
|
26
26
|
- [virtual] Added virtual devices configuration mode in the Matterbridge Settings: 'Disabled', 'Light', 'Outlet', 'Switch', 'Mounted_switch'. Switch is not supported by Alexa. Mounted Switch is not supported by Apple.
|
|
27
27
|
- [deviceTypes] Added evse, waterHeater, solarPower, batteryStorage and heatPump device type.
|
|
28
28
|
- [waterHeater] Added WaterHeater class to create a Water Heater Device Type in one line of code (thanks https://github.com/lboue).
|
|
29
|
+
- [subscribe] Added a third parameter context (provisional implementation: when "context.offline === true" then this is a change coming from the device).
|
|
29
30
|
|
|
30
31
|
### Changed
|
|
31
32
|
|
|
@@ -35,8 +36,6 @@ AEG RX 9 / Electrolux Pure i9 robot vacuum plugin for Matterbridge.
|
|
|
35
36
|
- [matterbridge]: Updated -help informations.
|
|
36
37
|
- [rvc]: Added the parameters in the RoboticVacuumCleaner class constructor.
|
|
37
38
|
|
|
38
|
-
### Fixed
|
|
39
|
-
|
|
40
39
|
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
41
40
|
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
|
42
41
|
</a>
|
package/dist/matterbridge.js
CHANGED
|
@@ -209,7 +209,7 @@ export class Matterbridge extends EventEmitter {
|
|
|
209
209
|
this.log.info(`Closed ${server.id} MdnsService`);
|
|
210
210
|
}
|
|
211
211
|
await new Promise((resolve) => {
|
|
212
|
-
setTimeout(resolve,
|
|
212
|
+
setTimeout(resolve, 500);
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
async initialize() {
|
|
@@ -226,6 +226,7 @@ export class Matterbridge extends EventEmitter {
|
|
|
226
226
|
this.matterbridgeInformation.matterbridgeDirectory = this.matterbridgeDirectory;
|
|
227
227
|
await this.createDirectory(this.matterbridgeDirectory, 'Matterbridge Directory');
|
|
228
228
|
await this.createDirectory(path.join(this.matterbridgeDirectory, 'certs'), 'Matterbridge Frontend Certificate Directory');
|
|
229
|
+
await this.createDirectory(path.join(this.matterbridgeDirectory, 'uploads'), 'Matterbridge Frontend Uploads Directory');
|
|
229
230
|
this.matterbridgePluginDirectory = path.join(this.homeDirectory, 'Matterbridge');
|
|
230
231
|
this.matterbridgeInformation.matterbridgePluginDirectory = this.matterbridgePluginDirectory;
|
|
231
232
|
await this.createDirectory(this.matterbridgePluginDirectory, 'Matterbridge Plugin Directory');
|
|
@@ -130,7 +130,7 @@ export class MatterbridgeServerDevice {
|
|
|
130
130
|
this.commandHandler.executeHandler('step', { request: { direction, wrap, lowestOff }, attributes: {}, endpoint: { number: this.endpointNumber, uniqueStorageKey: this.endpointId } });
|
|
131
131
|
}
|
|
132
132
|
setpointRaiseLower({ mode, amount }) {
|
|
133
|
-
this.log.info(`Setting setpoint
|
|
133
|
+
this.log.info(`Setting setpoint by ${amount} in mode ${mode} (endpoint ${this.endpointId}.${this.endpointNumber})`);
|
|
134
134
|
this.commandHandler.executeHandler('setpointRaiseLower', { request: { mode, amount }, attributes: {}, endpoint: { number: this.endpointNumber, uniqueStorageKey: this.endpointId } });
|
|
135
135
|
}
|
|
136
136
|
open({ openDuration, targetLevel }) {
|
|
@@ -366,12 +366,12 @@ export class MatterbridgeThermostatServer extends ThermostatServer.with(Thermost
|
|
|
366
366
|
if ((mode === Thermostat.SetpointRaiseLowerMode.Heat || mode === Thermostat.SetpointRaiseLowerMode.Both) && this.state.occupiedHeatingSetpoint !== undefined) {
|
|
367
367
|
const setpoint = this.state.occupiedHeatingSetpoint / 100 + amount / 10;
|
|
368
368
|
this.state.occupiedHeatingSetpoint = setpoint * 100;
|
|
369
|
-
device.log.debug(
|
|
369
|
+
device.log.debug(`Set occupiedHeatingSetpoint to ${setpoint}`);
|
|
370
370
|
}
|
|
371
371
|
if ((mode === Thermostat.SetpointRaiseLowerMode.Cool || mode === Thermostat.SetpointRaiseLowerMode.Both) && this.state.occupiedCoolingSetpoint !== undefined) {
|
|
372
372
|
const setpoint = this.state.occupiedCoolingSetpoint / 100 + amount / 10;
|
|
373
373
|
this.state.occupiedCoolingSetpoint = setpoint * 100;
|
|
374
|
-
device.log.debug(
|
|
374
|
+
device.log.debug(`Set occupiedCoolingSetpoint to ${setpoint}`);
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge",
|
|
3
|
-
"version": "3.0.3-dev-
|
|
3
|
+
"version": "3.0.3-dev-20250520-e6e7257",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge",
|
|
9
|
-
"version": "3.0.3-dev-
|
|
9
|
+
"version": "3.0.3-dev-20250520-e6e7257",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@matter/main": "0.13.0",
|
package/package.json
CHANGED