matterbridge-plugin-lightwaverf 1.0.7 → 1.0.8
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/module.d.ts +46 -0
- package/dist/module.d.ts.map +1 -1
- package/dist/module.js +35 -27
- package/dist/module.js.map +1 -1
- package/package.json +1 -1
package/dist/module.d.ts
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file contains the plugin template.
|
|
3
|
+
*
|
|
4
|
+
* @file module.ts
|
|
5
|
+
* @author Luca Liguori
|
|
6
|
+
* @created 2025-06-15
|
|
7
|
+
* @version 1.3.0
|
|
8
|
+
* @license Apache-2.0
|
|
9
|
+
*
|
|
10
|
+
* Copyright 2025, 2026, 2027 Luca Liguori.
|
|
11
|
+
*
|
|
12
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
|
+
* you may not use this file except in compliance with the License.
|
|
14
|
+
* You may obtain a copy of the License at
|
|
15
|
+
*
|
|
16
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
+
*
|
|
18
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
19
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
20
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
21
|
+
* See the License for the specific language governing permissions and
|
|
22
|
+
* limitations under the License.
|
|
23
|
+
*/
|
|
24
|
+
import { MatterbridgeDynamicPlatform, PlatformConfig, PlatformMatterbridge } from "matterbridge";
|
|
25
|
+
import { AnsiLogger, LogLevel } from "matterbridge/logger";
|
|
26
|
+
/**
|
|
27
|
+
* This is the standard interface for Matterbridge plugins.
|
|
28
|
+
* Each plugin should export a default function that follows this signature.
|
|
29
|
+
*
|
|
30
|
+
* @param {PlatformMatterbridge} matterbridge - An instance of MatterBridge.
|
|
31
|
+
* @param {AnsiLogger} log - An instance of AnsiLogger. This is used for logging messages in a format that can be displayed with ANSI color codes and in the frontend.
|
|
32
|
+
* @param {PlatformConfig} config - The platform configuration.
|
|
33
|
+
* @returns {LightwaveRfPlatform} - An instance of the MatterbridgeAccessory or MatterbridgeDynamicPlatform class. This is the main interface for interacting with the Matterbridge system.
|
|
34
|
+
*/
|
|
35
|
+
export default function initializePlugin(matterbridge: PlatformMatterbridge, log: AnsiLogger, config: PlatformConfig): LightwaveRfPlatform;
|
|
36
|
+
export declare class LightwaveRfPlatform extends MatterbridgeDynamicPlatform {
|
|
37
|
+
private client;
|
|
38
|
+
constructor(matterbridge: PlatformMatterbridge, log: AnsiLogger, config: PlatformConfig);
|
|
39
|
+
onStart(reason?: string): Promise<void>;
|
|
40
|
+
onConfigure(): Promise<void>;
|
|
41
|
+
onChangeLoggerLevel(logLevel: LogLevel): Promise<void>;
|
|
42
|
+
onShutdown(reason?: string): Promise<void>;
|
|
43
|
+
private establishConnection;
|
|
44
|
+
private updateDevices;
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=module.d.ts.map
|
package/dist/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,EAGL,2BAA2B,EAI3B,cAAc,EACd,oBAAoB,EACrB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAG3D;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,YAAY,EAAE,oBAAoB,EAClC,GAAG,EAAE,UAAU,EACf,MAAM,EAAE,cAAc,GACrB,mBAAmB,CAErB;AAID,qBAAa,mBAAoB,SAAQ,2BAA2B;IAClE,OAAO,CAAC,MAAM,CAA0B;gBAGtC,YAAY,EAAE,oBAAoB,EAClC,GAAG,EAAE,UAAU,EACf,MAAM,EAAE,cAAc;IAuBT,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM;IAavB,WAAW;IAcX,mBAAmB,CAAC,QAAQ,EAAE,QAAQ;IAKtC,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM;YAS3B,mBAAmB;YAmDnB,aAAa;CAoE5B"}
|
package/dist/module.js
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
* See the License for the specific language governing permissions and
|
|
22
22
|
* limitations under the License.
|
|
23
23
|
*/
|
|
24
|
-
import LightwaveClient from
|
|
25
|
-
import { dimmableLight, MatterbridgeDynamicPlatform, MatterbridgeEndpoint, onOffLight, onOffOutlet } from
|
|
24
|
+
import LightwaveClient from "@evops/lightwaverf";
|
|
25
|
+
import { dimmableLight, MatterbridgeDynamicPlatform, MatterbridgeEndpoint, onOffLight, onOffOutlet, } from "matterbridge";
|
|
26
26
|
/**
|
|
27
27
|
* This is the standard interface for Matterbridge plugins.
|
|
28
28
|
* Each plugin should export a default function that follows this signature.
|
|
@@ -43,7 +43,9 @@ export class LightwaveRfPlatform extends MatterbridgeDynamicPlatform {
|
|
|
43
43
|
// Always call super(matterbridge, log, config)
|
|
44
44
|
super(matterbridge, log, config);
|
|
45
45
|
// Verify that Matterbridge is the correct version
|
|
46
|
-
if (this.verifyMatterbridgeVersion === undefined ||
|
|
46
|
+
if (this.verifyMatterbridgeVersion === undefined ||
|
|
47
|
+
typeof this.verifyMatterbridgeVersion !== "function" ||
|
|
48
|
+
!this.verifyMatterbridgeVersion("3.3.0")) {
|
|
47
49
|
throw new Error(`This plugin requires Matterbridge version >= "3.3.0". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend."`);
|
|
48
50
|
}
|
|
49
51
|
this.log.info(`Initializing Platform...`);
|
|
@@ -53,7 +55,7 @@ export class LightwaveRfPlatform extends MatterbridgeDynamicPlatform {
|
|
|
53
55
|
});
|
|
54
56
|
}
|
|
55
57
|
async onStart(reason) {
|
|
56
|
-
this.log.info(`onStart called with reason: ${reason ??
|
|
58
|
+
this.log.info(`onStart called with reason: ${reason ?? "none"}`);
|
|
57
59
|
// Wait for the platform to fully load the select
|
|
58
60
|
await this.ready;
|
|
59
61
|
// Clean the selectDevice and selectEntity maps, if you want to reset the select.
|
|
@@ -64,7 +66,7 @@ export class LightwaveRfPlatform extends MatterbridgeDynamicPlatform {
|
|
|
64
66
|
async onConfigure() {
|
|
65
67
|
// Always call super.onConfigure()
|
|
66
68
|
await super.onConfigure();
|
|
67
|
-
this.log.info(
|
|
69
|
+
this.log.info("onConfigure called, what do we do here?");
|
|
68
70
|
// Configure all your devices. The persisted attributes need to be updated.
|
|
69
71
|
for (const device of this.getDevices()) {
|
|
70
72
|
this.log.info(`Configuring device: ${device.uniqueId}`);
|
|
@@ -79,39 +81,41 @@ export class LightwaveRfPlatform extends MatterbridgeDynamicPlatform {
|
|
|
79
81
|
async onShutdown(reason) {
|
|
80
82
|
// Always call super.onShutdown(reason)
|
|
81
83
|
await super.onShutdown(reason);
|
|
82
|
-
this.log.info(`onShutdown called with reason: ${reason ??
|
|
84
|
+
this.log.info(`onShutdown called with reason: ${reason ?? "none"}`);
|
|
83
85
|
if (this.config.unregisterOnShutdown === true)
|
|
84
86
|
await this.unregisterAllDevices();
|
|
85
87
|
}
|
|
86
88
|
async establishConnection() {
|
|
87
|
-
this.log.info(
|
|
89
|
+
this.log.info("Discovering devices...");
|
|
88
90
|
// Implement device discovery logic here.
|
|
89
91
|
// For example, you might fetch devices from an API.
|
|
90
92
|
// and register them with the Matterbridge instance.
|
|
91
93
|
await this.client.connect();
|
|
92
|
-
this.log.info(
|
|
94
|
+
this.log.info("Connected to LightwaveRF");
|
|
93
95
|
const isRegistered = await this.client.isRegistered();
|
|
94
96
|
if (isRegistered) {
|
|
95
97
|
this.updateDevices();
|
|
96
98
|
return;
|
|
97
99
|
}
|
|
98
|
-
const registerButton = new MatterbridgeEndpoint(onOffOutlet, {
|
|
99
|
-
|
|
100
|
+
const registerButton = new MatterbridgeEndpoint(onOffOutlet, {
|
|
101
|
+
uniqueStorageKey: "registerButton1",
|
|
102
|
+
})
|
|
103
|
+
.createDefaultBridgedDeviceBasicInformationClusterServer("Register Button", "SN000002", this.matterbridge.aggregatorVendorId, "Matterbridge", "Matterbridge Register Button", 10000, "1.0.0")
|
|
100
104
|
.createDefaultPowerSourceWiredClusterServer()
|
|
101
105
|
.addRequiredClusterServers()
|
|
102
|
-
.addCommandHandler(
|
|
106
|
+
.addCommandHandler("on", async (data) => {
|
|
103
107
|
this.log.info(`Command on called on cluster ${data.cluster}`);
|
|
104
108
|
await this.client.ensureRegistration();
|
|
105
109
|
// Fireoff device discovery
|
|
106
110
|
this.updateDevices();
|
|
107
|
-
this.log.info(
|
|
108
|
-
registerButton.updateAttribute(data.cluster,
|
|
111
|
+
this.log.info("Registered with LightwaveRF");
|
|
112
|
+
registerButton.updateAttribute(data.cluster, "onOff", false, this.log);
|
|
109
113
|
setImmediate(() => {
|
|
110
114
|
// Remove button after successful registration
|
|
111
115
|
this.unregisterDevice(registerButton);
|
|
112
116
|
});
|
|
113
117
|
})
|
|
114
|
-
.addCommandHandler(
|
|
118
|
+
.addCommandHandler("off", (data) => {
|
|
115
119
|
this.log.info(`Command off called on cluster ${data.cluster}`);
|
|
116
120
|
});
|
|
117
121
|
await this.registerDevice(registerButton);
|
|
@@ -124,33 +128,37 @@ export class LightwaveRfPlatform extends MatterbridgeDynamicPlatform {
|
|
|
124
128
|
const deviceOff = this.client.turnOff.bind(this.client, device);
|
|
125
129
|
const deviceOn = this.client.turnOn.bind(this.client, device);
|
|
126
130
|
const deviceDim = (data) => {
|
|
127
|
-
this.log.info(
|
|
131
|
+
this.log.info("Move to level request");
|
|
128
132
|
const request = data.request;
|
|
129
|
-
this.log.info(
|
|
133
|
+
this.log.info("Move to level request: %o", request);
|
|
130
134
|
const percentage = (request.level / 254) * 100;
|
|
131
135
|
this.log.info(`Command moveToLevel called on cluster ${data.cluster} with level ${JSON.stringify(data)}`, {
|
|
132
136
|
percentage,
|
|
133
137
|
});
|
|
134
138
|
this.client.dim(device, percentage);
|
|
135
139
|
};
|
|
136
|
-
if (device.deviceType ===
|
|
137
|
-
const dimmer = new MatterbridgeEndpoint(dimmableLight, {
|
|
138
|
-
|
|
140
|
+
if (device.deviceType === "D") {
|
|
141
|
+
const dimmer = new MatterbridgeEndpoint(dimmableLight, {
|
|
142
|
+
id: uniqueDeviceId,
|
|
143
|
+
})
|
|
144
|
+
.createDefaultBridgedDeviceBasicInformationClusterServer(deviceName, this.client.version ?? "SN000001", this.matterbridge.aggregatorVendorId, "Lightwave", "Dimmer", 10000, this.client.version ?? "1.0.0")
|
|
139
145
|
.createDefaultPowerSourceWiredClusterServer()
|
|
140
146
|
.addRequiredClusterServers()
|
|
141
|
-
.addCommandHandler(
|
|
142
|
-
.addCommandHandler(
|
|
143
|
-
.addCommandHandler(
|
|
144
|
-
.addCommandHandler(
|
|
147
|
+
.addCommandHandler("on", deviceOn)
|
|
148
|
+
.addCommandHandler("off", deviceOff)
|
|
149
|
+
.addCommandHandler("moveToLevel", deviceDim)
|
|
150
|
+
.addCommandHandler("moveToLevelWithOnOff", deviceDim);
|
|
145
151
|
await this.registerDevice(dimmer);
|
|
146
152
|
}
|
|
147
153
|
else {
|
|
148
|
-
const onOff = new MatterbridgeEndpoint(onOffLight, {
|
|
149
|
-
|
|
154
|
+
const onOff = new MatterbridgeEndpoint(onOffLight, {
|
|
155
|
+
id: uniqueDeviceId,
|
|
156
|
+
})
|
|
157
|
+
.createDefaultBridgedDeviceBasicInformationClusterServer(deviceName, this.client.version ?? "SN000001", this.matterbridge.aggregatorVendorId, "Lightwave", "Light switch", 10000, this.client.version ?? "1.0.0")
|
|
150
158
|
.createDefaultPowerSourceWiredClusterServer()
|
|
151
159
|
.addRequiredClusterServers()
|
|
152
|
-
.addCommandHandler(
|
|
153
|
-
.addCommandHandler(
|
|
160
|
+
.addCommandHandler("on", deviceOn)
|
|
161
|
+
.addCommandHandler("off", deviceOff);
|
|
154
162
|
await this.registerDevice(onOff);
|
|
155
163
|
}
|
|
156
164
|
}
|
package/dist/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../src/module.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH,OAAO,eAAe,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAEL,aAAa,EACb,2BAA2B,EAC3B,oBAAoB,EACpB,UAAU,EACV,WAAW,GAGZ,MAAM,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,YAAkC,EAClC,GAAe,EACf,MAAsB;IAEtB,OAAO,IAAI,mBAAmB,CAAC,YAAY,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;AAC5D,CAAC;AAED,4FAA4F;AAC5F,yHAAyH;AACzH,MAAM,OAAO,mBAAoB,SAAQ,2BAA2B;IAC1D,MAAM,CAA0B;IAExC,YACE,YAAkC,EAClC,GAAe,EACf,MAAsB;QAEtB,+CAA+C;QAC/C,KAAK,CAAC,YAAY,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;QAEjC,kDAAkD;QAClD,IACE,IAAI,CAAC,yBAAyB,KAAK,SAAS;YAC5C,OAAO,IAAI,CAAC,yBAAyB,KAAK,UAAU;YACpD,CAAC,IAAI,CAAC,yBAAyB,CAAC,OAAO,CAAC,EACxC,CAAC;YACD,MAAM,IAAI,KAAK,CACb,yFAAyF,IAAI,CAAC,YAAY,CAAC,mBAA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AAK,EACL,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,OAAO,CAC/B;qBACA,0CAA0C,EAAE;qBAC5C,yBAAyB,EAAE;qBAC3B,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC;qBACjC,iBAAiB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;gBAEvC,MAAM,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;YACnC,CAAC;QACH,CAAC;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-plugin-lightwaverf",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Matterbridge LightwaveRF Plugin",
|
|
5
5
|
"author": "https://github.com/eu-evops",
|
|
6
6
|
"homepage": "https://github.com/eu-evops/matterbridge-plugin-lightwaverf/blob/main/README.md",
|