matterbridge-example-dynamic-platform 1.1.1 → 1.1.3
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 +18 -2
- package/README.md +9 -3
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/platform.d.ts +49 -0
- package/dist/platform.d.ts.map +1 -0
- package/dist/platform.js +352 -85
- package/dist/platform.js.map +1 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/tsconfig.production.json +0 -13
package/CHANGELOG.md
CHANGED
@@ -4,9 +4,25 @@ 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.
|
7
|
+
## [1.1.3] - 2024-12-16
|
8
|
+
|
9
|
+
- [package]: Added thermostat Heat only with two external temperature sensors (tagged like Indoor and Outdoor).
|
10
|
+
- [package]: Added thermostat Cool only.
|
11
|
+
- [package]: Added an airPurifier device with temperature and humidity sensor (supported by Apple Home).
|
12
|
+
- [package]: Added a pumpDevice device.
|
13
|
+
- [package]: Added a waterValve device.
|
14
|
+
- [package]: Require matterbridge 1.6.7.
|
15
|
+
- [package]: Updated dependencies.
|
16
|
+
|
17
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
18
|
+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
|
19
|
+
</a>
|
20
|
+
|
21
|
+
## [1.1.2] - 2024-12-12
|
8
22
|
|
9
|
-
- [package]:
|
23
|
+
- [package]: Added the Matter 1.3 airConditioner device (not supported by Apple Home).
|
24
|
+
- [package]: Require matterbridge 1.6.6.
|
25
|
+
- [package]: Added Jest test with 100% coverage.
|
10
26
|
- [package]: Updated package.
|
11
27
|
- [package]: Updated dependencies.
|
12
28
|
|
package/README.md
CHANGED
@@ -22,19 +22,25 @@ It exposes:
|
|
22
22
|
- a light with onOff
|
23
23
|
- a light with onOff and levelControl (dimmer)
|
24
24
|
- a light with onOff, levelControl and colorControl (with XY, HS and CT) clusters
|
25
|
-
- a light with onOff, levelControl and colorControl (with HS
|
26
|
-
- a light with onOff, levelControl and colorControl (with XY
|
25
|
+
- a light with onOff, levelControl and colorControl (with HS and CT) clusters
|
26
|
+
- a light with onOff, levelControl and colorControl (with XY and CT) clusters
|
27
27
|
- a light with onOff, levelControl and colorControl (with CT only) clusters
|
28
28
|
- an outlet (plug) with onOff cluster
|
29
29
|
- a cover with windowCovering cluster
|
30
30
|
- a lock with doorLock cluster
|
31
|
-
- a thermo with thermostat cluster and 3 sub endpoints with flowMeasurement cluster, temperatureMeasurement cluster
|
31
|
+
- a thermo autoMode (i.e. with Auto Heat and Cool features) with thermostat cluster and 3 sub endpoints with flowMeasurement cluster, temperatureMeasurement cluster
|
32
32
|
and relativeHumidityMeasurement cluster (to show how to create a composed device with sub endpoints)
|
33
|
+
- a thermo heat only with two external temperature sensors (tagged like Indoor and Outdoor)
|
34
|
+
- a thermo cool only
|
33
35
|
- a fan with FanControl cluster
|
34
36
|
- a rainSensor device
|
35
37
|
- a waterFreezeDetector device
|
36
38
|
- a waterLeakDetector device
|
37
39
|
- a smokeCoAlarm device
|
40
|
+
- an airConditioner device
|
41
|
+
- an airPurifier device with temperature and humidity sensor (supported by Apple Home)
|
42
|
+
- a pumpDevice device
|
43
|
+
- a waterValve device
|
38
44
|
|
39
45
|
All these devices continuously change state and position. The plugin also shows how to use all the command handlers (you can control all the devices) and how to subscribe to attributes.
|
40
46
|
|
package/dist/index.d.ts
ADDED
@@ -0,0 +1,14 @@
|
|
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
|
@@ -0,0 +1 @@
|
|
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
CHANGED
@@ -1,4 +1,14 @@
|
|
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
|
+
*/
|
2
11
|
export default function initializePlugin(matterbridge, log, config) {
|
3
12
|
return new ExampleMatterbridgeDynamicPlatform(matterbridge, log, config);
|
4
13
|
}
|
14
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
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"}
|
@@ -0,0 +1,49 @@
|
|
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
|
+
thermoAuto: MatterbridgeDevice | undefined;
|
16
|
+
thermoHeat: MatterbridgeDevice | undefined;
|
17
|
+
thermoCool: MatterbridgeDevice | undefined;
|
18
|
+
fan: MatterbridgeDevice | undefined;
|
19
|
+
waterLeak: MatterbridgeDevice | undefined;
|
20
|
+
waterFreeze: MatterbridgeDevice | undefined;
|
21
|
+
rain: MatterbridgeDevice | undefined;
|
22
|
+
smoke: MatterbridgeDevice | undefined;
|
23
|
+
airQuality: MatterbridgeDevice | undefined;
|
24
|
+
airConditioner: MatterbridgeDevice | undefined;
|
25
|
+
airPurifier: MatterbridgeDevice | undefined;
|
26
|
+
pump: MatterbridgeDevice | undefined;
|
27
|
+
valve: MatterbridgeDevice | undefined;
|
28
|
+
switchInterval: NodeJS.Timeout | undefined;
|
29
|
+
lightInterval: NodeJS.Timeout | undefined;
|
30
|
+
outletInterval: NodeJS.Timeout | undefined;
|
31
|
+
coverInterval: NodeJS.Timeout | undefined;
|
32
|
+
lockInterval: NodeJS.Timeout | undefined;
|
33
|
+
thermoInterval: NodeJS.Timeout | undefined;
|
34
|
+
fanInterval: NodeJS.Timeout | undefined;
|
35
|
+
waterLeakInterval: NodeJS.Timeout | undefined;
|
36
|
+
waterFreezeInterval: NodeJS.Timeout | undefined;
|
37
|
+
rainInterval: NodeJS.Timeout | undefined;
|
38
|
+
smokeInterval: NodeJS.Timeout | undefined;
|
39
|
+
airQualityInterval: NodeJS.Timeout | undefined;
|
40
|
+
airConditionerInterval: NodeJS.Timeout | undefined;
|
41
|
+
bridgedDevices: Map<string, MatterbridgeDevice>;
|
42
|
+
fanModeLookup: string[];
|
43
|
+
createMutableDevice(definition: DeviceTypeDefinition | AtLeastOne<DeviceTypeDefinition>, options?: EndpointOptions, debug?: boolean): Promise<MatterbridgeDevice>;
|
44
|
+
constructor(matterbridge: Matterbridge, log: AnsiLogger, config: PlatformConfig);
|
45
|
+
onStart(reason?: string): Promise<void>;
|
46
|
+
onConfigure(): Promise<void>;
|
47
|
+
onShutdown(reason?: string): Promise<void>;
|
48
|
+
}
|
49
|
+
//# sourceMappingURL=platform.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"platform.d.ts","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAQV,oBAAoB,EAGpB,eAAe,EAWf,cAAc,EAyCf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,YAA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GAAG,SAAS,CAAC;IAC3C,aAAa,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAC1C,cAAc,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAC3C,aAAa,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IACzC,cAAc,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAC3C,WAAW,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IACxC,iBAAiB,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAC9C,mBAAmB,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAChD,YAAY,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IACzC,aAAa,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAC1C,kBAAkB,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAC/C,sBAAsB,EAAE,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC;IAEnD,cAAc,kCAAyC;IAEvD,aAAa,WAA2D;IAElE,mBAAmB,CAAC,UAAU,EAAE,oBAAoB,GAAG,UAAU,CAAC,oBAAoB,CAAC,EAAE,OAAO,GAAE,eAAoB,EAAE,KAAK,UAAQ,GAAG,OAAO,CAAC,kBAAkB,CAAC;gBAO7J,YAAY,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,EAAE,cAAc;IAahE,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM;IAiiCvB,WAAW;IA4TX,UAAU,CAAC,MAAM,CAAC,EAAE,MAAM;CAiB1C"}
|
package/dist/platform.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { AirQuality, AirQualityCluster, BooleanStateCluster, BooleanStateConfiguration, CarbonDioxideConcentrationMeasurement, CarbonMonoxideConcentrationMeasurement, ColorControl, ColorControlCluster,
|
2
|
-
import { MatterbridgeDevice, MatterbridgeDynamicPlatform } from 'matterbridge';
|
1
|
+
import { AirQuality, AirQualityCluster, BooleanStateCluster, BooleanStateConfiguration, CarbonDioxideConcentrationMeasurement, CarbonMonoxideConcentrationMeasurement, ColorControl, ColorControlCluster, 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, colorTemperatureLight, coverDevice, dimmableLight, doorLockDevice, fanDevice, flowSensor, humiditySensor, onOffLight, onOffOutlet, onOffSwitch, powerSource, rainSensor, smokeCoAlarm, temperatureSensor, thermostatDevice, waterFreezeDetector, waterLeakDetector, LocationTag, airPurifier, pumpDevice, waterValve, } from 'matterbridge';
|
2
|
+
import { /* MatterbridgeEndpoint as */ MatterbridgeDevice, MatterbridgeDynamicPlatform } from 'matterbridge';
|
3
3
|
import { isValidBoolean, isValidNumber } from 'matterbridge/utils';
|
4
4
|
export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatform {
|
5
5
|
switch;
|
@@ -12,13 +12,19 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
12
12
|
outlet;
|
13
13
|
cover;
|
14
14
|
lock;
|
15
|
-
|
15
|
+
thermoAuto;
|
16
|
+
thermoHeat;
|
17
|
+
thermoCool;
|
16
18
|
fan;
|
17
19
|
waterLeak;
|
18
20
|
waterFreeze;
|
19
21
|
rain;
|
20
22
|
smoke;
|
21
23
|
airQuality;
|
24
|
+
airConditioner;
|
25
|
+
airPurifier;
|
26
|
+
pump;
|
27
|
+
valve;
|
22
28
|
switchInterval;
|
23
29
|
lightInterval;
|
24
30
|
outletInterval;
|
@@ -31,7 +37,9 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
31
37
|
rainInterval;
|
32
38
|
smokeInterval;
|
33
39
|
airQualityInterval;
|
40
|
+
airConditionerInterval;
|
34
41
|
bridgedDevices = new Map();
|
42
|
+
fanModeLookup = ['Off', 'Low', 'Medium', 'High', 'On', 'Auto', 'Smart'];
|
35
43
|
async createMutableDevice(definition, options = {}, debug = false) {
|
36
44
|
let device;
|
37
45
|
if (this.matterbridge.edge === true)
|
@@ -42,13 +50,15 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
42
50
|
}
|
43
51
|
constructor(matterbridge, log, config) {
|
44
52
|
super(matterbridge, log, config);
|
45
|
-
|
46
|
-
|
53
|
+
// Verify that Matterbridge is the correct version
|
54
|
+
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('1.6.7')) {
|
55
|
+
throw new Error(`This plugin requires Matterbridge version >= "1.6.7". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
|
47
56
|
}
|
48
57
|
this.log.info('Initializing platform:', this.config.name);
|
49
58
|
}
|
50
59
|
async onStart(reason) {
|
51
60
|
this.log.info('onStart called with reason:', reason ?? 'none');
|
61
|
+
// Create a switch device
|
52
62
|
this.switch = await this.createMutableDevice([onOffSwitch, bridgedNode], { uniqueStorageKey: 'Switch' }, this.config.debug);
|
53
63
|
this.switch.log.logName = 'Switch';
|
54
64
|
this.switch.createDefaultIdentifyClusterServer();
|
@@ -71,7 +81,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
71
81
|
await this.switch?.setAttribute(OnOffCluster.id, 'onOff', false, this.switch.log, this.switch);
|
72
82
|
this.switch?.log.info('Command off called');
|
73
83
|
});
|
74
|
-
|
84
|
+
// Create a on off light device
|
85
|
+
this.lightOnOff = await this.createMutableDevice([onOffLight, bridgedNode], { uniqueStorageKey: 'Light (on/off)' }, this.config.debug);
|
75
86
|
this.lightOnOff.log.logName = 'Light (on/off)';
|
76
87
|
this.lightOnOff.createDefaultIdentifyClusterServer();
|
77
88
|
this.lightOnOff.createDefaultGroupsClusterServer();
|
@@ -93,7 +104,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
93
104
|
await this.light?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightOnOff?.log, this.lightOnOff);
|
94
105
|
this.lightOnOff?.log.info('Command off called');
|
95
106
|
});
|
96
|
-
|
107
|
+
// Create a dimmer device
|
108
|
+
this.dimmer = await this.createMutableDevice([dimmableLight, bridgedNode], { uniqueStorageKey: 'Dimmer' }, this.config.debug);
|
97
109
|
this.dimmer.log.logName = 'Dimmer';
|
98
110
|
this.dimmer.createDefaultIdentifyClusterServer();
|
99
111
|
this.dimmer.createDefaultGroupsClusterServer();
|
@@ -124,7 +136,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
124
136
|
await this.dimmer?.setAttribute(LevelControlCluster.id, 'currentLevel', level, this.dimmer.log, this.dimmer);
|
125
137
|
this.dimmer?.log.debug(`Command moveToLevelWithOnOff called request: ${level}`);
|
126
138
|
});
|
127
|
-
|
139
|
+
// Create a light device
|
140
|
+
this.light = await this.createMutableDevice([colorTemperatureLight, bridgedNode], { uniqueStorageKey: 'Light (XY, HS and CT)' }, this.config.debug);
|
128
141
|
this.light.log.logName = 'Light (XY, HS and CT)';
|
129
142
|
this.light.createDefaultIdentifyClusterServer();
|
130
143
|
this.light.createDefaultGroupsClusterServer();
|
@@ -178,15 +191,17 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
178
191
|
await this.light?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.light?.log, this.light);
|
179
192
|
this.light?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds} attributes: ${attributes.colorTemperatureMireds?.getLocal()}`);
|
180
193
|
});
|
181
|
-
|
182
|
-
this.lightHS
|
194
|
+
// Create a light device with HS color control
|
195
|
+
this.lightHS = await this.createMutableDevice([colorTemperatureLight, bridgedNode], { uniqueStorageKey: 'Light (HS)' }, this.config.debug);
|
196
|
+
this.lightHS.log.logName = 'Light (HS, CT)';
|
183
197
|
this.lightHS.createDefaultIdentifyClusterServer();
|
184
198
|
this.lightHS.createDefaultGroupsClusterServer();
|
185
199
|
this.lightHS.createDefaultScenesClusterServer();
|
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);
|
200
|
+
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);
|
187
201
|
this.lightHS.createDefaultOnOffClusterServer();
|
188
202
|
this.lightHS.createDefaultLevelControlClusterServer();
|
189
203
|
this.lightHS.createHsColorControlClusterServer();
|
204
|
+
// await this.lightHS.configureColorControlCluster(true, false, false, ColorControl.ColorMode.CurrentHueAndCurrentSaturation);
|
190
205
|
this.lightHS.addDeviceType(powerSource);
|
191
206
|
this.lightHS.createDefaultPowerSourceWiredClusterServer();
|
192
207
|
await this.registerDevice(this.lightHS);
|
@@ -223,12 +238,17 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
223
238
|
await this.lightHS?.setAttribute(ColorControlCluster.id, 'currentSaturation', saturation, this.lightHS?.log, this.lightHS);
|
224
239
|
this.lightHS?.log.debug(`Command moveToSaturation called request: saturation ${saturation} attributes: hue ${currentHue?.getLocal()} saturation ${currentSaturation?.getLocal()}`);
|
225
240
|
});
|
226
|
-
this.
|
227
|
-
|
241
|
+
this.lightHS.addCommandHandler('moveToColorTemperature', async ({ request, attributes }) => {
|
242
|
+
await this.light?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.light?.log, this.light);
|
243
|
+
this.light?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds} attributes: ${attributes.colorTemperatureMireds?.getLocal()}`);
|
244
|
+
});
|
245
|
+
// Create a light device with XY color control
|
246
|
+
this.lightXY = await this.createMutableDevice([colorTemperatureLight, bridgedNode], { uniqueStorageKey: 'Light (XY)' }, this.config.debug);
|
247
|
+
this.lightXY.log.logName = 'Light (XY, CT)';
|
228
248
|
this.lightXY.createDefaultIdentifyClusterServer();
|
229
249
|
this.lightXY.createDefaultGroupsClusterServer();
|
230
250
|
this.lightXY.createDefaultScenesClusterServer();
|
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);
|
251
|
+
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);
|
232
252
|
this.lightXY.createDefaultOnOffClusterServer();
|
233
253
|
this.lightXY.createDefaultLevelControlClusterServer();
|
234
254
|
this.lightXY.createXyColorControlClusterServer();
|
@@ -260,7 +280,12 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
260
280
|
await this.lightXY?.setAttribute(ColorControlCluster.id, 'currentY', colorY, this.light?.log, this.light);
|
261
281
|
this.lightXY?.log.debug(`Command moveToColor called request: X ${colorX / 65536} Y ${colorY / 65536}`);
|
262
282
|
});
|
263
|
-
this.
|
283
|
+
this.lightXY.addCommandHandler('moveToColorTemperature', async ({ request, attributes }) => {
|
284
|
+
await this.light?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.light?.log, this.light);
|
285
|
+
this.light?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds} attributes: ${attributes.colorTemperatureMireds?.getLocal()}`);
|
286
|
+
});
|
287
|
+
// Create a light device with CT color control
|
288
|
+
this.lightCT = await this.createMutableDevice([colorTemperatureLight, bridgedNode], { uniqueStorageKey: 'Light (CT)' }, this.config.debug);
|
264
289
|
this.lightCT.log.logName = 'Light (CT)';
|
265
290
|
this.lightCT.createDefaultIdentifyClusterServer();
|
266
291
|
this.lightCT.createDefaultGroupsClusterServer();
|
@@ -269,6 +294,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
269
294
|
this.lightCT.createDefaultOnOffClusterServer();
|
270
295
|
this.lightCT.createDefaultLevelControlClusterServer();
|
271
296
|
this.lightCT.createCtColorControlClusterServer();
|
297
|
+
// await this.lightCT.configureColorControlCluster(false, false, true, ColorControl.ColorMode.ColorTemperatureMireds);
|
272
298
|
this.lightCT.addDeviceType(powerSource);
|
273
299
|
this.lightCT.createDefaultPowerSourceReplaceableBatteryClusterServer(70);
|
274
300
|
await this.registerDevice(this.lightCT);
|
@@ -296,7 +322,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
296
322
|
await this.lightCT?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', request.colorTemperatureMireds, this.lightCT?.log, this.lightCT);
|
297
323
|
this.lightCT?.log.debug(`Command moveToColorTemperature called request: ${request.colorTemperatureMireds}`);
|
298
324
|
});
|
299
|
-
|
325
|
+
// Create an outlet device
|
326
|
+
this.outlet = await this.createMutableDevice([onOffOutlet, bridgedNode], { uniqueStorageKey: 'Outlet' }, this.config.debug);
|
300
327
|
this.outlet.log.logName = 'Outlet';
|
301
328
|
this.outlet.createDefaultIdentifyClusterServer();
|
302
329
|
this.outlet.createDefaultGroupsClusterServer();
|
@@ -318,7 +345,9 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
318
345
|
await this.outlet?.setAttribute(OnOffCluster.id, 'onOff', false, this.outlet?.log, this.outlet);
|
319
346
|
this.outlet?.log.info('Command off called');
|
320
347
|
});
|
321
|
-
|
348
|
+
// Create a window covering device
|
349
|
+
// Matter uses 10000 = fully closed 0 = fully opened
|
350
|
+
this.cover = await this.createMutableDevice([coverDevice, bridgedNode], { uniqueStorageKey: 'Cover' }, this.config.debug);
|
322
351
|
this.cover.log.logName = 'Cover';
|
323
352
|
this.cover.createDefaultIdentifyClusterServer();
|
324
353
|
this.cover.createDefaultGroupsClusterServer();
|
@@ -351,7 +380,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
351
380
|
await this.cover?.setWindowCoveringCurrentTargetStatus(liftPercent100thsValue, liftPercent100thsValue, WindowCovering.MovementStatus.Stopped);
|
352
381
|
this.cover?.log.info(`Command goToLiftPercentage ${liftPercent100thsValue} called`);
|
353
382
|
});
|
354
|
-
|
383
|
+
// Create a lock device
|
384
|
+
this.lock = await this.createMutableDevice([doorLockDevice, bridgedNode], { uniqueStorageKey: 'Lock' }, this.config.debug);
|
355
385
|
this.lock.log.logName = 'Lock';
|
356
386
|
this.lock.createDefaultIdentifyClusterServer();
|
357
387
|
this.lock.createDefaultBridgedDeviceBasicInformationClusterServer('Lock', '0x96352164', 0xfff1, 'Matterbridge', 'Matterbridge Lock', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
|
@@ -371,59 +401,237 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
371
401
|
await this.lock?.setAttribute(DoorLockCluster.id, 'lockState', DoorLock.LockState.Unlocked, this.lock?.log, this.lock);
|
372
402
|
this.lock?.log.info('Command unlockDoor called');
|
373
403
|
});
|
374
|
-
|
375
|
-
this.
|
376
|
-
this.
|
377
|
-
this.
|
378
|
-
this.
|
379
|
-
this.
|
380
|
-
this.
|
381
|
-
this.
|
382
|
-
this.
|
383
|
-
|
404
|
+
// Create a thermostat with AutoMode device
|
405
|
+
this.thermoAuto = await this.createMutableDevice([thermostatDevice, bridgedNode], { uniqueStorageKey: 'ThermostatAuto' }, this.config.debug);
|
406
|
+
this.thermoAuto.log.logName = 'Thermostat (AutoMode)';
|
407
|
+
this.thermoAuto.createDefaultIdentifyClusterServer();
|
408
|
+
this.thermoAuto.createDefaultGroupsClusterServer();
|
409
|
+
this.thermoAuto.createDefaultScenesClusterServer();
|
410
|
+
this.thermoAuto.createDefaultBridgedDeviceBasicInformationClusterServer('Thermostat (AutoMode)', '0x96382164A', 0xfff1, 'Matterbridge', 'Matterbridge Thermostat', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
|
411
|
+
this.thermoAuto.createDefaultThermostatClusterServer(20, 18, 22);
|
412
|
+
this.thermoAuto.addDeviceType(powerSource);
|
413
|
+
this.thermoAuto.createDefaultPowerSourceRechargeableBatteryClusterServer(70);
|
414
|
+
const flowChild = this.thermoAuto.addChildDeviceTypeWithClusterServer('Flow', [flowSensor], [FlowMeasurement.Cluster.id]);
|
384
415
|
flowChild.getClusterServer(FlowMeasurement.Cluster)?.setMeasuredValueAttribute(1 * 10);
|
385
|
-
const tempChild = this.
|
416
|
+
const tempChild = this.thermoAuto.addChildDeviceTypeWithClusterServer('Temperature', [temperatureSensor], [TemperatureMeasurement.Cluster.id]);
|
386
417
|
tempChild.getClusterServer(TemperatureMeasurement.Cluster)?.setMeasuredValueAttribute(41 * 100);
|
387
|
-
const humidityChild = this.
|
418
|
+
const humidityChild = this.thermoAuto.addChildDeviceTypeWithClusterServer('Humidity', [humiditySensor], [RelativeHumidityMeasurement.Cluster.id]);
|
388
419
|
humidityChild.getClusterServer(RelativeHumidityMeasurement.Cluster)?.setMeasuredValueAttribute(80 * 100);
|
389
|
-
await this.registerDevice(this.
|
390
|
-
this.bridgedDevices.set(this.
|
391
|
-
this.
|
392
|
-
this.
|
420
|
+
await this.registerDevice(this.thermoAuto);
|
421
|
+
this.bridgedDevices.set(this.thermoAuto.deviceName ?? '', this.thermoAuto);
|
422
|
+
this.thermoAuto.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
423
|
+
this.thermoAuto?.log.info(`Command identify called identifyTime ${identifyTime}`);
|
393
424
|
});
|
394
|
-
this.
|
425
|
+
this.thermoAuto.addCommandHandler('triggerEffect', async ({ request: { effectIdentifier, effectVariant } }) => {
|
426
|
+
this.thermoAuto?.log.info(`Command identify called effectIdentifier ${effectIdentifier} effectVariant ${effectVariant}`);
|
427
|
+
});
|
428
|
+
this.thermoAuto.addCommandHandler('setpointRaiseLower', async ({ request: { mode, amount } }) => {
|
395
429
|
const lookupSetpointAdjustMode = ['Heat', 'Cool', 'Both'];
|
396
|
-
this.
|
430
|
+
this.thermoAuto?.log.info(`Command setpointRaiseLower called with mode: ${lookupSetpointAdjustMode[mode]} amount: ${amount / 10}`);
|
397
431
|
if (mode === Thermostat.SetpointRaiseLowerMode.Heat || mode === Thermostat.SetpointRaiseLowerMode.Both) {
|
398
|
-
const setpoint = this.
|
399
|
-
await this.
|
400
|
-
this.
|
432
|
+
const setpoint = this.thermoAuto?.getAttribute(ThermostatCluster.id, 'occupiedHeatingSetpoint', this.thermoAuto?.log) / 100 + amount / 10;
|
433
|
+
await this.thermoAuto?.setAttribute(ThermostatCluster.id, 'occupiedHeatingSetpoint', setpoint * 100, this.thermoAuto?.log);
|
434
|
+
this.thermoAuto?.log.info('Set occupiedHeatingSetpoint:', setpoint);
|
401
435
|
}
|
402
436
|
if (mode === Thermostat.SetpointRaiseLowerMode.Cool || mode === Thermostat.SetpointRaiseLowerMode.Both) {
|
403
|
-
const setpoint = this.
|
404
|
-
await this.
|
405
|
-
this.
|
437
|
+
const setpoint = this.thermoAuto?.getAttribute(ThermostatCluster.id, 'occupiedCoolingSetpoint', this.thermoAuto?.log) / 100 + amount / 10;
|
438
|
+
await this.thermoAuto?.setAttribute(ThermostatCluster.id, 'occupiedCoolingSetpoint', setpoint * 100, this.thermoAuto?.log);
|
439
|
+
this.thermoAuto?.log.info('Set occupiedCoolingSetpoint:', setpoint);
|
406
440
|
}
|
407
441
|
});
|
408
|
-
this.
|
442
|
+
this.thermoAuto.subscribeAttribute(ThermostatCluster.id, 'systemMode', async (value) => {
|
443
|
+
const lookupSystemMode = ['Off', 'Auto', '', 'Cool', 'Heat', 'EmergencyHeat', 'Precooling', 'FanOnly', 'Dry', 'Sleep'];
|
444
|
+
this.thermoAuto?.log.info('Subscribe systemMode called with:', lookupSystemMode[value]);
|
445
|
+
}, this.thermoAuto.log, this.thermoAuto);
|
446
|
+
this.thermoAuto.subscribeAttribute(ThermostatCluster.id, 'occupiedHeatingSetpoint', async (value) => {
|
447
|
+
this.thermoAuto?.log.info('Subscribe occupiedHeatingSetpoint called with:', value / 100);
|
448
|
+
}, this.thermoAuto.log, this.thermoAuto);
|
449
|
+
this.thermoAuto.subscribeAttribute(ThermostatCluster.id, 'occupiedCoolingSetpoint', async (value) => {
|
450
|
+
this.thermoAuto?.log.info('Subscribe occupiedCoolingSetpoint called with:', value / 100);
|
451
|
+
}, this.thermoAuto.log, this.thermoAuto);
|
452
|
+
// Create a thermostat with Heat device
|
453
|
+
this.thermoHeat = await this.createMutableDevice([thermostatDevice, bridgedNode], { uniqueStorageKey: 'ThermostatHeat' }, this.config.debug);
|
454
|
+
this.thermoHeat.log.logName = 'Thermostat (Heat)';
|
455
|
+
this.thermoHeat.createDefaultIdentifyClusterServer();
|
456
|
+
this.thermoHeat.createDefaultGroupsClusterServer();
|
457
|
+
this.thermoHeat.createDefaultScenesClusterServer();
|
458
|
+
this.thermoHeat.createDefaultBridgedDeviceBasicInformationClusterServer('Thermostat (Heat)', '0x96382164H', 0xfff1, 'Matterbridge', 'Matterbridge Thermostat', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
|
459
|
+
this.thermoHeat.createDefaultHeatingThermostatClusterServer(20, 18, 5, 35);
|
460
|
+
this.thermoHeat.addDeviceType(powerSource);
|
461
|
+
this.thermoHeat.createDefaultPowerSourceRechargeableBatteryClusterServer(70);
|
462
|
+
const heatTempIN = this.thermoHeat.addChildDeviceType('TemperatureIN', [temperatureSensor], {
|
463
|
+
tagList: [{ mfgCode: null, namespaceId: LocationTag.Indoor.namespaceId, tag: LocationTag.Indoor.tag, label: null }],
|
464
|
+
});
|
465
|
+
heatTempIN.createDefaultIdentifyClusterServer();
|
466
|
+
heatTempIN.createDefaultTemperatureMeasurementClusterServer(21 * 100);
|
467
|
+
const heatTempOUT = this.thermoHeat.addChildDeviceType('TemperatureOUT', [temperatureSensor], {
|
468
|
+
tagList: [{ mfgCode: null, namespaceId: LocationTag.Outdoor.namespaceId, tag: LocationTag.Outdoor.tag, label: null }],
|
469
|
+
});
|
470
|
+
heatTempOUT.createDefaultIdentifyClusterServer();
|
471
|
+
heatTempOUT.createDefaultTemperatureMeasurementClusterServer(15 * 100);
|
472
|
+
await this.registerDevice(this.thermoHeat);
|
473
|
+
this.bridgedDevices.set(this.thermoHeat.deviceName ?? '', this.thermoHeat);
|
474
|
+
this.thermoHeat.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
475
|
+
this.thermoHeat?.log.info(`Command identify called identifyTime ${identifyTime}`);
|
476
|
+
});
|
477
|
+
this.thermoHeat.addCommandHandler('triggerEffect', async ({ request: { effectIdentifier, effectVariant } }) => {
|
478
|
+
this.thermoHeat?.log.info(`Command identify called effectIdentifier ${effectIdentifier} effectVariant ${effectVariant}`);
|
479
|
+
});
|
480
|
+
this.thermoHeat.subscribeAttribute(ThermostatCluster.id, 'systemMode', async (value) => {
|
409
481
|
const lookupSystemMode = ['Off', 'Auto', '', 'Cool', 'Heat', 'EmergencyHeat', 'Precooling', 'FanOnly', 'Dry', 'Sleep'];
|
410
|
-
this.
|
411
|
-
}, this.
|
412
|
-
this.
|
413
|
-
this.
|
414
|
-
}, this.
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
this.
|
482
|
+
this.thermoHeat?.log.info('Subscribe systemMode called with:', lookupSystemMode[value]);
|
483
|
+
}, this.thermoHeat.log);
|
484
|
+
this.thermoHeat.subscribeAttribute(ThermostatCluster.id, 'occupiedHeatingSetpoint', async (value) => {
|
485
|
+
this.thermoHeat?.log.info('Subscribe occupiedHeatingSetpoint called with:', value / 100);
|
486
|
+
}, this.thermoHeat.log);
|
487
|
+
// Create a thermostat with Cool device
|
488
|
+
this.thermoCool = await this.createMutableDevice([thermostatDevice, bridgedNode], { uniqueStorageKey: 'ThermostatCool' }, this.config.debug);
|
489
|
+
this.thermoCool.log.logName = 'Thermostat (Cool)';
|
490
|
+
this.thermoCool.createDefaultIdentifyClusterServer();
|
491
|
+
this.thermoCool.createDefaultGroupsClusterServer();
|
492
|
+
this.thermoCool.createDefaultScenesClusterServer();
|
493
|
+
this.thermoCool.createDefaultBridgedDeviceBasicInformationClusterServer('Thermostat (Cool)', '0x96382164C', 0xfff1, 'Matterbridge', 'Matterbridge Thermostat', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
|
494
|
+
this.thermoCool.createDefaultCoolingThermostatClusterServer(20, 18, 22);
|
495
|
+
this.thermoCool.addDeviceType(powerSource);
|
496
|
+
this.thermoCool.createDefaultPowerSourceRechargeableBatteryClusterServer(70);
|
497
|
+
await this.registerDevice(this.thermoCool);
|
498
|
+
this.bridgedDevices.set(this.thermoCool.deviceName ?? '', this.thermoCool);
|
499
|
+
this.thermoCool.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
500
|
+
this.thermoCool?.log.info(`Command identify called identifyTime ${identifyTime}`);
|
501
|
+
});
|
502
|
+
this.thermoCool.addCommandHandler('triggerEffect', async ({ request: { effectIdentifier, effectVariant } }) => {
|
503
|
+
this.thermoCool?.log.info(`Command identify called effectIdentifier ${effectIdentifier} effectVariant ${effectVariant}`);
|
504
|
+
});
|
505
|
+
this.thermoCool.subscribeAttribute(ThermostatCluster.id, 'systemMode', async (value) => {
|
506
|
+
const lookupSystemMode = ['Off', 'Auto', '', 'Cool', 'Heat', 'EmergencyHeat', 'Precooling', 'FanOnly', 'Dry', 'Sleep'];
|
507
|
+
this.thermoCool?.log.info('Subscribe systemMode called with:', lookupSystemMode[value]);
|
508
|
+
}, this.thermoCool.log);
|
509
|
+
this.thermoCool.subscribeAttribute(ThermostatCluster.id, 'occupiedCoolingSetpoint', async (value) => {
|
510
|
+
this.thermoCool?.log.info('Subscribe occupiedCoolingSetpoint called with:', value / 100);
|
511
|
+
}, this.thermoCool.log);
|
512
|
+
// Create a airPurifier device
|
513
|
+
this.airPurifier = await this.createMutableDevice([airPurifier, temperatureSensor, humiditySensor, bridgedNode], { uniqueStorageKey: 'Air purifier' }, this.config.debug);
|
514
|
+
this.airPurifier.log.logName = 'Air purifier';
|
515
|
+
this.airPurifier.createDefaultBridgedDeviceBasicInformationClusterServer('Air purifier', '0x96584864AP', 0xfff1, 'Matterbridge', 'Matterbridge Air purifier', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
|
516
|
+
this.airPurifier.createDefaultIdentifyClusterServer();
|
517
|
+
this.airPurifier.createDefaultFanControlClusterServer();
|
518
|
+
this.airPurifier.createDefaultTemperatureMeasurementClusterServer(20 * 100);
|
519
|
+
this.airPurifier.createDefaultRelativeHumidityMeasurementClusterServer(50 * 100);
|
520
|
+
this.airPurifier.addDeviceType(powerSource);
|
521
|
+
this.airPurifier.createDefaultPowerSourceWiredClusterServer();
|
522
|
+
await this.registerDevice(this.airPurifier);
|
523
|
+
this.bridgedDevices.set(this.airPurifier.deviceName ?? '', this.airPurifier);
|
524
|
+
this.airPurifier.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
525
|
+
this.airPurifier?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
526
|
+
});
|
527
|
+
// Apple sends Off and High
|
528
|
+
this.airPurifier.subscribeAttribute(FanControlCluster.id, 'fanMode', async (newValue, oldValue) => {
|
529
|
+
this.fan?.log.info(`Fan mode changed from ${this.fanModeLookup[oldValue]} to ${this.fanModeLookup[newValue]}`);
|
530
|
+
if (newValue === FanControl.FanMode.Off) {
|
531
|
+
await this.airPurifier?.setAttribute(FanControlCluster.id, 'percentCurrent', 0, this.airPurifier?.log);
|
532
|
+
}
|
533
|
+
else if (newValue === FanControl.FanMode.Low) {
|
534
|
+
await this.airPurifier?.setAttribute(FanControlCluster.id, 'percentCurrent', 33, this.airPurifier?.log);
|
535
|
+
}
|
536
|
+
else if (newValue === FanControl.FanMode.Medium) {
|
537
|
+
await this.airPurifier?.setAttribute(FanControlCluster.id, 'percentCurrent', 66, this.airPurifier?.log);
|
538
|
+
}
|
539
|
+
else if (newValue === FanControl.FanMode.High) {
|
540
|
+
await this.airPurifier?.setAttribute(FanControlCluster.id, 'percentCurrent', 100, this.airPurifier?.log);
|
541
|
+
}
|
542
|
+
else if (newValue === FanControl.FanMode.On) {
|
543
|
+
await this.airPurifier?.setAttribute(FanControlCluster.id, 'percentCurrent', 100, this.airPurifier?.log);
|
544
|
+
}
|
545
|
+
else if (newValue === FanControl.FanMode.Auto) {
|
546
|
+
await this.airPurifier?.setAttribute(FanControlCluster.id, 'percentCurrent', 50, this.airPurifier?.log);
|
547
|
+
}
|
548
|
+
}, this.airPurifier.log);
|
549
|
+
this.airPurifier.subscribeAttribute(FanControlCluster.id, 'percentSetting', async (newValue, oldValue) => {
|
550
|
+
this.fan?.log.info(`Percent setting changed from ${oldValue} to ${newValue}`);
|
551
|
+
if (isValidNumber(newValue, 0, 100))
|
552
|
+
await this.airPurifier?.setAttribute(FanControlCluster.id, 'percentCurrent', newValue, this.airPurifier?.log);
|
553
|
+
}, this.airPurifier.log);
|
554
|
+
// Create a airConditioner device
|
555
|
+
this.airConditioner = await this.createMutableDevice([airConditioner, /* fanDevice, temperatureSensor, humiditySensor,*/ bridgedNode], { uniqueStorageKey: 'Air conditioner' }, this.config.debug);
|
556
|
+
this.airConditioner.log.logName = 'Air conditioner';
|
557
|
+
this.airConditioner.createDefaultBridgedDeviceBasicInformationClusterServer('Air conditioner', '0x96382864AC', 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);
|
558
|
+
this.airConditioner.createDefaultIdentifyClusterServer();
|
559
|
+
this.airConditioner.createDeadFrontOnOffClusterServer(true);
|
560
|
+
this.airConditioner.createDefaultThermostatClusterServer(20, 18, 22);
|
561
|
+
this.airConditioner.createDefaultFanControlClusterServer(FanControl.FanMode.Auto);
|
562
|
+
this.airConditioner.createDefaultTemperatureMeasurementClusterServer(20 * 100);
|
563
|
+
this.airConditioner.createDefaultRelativeHumidityMeasurementClusterServer(50 * 100);
|
564
|
+
this.airConditioner.addDeviceType(powerSource);
|
565
|
+
this.airConditioner.createDefaultPowerSourceWiredClusterServer();
|
566
|
+
this.airConditioner.addRequiredClusterServers(this.airConditioner);
|
567
|
+
await this.registerDevice(this.airConditioner);
|
568
|
+
this.bridgedDevices.set(this.airConditioner.deviceName ?? '', this.airConditioner);
|
569
|
+
this.airConditioner.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
570
|
+
this.airConditioner?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
571
|
+
});
|
572
|
+
this.airConditioner.addCommandHandler('on', async () => {
|
573
|
+
await this.airConditioner?.setAttribute(OnOffCluster.id, 'onOff', true, this.airConditioner?.log);
|
574
|
+
this.airConditioner?.log.info('Command on called');
|
575
|
+
await this.airConditioner?.setAttribute(OnOffCluster.id, 'onOff', true, this.airConditioner?.log);
|
576
|
+
await this.airConditioner?.setAttribute(ThermostatCluster.id, 'localTemperature', 20 * 100, this.airConditioner?.log);
|
577
|
+
await this.airConditioner?.setAttribute(TemperatureMeasurementCluster.id, 'measuredValue', 20 * 100, this.airConditioner?.log);
|
578
|
+
await this.airConditioner?.setAttribute(RelativeHumidityMeasurementCluster.id, 'measuredValue', 50 * 100, this.airConditioner?.log);
|
579
|
+
await this.airConditioner?.setAttribute(FanControlCluster.id, 'speedSetting', 50, this.airConditioner?.log);
|
580
|
+
await this.airConditioner?.setAttribute(FanControlCluster.id, 'percentSetting', 50, this.airConditioner?.log);
|
581
|
+
});
|
582
|
+
this.airConditioner.addCommandHandler('off', async () => {
|
583
|
+
await this.airConditioner?.setAttribute(OnOffCluster.id, 'onOff', false, this.airConditioner?.log);
|
584
|
+
await this.airConditioner?.setAttribute(ThermostatCluster.id, 'localTemperature', null, this.airConditioner?.log);
|
585
|
+
await this.airConditioner?.setAttribute(TemperatureMeasurementCluster.id, 'measuredValue', null, this.airConditioner?.log);
|
586
|
+
await this.airConditioner?.setAttribute(RelativeHumidityMeasurementCluster.id, 'measuredValue', null, this.airConditioner?.log);
|
587
|
+
await this.airConditioner?.setAttribute(FanControlCluster.id, 'speedSetting', null, this.airConditioner?.log);
|
588
|
+
await this.airConditioner?.setAttribute(FanControlCluster.id, 'percentSetting', null, this.airConditioner?.log);
|
589
|
+
this.airConditioner?.log.info('Command off called');
|
590
|
+
});
|
591
|
+
// Create a pumpDevice device
|
592
|
+
this.pump = await this.createMutableDevice([pumpDevice, bridgedNode], { uniqueStorageKey: 'Pump' }, this.config.debug);
|
593
|
+
this.pump.log.logName = 'Pump';
|
594
|
+
this.pump.createDefaultBridgedDeviceBasicInformationClusterServer('Pump', '0x96382864PUMP', 0xfff1, 'Matterbridge', 'Matterbridge Pump', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
|
595
|
+
this.pump.createDefaultIdentifyClusterServer();
|
596
|
+
this.pump.createDefaultOnOffClusterServer(true);
|
597
|
+
this.pump.createDefaultPumpConfigurationAndControlClusterServer();
|
598
|
+
this.pump.addDeviceType(powerSource);
|
599
|
+
this.pump.createDefaultPowerSourceWiredClusterServer();
|
600
|
+
await this.registerDevice(this.pump);
|
601
|
+
this.bridgedDevices.set(this.pump.deviceName ?? '', this.pump);
|
602
|
+
this.pump.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
603
|
+
this.pump?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
604
|
+
});
|
605
|
+
this.pump.addCommandHandler('on', async () => {
|
606
|
+
await this.pump?.setAttribute(OnOffCluster.id, 'onOff', true, this.pump?.log);
|
607
|
+
this.pump?.log.info('Command on called');
|
608
|
+
});
|
609
|
+
this.pump.addCommandHandler('off', async () => {
|
610
|
+
await this.pump?.setAttribute(OnOffCluster.id, 'onOff', false, this.pump?.log);
|
611
|
+
this.pump?.log.info('Command off called');
|
612
|
+
});
|
613
|
+
// Create a waterValve device
|
614
|
+
this.valve = await this.createMutableDevice([waterValve, bridgedNode], { uniqueStorageKey: 'Water valve' }, this.config.debug);
|
615
|
+
this.valve.log.logName = 'Water valve';
|
616
|
+
this.valve.createDefaultBridgedDeviceBasicInformationClusterServer('Water valve', '0x96382864WV', 0xfff1, 'Matterbridge', 'Matterbridge Water valve', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
|
617
|
+
this.valve.createDefaultIdentifyClusterServer();
|
618
|
+
this.valve.createDefaultValveConfigurationAndControlClusterServer();
|
619
|
+
this.valve.addDeviceType(powerSource);
|
620
|
+
this.valve.createDefaultPowerSourceWiredClusterServer();
|
621
|
+
await this.registerDevice(this.valve);
|
622
|
+
this.bridgedDevices.set(this.valve.deviceName ?? '', this.valve);
|
623
|
+
this.valve.addCommandHandler('identify', async ({ request: { identifyTime } }) => {
|
624
|
+
this.valve?.log.info(`Command identify called identifyTime:${identifyTime}`);
|
625
|
+
});
|
626
|
+
// Create a fan device
|
627
|
+
this.fan = await this.createMutableDevice([fanDevice, bridgedNode], { uniqueStorageKey: 'Fan' }, this.config.debug);
|
419
628
|
this.fan.log.logName = 'Fan';
|
420
629
|
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);
|
421
|
-
this.fan.addDeviceTypeWithClusterServer([
|
630
|
+
this.fan.addDeviceTypeWithClusterServer([fanDevice], []);
|
422
631
|
await this.registerDevice(this.fan);
|
423
632
|
this.bridgedDevices.set(this.fan.deviceName ?? '', this.fan);
|
424
|
-
const fanModeLookup = ['Off', 'Low', 'Medium', 'High', 'On', 'Auto', 'Smart'];
|
425
633
|
this.fan.subscribeAttribute(FanControlCluster.id, 'fanMode', async (newValue, oldValue) => {
|
426
|
-
this.fan?.log.info(`Fan mode changed from ${fanModeLookup[oldValue]} to ${fanModeLookup[newValue]}`);
|
634
|
+
this.fan?.log.info(`Fan mode changed from ${this.fanModeLookup[oldValue]} to ${this.fanModeLookup[newValue]}`);
|
427
635
|
if (newValue === FanControl.FanMode.Off) {
|
428
636
|
await this.fan?.setAttribute(FanControlCluster.id, 'percentCurrent', 0, this.fan?.log);
|
429
637
|
}
|
@@ -447,18 +655,21 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
447
655
|
this.fan?.log.info(`Percent setting changed from ${oldValue} to ${newValue}`);
|
448
656
|
if (isValidNumber(newValue, 0, 100))
|
449
657
|
await this.fan?.setAttribute(FanControlCluster.id, 'percentCurrent', newValue, this.fan?.log);
|
450
|
-
}, this.fan.log
|
658
|
+
}, this.fan.log);
|
451
659
|
this.fan.subscribeAttribute(FanControlCluster.id, 'speedSetting', async (newValue, oldValue) => {
|
452
660
|
this.fan?.log.info(`Speed setting changed from ${oldValue} to ${newValue}`);
|
453
661
|
if (isValidNumber(newValue, 0, 100))
|
454
662
|
await this.fan?.setAttribute(FanControlCluster.id, 'speedCurrent', newValue, this.fan?.log);
|
455
|
-
}, this.fan.log
|
663
|
+
}, this.fan.log);
|
664
|
+
/** ********************* Create a waterLeakDetector device ***********************/
|
456
665
|
this.waterLeak = await this.createMutableDevice([waterLeakDetector, bridgedNode], { uniqueStorageKey: 'Water leak detector' }, this.config.debug);
|
457
666
|
this.waterLeak.log.logName = 'Water leak detector';
|
458
667
|
this.waterLeak.createDefaultBridgedDeviceBasicInformationClusterServer('Water leak detector', 'serial_98745631222', 0xfff1, 'Matterbridge', 'Matterbridge WaterLeakDetector', parseInt(this.version.replace(/\D/g, '')), this.version === '' ? 'Unknown' : this.version, parseInt(this.matterbridge.matterbridgeVersion.replace(/\D/g, '')), this.matterbridge.matterbridgeVersion);
|
459
668
|
this.waterLeak.addDeviceTypeWithClusterServer([waterLeakDetector], [BooleanStateConfiguration.Cluster.id]);
|
460
669
|
await this.registerDevice(this.waterLeak);
|
670
|
+
this.bridgedDevices.set(this.waterLeak.deviceName ?? '', this.waterLeak);
|
461
671
|
await this.waterLeak.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterLeak.log);
|
672
|
+
/** ********************* Create a waterFreezeDetector device ***********************/
|
462
673
|
this.waterFreeze = await this.createMutableDevice([waterFreezeDetector, bridgedNode], { uniqueStorageKey: 'Water freeze detector' }, this.config.debug);
|
463
674
|
this.waterFreeze.log.logName = 'Water freeze detector';
|
464
675
|
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);
|
@@ -466,6 +677,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
466
677
|
await this.registerDevice(this.waterFreeze);
|
467
678
|
this.bridgedDevices.set(this.waterFreeze.deviceName ?? '', this.waterFreeze);
|
468
679
|
await this.waterFreeze.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterFreeze.log);
|
680
|
+
/** ********************* Create a rainSensor device ***********************/
|
469
681
|
this.rain = await this.createMutableDevice([rainSensor, bridgedNode], { uniqueStorageKey: 'Rain sensor' }, this.config.debug);
|
470
682
|
this.rain.log.logName = 'Rain sensor';
|
471
683
|
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);
|
@@ -473,6 +685,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
473
685
|
await this.registerDevice(this.rain);
|
474
686
|
this.bridgedDevices.set(this.rain.deviceName ?? '', this.rain);
|
475
687
|
await this.rain.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.rain.log);
|
688
|
+
/** ********************* Create a smokeCoAlarm device ***********************/
|
476
689
|
this.smoke = await this.createMutableDevice([smokeCoAlarm, bridgedNode], { uniqueStorageKey: 'Smoke alarm sensor' }, this.config.debug);
|
477
690
|
this.smoke.log.logName = 'Smoke alarm sensor';
|
478
691
|
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);
|
@@ -482,6 +695,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
482
695
|
await this.smoke.setAttribute(SmokeCoAlarmCluster.id, 'smokeState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
|
483
696
|
await this.smoke.setAttribute(SmokeCoAlarmCluster.id, 'coState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
|
484
697
|
await this.smoke.setAttribute(CarbonMonoxideConcentrationMeasurement.Cluster.id, 'measuredValue', 100, this.smoke.log);
|
698
|
+
// Create an airQuality device
|
485
699
|
this.airQuality = await this.createMutableDevice([airQualitySensor, bridgedNode], { uniqueStorageKey: 'Air quality sensor' }, this.config.debug);
|
486
700
|
this.airQuality.log.logName = 'Air quality Sensor';
|
487
701
|
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);
|
@@ -517,8 +731,10 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
517
731
|
}
|
518
732
|
async onConfigure() {
|
519
733
|
this.log.info('onConfigure called');
|
734
|
+
// Set switch to off
|
520
735
|
await this.switch?.setAttribute(OnOffCluster.id, 'onOff', false, this.switch.log);
|
521
736
|
this.switch?.log.info('Set switch initial onOff to false');
|
737
|
+
// Toggle switch onOff every minute
|
522
738
|
this.switchInterval = setInterval(async () => {
|
523
739
|
const status = this.switch?.getAttribute(OnOffCluster.id, 'onOff', this.switch.log);
|
524
740
|
if (isValidBoolean(status)) {
|
@@ -526,30 +742,35 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
526
742
|
this.switch?.log.info(`Set switch onOff to ${!status}`);
|
527
743
|
}
|
528
744
|
}, 60 * 1000 + 100);
|
745
|
+
// Set light on/off to off
|
529
746
|
await this.lightOnOff?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightOnOff.log);
|
530
747
|
this.lightOnOff?.log.info('Set light initial onOff to false.');
|
748
|
+
// Set light on/off to off
|
531
749
|
await this.dimmer?.setAttribute(OnOffCluster.id, 'onOff', false, this.dimmer.log);
|
532
|
-
|
533
|
-
|
534
|
-
|
750
|
+
await this.dimmer?.setAttribute(LevelControlCluster.id, 'currentLevel', 1, this.dimmer.log);
|
751
|
+
this.dimmer?.log.info(`Set dimmer initial onOff to false, currentLevel to 1.`);
|
752
|
+
// Set light to off, level to 0 and hue to 0 and saturation to 50% (pink color)
|
535
753
|
await this.light?.setAttribute(OnOffCluster.id, 'onOff', false, this.light.log);
|
536
|
-
await this.light?.setAttribute(LevelControlCluster.id, 'currentLevel',
|
754
|
+
await this.light?.setAttribute(LevelControlCluster.id, 'currentLevel', 1, this.light.log);
|
537
755
|
await this.light?.setAttribute(ColorControlCluster.id, 'currentHue', 0, this.light.log);
|
538
756
|
await this.light?.setAttribute(ColorControlCluster.id, 'currentSaturation', 128, this.light.log);
|
539
757
|
await this.light?.configureColorControlMode(ColorControl.ColorMode.CurrentHueAndCurrentSaturation);
|
540
|
-
this.light?.log.info('Set light initial onOff to false, currentLevel to
|
758
|
+
this.light?.log.info('Set light initial onOff to false, currentLevel to 1, hue to 0 and saturation to 50%.');
|
759
|
+
// Set light XY to true, level to 100% and XY to red
|
541
760
|
await this.lightXY?.setAttribute(OnOffCluster.id, 'onOff', true, this.lightXY.log);
|
542
761
|
await this.lightXY?.setAttribute(LevelControlCluster.id, 'currentLevel', 254, this.lightXY.log);
|
543
762
|
await this.lightXY?.setAttribute(ColorControlCluster.id, 'currentX', 0.7006 * 65536, this.lightXY.log);
|
544
763
|
await this.lightXY?.setAttribute(ColorControlCluster.id, 'currentY', 0.2993 * 65536, this.lightXY.log);
|
545
764
|
await this.lightXY?.configureColorControlMode(ColorControl.ColorMode.CurrentXAndCurrentY);
|
546
765
|
this.lightXY?.log.info('Set light XY initial onOff to true, currentLevel to 254, X to 0.7006 and Y to 0.2993.');
|
766
|
+
// Set light HS to off, level to 0 and hue to 0 and saturation to 50% (pink color)
|
547
767
|
await this.lightHS?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightHS.log);
|
548
|
-
await this.lightHS?.setAttribute(LevelControlCluster.id, 'currentLevel',
|
768
|
+
await this.lightHS?.setAttribute(LevelControlCluster.id, 'currentLevel', 1, this.lightHS.log);
|
549
769
|
await this.lightHS?.setAttribute(ColorControlCluster.id, 'currentHue', 0, this.lightHS.log);
|
550
770
|
await this.lightHS?.setAttribute(ColorControlCluster.id, 'currentSaturation', 128, this.lightHS.log);
|
551
771
|
await this.lightHS?.configureColorControlMode(ColorControl.ColorMode.CurrentHueAndCurrentSaturation);
|
552
|
-
this.lightHS?.log.info('Set light HS initial onOff to false, currentLevel to
|
772
|
+
this.lightHS?.log.info('Set light HS initial onOff to false, currentLevel to 1, hue to 0 and saturation to 50%.');
|
773
|
+
// Set light CT to true, level to 50% and colorTemperatureMireds to 250
|
553
774
|
await this.lightCT?.setAttribute(OnOffCluster.id, 'onOff', true, this.lightCT.log);
|
554
775
|
await this.lightCT?.setAttribute(LevelControlCluster.id, 'currentLevel', 128, this.lightCT.log);
|
555
776
|
await this.lightCT?.setAttribute(ColorControlCluster.id, 'colorTemperatureMireds', 250, this.lightCT.log);
|
@@ -561,7 +782,7 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
561
782
|
if (isValidBoolean(state) && isValidNumber(level, 0, 254)) {
|
562
783
|
level += 10;
|
563
784
|
if (level >= 250) {
|
564
|
-
level =
|
785
|
+
level = 1;
|
565
786
|
await this.lightOnOff?.setAttribute(OnOffCluster.id, 'onOff', false, this.lightOnOff.log);
|
566
787
|
await this.dimmer?.setAttribute(OnOffCluster.id, 'onOff', false, this.dimmer.log);
|
567
788
|
await this.light?.setAttribute(OnOffCluster.id, 'onOff', false, this.light.log);
|
@@ -592,9 +813,14 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
592
813
|
this.log.info(`Set lights currentLevel to ${level}`);
|
593
814
|
}
|
594
815
|
}
|
816
|
+
else {
|
817
|
+
this.log.error(`Invalid state ${state} or level ${level}`);
|
818
|
+
}
|
595
819
|
}, 60 * 1000 + 200);
|
820
|
+
// Set outlet to off
|
596
821
|
await this.outlet?.setAttribute(OnOffCluster.id, 'onOff', false, this.outlet.log);
|
597
822
|
this.outlet?.log.info('Set outlet initial onOff to false');
|
823
|
+
// Toggle outlet onOff every minute
|
598
824
|
this.outletInterval = setInterval(async () => {
|
599
825
|
const state = this.outlet?.getAttribute(OnOffCluster.id, 'onOff', this.outlet.log);
|
600
826
|
if (isValidBoolean(state)) {
|
@@ -602,8 +828,10 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
602
828
|
this.outlet?.log.info(`Set outlet onOff to ${!state}`);
|
603
829
|
}
|
604
830
|
}, 60 * 1000 + 300);
|
831
|
+
// Set cover to target = current position and status to stopped (current position is persisted in the cluster)
|
605
832
|
await this.cover?.setWindowCoveringTargetAsCurrentAndStopped();
|
606
833
|
this.cover?.log.info('Set cover initial targetPositionLiftPercent100ths = currentPositionLiftPercent100ths and operationalStatus to Stopped.');
|
834
|
+
// Increment cover position every minute
|
607
835
|
this.coverInterval = setInterval(async () => {
|
608
836
|
let position = this.cover?.getAttribute(WindowCoveringCluster.id, 'currentPositionLiftPercent100ths', this.cover.log);
|
609
837
|
if (isValidNumber(position, 0, 10000)) {
|
@@ -614,8 +842,10 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
614
842
|
this.cover?.log.info(`Set cover current and target positionLiftPercent100ths to ${position} and operationalStatus to Stopped`);
|
615
843
|
}
|
616
844
|
}, 60 * 1000 + 400);
|
845
|
+
// Set lock to Locked
|
617
846
|
await this.lock?.setAttribute(DoorLockCluster.id, 'lockState', DoorLock.LockState.Locked, this.lock.log);
|
618
847
|
this.lock?.log.info('Set lock initial lockState to Locked');
|
848
|
+
// Toggle lock every minute
|
619
849
|
this.lockInterval = setInterval(async () => {
|
620
850
|
const status = this.lock?.getAttribute(DoorLockCluster.id, 'lockState', this.lock.log);
|
621
851
|
if (isValidNumber(status, DoorLock.LockState.Locked, DoorLock.LockState.Unlocked)) {
|
@@ -623,36 +853,61 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
623
853
|
this.lock?.log.info(`Set lock lockState to ${status === DoorLock.LockState.Locked ? 'Unlocked' : 'Locked'}`);
|
624
854
|
}
|
625
855
|
}, 60 * 1000 + 500);
|
626
|
-
|
627
|
-
await this.
|
628
|
-
this.
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
this.
|
856
|
+
// Set local to 16°C
|
857
|
+
await this.thermoAuto?.setAttribute(ThermostatCluster.id, 'localTemperature', 16 * 100, this.thermoAuto.log);
|
858
|
+
await this.thermoAuto?.setAttribute(ThermostatCluster.id, 'systemMode', Thermostat.SystemMode.Auto, this.thermoAuto.log);
|
859
|
+
this.thermoAuto?.log.info('Set thermostat initial localTemperature to 16°C and mode Auto');
|
860
|
+
const temperature = this.thermoAuto?.getChildEndpointByName('Temperature');
|
861
|
+
await this.thermoAuto?.setAttribute(TemperatureMeasurementCluster.id, 'measuredValue', 16 * 100, this.thermoAuto.log, temperature);
|
862
|
+
const humidity = this.thermoAuto?.getChildEndpointByName('Humidity');
|
863
|
+
await this.thermoAuto?.setAttribute(RelativeHumidityMeasurementCluster.id, 'measuredValue', 50 * 100, this.thermoAuto.log, humidity);
|
864
|
+
const flow = this.thermoAuto?.getChildEndpointByName('Flow');
|
865
|
+
await this.thermoAuto?.setAttribute(FlowMeasurementCluster.id, 'measuredValue', 10, this.thermoAuto.log, flow);
|
866
|
+
this.thermoAuto?.log.info('Set thermostat ext temperature to 16°C, ext humidity to 50% and ext valve flow to 10');
|
867
|
+
// Increment localTemperature every minute
|
636
868
|
this.thermoInterval = setInterval(async () => {
|
637
|
-
let temperature = this.
|
869
|
+
let temperature = this.thermoAuto?.getAttribute(ThermostatCluster.id, 'localTemperature', this.thermoAuto.log);
|
638
870
|
if (isValidNumber(temperature, 1600, 2400)) {
|
639
871
|
temperature = temperature + 100 > 2400 ? 1600 : temperature + 100;
|
640
|
-
await this.
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
await this.
|
647
|
-
this.
|
872
|
+
await this.thermoAuto?.setAttribute(ThermostatCluster.id, 'localTemperature', temperature, this.thermoAuto.log);
|
873
|
+
await this.thermoHeat?.setAttribute(ThermostatCluster.id, 'localTemperature', temperature, this.thermoHeat.log);
|
874
|
+
const tempIn = this.thermoHeat?.getChildEndpointByName('TemperatureIN');
|
875
|
+
await tempIn?.setAttribute(TemperatureMeasurementCluster.id, 'measuredValue', temperature - 50, this.thermoHeat?.log);
|
876
|
+
const tempOut = this.thermoHeat?.getChildEndpointByName('TemperatureOUT');
|
877
|
+
await tempOut?.setAttribute(TemperatureMeasurementCluster.id, 'measuredValue', temperature - 400, this.thermoHeat?.log);
|
878
|
+
await this.thermoCool?.setAttribute(ThermostatCluster.id, 'localTemperature', temperature, this.thermoCool.log);
|
879
|
+
const temp = this.thermoAuto?.getChildEndpointByName('Temperature');
|
880
|
+
await this.thermoAuto?.setAttribute(TemperatureMeasurementCluster.id, 'measuredValue', temperature, this.thermoAuto.log, temp);
|
881
|
+
const humidity = this.thermoAuto?.getChildEndpointByName('Humidity');
|
882
|
+
await this.thermoAuto?.setAttribute(RelativeHumidityMeasurementCluster.id, 'measuredValue', 50 * 100, this.thermoAuto.log, humidity);
|
883
|
+
const flow = this.thermoAuto?.getChildEndpointByName('Flow');
|
884
|
+
await this.thermoAuto?.setAttribute(FlowMeasurementCluster.id, 'measuredValue', 10, this.thermoAuto.log, flow);
|
885
|
+
this.thermoAuto?.log.info(`Set thermostat localTemperature to ${temperature / 100}°C`);
|
886
|
+
this.thermoHeat?.log.info(`Set thermostat localTemperature to ${temperature / 100}°C`);
|
887
|
+
this.thermoCool?.log.info(`Set thermostat localTemperature to ${temperature / 100}°C`);
|
648
888
|
}
|
649
889
|
}, 60 * 1000 + 600);
|
890
|
+
// Set airConditioner to on
|
891
|
+
await this.airConditioner?.setAttribute(OnOffCluster.id, 'onOff', true, this.airConditioner.log);
|
892
|
+
// Increment airConditioner localTemperature every minute
|
893
|
+
this.airConditionerInterval = setInterval(async () => {
|
894
|
+
let temperature = this.airConditioner?.getAttribute(ThermostatCluster.id, 'localTemperature', this.airConditioner.log);
|
895
|
+
if (isValidNumber(temperature, 1600, 2400)) {
|
896
|
+
temperature = temperature + 100 > 2400 ? 1600 : temperature + 100;
|
897
|
+
await this.airConditioner?.setAttribute(ThermostatCluster.id, 'localTemperature', temperature, this.airConditioner.log);
|
898
|
+
await this.airConditioner?.setAttribute(TemperatureMeasurementCluster.id, 'measuredValue', temperature, this.airConditioner.log);
|
899
|
+
await this.airConditioner?.setAttribute(RelativeHumidityMeasurementCluster.id, 'measuredValue', 50 * 100, this.airConditioner.log);
|
900
|
+
this.airConditioner?.log.info(`Set airConditioner localTemperature to ${temperature / 100}°C`);
|
901
|
+
}
|
902
|
+
}, 60 * 1000 + 550);
|
903
|
+
// Set fan to auto
|
650
904
|
this.fan?.log.info('Set fan initial fanMode to Auto, percentCurrent and percentSetting to 50 and speedCurrent and speedSetting to 50');
|
651
905
|
await this.fan?.setAttribute(FanControlCluster.id, 'fanMode', FanControl.FanMode.Auto, this.fan.log);
|
652
906
|
await this.fan?.setAttribute(FanControlCluster.id, 'percentCurrent', 50, this.fan.log);
|
653
907
|
await this.fan?.setAttribute(FanControlCluster.id, 'percentSetting', 50, this.fan.log);
|
654
908
|
await this.fan?.setAttribute(FanControlCluster.id, 'speedCurrent', 50, this.fan.log);
|
655
909
|
await this.fan?.setAttribute(FanControlCluster.id, 'speedSetting', 50, this.fan.log);
|
910
|
+
// Increment fan percentCurrent every minute
|
656
911
|
this.fanInterval = setInterval(async () => {
|
657
912
|
const mode = this.fan?.getAttribute(FanControlCluster.id, 'fanMode', this.fan.log);
|
658
913
|
let value = this.fan?.getAttribute(FanControlCluster.id, 'percentCurrent', this.fan.log);
|
@@ -663,7 +918,9 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
663
918
|
this.fan?.log.info(`Set fan percentCurrent and percentSetting to ${value}`);
|
664
919
|
}
|
665
920
|
}, 60 * 1000 + 700);
|
921
|
+
// Set waterLeak to false
|
666
922
|
await this.waterLeak?.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterLeak.log);
|
923
|
+
// Toggle waterLeak every minute
|
667
924
|
this.waterLeakInterval = setInterval(async () => {
|
668
925
|
let value = this.waterLeak?.getAttribute(BooleanStateCluster.id, 'stateValue', this.waterLeak.log);
|
669
926
|
if (isValidBoolean(value)) {
|
@@ -672,7 +929,9 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
672
929
|
this.waterLeak?.log.info(`Set waterLeak stateValue to ${value}`);
|
673
930
|
}
|
674
931
|
}, 60 * 1000 + 800);
|
932
|
+
// Set waterFreeze to false
|
675
933
|
await this.waterFreeze?.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.waterFreeze.log);
|
934
|
+
// Toggle waterFreeze every minute
|
676
935
|
this.waterFreezeInterval = setInterval(async () => {
|
677
936
|
let value = this.waterFreeze?.getAttribute(BooleanStateCluster.id, 'stateValue', this.waterFreeze.log);
|
678
937
|
if (isValidBoolean(value)) {
|
@@ -681,7 +940,9 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
681
940
|
this.waterFreeze?.log.info(`Set waterFreeze stateValue to ${value}`);
|
682
941
|
}
|
683
942
|
}, 60 * 1000 + 900);
|
943
|
+
// Set rain to false
|
684
944
|
await this.rain?.setAttribute(BooleanStateCluster.id, 'stateValue', false, this.rain.log);
|
945
|
+
// Toggle rain every minute
|
685
946
|
this.rainInterval = setInterval(async () => {
|
686
947
|
let value = this.rain?.getAttribute(BooleanStateCluster.id, 'stateValue', this.rain.log);
|
687
948
|
if (isValidBoolean(value)) {
|
@@ -690,8 +951,10 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
690
951
|
this.rain?.log.info(`Set rain stateValue to ${value}`);
|
691
952
|
}
|
692
953
|
}, 60 * 1000 + 1000);
|
954
|
+
// Set smoke to Normal
|
693
955
|
await this.smoke?.setAttribute(SmokeCoAlarmCluster.id, 'smokeState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
|
694
956
|
await this.smoke?.setAttribute(SmokeCoAlarmCluster.id, 'coState', SmokeCoAlarm.AlarmState.Normal, this.smoke.log);
|
957
|
+
// Toggle smoke every minute
|
695
958
|
this.smokeInterval = setInterval(async () => {
|
696
959
|
let value = this.smoke?.getAttribute(SmokeCoAlarmCluster.id, 'smokeState', this.smoke.log);
|
697
960
|
if (isValidNumber(value, SmokeCoAlarm.AlarmState.Normal, SmokeCoAlarm.AlarmState.Critical)) {
|
@@ -701,13 +964,15 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
701
964
|
this.smoke?.log.info(`Set smoke smokeState and coState to ${value}`);
|
702
965
|
}
|
703
966
|
}, 60 * 1000 + 1100);
|
967
|
+
// Set air quality to Normal
|
704
968
|
this.airQuality?.setAttribute(AirQualityCluster.id, 'airQuality', AirQuality.AirQualityEnum.Good, this.airQuality.log);
|
969
|
+
// Toggle air quality every minute
|
705
970
|
this.airQualityInterval = setInterval(async () => {
|
706
971
|
let value = this.airQuality?.getAttribute(AirQualityCluster.id, 'airQuality', this.airQuality?.log);
|
707
972
|
if (isValidNumber(value, AirQuality.AirQualityEnum.Good, AirQuality.AirQualityEnum.ExtremelyPoor)) {
|
708
973
|
value = value >= AirQuality.AirQualityEnum.ExtremelyPoor ? AirQuality.AirQualityEnum.Good : value + 1;
|
709
974
|
await this.airQuality?.setAttribute(AirQualityCluster.id, 'airQuality', value, this.airQuality.log);
|
710
|
-
this.
|
975
|
+
this.airQuality?.log.info(`Set air quality to ${value}`);
|
711
976
|
}
|
712
977
|
}, 60 * 1000 + 1100);
|
713
978
|
}
|
@@ -725,7 +990,9 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
725
990
|
clearInterval(this.rainInterval);
|
726
991
|
clearInterval(this.smokeInterval);
|
727
992
|
clearInterval(this.airQualityInterval);
|
993
|
+
clearInterval(this.airConditionerInterval);
|
728
994
|
if (this.config.unregisterOnShutdown === true)
|
729
995
|
await this.unregisterAllDevices();
|
730
996
|
}
|
731
997
|
}
|
998
|
+
//# sourceMappingURL=platform.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,iBAAiB,EAGjB,mBAAmB,EACn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AAC,aAAa,CAAC,CAAC;QAClC,aAAa,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QACvC,aAAa,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAC3C,IAAI,IAAI,CAAC,MAAM,CAAC,oBAAoB,KAAK,IAAI;YAAE,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;IACnF,CAAC;CACF"}
|
package/npm-shrinkwrap.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "matterbridge-example-dynamic-platform",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.3",
|
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.3",
|
10
10
|
"license": "MIT",
|
11
11
|
"dependencies": {
|
12
12
|
"node-ansi-logger": "3.0.0",
|
package/package.json
CHANGED
package/tsconfig.production.json
DELETED
@@ -1,13 +0,0 @@
|
|
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
|
-
}
|