matterbridge-example-accessory-platform 3.0.4-dev-20260913-53e8517 → 3.0.4-dev-20260914-0dfae10
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 +5 -0
- package/dist/module.js +4 -4
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -35,6 +35,11 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
35
35
|
|
|
36
36
|
- [devcontainer]: Upgrade the `Dev Container` to v.2.1.0, using the Node.js and Bun stack.
|
|
37
37
|
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- [package]: Upgrade package.
|
|
41
|
+
- [package]: Update dependencies.
|
|
42
|
+
|
|
38
43
|
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
39
44
|
|
|
40
45
|
## [3.0.3] - 2026-08-30
|
package/dist/module.js
CHANGED
|
@@ -12,10 +12,10 @@ export class ExampleMatterbridgeAccessoryPlatform extends MatterbridgeAccessoryP
|
|
|
12
12
|
if (typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.10.0')) {
|
|
13
13
|
throw new Error(`This plugin requires Matterbridge version >= "3.10.0". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
|
|
14
14
|
}
|
|
15
|
-
this.log.info(
|
|
15
|
+
this.log.info(`Initializing platform ${this.config.name}...`);
|
|
16
16
|
}
|
|
17
17
|
async onStart(reason) {
|
|
18
|
-
this.log.info(
|
|
18
|
+
this.log.info(`Starting platform ${this.config.name} with reason: ${reason ?? 'no reason provided'}...`);
|
|
19
19
|
this.cover = new MatterbridgeEndpoint([windowCovering, powerSource], { id: 'Cover example device' }, this.config.debug)
|
|
20
20
|
.createDefaultIdentifyClusterServer()
|
|
21
21
|
.createDefaultBasicInformationClusterServer('Cover example device', `0x59108853594`, 0xfff1, 'Matterbridge', 0x0001, 'Matterbridge Cover', Number.parseInt(this.version.replace(/\D/g, '')), this.version, Number.parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion)
|
|
@@ -65,7 +65,7 @@ export class ExampleMatterbridgeAccessoryPlatform extends MatterbridgeAccessoryP
|
|
|
65
65
|
}
|
|
66
66
|
async onConfigure() {
|
|
67
67
|
await super.onConfigure();
|
|
68
|
-
this.log.info(
|
|
68
|
+
this.log.info(`Configuring platform ${this.config.name}...`);
|
|
69
69
|
await this.cover?.setWindowCoveringCurrentTargetStatus(0, 0, WindowCovering.MovementStatus.Stopped);
|
|
70
70
|
await this.cover?.setWindowCoveringTargetAsCurrentAndStopped();
|
|
71
71
|
this.log.info('Set cover initial targetPositionLiftPercent100ths = currentPositionLiftPercent100ths and operationalStatus to Stopped.');
|
|
@@ -77,7 +77,7 @@ export class ExampleMatterbridgeAccessoryPlatform extends MatterbridgeAccessoryP
|
|
|
77
77
|
clearInterval(this.coverInterval);
|
|
78
78
|
this.coverInterval = undefined;
|
|
79
79
|
await super.onShutdown(reason);
|
|
80
|
-
this.log.info(
|
|
80
|
+
this.log.info(`Shutting down platform ${this.config.name} with reason: ${reason ?? 'no reason provided'}...`);
|
|
81
81
|
if (this.config.unregisterOnShutdown)
|
|
82
82
|
await this.unregisterAllDevices();
|
|
83
83
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-example-accessory-platform",
|
|
3
|
-
"version": "3.0.4-dev-
|
|
3
|
+
"version": "3.0.4-dev-20260914-0dfae10",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge-example-accessory-platform",
|
|
9
|
-
"version": "3.0.4-dev-
|
|
9
|
+
"version": "3.0.4-dev-20260914-0dfae10",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"node-ansi-logger": "3.3.1",
|
package/package.json
CHANGED