matterbridge-example-dynamic-platform 1.1.0 → 1.1.1

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 CHANGED
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge-example-dynamic-platform and sponsoring it.
6
6
 
7
+ ## [1.1.1] - 2024-12-07
8
+
9
+ - [package]: Require matterbridge 1.6.6
10
+ - [package]: Updated package.
11
+ - [package]: Updated dependencies.
12
+
13
+ <a href="https://www.buymeacoffee.com/luligugithub">
14
+ <img src="./yellow-button.png" alt="Buy me a coffee" width="120">
15
+ </a>
16
+
7
17
  ## [1.1.0] - 2024-11-25
8
18
 
9
19
  ### Changed
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  [![Docker Version](https://img.shields.io/docker/v/luligu/matterbridge?label=docker%20version&sort=semver)](https://hub.docker.com/r/luligu/matterbridge)
6
6
  [![Docker Pulls](https://img.shields.io/docker/pulls/luligu/matterbridge.svg)](https://hub.docker.com/r/luligu/matterbridge)
7
7
  ![Node.js CI](https://github.com/Luligu/matterbridge-example-dynamic-platform/actions/workflows/build-matterbridge-plugin.yml/badge.svg)
8
+ ![Coverage](https://img.shields.io/badge/Jest%20coverage-100%25-brightgreen)
8
9
 
9
10
  [![power by](https://img.shields.io/badge/powered%20by-matterbridge-blue)](https://www.npmjs.com/package/matterbridge)
10
11
  [![power by](https://img.shields.io/badge/powered%20by-matter--history-blue)](https://www.npmjs.com/package/matter-history)
package/dist/index.js CHANGED
@@ -1,14 +1,4 @@
1
1
  import { ExampleMatterbridgeDynamicPlatform } from './platform.js';
2
- /**
3
- * This is the standard interface for Matterbridge plugins.
4
- * Each plugin should export a default function that follows this signature.
5
- *
6
- * @param {Matterbridge} matterbridge - The Matterbridge instance.
7
- * @param {AnsiLogger} log - The logger instance.
8
- * @param {PlatformConfig} config - The platform configuration.
9
- * @returns {ExampleMatterbridgeDynamicPlatform} The initialized platform.
10
- */
11
2
  export default function initializePlugin(matterbridge, log, config) {
12
3
  return new ExampleMatterbridgeDynamicPlatform(matterbridge, log, config);
13
4
  }
14
- //# sourceMappingURL=index.js.map
package/dist/platform.js CHANGED
@@ -1,5 +1,5 @@
1
- import { AirQuality, AirQualityCluster, BooleanStateCluster, BooleanStateConfiguration, CarbonDioxideConcentrationMeasurement, CarbonMonoxideConcentrationMeasurement, ColorControl, ColorControlCluster, DeviceTypes, DoorLock, DoorLockCluster, FanControl, FanControlCluster, FlowMeasurement, FlowMeasurementCluster, FormaldehydeConcentrationMeasurement, LevelControlCluster, NitrogenDioxideConcentrationMeasurement, OnOffCluster, OzoneConcentrationMeasurement, Pm10ConcentrationMeasurement, Pm1ConcentrationMeasurement, Pm25ConcentrationMeasurement, RadonConcentrationMeasurement, RelativeHumidityMeasurement, RelativeHumidityMeasurementCluster, SmokeCoAlarm, SmokeCoAlarmCluster, TemperatureMeasurement, TemperatureMeasurementCluster, Thermostat, ThermostatCluster, TotalVolatileOrganicCompoundsConcentrationMeasurement, WindowCovering, WindowCoveringCluster, airQualitySensor, bridgedNode, onOffSwitch, powerSource, rainSensor, smokeCoAlarm, waterFreezeDetector, waterLeakDetector, } from 'matterbridge';
2
- import { /* MatterbridgeEndpoint as */ MatterbridgeDevice, MatterbridgeDynamicPlatform } from 'matterbridge';
1
+ import { AirQuality, AirQualityCluster, BooleanStateCluster, BooleanStateConfiguration, CarbonDioxideConcentrationMeasurement, CarbonMonoxideConcentrationMeasurement, ColorControl, ColorControlCluster, DeviceTypes, DoorLock, DoorLockCluster, FanControl, FanControlCluster, FlowMeasurement, FlowMeasurementCluster, FormaldehydeConcentrationMeasurement, LevelControlCluster, MatterbridgeEndpoint, NitrogenDioxideConcentrationMeasurement, OnOffCluster, OzoneConcentrationMeasurement, Pm10ConcentrationMeasurement, Pm1ConcentrationMeasurement, Pm25ConcentrationMeasurement, RadonConcentrationMeasurement, RelativeHumidityMeasurement, RelativeHumidityMeasurementCluster, SmokeCoAlarm, SmokeCoAlarmCluster, TemperatureMeasurement, TemperatureMeasurementCluster, Thermostat, ThermostatCluster, TotalVolatileOrganicCompoundsConcentrationMeasurement, WindowCovering, WindowCoveringCluster, airQualitySensor, bridgedNode, onOffSwitch, powerSource, rainSensor, smokeCoAlarm, waterFreezeDetector, waterLeakDetector, } from 'matterbridge';
2
+ import { MatterbridgeDevice, MatterbridgeDynamicPlatform } from 'matterbridge';
3
3
  import { isValidBoolean, isValidNumber } from 'matterbridge/utils';
4
4
  export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatform {
5
5
  switch;
@@ -31,29 +31,24 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
31
31
  rainInterval;
32
32
  smokeInterval;
33
33
  airQualityInterval;
34
+ bridgedDevices = new Map();
34
35
  async createMutableDevice(definition, options = {}, debug = false) {
35
36
  let device;
36
- const matterbridge = await import('matterbridge');
37
- if ('edge' in this.matterbridge && this.matterbridge.edge === true && 'MatterbridgeEndpoint' in matterbridge) {
38
- // Dynamically resolve the MatterbridgeEndpoint class from the imported module and instantiate it without throwing a TypeScript error for old versions of Matterbridge
39
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
40
- device = new matterbridge.MatterbridgeEndpoint(definition, options, debug);
41
- }
37
+ if (this.matterbridge.edge === true)
38
+ device = new MatterbridgeEndpoint(definition, options, debug);
42
39
  else
43
40
  device = new MatterbridgeDevice(definition, options, debug);
44
41
  return device;
45
42
  }
46
43
  constructor(matterbridge, log, config) {
47
44
  super(matterbridge, log, config);
48
- // Verify that Matterbridge is the correct version
49
- if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('1.6.2')) {
50
- throw new Error(`This plugin requires Matterbridge version >= "1.6.2". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend."`);
45
+ if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('1.6.6')) {
46
+ throw new Error(`This plugin requires Matterbridge version >= "1.6.6". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
51
47
  }
52
48
  this.log.info('Initializing platform:', this.config.name);
53
49
  }
54
50
  async onStart(reason) {
55
51
  this.log.info('onStart called with reason:', reason ?? 'none');
56
- // Create a switch device
57
52
  this.switch = await this.createMutableDevice([onOffSwitch, bridgedNode], { uniqueStorageKey: 'Switch' }, this.config.debug);
58
53
  this.switch.log.logName = 'Switch';
59
54
  this.switch.createDefaultIdentifyClusterServer();
@@ -64,6 +59,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
64
59
  this.switch.addDeviceType(powerSource);
65
60
  this.switch.createDefaultPowerSourceRechargeableBatteryClusterServer(70);
66
61
  await this.registerDevice(this.switch);
62
+ this.bridgedDevices.set(this.switch.deviceName ?? '', this.switch);
67
63
  this.switch.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
68
64
  this.log.info(`Command identify called identifyTime:${identifyTime}`);
69
65
  });
@@ -75,7 +71,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
75
71
  await this.switch?.setAttribute(OnOffCluster.id, 'onOff', false, this.switch.log, this.switch);
76
72
  this.switch?.log.info('Command off called');
77
73
  });
78
- // Create a on off light device
79
74
  this.lightOnOff = await this.createMutableDevice([DeviceTypes.ON_OFF_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (on/off)' }, this.config.debug);
80
75
  this.lightOnOff.log.logName = 'Light (on/off)';
81
76
  this.lightOnOff.createDefaultIdentifyClusterServer();
@@ -86,6 +81,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
86
81
  this.lightOnOff.addDeviceType(powerSource);
87
82
  this.lightOnOff.createDefaultPowerSourceWiredClusterServer();
88
83
  await this.registerDevice(this.lightOnOff);
84
+ this.bridgedDevices.set(this.lightOnOff.deviceName ?? '', this.lightOnOff);
89
85
  this.lightOnOff.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
90
86
  this.lightOnOff?.log.info(`Command identify called identifyTime:${identifyTime}`);
91
87
  });
@@ -97,7 +93,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
97
93
  await this.light?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightOnOff?.log, this.lightOnOff);
98
94
  this.lightOnOff?.log.info('Command off called');
99
95
  });
100
- // Create a dimmer device
101
96
  this.dimmer = await this.createMutableDevice([DeviceTypes.DIMMABLE_LIGHT, bridgedNode], { uniqueStorageKey: 'Dimmer' }, this.config.debug);
102
97
  this.dimmer.log.logName = 'Dimmer';
103
98
  this.dimmer.createDefaultIdentifyClusterServer();
@@ -109,6 +104,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
109
104
  this.dimmer.addDeviceType(powerSource);
110
105
  this.dimmer.createDefaultPowerSourceReplaceableBatteryClusterServer(70);
111
106
  await this.registerDevice(this.dimmer);
107
+ this.bridgedDevices.set(this.dimmer.deviceName ?? '', this.dimmer);
112
108
  this.dimmer.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
113
109
  this.dimmer?.log.info(`Command identify called identifyTime:${identifyTime}`);
114
110
  });
@@ -128,7 +124,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
128
124
  await this.dimmer?.setAttribute(LevelControlCluster.id, 'currentLevel', level, this.dimmer.log, this.dimmer);
129
125
  this.dimmer?.log.debug(`Command moveToLevelWithOnOff called request: ${level}`);
130
126
  });
131
- // Create a light device
132
127
  this.light = await this.createMutableDevice([DeviceTypes.COLOR_TEMPERATURE_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (XY, HS and CT)' }, this.config.debug);
133
128
  this.light.log.logName = 'Light (XY, HS and CT)';
134
129
  this.light.createDefaultIdentifyClusterServer();
@@ -141,6 +136,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
141
136
  this.light.addDeviceType(powerSource);
142
137
  this.light.createDefaultPowerSourceReplaceableBatteryClusterServer(70);
143
138
  await this.registerDevice(this.light);
139
+ this.bridgedDevices.set(this.light.deviceName ?? '', this.light);
144
140
  this.light.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
145
141
  this.light?.log.info(`Command identify called identifyTime:${identifyTime}`);
146
142
  });
@@ -182,7 +178,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
182
178
  await this.light?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.light?.log, this.light);
183
179
  this.light?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds} attributes: ${attributes.colorTemperatureMireds?.getLocal()}`);
184
180
  });
185
- // Create a light device with HS color control
186
181
  this.lightHS = await this.createMutableDevice([DeviceTypes.COLOR_TEMPERATURE_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (HS)' }, this.config.debug);
187
182
  this.lightHS.log.logName = 'Light (HS)';
188
183
  this.lightHS.createDefaultIdentifyClusterServer();
@@ -191,11 +186,11 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
191
186
  this.lightHS.createDefaultBridgedDeviceBasicInformationClusterServer('Light (HS)', '0x25097564', 0xfff1, 'Matterbridge', 'Matterbridge Light', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
192
187
  this.lightHS.createDefaultOnOffClusterServer();
193
188
  this.lightHS.createDefaultLevelControlClusterServer();
194
- this.lightHS.createDefaultColorControlClusterServer();
195
- await this.lightHS.configureColorControlCluster(true, false, false, ColorControl.ColorMode.CurrentHueAndCurrentSaturation);
189
+ this.lightHS.createHsColorControlClusterServer();
196
190
  this.lightHS.addDeviceType(powerSource);
197
191
  this.lightHS.createDefaultPowerSourceWiredClusterServer();
198
192
  await this.registerDevice(this.lightHS);
193
+ this.bridgedDevices.set(this.lightHS.deviceName ?? '', this.lightHS);
199
194
  this.lightHS.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
200
195
  this.lightHS?.log.info(`Command identify called identifyTime:${identifyTime}`);
201
196
  });
@@ -228,7 +223,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
228
223
  await this.lightHS?.setAttribute(ColorControlCluster.id, 'currentSaturation', saturation, this.lightHS?.log, this.lightHS);
229
224
  this.lightHS?.log.debug(`Command moveToSaturation called request: saturation ${saturation} attributes: hue ${currentHue?.getLocal()} saturation ${currentSaturation?.getLocal()}`);
230
225
  });
231
- // Create a light device with XY color control
232
226
  this.lightXY = await this.createMutableDevice([DeviceTypes.COLOR_TEMPERATURE_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (XY)' }, this.config.debug);
233
227
  this.lightXY.log.logName = 'Light (XY)';
234
228
  this.lightXY.createDefaultIdentifyClusterServer();
@@ -237,11 +231,11 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
237
231
  this.lightXY.createDefaultBridgedDeviceBasicInformationClusterServer('Light (XY)', '0x23497564', 0xfff1, 'Matterbridge', 'Matterbridge Light', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
238
232
  this.lightXY.createDefaultOnOffClusterServer();
239
233
  this.lightXY.createDefaultLevelControlClusterServer();
240
- this.lightXY.createDefaultColorControlClusterServer();
241
- await this.lightXY.configureColorControlCluster(false, true, false, ColorControl.ColorMode.CurrentXAndCurrentY);
234
+ this.lightXY.createXyColorControlClusterServer();
242
235
  this.lightXY.addDeviceType(powerSource);
243
236
  this.lightXY.createDefaultPowerSourceWiredClusterServer();
244
237
  await this.registerDevice(this.lightXY);
238
+ this.bridgedDevices.set(this.lightXY.deviceName ?? '', this.lightXY);
245
239
  this.lightXY.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
246
240
  this.lightXY?.log.info(`Command identify called identifyTime:${identifyTime}`);
247
241
  });
@@ -266,7 +260,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
266
260
  await this.lightXY?.setAttribute(ColorControlCluster.id, 'currentY', colorY, this.light?.log, this.light);
267
261
  this.lightXY?.log.debug(`Command moveToColor called request: X ${colorX / 65536} Y ${colorY / 65536}`);
268
262
  });
269
- // Create a light device with CT color control
270
263
  this.lightCT = await this.createMutableDevice([DeviceTypes.COLOR_TEMPERATURE_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (CT)' }, this.config.debug);
271
264
  this.lightCT.log.logName = 'Light (CT)';
272
265
  this.lightCT.createDefaultIdentifyClusterServer();
@@ -275,11 +268,11 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
275
268
  this.lightCT.createDefaultBridgedDeviceBasicInformationClusterServer('Light (CT)', '0x23480749', 0xfff1, 'Matterbridge', 'Matterbridge Light', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
276
269
  this.lightCT.createDefaultOnOffClusterServer();
277
270
  this.lightCT.createDefaultLevelControlClusterServer();
278
- this.lightCT.createDefaultColorControlClusterServer();
279
- await this.lightCT.configureColorControlCluster(false, false, true, ColorControl.ColorMode.ColorTemperatureMireds);
271
+ this.lightCT.createCtColorControlClusterServer();
280
272
  this.lightCT.addDeviceType(powerSource);
281
273
  this.lightCT.createDefaultPowerSourceReplaceableBatteryClusterServer(70);
282
274
  await this.registerDevice(this.lightCT);
275
+ this.bridgedDevices.set(this.lightCT.deviceName ?? '', this.lightCT);
283
276
  this.lightCT.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
284
277
  this.lightCT?.log.info(`Command identify called identifyTime:${identifyTime}`);
285
278
  });
@@ -303,7 +296,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
303
296
  await this.lightCT?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.lightCT?.log, this.lightCT);
304
297
  this.lightCT?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds}`);
305
298
  });
306
- // Create an outlet device
307
299
  this.outlet = await this.createMutableDevice([DeviceTypes.ON_OFF_PLUGIN_UNIT, bridgedNode], { uniqueStorageKey: 'Outlet' }, this.config.debug);
308
300
  this.outlet.log.logName = 'Outlet';
309
301
  this.outlet.createDefaultIdentifyClusterServer();
@@ -314,6 +306,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
314
306
  this.outlet.addDeviceType(powerSource);
315
307
  this.outlet.createDefaultPowerSourceWiredClusterServer();
316
308
  await this.registerDevice(this.outlet);
309
+ this.bridgedDevices.set(this.outlet.deviceName ?? '', this.outlet);
317
310
  this.outlet.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
318
311
  this.outlet?.log.info(`Command identify called identifyTime:${identifyTime}`);
319
312
  });
@@ -325,8 +318,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
325
318
  await this.outlet?.setAttribute(OnOffCluster.id, 'onOff', false, this.outlet?.log, this.outlet);
326
319
  this.outlet?.log.info('Command off called');
327
320
  });
328
- // Create a window covering device
329
- // Matter uses 10000 = fully closed 0 = fully opened
330
321
  this.cover = await this.createMutableDevice([DeviceTypes.WINDOW_COVERING, bridgedNode], { uniqueStorageKey: 'Cover' }, this.config.debug);
331
322
  this.cover.log.logName = 'Cover';
332
323
  this.cover.createDefaultIdentifyClusterServer();
@@ -337,6 +328,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
337
328
  this.cover.addDeviceType(powerSource);
338
329
  this.cover.createDefaultPowerSourceRechargeableBatteryClusterServer(86);
339
330
  await this.registerDevice(this.cover);
331
+ this.bridgedDevices.set(this.cover.deviceName ?? '', this.cover);
340
332
  this.cover.subscribeAttribute(WindowCoveringCluster.id, 'mode', (newValue, oldValue) => {
341
333
  this.cover?.log.info(`Attribute mode changed from ${oldValue} to ${newValue}. Reverse: ${newValue.motorDirectionReversed}. Calibration: ${newValue.calibrationMode}. Maintenance: ${newValue.maintenanceMode}. LED: ${newValue.ledFeedback}`);
342
334
  }, this.cover.log);
@@ -359,7 +351,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
359
351
  await this.cover?.setWindowCoveringCurrentTargetStatus(liftPercent100thsValue, liftPercent100thsValue, WindowCovering.MovementStatus.Stopped);
360
352
  this.cover?.log.info(`Command goToLiftPercentage ${liftPercent100thsValue} called`);
361
353
  });
362
- // Create a lock device
363
354
  this.lock = await this.createMutableDevice([DeviceTypes.DOOR_LOCK, bridgedNode], { uniqueStorageKey: 'Lock' }, this.config.debug);
364
355
  this.lock.log.logName = 'Lock';
365
356
  this.lock.createDefaultIdentifyClusterServer();
@@ -368,6 +359,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
368
359
  this.lock.addDeviceType(powerSource);
369
360
  this.lock.createDefaultPowerSourceRechargeableBatteryClusterServer(30);
370
361
  await this.registerDevice(this.lock);
362
+ this.bridgedDevices.set(this.lock.deviceName ?? '', this.lock);
371
363
  this.lock.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
372
364
  this.lock?.log.info(`Command identify called identifyTime:${identifyTime}`);
373
365
  });
@@ -379,7 +371,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
379
371
  await this.lock?.setAttribute(DoorLockCluster.id, 'lockState', DoorLock.LockState.Unlocked, this.lock?.log, this.lock);
380
372
  this.lock?.log.info('Command unlockDoor called');
381
373
  });
382
- // Create a thermostat device
383
374
  this.thermo = await this.createMutableDevice([DeviceTypes.THERMOSTAT, bridgedNode], { uniqueStorageKey: 'Thermostat' }, this.config.debug);
384
375
  this.thermo.log.logName = 'Thermostat';
385
376
  this.thermo.createDefaultIdentifyClusterServer();
@@ -396,6 +387,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
396
387
  const humidityChild = this.thermo.addChildDeviceTypeWithClusterServer('Humidity', [DeviceTypes.HUMIDITY_SENSOR], [RelativeHumidityMeasurement.Cluster.id]);
397
388
  humidityChild.getClusterServer(RelativeHumidityMeasurement.Cluster)?.setMeasuredValueAttribute(80 * 100);
398
389
  await this.registerDevice(this.thermo);
390
+ this.bridgedDevices.set(this.thermo.deviceName ?? '', this.thermo);
399
391
  this.thermo.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
400
392
  this.thermo?.log.info(`Command identify called identifyTime:${identifyTime}`);
401
393
  });
@@ -423,12 +415,12 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
423
415
  this.thermo.subscribeAttribute(ThermostatCluster.id, 'occupiedCoolingSetpoint', async (value) => {
424
416
  this.thermo?.log.info('Subscribe occupiedCoolingSetpoint called with:', value / 100);
425
417
  }, this.thermo.log, this.thermo);
426
- // Create a fan device
427
418
  this.fan = await this.createMutableDevice([DeviceTypes.FAN, bridgedNode], { uniqueStorageKey: 'Fan' }, this.config.debug);
428
419
  this.fan.log.logName = 'Fan';
429
420
  this.fan.createDefaultBridgedDeviceBasicInformationClusterServer('Fan', 'serial_980545631228', 0xfff1, 'Matterbridge', 'Matterbridge Fan', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
430
421
  this.fan.addDeviceTypeWithClusterServer([DeviceTypes.FAN], []);
431
422
  await this.registerDevice(this.fan);
423
+ this.bridgedDevices.set(this.fan.deviceName ?? '', this.fan);
432
424
  const fanModeLookup = ['Off', 'Low', 'Medium', 'High', 'On', 'Auto', 'Smart'];
433
425
  this.fan.subscribeAttribute(FanControlCluster.id, 'fanMode', async (newValue, oldValue) => {
434
426
  this.fan?.log.info(`Fan mode changed from ${fanModeLookup[oldValue]} to ${fanModeLookup[newValue]}`);
@@ -472,22 +464,24 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
472
464
  this.waterFreeze.createDefaultBridgedDeviceBasicInformationClusterServer('Water freeze detector', 'serial_98745631223', 0xfff1, 'Matterbridge', 'Matterbridge WaterFreezeDetector', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
473
465
  this.waterFreeze.addDeviceTypeWithClusterServer([waterFreezeDetector], [BooleanStateConfiguration.Cluster.id]);
474
466
  await this.registerDevice(this.waterFreeze);
467
+ this.bridgedDevices.set(this.waterFreeze.deviceName ?? '', this.waterFreeze);
475
468
  await this.waterFreeze.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterFreeze.log);
476
469
  this.rain = await this.createMutableDevice([rainSensor, bridgedNode], { uniqueStorageKey: 'Rain sensor' }, this.config.debug);
477
470
  this.rain.log.logName = 'Rain sensor';
478
471
  this.rain.createDefaultBridgedDeviceBasicInformationClusterServer('Rain sensor', 'serial_98745631224', 0xfff1, 'Matterbridge', 'Matterbridge RainSensor', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
479
472
  this.rain.addDeviceTypeWithClusterServer([rainSensor], [BooleanStateConfiguration.Cluster.id]);
480
473
  await this.registerDevice(this.rain);
474
+ this.bridgedDevices.set(this.rain.deviceName ?? '', this.rain);
481
475
  await this.rain.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.rain.log);
482
476
  this.smoke = await this.createMutableDevice([smokeCoAlarm, bridgedNode], { uniqueStorageKey: 'Smoke alarm sensor' }, this.config.debug);
483
477
  this.smoke.log.logName = 'Smoke alarm sensor';
484
478
  this.smoke.createDefaultBridgedDeviceBasicInformationClusterServer('Smoke alarm sensor', 'serial_94745631225', 0xfff1, 'Matterbridge', 'Matterbridge SmokeCoAlarm', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
485
479
  this.smoke.addDeviceTypeWithClusterServer([smokeCoAlarm], [CarbonMonoxideConcentrationMeasurement.Cluster.id]);
486
480
  await this.registerDevice(this.smoke);
481
+ this.bridgedDevices.set(this.smoke.deviceName ?? '', this.smoke);
487
482
  await this.smoke.setAttribute(SmokeCoAlarmCluster.id, 'smokeState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
488
483
  await this.smoke.setAttribute(SmokeCoAlarmCluster.id, 'coState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
489
484
  await this.smoke.setAttribute(CarbonMonoxideConcentrationMeasurement.Cluster.id, 'measuredValue', 100, this.smoke.log);
490
- // Create an airQuality device
491
485
  this.airQuality = await this.createMutableDevice([airQualitySensor, bridgedNode], { uniqueStorageKey: 'Air quality sensor' }, this.config.debug);
492
486
  this.airQuality.log.logName = 'Air quality Sensor';
493
487
  this.airQuality.createDefaultBridgedDeviceBasicInformationClusterServer('Air quality sensor', 'serial_987484318322', 0xfff1, 'Matterbridge', 'Matterbridge Air Quality Sensor', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
@@ -506,6 +500,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
506
500
  TotalVolatileOrganicCompoundsConcentrationMeasurement.Cluster.id,
507
501
  ]);
508
502
  await this.registerDevice(this.airQuality);
503
+ this.bridgedDevices.set(this.airQuality.deviceName ?? '', this.airQuality);
509
504
  await this.airQuality.setAttribute(AirQuality.Cluster.id, 'airQuality', AirQuality.AirQualityEnum.Good, this.airQuality.log);
510
505
  await this.airQuality.setAttribute(TemperatureMeasurement.Cluster.id, 'measuredValue', 2150, this.airQuality.log);
511
506
  await this.airQuality.setAttribute(RelativeHumidityMeasurement.Cluster.id, 'measuredValue', 5500, this.airQuality.log);
@@ -522,10 +517,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
522
517
  }
523
518
  async onConfigure() {
524
519
  this.log.info('onConfigure called');
525
- // Set switch to off
526
520
  await this.switch?.setAttribute(OnOffCluster.id, 'onOff', false, this.switch.log);
527
521
  this.switch?.log.info('Set switch initial onOff to false');
528
- // Toggle switch onOff every minute
529
522
  this.switchInterval = setInterval(async () => {
530
523
  const status = this.switch?.getAttribute(OnOffCluster.id, 'onOff', this.switch.log);
531
524
  if (isValidBoolean(status)) {
@@ -533,35 +526,30 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
533
526
  this.switch?.log.info(`Set switch onOff to ${!status}`);
534
527
  }
535
528
  }, 60 * 1000 + 100);
536
- // Set light on/off to off
537
529
  await this.lightOnOff?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightOnOff.log);
538
530
  this.lightOnOff?.log.info('Set light initial onOff to false.');
539
- // Set light on/off to off
540
531
  await this.dimmer?.setAttribute(OnOffCluster.id, 'onOff', false, this.dimmer.log);
541
- await this.dimmer?.setAttribute(LevelControlCluster.id, 'currentLevel', 0, this.dimmer.log);
542
- this.dimmer?.log.info('Set dimmer initial onOff to false, currentLevel to 0.');
543
- // Set light to off, level to 0 and hue to 0 and saturation to 50% (pink color)
532
+ const minLevel = this.dimmer?.getAttribute(LevelControlCluster.id, 'minLevel', this.dimmer.log) | 0;
533
+ await this.dimmer?.setAttribute(LevelControlCluster.id, 'currentLevel', minLevel, this.dimmer.log);
534
+ this.dimmer?.log.info(`Set dimmer initial onOff to false, currentLevel to ${minLevel}.`);
544
535
  await this.light?.setAttribute(OnOffCluster.id, 'onOff', false, this.light.log);
545
536
  await this.light?.setAttribute(LevelControlCluster.id, 'currentLevel', 0, this.light.log);
546
537
  await this.light?.setAttribute(ColorControlCluster.id, 'currentHue', 0, this.light.log);
547
538
  await this.light?.setAttribute(ColorControlCluster.id, 'currentSaturation', 128, this.light.log);
548
539
  await this.light?.configureColorControlMode(ColorControl.ColorMode.CurrentHueAndCurrentSaturation);
549
540
  this.light?.log.info('Set light initial onOff to false, currentLevel to 0, hue to 0 and saturation to 50%.');
550
- // Set light XY to true, level to 100% and XY to red
551
541
  await this.lightXY?.setAttribute(OnOffCluster.id, 'onOff', true, this.lightXY.log);
552
542
  await this.lightXY?.setAttribute(LevelControlCluster.id, 'currentLevel', 254, this.lightXY.log);
553
543
  await this.lightXY?.setAttribute(ColorControlCluster.id, 'currentX', 0.7006 * 65536, this.lightXY.log);
554
544
  await this.lightXY?.setAttribute(ColorControlCluster.id, 'currentY', 0.2993 * 65536, this.lightXY.log);
555
545
  await this.lightXY?.configureColorControlMode(ColorControl.ColorMode.CurrentXAndCurrentY);
556
546
  this.lightXY?.log.info('Set light XY initial onOff to true, currentLevel to 254, X to 0.7006 and Y to 0.2993.');
557
- // Set light HS to off, level to 0 and hue to 0 and saturation to 50% (pink color)
558
547
  await this.lightHS?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightHS.log);
559
548
  await this.lightHS?.setAttribute(LevelControlCluster.id, 'currentLevel', 0, this.lightHS.log);
560
549
  await this.lightHS?.setAttribute(ColorControlCluster.id, 'currentHue', 0, this.lightHS.log);
561
550
  await this.lightHS?.setAttribute(ColorControlCluster.id, 'currentSaturation', 128, this.lightHS.log);
562
551
  await this.lightHS?.configureColorControlMode(ColorControl.ColorMode.CurrentHueAndCurrentSaturation);
563
552
  this.lightHS?.log.info('Set light HS initial onOff to false, currentLevel to 0, hue to 0 and saturation to 50%.');
564
- // Set light CT to true, level to 50% and colorTemperatureMireds to 250
565
553
  await this.lightCT?.setAttribute(OnOffCluster.id, 'onOff', true, this.lightCT.log);
566
554
  await this.lightCT?.setAttribute(LevelControlCluster.id, 'currentLevel', 128, this.lightCT.log);
567
555
  await this.lightCT?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', 250, this.lightCT.log);
@@ -572,7 +560,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
572
560
  let level = this.light?.getAttribute(LevelControlCluster.id, 'currentLevel', this.light.log);
573
561
  if (isValidBoolean(state) && isValidNumber(level, 0, 254)) {
574
562
  level += 10;
575
- if (level > 254) {
563
+ if (level >= 250) {
576
564
  level = 0;
577
565
  await this.lightOnOff?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightOnOff.log);
578
566
  await this.dimmer?.setAttribute(OnOffCluster.id, 'onOff', false, this.dimmer.log);
@@ -605,10 +593,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
605
593
  }
606
594
  }
607
595
  }, 60 * 1000 + 200);
608
- // Set outlet to off
609
596
  await this.outlet?.setAttribute(OnOffCluster.id, 'onOff', false, this.outlet.log);
610
597
  this.outlet?.log.info('Set outlet initial onOff to false');
611
- // Toggle outlet onOff every minute
612
598
  this.outletInterval = setInterval(async () => {
613
599
  const state = this.outlet?.getAttribute(OnOffCluster.id, 'onOff', this.outlet.log);
614
600
  if (isValidBoolean(state)) {
@@ -616,10 +602,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
616
602
  this.outlet?.log.info(`Set outlet onOff to ${!state}`);
617
603
  }
618
604
  }, 60 * 1000 + 300);
619
- // Set cover to target = current position and status to stopped (current position is persisted in the cluster)
620
605
  await this.cover?.setWindowCoveringTargetAsCurrentAndStopped();
621
606
  this.cover?.log.info('Set cover initial targetPositionLiftPercent100ths = currentPositionLiftPercent100ths and operationalStatus to Stopped.');
622
- // Increment cover position every minute
623
607
  this.coverInterval = setInterval(async () => {
624
608
  let position = this.cover?.getAttribute(WindowCoveringCluster.id, 'currentPositionLiftPercent100ths', this.cover.log);
625
609
  if (isValidNumber(position, 0, 10000)) {
@@ -630,10 +614,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
630
614
  this.cover?.log.info(`Set cover current and target positionLiftPercent100ths to ${position} and operationalStatus to Stopped`);
631
615
  }
632
616
  }, 60 * 1000 + 400);
633
- // Set lock to Locked
634
617
  await this.lock?.setAttribute(DoorLockCluster.id, 'lockState', DoorLock.LockState.Locked, this.lock.log);
635
618
  this.lock?.log.info('Set lock initial lockState to Locked');
636
- // Toggle lock every minute
637
619
  this.lockInterval = setInterval(async () => {
638
620
  const status = this.lock?.getAttribute(DoorLockCluster.id, 'lockState', this.lock.log);
639
621
  if (isValidNumber(status, DoorLock.LockState.Locked, DoorLock.LockState.Unlocked)) {
@@ -641,7 +623,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
641
623
  this.lock?.log.info(`Set lock lockState to ${status === DoorLock.LockState.Locked ? 'Unlocked' : 'Locked'}`);
642
624
  }
643
625
  }, 60 * 1000 + 500);
644
- // Set local to 16°C
645
626
  await this.thermo?.setAttribute(ThermostatCluster.id, 'localTemperature', 16 * 100, this.thermo.log);
646
627
  await this.thermo?.setAttribute(ThermostatCluster.id, 'systemMode', Thermostat.SystemMode.Auto, this.thermo.log);
647
628
  this.thermo?.log.info('Set thermostat initial localTemperature to 16°C and mode Auto');
@@ -652,7 +633,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
652
633
  const flow = this.thermo?.getChildEndpointByName('Flow');
653
634
  await this.thermo?.setAttribute(FlowMeasurementCluster.id, 'measuredValue', 10, this.thermo.log, flow);
654
635
  this.thermo?.log.info('Set thermostat ext temperature to 16°C, ext humidity to 50% and ext valve flow to 10');
655
- // Increment localTemperature every minute
656
636
  this.thermoInterval = setInterval(async () => {
657
637
  let temperature = this.thermo?.getAttribute(ThermostatCluster.id, 'localTemperature', this.thermo.log);
658
638
  if (isValidNumber(temperature, 1600, 2400)) {
@@ -667,14 +647,12 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
667
647
  this.thermo?.log.info(`Set thermostat localTemperature to ${temperature / 100}°C`);
668
648
  }
669
649
  }, 60 * 1000 + 600);
670
- // Set fan to auto
671
650
  this.fan?.log.info('Set fan initial fanMode to Auto, percentCurrent and percentSetting to 50 and speedCurrent and speedSetting to 50');
672
651
  await this.fan?.setAttribute(FanControlCluster.id, 'fanMode', FanControl.FanMode.Auto, this.fan.log);
673
652
  await this.fan?.setAttribute(FanControlCluster.id, 'percentCurrent', 50, this.fan.log);
674
653
  await this.fan?.setAttribute(FanControlCluster.id, 'percentSetting', 50, this.fan.log);
675
654
  await this.fan?.setAttribute(FanControlCluster.id, 'speedCurrent', 50, this.fan.log);
676
655
  await this.fan?.setAttribute(FanControlCluster.id, 'speedSetting', 50, this.fan.log);
677
- // Increment fan percentCurrent every minute
678
656
  this.fanInterval = setInterval(async () => {
679
657
  const mode = this.fan?.getAttribute(FanControlCluster.id, 'fanMode', this.fan.log);
680
658
  let value = this.fan?.getAttribute(FanControlCluster.id, 'percentCurrent', this.fan.log);
@@ -685,9 +663,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
685
663
  this.fan?.log.info(`Set fan percentCurrent and percentSetting to ${value}`);
686
664
  }
687
665
  }, 60 * 1000 + 700);
688
- // Set waterLeak to false
689
666
  await this.waterLeak?.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterLeak.log);
690
- // Toggle waterLeak every minute
691
667
  this.waterLeakInterval = setInterval(async () => {
692
668
  let value = this.waterLeak?.getAttribute(BooleanStateCluster.id, 'stateValue', this.waterLeak.log);
693
669
  if (isValidBoolean(value)) {
@@ -696,9 +672,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
696
672
  this.waterLeak?.log.info(`Set waterLeak stateValue to ${value}`);
697
673
  }
698
674
  }, 60 * 1000 + 800);
699
- // Set waterFreeze to false
700
675
  await this.waterFreeze?.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterFreeze.log);
701
- // Toggle waterFreeze every minute
702
676
  this.waterFreezeInterval = setInterval(async () => {
703
677
  let value = this.waterFreeze?.getAttribute(BooleanStateCluster.id, 'stateValue', this.waterFreeze.log);
704
678
  if (isValidBoolean(value)) {
@@ -707,9 +681,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
707
681
  this.waterFreeze?.log.info(`Set waterFreeze stateValue to ${value}`);
708
682
  }
709
683
  }, 60 * 1000 + 900);
710
- // Set rain to false
711
684
  await this.rain?.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.rain.log);
712
- // Toggle rain every minute
713
685
  this.rainInterval = setInterval(async () => {
714
686
  let value = this.rain?.getAttribute(BooleanStateCluster.id, 'stateValue', this.rain.log);
715
687
  if (isValidBoolean(value)) {
@@ -718,10 +690,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
718
690
  this.rain?.log.info(`Set rain stateValue to ${value}`);
719
691
  }
720
692
  }, 60 * 1000 + 1000);
721
- // Set smoke to Normal
722
693
  await this.smoke?.setAttribute(SmokeCoAlarmCluster.id, 'smokeState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
723
694
  await this.smoke?.setAttribute(SmokeCoAlarmCluster.id, 'coState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
724
- // Toggle smoke every minute
725
695
  this.smokeInterval = setInterval(async () => {
726
696
  let value = this.smoke?.getAttribute(SmokeCoAlarmCluster.id, 'smokeState', this.smoke.log);
727
697
  if (isValidNumber(value, SmokeCoAlarm.AlarmState.Normal, SmokeCoAlarm.AlarmState.Critical)) {
@@ -731,9 +701,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
731
701
  this.smoke?.log.info(`Set smoke smokeState and coState to ${value}`);
732
702
  }
733
703
  }, 60 * 1000 + 1100);
734
- // Set air quality to Normal
735
704
  this.airQuality?.setAttribute(AirQualityCluster.id, 'airQuality', AirQuality.AirQualityEnum.Good, this.airQuality.log);
736
- // Toggle air quality every minute
737
705
  this.airQualityInterval = setInterval(async () => {
738
706
  let value = this.airQuality?.getAttribute(AirQualityCluster.id, 'airQuality', this.airQuality?.log);
739
707
  if (isValidNumber(value, AirQuality.AirQualityEnum.Good, AirQuality.AirQualityEnum.ExtremelyPoor)) {
@@ -761,4 +729,3 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
761
729
  await this.unregisterAllDevices();
762
730
  }
763
731
  }
764
- //# sourceMappingURL=platform.js.map
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "matterbridge-example-dynamic-platform",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge-example-dynamic-platform",
9
- "version": "1.1.0",
9
+ "version": "1.1.1",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "node-ansi-logger": "3.0.0",
13
13
  "node-persist-manager": "1.0.8"
14
14
  },
15
15
  "engines": {
16
- "node": ">=18.0.0"
16
+ "node": ">=18.0.0 <19.0.0 || >=20.0.0 <21.0.0 || >=22.0.0 <23.0.0"
17
17
  },
18
18
  "funding": {
19
19
  "type": "buymeacoffee",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge-example-dynamic-platform",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Matterbridge dynamic plugin",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "plugin"
28
28
  ],
29
29
  "engines": {
30
- "node": ">=18.0.0"
30
+ "node": ">=18.0.0 <19.0.0 || >=20.0.0 <21.0.0 || >=22.0.0 <23.0.0"
31
31
  },
32
32
  "dependencies": {
33
33
  "node-ansi-logger": "3.0.0",
@@ -0,0 +1,13 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "incremental": false,
5
+ "composite": false,
6
+ "declaration": false,
7
+ "declarationMap": false,
8
+ "sourceMap": false,
9
+ "removeComments": true
10
+ },
11
+ "include": ["src/**/*.ts"],
12
+ "exclude": ["**/*.spec.ts", "**/*.test.ts", "**/__test__/*"]
13
+ }
package/create-release.js DELETED
@@ -1,81 +0,0 @@
1
- /* eslint-disable no-console */
2
-
3
- /*
4
- Add the following scripts to package.json file:
5
- "prepublishOnly": "npm run lint && npm run test && npm run cleanBuild",
6
- "npmPublish": "npm publish",
7
- "gitPublish": "npm run lint && npm run test && npm run cleanBuild && node create-release.js",
8
- "preversion": "npm run lint && npm run test && npm run cleanBuild",
9
- "postversion": "git push && git push --tags && node create-release.js",
10
- "version:patch": "npm version patch",
11
- "version:minor": "npm version minor",
12
- "version:major": "npm version major",
13
- */
14
-
15
- import { execSync } from 'child_process';
16
- import { readFileSync, writeFileSync, unlinkSync } from 'fs';
17
- import path from 'path';
18
- import readline from 'readline';
19
-
20
- // Get the latest tag
21
- let tag = execSync('git describe --tags --abbrev=0').toString().trim();
22
- if (tag.startsWith('v')) {
23
- tag = tag.substring(1);
24
- }
25
-
26
- // Read the changelog file
27
- const changelogPath = path.join(process.cwd(), 'CHANGELOG.md');
28
- const changelog = readFileSync(changelogPath, 'utf8');
29
-
30
- // Extract the relevant section from the changelog
31
- const changelogSection = extractChangelogSection(changelog, tag);
32
-
33
- const title = `Release ${tag}`;
34
- const notes = `Release notes for version ${tag}\n\n## [${tag}] ${changelogSection}`;
35
-
36
- // Log the release details
37
- console.log(`Creating release ${tag} with the following details:\nTitle:\n${title}\nNotes:\n${notes}`);
38
-
39
- // Write the release notes to a temporary file
40
- const notesFilePath = path.join(process.cwd(), 'release-notes.md');
41
- writeFileSync(notesFilePath, notes);
42
-
43
- // Wait for user input before proceeding
44
- await pressAnyKey();
45
-
46
- // Create the release using the temporary file
47
- execSync(`gh release create ${tag} -t "${title}" -F "${notesFilePath}"`, { stdio: 'inherit' });
48
-
49
- // Clean up the temporary file
50
- unlinkSync(notesFilePath);
51
-
52
- /**
53
- * Extracts the relevant section from the changelog for the given tag.
54
- * Assumes that each version section in the changelog starts with a heading like "## [tag]".
55
- * @param {string} changelog - The content of the changelog file.
56
- * @param {string} tag - The tag for which to extract the changelog section.
57
- * @returns {string} - The extracted changelog section.
58
- */
59
- function extractChangelogSection(changelog, tag) {
60
- const regex = new RegExp(`## \\[${tag}\\](.*?)(## \\[|$)`, 's');
61
- const match = changelog.match(regex);
62
- return match ? match[1].trim() : 'No changelog entry found for this version.';
63
- }
64
-
65
- /**
66
- * Waits for the user to press any key.
67
- * @returns {Promise<void>}
68
- */
69
- function pressAnyKey() {
70
- return new Promise((resolve) => {
71
- const rl = readline.createInterface({
72
- input: process.stdin,
73
- output: process.stdout,
74
- });
75
-
76
- rl.question('Press any key to continue...', () => {
77
- rl.close();
78
- resolve();
79
- });
80
- });
81
- }
package/dist/index.d.ts DELETED
@@ -1,14 +0,0 @@
1
- import { Matterbridge, PlatformConfig } from 'matterbridge';
2
- import { AnsiLogger } from 'matterbridge/logger';
3
- import { ExampleMatterbridgeDynamicPlatform } from './platform.js';
4
- /**
5
- * This is the standard interface for Matterbridge plugins.
6
- * Each plugin should export a default function that follows this signature.
7
- *
8
- * @param {Matterbridge} matterbridge - The Matterbridge instance.
9
- * @param {AnsiLogger} log - The logger instance.
10
- * @param {PlatformConfig} config - The platform configuration.
11
- * @returns {ExampleMatterbridgeDynamicPlatform} The initialized platform.
12
- */
13
- export default function initializePlugin(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig): ExampleMatterbridgeDynamicPlatform;
14
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,kCAAkC,EAAE,MAAM,eAAe,CAAC;AAEnE;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,YAAY,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc,GAAG,kCAAkC,CAEhJ"}
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kCAAkC,EAAE,MAAM,eAAe,CAAC;AAEnE;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,YAA0B,EAAE,GAAe,EAAE,MAAsB;IAC1G,OAAO,IAAI,kCAAkC,CAAC,YAAY,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;AAC3E,CAAC"}
@@ -1,40 +0,0 @@
1
- import { AtLeastOne, DeviceTypeDefinition, EndpointOptions, PlatformConfig } from 'matterbridge';
2
- import { Matterbridge, /* MatterbridgeEndpoint as */ MatterbridgeDevice, MatterbridgeDynamicPlatform } from 'matterbridge';
3
- import { AnsiLogger } from 'matterbridge/logger';
4
- export declare class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatform {
5
- switch: MatterbridgeDevice | undefined;
6
- lightOnOff: MatterbridgeDevice | undefined;
7
- dimmer: MatterbridgeDevice | undefined;
8
- light: MatterbridgeDevice | undefined;
9
- lightXY: MatterbridgeDevice | undefined;
10
- lightHS: MatterbridgeDevice | undefined;
11
- lightCT: MatterbridgeDevice | undefined;
12
- outlet: MatterbridgeDevice | undefined;
13
- cover: MatterbridgeDevice | undefined;
14
- lock: MatterbridgeDevice | undefined;
15
- thermo: MatterbridgeDevice | undefined;
16
- fan: MatterbridgeDevice | undefined;
17
- waterLeak: MatterbridgeDevice | undefined;
18
- waterFreeze: MatterbridgeDevice | undefined;
19
- rain: MatterbridgeDevice | undefined;
20
- smoke: MatterbridgeDevice | undefined;
21
- airQuality: MatterbridgeDevice | undefined;
22
- switchInterval: NodeJS.Timeout | undefined;
23
- lightInterval: NodeJS.Timeout | undefined;
24
- outletInterval: NodeJS.Timeout | undefined;
25
- coverInterval: NodeJS.Timeout | undefined;
26
- lockInterval: NodeJS.Timeout | undefined;
27
- thermoInterval: NodeJS.Timeout | undefined;
28
- fanInterval: NodeJS.Timeout | undefined;
29
- waterLeakInterval: NodeJS.Timeout | undefined;
30
- waterFreezeInterval: NodeJS.Timeout | undefined;
31
- rainInterval: NodeJS.Timeout | undefined;
32
- smokeInterval: NodeJS.Timeout | undefined;
33
- airQualityInterval: NodeJS.Timeout | undefined;
34
- createMutableDevice(definition: DeviceTypeDefinition | AtLeastOne<DeviceTypeDefinition>, options?: EndpointOptions, debug?: boolean): Promise<MatterbridgeDevice>;
35
- constructor(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig);
36
- onStart(reason?: string): Promise<void>;
37
- onConfigure(): Promise<void>;
38
- onShutdown(reason?: string): Promise<void>;
39
- }
40
- //# sourceMappingURL=platform.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAQV,oBAAoB,EAIpB,eAAe,EAUf,cAAc,EAyBf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,YAAY,EAAE,6BAA6B,CAAC,kBAAkB,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAE3H,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,qBAAa,kCAAmC,SAAQ,2BAA2B;IACjF,MAAM,EAAE,kBAAkB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