matterbridge-example-dynamic-platform 1.1.0 → 1.1.1-dev.2
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 +11 -0
- package/LICENSE +202 -0
- package/README.md +2 -0
- package/dist/index.js +0 -10
- package/dist/platform.js +84 -72
- package/npm-shrinkwrap.json +3 -3
- package/package.json +2 -2
- package/create-release.js +0 -81
- package/dist/index.d.ts +0 -14
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/platform.d.ts +0 -40
- package/dist/platform.d.ts.map +0 -1
- package/dist/platform.js.map +0 -1
- package/link-matterbridge-script.js +0 -1
package/CHANGELOG.md
CHANGED
@@ -4,6 +4,17 @@ 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]: Added the Matter 1.3 airConditioner device.
|
10
|
+
- [package]: Require matterbridge 1.6.6
|
11
|
+
- [package]: Updated package.
|
12
|
+
- [package]: Updated dependencies.
|
13
|
+
|
14
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
15
|
+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
|
16
|
+
</a>
|
17
|
+
|
7
18
|
## [1.1.0] - 2024-11-25
|
8
19
|
|
9
20
|
### 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
|
[](https://hub.docker.com/r/luligu/matterbridge)
|
6
6
|
[](https://hub.docker.com/r/luligu/matterbridge)
|
7
7
|

|
8
|
+

|
8
9
|
|
9
10
|
[](https://www.npmjs.com/package/matterbridge)
|
10
11
|
[](https://www.npmjs.com/package/matter-history)
|
@@ -29,6 +30,7 @@ It exposes:
|
|
29
30
|
- a lock with doorLock cluster
|
30
31
|
- a thermo with thermostat cluster and 3 sub endpoints with flowMeasurement cluster, temperatureMeasurement cluster
|
31
32
|
and relativeHumidityMeasurement cluster (to show how to create a composed device with sub endpoints)
|
33
|
+
- an airConditioner device
|
32
34
|
- a fan with FanControl cluster
|
33
35
|
- a rainSensor device
|
34
36
|
- a waterFreezeDetector device
|
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 {
|
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, airConditioner, 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;
|
@@ -19,6 +19,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
19
19
|
rain;
|
20
20
|
smoke;
|
21
21
|
airQuality;
|
22
|
+
airConditioner;
|
22
23
|
switchInterval;
|
23
24
|
lightInterval;
|
24
25
|
outletInterval;
|
@@ -31,29 +32,25 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
31
32
|
rainInterval;
|
32
33
|
smokeInterval;
|
33
34
|
airQualityInterval;
|
35
|
+
airConditionerInterval;
|
36
|
+
bridgedDevices = new Map();
|
34
37
|
async createMutableDevice(definition, options = {}, debug = false) {
|
35
38
|
let device;
|
36
|
-
|
37
|
-
|
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
|
-
}
|
39
|
+
if (this.matterbridge.edge === true)
|
40
|
+
device = new MatterbridgeEndpoint(definition, options, debug);
|
42
41
|
else
|
43
42
|
device = new MatterbridgeDevice(definition, options, debug);
|
44
43
|
return device;
|
45
44
|
}
|
46
45
|
constructor(matterbridge, log, config) {
|
47
46
|
super(matterbridge, log, config);
|
48
|
-
|
49
|
-
|
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."`);
|
47
|
+
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('1.6.6')) {
|
48
|
+
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
49
|
}
|
52
50
|
this.log.info('Initializing platform:', this.config.name);
|
53
51
|
}
|
54
52
|
async onStart(reason) {
|
55
53
|
this.log.info('onStart called with reason:', reason ?? 'none');
|
56
|
-
// Create a switch device
|
57
54
|
this.switch = await this.createMutableDevice([onOffSwitch, bridgedNode], { uniqueStorageKey: 'Switch' }, this.config.debug);
|
58
55
|
this.switch.log.logName = 'Switch';
|
59
56
|
this.switch.createDefaultIdentifyClusterServer();
|
@@ -64,6 +61,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
64
61
|
this.switch.addDeviceType(powerSource);
|
65
62
|
this.switch.createDefaultPowerSourceRechargeableBatteryClusterServer(70);
|
66
63
|
await this.registerDevice(this.switch);
|
64
|
+
this.bridgedDevices.set(this.switch.deviceName ?? '', this.switch);
|
67
65
|
this.switch.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
68
66
|
this.log.info(`Command identify called identifyTime:${identifyTime}`);
|
69
67
|
});
|
@@ -75,7 +73,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
75
73
|
await this.switch?.setAttribute(OnOffCluster.id, 'onOff', false, this.switch.log, this.switch);
|
76
74
|
this.switch?.log.info('Command off called');
|
77
75
|
});
|
78
|
-
// Create a on off light device
|
79
76
|
this.lightOnOff = await this.createMutableDevice([DeviceTypes.ON_OFF_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (on/off)' }, this.config.debug);
|
80
77
|
this.lightOnOff.log.logName = 'Light (on/off)';
|
81
78
|
this.lightOnOff.createDefaultIdentifyClusterServer();
|
@@ -86,6 +83,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
86
83
|
this.lightOnOff.addDeviceType(powerSource);
|
87
84
|
this.lightOnOff.createDefaultPowerSourceWiredClusterServer();
|
88
85
|
await this.registerDevice(this.lightOnOff);
|
86
|
+
this.bridgedDevices.set(this.lightOnOff.deviceName ?? '', this.lightOnOff);
|
89
87
|
this.lightOnOff.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
90
88
|
this.lightOnOff?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
91
89
|
});
|
@@ -97,7 +95,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
97
95
|
await this.light?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightOnOff?.log, this.lightOnOff);
|
98
96
|
this.lightOnOff?.log.info('Command off called');
|
99
97
|
});
|
100
|
-
// Create a dimmer device
|
101
98
|
this.dimmer = await this.createMutableDevice([DeviceTypes.DIMMABLE_LIGHT, bridgedNode], { uniqueStorageKey: 'Dimmer' }, this.config.debug);
|
102
99
|
this.dimmer.log.logName = 'Dimmer';
|
103
100
|
this.dimmer.createDefaultIdentifyClusterServer();
|
@@ -109,6 +106,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
109
106
|
this.dimmer.addDeviceType(powerSource);
|
110
107
|
this.dimmer.createDefaultPowerSourceReplaceableBatteryClusterServer(70);
|
111
108
|
await this.registerDevice(this.dimmer);
|
109
|
+
this.bridgedDevices.set(this.dimmer.deviceName ?? '', this.dimmer);
|
112
110
|
this.dimmer.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
113
111
|
this.dimmer?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
114
112
|
});
|
@@ -128,7 +126,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
128
126
|
await this.dimmer?.setAttribute(LevelControlCluster.id, 'currentLevel', level, this.dimmer.log, this.dimmer);
|
129
127
|
this.dimmer?.log.debug(`Command moveToLevelWithOnOff called request: ${level}`);
|
130
128
|
});
|
131
|
-
// Create a light device
|
132
129
|
this.light = await this.createMutableDevice([DeviceTypes.COLOR_TEMPERATURE_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (XY, HS and CT)' }, this.config.debug);
|
133
130
|
this.light.log.logName = 'Light (XY, HS and CT)';
|
134
131
|
this.light.createDefaultIdentifyClusterServer();
|
@@ -141,6 +138,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
141
138
|
this.light.addDeviceType(powerSource);
|
142
139
|
this.light.createDefaultPowerSourceReplaceableBatteryClusterServer(70);
|
143
140
|
await this.registerDevice(this.light);
|
141
|
+
this.bridgedDevices.set(this.light.deviceName ?? '', this.light);
|
144
142
|
this.light.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
145
143
|
this.light?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
146
144
|
});
|
@@ -182,20 +180,19 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
182
180
|
await this.light?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.light?.log, this.light);
|
183
181
|
this.light?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds} attributes: ${attributes.colorTemperatureMireds?.getLocal()}`);
|
184
182
|
});
|
185
|
-
// Create a light device with HS color control
|
186
183
|
this.lightHS = await this.createMutableDevice([DeviceTypes.COLOR_TEMPERATURE_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (HS)' }, this.config.debug);
|
187
|
-
this.lightHS.log.logName = 'Light (HS)';
|
184
|
+
this.lightHS.log.logName = 'Light (HS, CT)';
|
188
185
|
this.lightHS.createDefaultIdentifyClusterServer();
|
189
186
|
this.lightHS.createDefaultGroupsClusterServer();
|
190
187
|
this.lightHS.createDefaultScenesClusterServer();
|
191
|
-
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);
|
188
|
+
this.lightHS.createDefaultBridgedDeviceBasicInformationClusterServer('Light (HS, CT)', '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
189
|
this.lightHS.createDefaultOnOffClusterServer();
|
193
190
|
this.lightHS.createDefaultLevelControlClusterServer();
|
194
|
-
this.lightHS.
|
195
|
-
await this.lightHS.configureColorControlCluster(true, false, false, ColorControl.ColorMode.CurrentHueAndCurrentSaturation);
|
191
|
+
this.lightHS.createHsColorControlClusterServer();
|
196
192
|
this.lightHS.addDeviceType(powerSource);
|
197
193
|
this.lightHS.createDefaultPowerSourceWiredClusterServer();
|
198
194
|
await this.registerDevice(this.lightHS);
|
195
|
+
this.bridgedDevices.set(this.lightHS.deviceName ?? '', this.lightHS);
|
199
196
|
this.lightHS.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
200
197
|
this.lightHS?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
201
198
|
});
|
@@ -228,20 +225,23 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
228
225
|
await this.lightHS?.setAttribute(ColorControlCluster.id, 'currentSaturation', saturation, this.lightHS?.log, this.lightHS);
|
229
226
|
this.lightHS?.log.debug(`Command moveToSaturation called request: saturation ${saturation} attributes: hue ${currentHue?.getLocal()} saturation ${currentSaturation?.getLocal()}`);
|
230
227
|
});
|
231
|
-
|
228
|
+
this.lightHS.addCommandHandler('moveToColorTemperature', async ({ request, attributes }) => {
|
229
|
+
await this.light?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.light?.log, this.light);
|
230
|
+
this.light?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds} attributes: ${attributes.colorTemperatureMireds?.getLocal()}`);
|
231
|
+
});
|
232
232
|
this.lightXY = await this.createMutableDevice([DeviceTypes.COLOR_TEMPERATURE_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (XY)' }, this.config.debug);
|
233
|
-
this.lightXY.log.logName = 'Light (XY)';
|
233
|
+
this.lightXY.log.logName = 'Light (XY, CT)';
|
234
234
|
this.lightXY.createDefaultIdentifyClusterServer();
|
235
235
|
this.lightXY.createDefaultGroupsClusterServer();
|
236
236
|
this.lightXY.createDefaultScenesClusterServer();
|
237
|
-
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);
|
237
|
+
this.lightXY.createDefaultBridgedDeviceBasicInformationClusterServer('Light (XY, CT)', '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
238
|
this.lightXY.createDefaultOnOffClusterServer();
|
239
239
|
this.lightXY.createDefaultLevelControlClusterServer();
|
240
|
-
this.lightXY.
|
241
|
-
await this.lightXY.configureColorControlCluster(false, true, false, ColorControl.ColorMode.CurrentXAndCurrentY);
|
240
|
+
this.lightXY.createXyColorControlClusterServer();
|
242
241
|
this.lightXY.addDeviceType(powerSource);
|
243
242
|
this.lightXY.createDefaultPowerSourceWiredClusterServer();
|
244
243
|
await this.registerDevice(this.lightXY);
|
244
|
+
this.bridgedDevices.set(this.lightXY.deviceName ?? '', this.lightXY);
|
245
245
|
this.lightXY.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
246
246
|
this.lightXY?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
247
247
|
});
|
@@ -266,7 +266,10 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
266
266
|
await this.lightXY?.setAttribute(ColorControlCluster.id, 'currentY', colorY, this.light?.log, this.light);
|
267
267
|
this.lightXY?.log.debug(`Command moveToColor called request: X ${colorX / 65536} Y ${colorY / 65536}`);
|
268
268
|
});
|
269
|
-
|
269
|
+
this.lightXY.addCommandHandler('moveToColorTemperature', async ({ request, attributes }) => {
|
270
|
+
await this.light?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.light?.log, this.light);
|
271
|
+
this.light?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds} attributes: ${attributes.colorTemperatureMireds?.getLocal()}`);
|
272
|
+
});
|
270
273
|
this.lightCT = await this.createMutableDevice([DeviceTypes.COLOR_TEMPERATURE_LIGHT, bridgedNode], { uniqueStorageKey: 'Light (CT)' }, this.config.debug);
|
271
274
|
this.lightCT.log.logName = 'Light (CT)';
|
272
275
|
this.lightCT.createDefaultIdentifyClusterServer();
|
@@ -275,11 +278,11 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
275
278
|
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
279
|
this.lightCT.createDefaultOnOffClusterServer();
|
277
280
|
this.lightCT.createDefaultLevelControlClusterServer();
|
278
|
-
this.lightCT.
|
279
|
-
await this.lightCT.configureColorControlCluster(false, false, true, ColorControl.ColorMode.ColorTemperatureMireds);
|
281
|
+
this.lightCT.createCtColorControlClusterServer();
|
280
282
|
this.lightCT.addDeviceType(powerSource);
|
281
283
|
this.lightCT.createDefaultPowerSourceReplaceableBatteryClusterServer(70);
|
282
284
|
await this.registerDevice(this.lightCT);
|
285
|
+
this.bridgedDevices.set(this.lightCT.deviceName ?? '', this.lightCT);
|
283
286
|
this.lightCT.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
284
287
|
this.lightCT?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
285
288
|
});
|
@@ -303,7 +306,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
303
306
|
await this.lightCT?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.lightCT?.log, this.lightCT);
|
304
307
|
this.lightCT?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds}`);
|
305
308
|
});
|
306
|
-
// Create an outlet device
|
307
309
|
this.outlet = await this.createMutableDevice([DeviceTypes.ON_OFF_PLUGIN_UNIT, bridgedNode], { uniqueStorageKey: 'Outlet' }, this.config.debug);
|
308
310
|
this.outlet.log.logName = 'Outlet';
|
309
311
|
this.outlet.createDefaultIdentifyClusterServer();
|
@@ -314,6 +316,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
314
316
|
this.outlet.addDeviceType(powerSource);
|
315
317
|
this.outlet.createDefaultPowerSourceWiredClusterServer();
|
316
318
|
await this.registerDevice(this.outlet);
|
319
|
+
this.bridgedDevices.set(this.outlet.deviceName ?? '', this.outlet);
|
317
320
|
this.outlet.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
318
321
|
this.outlet?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
319
322
|
});
|
@@ -325,8 +328,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
325
328
|
await this.outlet?.setAttribute(OnOffCluster.id, 'onOff', false, this.outlet?.log, this.outlet);
|
326
329
|
this.outlet?.log.info('Command off called');
|
327
330
|
});
|
328
|
-
// Create a window covering device
|
329
|
-
// Matter uses 10000 = fully closed 0 = fully opened
|
330
331
|
this.cover = await this.createMutableDevice([DeviceTypes.WINDOW_COVERING, bridgedNode], { uniqueStorageKey: 'Cover' }, this.config.debug);
|
331
332
|
this.cover.log.logName = 'Cover';
|
332
333
|
this.cover.createDefaultIdentifyClusterServer();
|
@@ -337,6 +338,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
337
338
|
this.cover.addDeviceType(powerSource);
|
338
339
|
this.cover.createDefaultPowerSourceRechargeableBatteryClusterServer(86);
|
339
340
|
await this.registerDevice(this.cover);
|
341
|
+
this.bridgedDevices.set(this.cover.deviceName ?? '', this.cover);
|
340
342
|
this.cover.subscribeAttribute(WindowCoveringCluster.id, 'mode', (newValue, oldValue) => {
|
341
343
|
this.cover?.log.info(`Attribute mode changed from ${oldValue} to ${newValue}. Reverse: ${newValue.motorDirectionReversed}. Calibration: ${newValue.calibrationMode}. Maintenance: ${newValue.maintenanceMode}. LED: ${newValue.ledFeedback}`);
|
342
344
|
}, this.cover.log);
|
@@ -359,7 +361,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
359
361
|
await this.cover?.setWindowCoveringCurrentTargetStatus(liftPercent100thsValue, liftPercent100thsValue, WindowCovering.MovementStatus.Stopped);
|
360
362
|
this.cover?.log.info(`Command goToLiftPercentage ${liftPercent100thsValue} called`);
|
361
363
|
});
|
362
|
-
// Create a lock device
|
363
364
|
this.lock = await this.createMutableDevice([DeviceTypes.DOOR_LOCK, bridgedNode], { uniqueStorageKey: 'Lock' }, this.config.debug);
|
364
365
|
this.lock.log.logName = 'Lock';
|
365
366
|
this.lock.createDefaultIdentifyClusterServer();
|
@@ -368,6 +369,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
368
369
|
this.lock.addDeviceType(powerSource);
|
369
370
|
this.lock.createDefaultPowerSourceRechargeableBatteryClusterServer(30);
|
370
371
|
await this.registerDevice(this.lock);
|
372
|
+
this.bridgedDevices.set(this.lock.deviceName ?? '', this.lock);
|
371
373
|
this.lock.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
372
374
|
this.lock?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
373
375
|
});
|
@@ -379,7 +381,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
379
381
|
await this.lock?.setAttribute(DoorLockCluster.id, 'lockState', DoorLock.LockState.Unlocked, this.lock?.log, this.lock);
|
380
382
|
this.lock?.log.info('Command unlockDoor called');
|
381
383
|
});
|
382
|
-
// Create a thermostat device
|
383
384
|
this.thermo = await this.createMutableDevice([DeviceTypes.THERMOSTAT, bridgedNode], { uniqueStorageKey: 'Thermostat' }, this.config.debug);
|
384
385
|
this.thermo.log.logName = 'Thermostat';
|
385
386
|
this.thermo.createDefaultIdentifyClusterServer();
|
@@ -396,6 +397,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
396
397
|
const humidityChild = this.thermo.addChildDeviceTypeWithClusterServer('Humidity', [DeviceTypes.HUMIDITY_SENSOR], [RelativeHumidityMeasurement.Cluster.id]);
|
397
398
|
humidityChild.getClusterServer(RelativeHumidityMeasurement.Cluster)?.setMeasuredValueAttribute(80 * 100);
|
398
399
|
await this.registerDevice(this.thermo);
|
400
|
+
this.bridgedDevices.set(this.thermo.deviceName ?? '', this.thermo);
|
399
401
|
this.thermo.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
400
402
|
this.thermo?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
401
403
|
});
|
@@ -423,12 +425,36 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
423
425
|
this.thermo.subscribeAttribute(ThermostatCluster.id, 'occupiedCoolingSetpoint', async (value) => {
|
424
426
|
this.thermo?.log.info('Subscribe occupiedCoolingSetpoint called with:', value / 100);
|
425
427
|
}, this.thermo.log, this.thermo);
|
426
|
-
|
428
|
+
this.airConditioner = await this.createMutableDevice([airConditioner, bridgedNode], { uniqueStorageKey: 'Air conditioner' }, this.config.debug);
|
429
|
+
this.airConditioner.log.logName = 'Air conditioner';
|
430
|
+
this.airConditioner.createDefaultBridgedDeviceBasicInformationClusterServer('Air conditioner', '0x96382864', 0xfff1, 'Matterbridge', 'Matterbridge Air conditioner', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
|
431
|
+
this.airConditioner.createDefaultIdentifyClusterServer();
|
432
|
+
this.airConditioner.createDefaultOnOffClusterServer(true);
|
433
|
+
this.airConditioner.createDefaultThermostatClusterServer(20, 18, 22);
|
434
|
+
this.airConditioner.createDefaultFanControlClusterServer();
|
435
|
+
this.airConditioner.createDefaultTemperatureMeasurementClusterServer(20);
|
436
|
+
this.airConditioner.createDefaultRelativeHumidityMeasurementClusterServer(50);
|
437
|
+
this.airConditioner.addDeviceType(powerSource);
|
438
|
+
this.airConditioner.createDefaultPowerSourceWiredClusterServer();
|
439
|
+
await this.registerDevice(this.airConditioner);
|
440
|
+
this.bridgedDevices.set(this.airConditioner.deviceName ?? '', this.airConditioner);
|
441
|
+
this.airConditioner.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
442
|
+
this.airConditioner?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
443
|
+
});
|
444
|
+
this.airConditioner.addCommandHandler('on', async () => {
|
445
|
+
await this.airConditioner?.setAttribute(OnOffCluster.id, 'onOff', true, this.airConditioner?.log);
|
446
|
+
this.outlet?.log.info('Command on called');
|
447
|
+
});
|
448
|
+
this.airConditioner.addCommandHandler('off', async () => {
|
449
|
+
await this.airConditioner?.setAttribute(OnOffCluster.id, 'onOff', false, this.airConditioner?.log);
|
450
|
+
this.outlet?.log.info('Command off called');
|
451
|
+
});
|
427
452
|
this.fan = await this.createMutableDevice([DeviceTypes.FAN, bridgedNode], { uniqueStorageKey: 'Fan' }, this.config.debug);
|
428
453
|
this.fan.log.logName = 'Fan';
|
429
454
|
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
455
|
this.fan.addDeviceTypeWithClusterServer([DeviceTypes.FAN], []);
|
431
456
|
await this.registerDevice(this.fan);
|
457
|
+
this.bridgedDevices.set(this.fan.deviceName ?? '', this.fan);
|
432
458
|
const fanModeLookup = ['Off', 'Low', 'Medium', 'High', 'On', 'Auto', 'Smart'];
|
433
459
|
this.fan.subscribeAttribute(FanControlCluster.id, 'fanMode', async (newValue, oldValue) => {
|
434
460
|
this.fan?.log.info(`Fan mode changed from ${fanModeLookup[oldValue]} to ${fanModeLookup[newValue]}`);
|
@@ -472,22 +498,24 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
472
498
|
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
499
|
this.waterFreeze.addDeviceTypeWithClusterServer([waterFreezeDetector], [BooleanStateConfiguration.Cluster.id]);
|
474
500
|
await this.registerDevice(this.waterFreeze);
|
501
|
+
this.bridgedDevices.set(this.waterFreeze.deviceName ?? '', this.waterFreeze);
|
475
502
|
await this.waterFreeze.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterFreeze.log);
|
476
503
|
this.rain = await this.createMutableDevice([rainSensor, bridgedNode], { uniqueStorageKey: 'Rain sensor' }, this.config.debug);
|
477
504
|
this.rain.log.logName = 'Rain sensor';
|
478
505
|
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
506
|
this.rain.addDeviceTypeWithClusterServer([rainSensor], [BooleanStateConfiguration.Cluster.id]);
|
480
507
|
await this.registerDevice(this.rain);
|
508
|
+
this.bridgedDevices.set(this.rain.deviceName ?? '', this.rain);
|
481
509
|
await this.rain.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.rain.log);
|
482
510
|
this.smoke = await this.createMutableDevice([smokeCoAlarm, bridgedNode], { uniqueStorageKey: 'Smoke alarm sensor' }, this.config.debug);
|
483
511
|
this.smoke.log.logName = 'Smoke alarm sensor';
|
484
512
|
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
513
|
this.smoke.addDeviceTypeWithClusterServer([smokeCoAlarm], [CarbonMonoxideConcentrationMeasurement.Cluster.id]);
|
486
514
|
await this.registerDevice(this.smoke);
|
515
|
+
this.bridgedDevices.set(this.smoke.deviceName ?? '', this.smoke);
|
487
516
|
await this.smoke.setAttribute(SmokeCoAlarmCluster.id, 'smokeState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
|
488
517
|
await this.smoke.setAttribute(SmokeCoAlarmCluster.id, 'coState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
|
489
518
|
await this.smoke.setAttribute(CarbonMonoxideConcentrationMeasurement.Cluster.id, 'measuredValue', 100, this.smoke.log);
|
490
|
-
// Create an airQuality device
|
491
519
|
this.airQuality = await this.createMutableDevice([airQualitySensor, bridgedNode], { uniqueStorageKey: 'Air quality sensor' }, this.config.debug);
|
492
520
|
this.airQuality.log.logName = 'Air quality Sensor';
|
493
521
|
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 +534,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
506
534
|
TotalVolatileOrganicCompoundsConcentrationMeasurement.Cluster.id,
|
507
535
|
]);
|
508
536
|
await this.registerDevice(this.airQuality);
|
537
|
+
this.bridgedDevices.set(this.airQuality.deviceName ?? '', this.airQuality);
|
509
538
|
await this.airQuality.setAttribute(AirQuality.Cluster.id, 'airQuality', AirQuality.AirQualityEnum.Good, this.airQuality.log);
|
510
539
|
await this.airQuality.setAttribute(TemperatureMeasurement.Cluster.id, 'measuredValue', 2150, this.airQuality.log);
|
511
540
|
await this.airQuality.setAttribute(RelativeHumidityMeasurement.Cluster.id, 'measuredValue', 5500, this.airQuality.log);
|
@@ -522,10 +551,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
522
551
|
}
|
523
552
|
async onConfigure() {
|
524
553
|
this.log.info('onConfigure called');
|
525
|
-
// Set switch to off
|
526
554
|
await this.switch?.setAttribute(OnOffCluster.id, 'onOff', false, this.switch.log);
|
527
555
|
this.switch?.log.info('Set switch initial onOff to false');
|
528
|
-
// Toggle switch onOff every minute
|
529
556
|
this.switchInterval = setInterval(async () => {
|
530
557
|
const status = this.switch?.getAttribute(OnOffCluster.id, 'onOff', this.switch.log);
|
531
558
|
if (isValidBoolean(status)) {
|
@@ -533,35 +560,29 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
533
560
|
this.switch?.log.info(`Set switch onOff to ${!status}`);
|
534
561
|
}
|
535
562
|
}, 60 * 1000 + 100);
|
536
|
-
// Set light on/off to off
|
537
563
|
await this.lightOnOff?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightOnOff.log);
|
538
564
|
this.lightOnOff?.log.info('Set light initial onOff to false.');
|
539
|
-
// Set light on/off to off
|
540
565
|
await this.dimmer?.setAttribute(OnOffCluster.id, 'onOff', false, this.dimmer.log);
|
541
|
-
await this.dimmer?.setAttribute(LevelControlCluster.id, 'currentLevel',
|
542
|
-
this.dimmer?.log.info(
|
543
|
-
// Set light to off, level to 0 and hue to 0 and saturation to 50% (pink color)
|
566
|
+
await this.dimmer?.setAttribute(LevelControlCluster.id, 'currentLevel', 1, this.dimmer.log);
|
567
|
+
this.dimmer?.log.info(`Set dimmer initial onOff to false, currentLevel to 1.`);
|
544
568
|
await this.light?.setAttribute(OnOffCluster.id, 'onOff', false, this.light.log);
|
545
|
-
await this.light?.setAttribute(LevelControlCluster.id, 'currentLevel',
|
569
|
+
await this.light?.setAttribute(LevelControlCluster.id, 'currentLevel', 1, this.light.log);
|
546
570
|
await this.light?.setAttribute(ColorControlCluster.id, 'currentHue', 0, this.light.log);
|
547
571
|
await this.light?.setAttribute(ColorControlCluster.id, 'currentSaturation', 128, this.light.log);
|
548
572
|
await this.light?.configureColorControlMode(ColorControl.ColorMode.CurrentHueAndCurrentSaturation);
|
549
|
-
this.light?.log.info('Set light initial onOff to false, currentLevel to
|
550
|
-
// Set light XY to true, level to 100% and XY to red
|
573
|
+
this.light?.log.info('Set light initial onOff to false, currentLevel to 1, hue to 0 and saturation to 50%.');
|
551
574
|
await this.lightXY?.setAttribute(OnOffCluster.id, 'onOff', true, this.lightXY.log);
|
552
575
|
await this.lightXY?.setAttribute(LevelControlCluster.id, 'currentLevel', 254, this.lightXY.log);
|
553
576
|
await this.lightXY?.setAttribute(ColorControlCluster.id, 'currentX', 0.7006 * 65536, this.lightXY.log);
|
554
577
|
await this.lightXY?.setAttribute(ColorControlCluster.id, 'currentY', 0.2993 * 65536, this.lightXY.log);
|
555
578
|
await this.lightXY?.configureColorControlMode(ColorControl.ColorMode.CurrentXAndCurrentY);
|
556
579
|
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
580
|
await this.lightHS?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightHS.log);
|
559
|
-
await this.lightHS?.setAttribute(LevelControlCluster.id, 'currentLevel',
|
581
|
+
await this.lightHS?.setAttribute(LevelControlCluster.id, 'currentLevel', 1, this.lightHS.log);
|
560
582
|
await this.lightHS?.setAttribute(ColorControlCluster.id, 'currentHue', 0, this.lightHS.log);
|
561
583
|
await this.lightHS?.setAttribute(ColorControlCluster.id, 'currentSaturation', 128, this.lightHS.log);
|
562
584
|
await this.lightHS?.configureColorControlMode(ColorControl.ColorMode.CurrentHueAndCurrentSaturation);
|
563
|
-
this.lightHS?.log.info('Set light HS initial onOff to false, currentLevel to
|
564
|
-
// Set light CT to true, level to 50% and colorTemperatureMireds to 250
|
585
|
+
this.lightHS?.log.info('Set light HS initial onOff to false, currentLevel to 1, hue to 0 and saturation to 50%.');
|
565
586
|
await this.lightCT?.setAttribute(OnOffCluster.id, 'onOff', true, this.lightCT.log);
|
566
587
|
await this.lightCT?.setAttribute(LevelControlCluster.id, 'currentLevel', 128, this.lightCT.log);
|
567
588
|
await this.lightCT?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', 250, this.lightCT.log);
|
@@ -572,8 +593,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
572
593
|
let level = this.light?.getAttribute(LevelControlCluster.id, 'currentLevel', this.light.log);
|
573
594
|
if (isValidBoolean(state) && isValidNumber(level, 0, 254)) {
|
574
595
|
level += 10;
|
575
|
-
if (level
|
576
|
-
level =
|
596
|
+
if (level >= 250) {
|
597
|
+
level = 1;
|
577
598
|
await this.lightOnOff?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightOnOff.log);
|
578
599
|
await this.dimmer?.setAttribute(OnOffCluster.id, 'onOff', false, this.dimmer.log);
|
579
600
|
await this.light?.setAttribute(OnOffCluster.id, 'onOff', false, this.light.log);
|
@@ -605,10 +626,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
605
626
|
}
|
606
627
|
}
|
607
628
|
}, 60 * 1000 + 200);
|
608
|
-
// Set outlet to off
|
609
629
|
await this.outlet?.setAttribute(OnOffCluster.id, 'onOff', false, this.outlet.log);
|
610
630
|
this.outlet?.log.info('Set outlet initial onOff to false');
|
611
|
-
// Toggle outlet onOff every minute
|
612
631
|
this.outletInterval = setInterval(async () => {
|
613
632
|
const state = this.outlet?.getAttribute(OnOffCluster.id, 'onOff', this.outlet.log);
|
614
633
|
if (isValidBoolean(state)) {
|
@@ -616,10 +635,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
616
635
|
this.outlet?.log.info(`Set outlet onOff to ${!state}`);
|
617
636
|
}
|
618
637
|
}, 60 * 1000 + 300);
|
619
|
-
// Set cover to target = current position and status to stopped (current position is persisted in the cluster)
|
620
638
|
await this.cover?.setWindowCoveringTargetAsCurrentAndStopped();
|
621
639
|
this.cover?.log.info('Set cover initial targetPositionLiftPercent100ths = currentPositionLiftPercent100ths and operationalStatus to Stopped.');
|
622
|
-
// Increment cover position every minute
|
623
640
|
this.coverInterval = setInterval(async () => {
|
624
641
|
let position = this.cover?.getAttribute(WindowCoveringCluster.id, 'currentPositionLiftPercent100ths', this.cover.log);
|
625
642
|
if (isValidNumber(position, 0, 10000)) {
|
@@ -630,10 +647,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
630
647
|
this.cover?.log.info(`Set cover current and target positionLiftPercent100ths to ${position} and operationalStatus to Stopped`);
|
631
648
|
}
|
632
649
|
}, 60 * 1000 + 400);
|
633
|
-
// Set lock to Locked
|
634
650
|
await this.lock?.setAttribute(DoorLockCluster.id, 'lockState', DoorLock.LockState.Locked, this.lock.log);
|
635
651
|
this.lock?.log.info('Set lock initial lockState to Locked');
|
636
|
-
// Toggle lock every minute
|
637
652
|
this.lockInterval = setInterval(async () => {
|
638
653
|
const status = this.lock?.getAttribute(DoorLockCluster.id, 'lockState', this.lock.log);
|
639
654
|
if (isValidNumber(status, DoorLock.LockState.Locked, DoorLock.LockState.Unlocked)) {
|
@@ -641,7 +656,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
641
656
|
this.lock?.log.info(`Set lock lockState to ${status === DoorLock.LockState.Locked ? 'Unlocked' : 'Locked'}`);
|
642
657
|
}
|
643
658
|
}, 60 * 1000 + 500);
|
644
|
-
// Set local to 16°C
|
645
659
|
await this.thermo?.setAttribute(ThermostatCluster.id, 'localTemperature', 16 * 100, this.thermo.log);
|
646
660
|
await this.thermo?.setAttribute(ThermostatCluster.id, 'systemMode', Thermostat.SystemMode.Auto, this.thermo.log);
|
647
661
|
this.thermo?.log.info('Set thermostat initial localTemperature to 16°C and mode Auto');
|
@@ -652,7 +666,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
652
666
|
const flow = this.thermo?.getChildEndpointByName('Flow');
|
653
667
|
await this.thermo?.setAttribute(FlowMeasurementCluster.id, 'measuredValue', 10, this.thermo.log, flow);
|
654
668
|
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
669
|
this.thermoInterval = setInterval(async () => {
|
657
670
|
let temperature = this.thermo?.getAttribute(ThermostatCluster.id, 'localTemperature', this.thermo.log);
|
658
671
|
if (isValidNumber(temperature, 1600, 2400)) {
|
@@ -667,14 +680,23 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
667
680
|
this.thermo?.log.info(`Set thermostat localTemperature to ${temperature / 100}°C`);
|
668
681
|
}
|
669
682
|
}, 60 * 1000 + 600);
|
670
|
-
|
683
|
+
await this.airConditioner?.setAttribute(OnOffCluster.id, 'onOff', true, this.airConditioner.log);
|
684
|
+
this.airConditionerInterval = setInterval(async () => {
|
685
|
+
let temperature = this.airConditioner?.getAttribute(ThermostatCluster.id, 'localTemperature', this.airConditioner.log);
|
686
|
+
if (isValidNumber(temperature, 1600, 2400)) {
|
687
|
+
temperature = temperature + 100 > 2400 ? 1600 : temperature + 100;
|
688
|
+
await this.airConditioner?.setAttribute(ThermostatCluster.id, 'localTemperature', temperature, this.airConditioner.log);
|
689
|
+
await this.airConditioner?.setAttribute(TemperatureMeasurementCluster.id, 'measuredValue', temperature, this.airConditioner.log);
|
690
|
+
await this.airConditioner?.setAttribute(RelativeHumidityMeasurementCluster.id, 'measuredValue', 50 * 100, this.airConditioner.log);
|
691
|
+
this.airConditioner?.log.info(`Set airConditioner localTemperature to ${temperature / 100}°C`);
|
692
|
+
}
|
693
|
+
}, 60 * 1000 + 550);
|
671
694
|
this.fan?.log.info('Set fan initial fanMode to Auto, percentCurrent and percentSetting to 50 and speedCurrent and speedSetting to 50');
|
672
695
|
await this.fan?.setAttribute(FanControlCluster.id, 'fanMode', FanControl.FanMode.Auto, this.fan.log);
|
673
696
|
await this.fan?.setAttribute(FanControlCluster.id, 'percentCurrent', 50, this.fan.log);
|
674
697
|
await this.fan?.setAttribute(FanControlCluster.id, 'percentSetting', 50, this.fan.log);
|
675
698
|
await this.fan?.setAttribute(FanControlCluster.id, 'speedCurrent', 50, this.fan.log);
|
676
699
|
await this.fan?.setAttribute(FanControlCluster.id, 'speedSetting', 50, this.fan.log);
|
677
|
-
// Increment fan percentCurrent every minute
|
678
700
|
this.fanInterval = setInterval(async () => {
|
679
701
|
const mode = this.fan?.getAttribute(FanControlCluster.id, 'fanMode', this.fan.log);
|
680
702
|
let value = this.fan?.getAttribute(FanControlCluster.id, 'percentCurrent', this.fan.log);
|
@@ -685,9 +707,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
685
707
|
this.fan?.log.info(`Set fan percentCurrent and percentSetting to ${value}`);
|
686
708
|
}
|
687
709
|
}, 60 * 1000 + 700);
|
688
|
-
// Set waterLeak to false
|
689
710
|
await this.waterLeak?.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterLeak.log);
|
690
|
-
// Toggle waterLeak every minute
|
691
711
|
this.waterLeakInterval = setInterval(async () => {
|
692
712
|
let value = this.waterLeak?.getAttribute(BooleanStateCluster.id, 'stateValue', this.waterLeak.log);
|
693
713
|
if (isValidBoolean(value)) {
|
@@ -696,9 +716,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
696
716
|
this.waterLeak?.log.info(`Set waterLeak stateValue to ${value}`);
|
697
717
|
}
|
698
718
|
}, 60 * 1000 + 800);
|
699
|
-
// Set waterFreeze to false
|
700
719
|
await this.waterFreeze?.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterFreeze.log);
|
701
|
-
// Toggle waterFreeze every minute
|
702
720
|
this.waterFreezeInterval = setInterval(async () => {
|
703
721
|
let value = this.waterFreeze?.getAttribute(BooleanStateCluster.id, 'stateValue', this.waterFreeze.log);
|
704
722
|
if (isValidBoolean(value)) {
|
@@ -707,9 +725,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
707
725
|
this.waterFreeze?.log.info(`Set waterFreeze stateValue to ${value}`);
|
708
726
|
}
|
709
727
|
}, 60 * 1000 + 900);
|
710
|
-
// Set rain to false
|
711
728
|
await this.rain?.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.rain.log);
|
712
|
-
// Toggle rain every minute
|
713
729
|
this.rainInterval = setInterval(async () => {
|
714
730
|
let value = this.rain?.getAttribute(BooleanStateCluster.id, 'stateValue', this.rain.log);
|
715
731
|
if (isValidBoolean(value)) {
|
@@ -718,10 +734,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
718
734
|
this.rain?.log.info(`Set rain stateValue to ${value}`);
|
719
735
|
}
|
720
736
|
}, 60 * 1000 + 1000);
|
721
|
-
// Set smoke to Normal
|
722
737
|
await this.smoke?.setAttribute(SmokeCoAlarmCluster.id, 'smokeState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
|
723
738
|
await this.smoke?.setAttribute(SmokeCoAlarmCluster.id, 'coState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
|
724
|
-
// Toggle smoke every minute
|
725
739
|
this.smokeInterval = setInterval(async () => {
|
726
740
|
let value = this.smoke?.getAttribute(SmokeCoAlarmCluster.id, 'smokeState', this.smoke.log);
|
727
741
|
if (isValidNumber(value, SmokeCoAlarm.AlarmState.Normal, SmokeCoAlarm.AlarmState.Critical)) {
|
@@ -731,9 +745,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
731
745
|
this.smoke?.log.info(`Set smoke smokeState and coState to ${value}`);
|
732
746
|
}
|
733
747
|
}, 60 * 1000 + 1100);
|
734
|
-
// Set air quality to Normal
|
735
748
|
this.airQuality?.setAttribute(AirQualityCluster.id, 'airQuality', AirQuality.AirQualityEnum.Good, this.airQuality.log);
|
736
|
-
// Toggle air quality every minute
|
737
749
|
this.airQualityInterval = setInterval(async () => {
|
738
750
|
let value = this.airQuality?.getAttribute(AirQualityCluster.id, 'airQuality', this.airQuality?.log);
|
739
751
|
if (isValidNumber(value, AirQuality.AirQualityEnum.Good, AirQuality.AirQualityEnum.ExtremelyPoor)) {
|
@@ -757,8 +769,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
757
769
|
clearInterval(this.rainInterval);
|
758
770
|
clearInterval(this.smokeInterval);
|
759
771
|
clearInterval(this.airQualityInterval);
|
772
|
+
clearInterval(this.airConditionerInterval);
|
760
773
|
if (this.config.unregisterOnShutdown === true)
|
761
774
|
await this.unregisterAllDevices();
|
762
775
|
}
|
763
776
|
}
|
764
|
-
//# sourceMappingURL=platform.js.map
|
package/npm-shrinkwrap.json
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "matterbridge-example-dynamic-platform",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.1-dev.2",
|
4
4
|
"lockfileVersion": 3,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "matterbridge-example-dynamic-platform",
|
9
|
-
"version": "1.1.
|
9
|
+
"version": "1.1.1-dev.2",
|
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.
|
3
|
+
"version": "1.1.1-dev.2",
|
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",
|
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
|
package/dist/index.d.ts.map
DELETED
@@ -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"}
|
package/dist/platform.d.ts
DELETED
@@ -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
|
package/dist/platform.d.ts.map
DELETED
@@ -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,GAAG,SAAS,CAAC;IACvC,UAAU,EAAE,kBAAkB,GAAG,SAAS,CAAC;IAC3C,MAAM,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACvC,KAAK,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACtC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAAC;IACxC,OAAO,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,GAAE,eAAoB,EAAE,KAAK,UAAQ,GAAG,OAAO,CAAC,kBAAkB,CAAC;gBAW7J,YAAY,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc;IAahE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM;IAkuBvB,WAAW;IAgSX,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM;CAgB1C"}
|
package/dist/platform.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,iBAAiB,EAGjB,mBAAmB,EACnB,yBAAyB,EACzB,qCAAqC,EACrC,sCAAsC,EACtC,YAAY,EACZ,mBAAmB,EAEnB,WAAW,EACX,QAAQ,EACR,eAAe,EAEf,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,oCAAoC,EACpC,mBAAmB,EACnB,uCAAuC,EACvC,YAAY,EACZ,6BAA6B,EAE7B,4BAA4B,EAC5B,2BAA2B,EAC3B,4BAA4B,EAC5B,6BAA6B,EAC7B,2BAA2B,EAC3B,kCAAkC,EAClC,YAAY,EACZ,mBAAmB,EACnB,sBAAsB,EACtB,6BAA6B,EAC7B,UAAU,EACV,iBAAiB,EACjB,qDAAqD,EAErD,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,WAAW,EACX,UAAU,EACV,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAgB,6BAA6B,CAAC,kBAAkB,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAC;AAC3H,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnE,MAAM,OAAO,kCAAmC,SAAQ,2BAA2B;IACjF,MAAM,CAAiC;IACvC,UAAU,CAAiC;IAC3C,MAAM,CAAiC;IACvC,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