matterbridge 1.3.0 → 1.3.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.
Files changed (67) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/CODEOWNERS +1 -0
  3. package/README.md +27 -11
  4. package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.d.ts +396 -0
  5. package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.d.ts.map +1 -0
  6. package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.js +30 -0
  7. package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.js.map +1 -0
  8. package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.d.ts +396 -0
  9. package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.d.ts.map +1 -0
  10. package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.js +30 -0
  11. package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.js.map +1 -0
  12. package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.d.ts +396 -0
  13. package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.d.ts.map +1 -0
  14. package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.js +34 -0
  15. package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.js.map +1 -0
  16. package/dist/cluster/OzoneConcentrationMeasurementCluster.d.ts +395 -0
  17. package/dist/cluster/OzoneConcentrationMeasurementCluster.d.ts.map +1 -0
  18. package/dist/cluster/OzoneConcentrationMeasurementCluster.js +29 -0
  19. package/dist/cluster/OzoneConcentrationMeasurementCluster.js.map +1 -0
  20. package/dist/cluster/Pm10ConcentrationMeasurementCluster.d.ts +395 -0
  21. package/dist/cluster/Pm10ConcentrationMeasurementCluster.d.ts.map +1 -0
  22. package/dist/cluster/Pm10ConcentrationMeasurementCluster.js +29 -0
  23. package/dist/cluster/Pm10ConcentrationMeasurementCluster.js.map +1 -0
  24. package/dist/cluster/Pm1ConcentrationMeasurementCluster.d.ts +395 -0
  25. package/dist/cluster/Pm1ConcentrationMeasurementCluster.d.ts.map +1 -0
  26. package/dist/cluster/Pm1ConcentrationMeasurementCluster.js +29 -0
  27. package/dist/cluster/Pm1ConcentrationMeasurementCluster.js.map +1 -0
  28. package/dist/cluster/Pm25ConcentrationMeasurementCluster.d.ts +395 -0
  29. package/dist/cluster/Pm25ConcentrationMeasurementCluster.d.ts.map +1 -0
  30. package/dist/cluster/Pm25ConcentrationMeasurementCluster.js +29 -0
  31. package/dist/cluster/Pm25ConcentrationMeasurementCluster.js.map +1 -0
  32. package/dist/cluster/PowerTopologyCluster.d.ts +0 -10
  33. package/dist/cluster/PowerTopologyCluster.d.ts.map +1 -1
  34. package/dist/cluster/RadonConcentrationMeasurementCluster.d.ts +395 -0
  35. package/dist/cluster/RadonConcentrationMeasurementCluster.d.ts.map +1 -0
  36. package/dist/cluster/RadonConcentrationMeasurementCluster.js +29 -0
  37. package/dist/cluster/RadonConcentrationMeasurementCluster.js.map +1 -0
  38. package/dist/cluster/SmokeCoAlarmCluster.d.ts +0 -24
  39. package/dist/cluster/SmokeCoAlarmCluster.d.ts.map +1 -1
  40. package/dist/defaultConfigSchema.d.ts +4 -7
  41. package/dist/defaultConfigSchema.d.ts.map +1 -1
  42. package/dist/defaultConfigSchema.js +13 -246
  43. package/dist/defaultConfigSchema.js.map +1 -1
  44. package/dist/index.d.ts +1 -0
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +1 -0
  47. package/dist/index.js.map +1 -1
  48. package/dist/matterbridge.d.ts +10 -30
  49. package/dist/matterbridge.d.ts.map +1 -1
  50. package/dist/matterbridge.js +74 -74
  51. package/dist/matterbridge.js.map +1 -1
  52. package/dist/matterbridgeAccessoryPlatform.d.ts +2 -2
  53. package/dist/matterbridgeAccessoryPlatform.d.ts.map +1 -1
  54. package/dist/matterbridgeAccessoryPlatform.js.map +1 -1
  55. package/dist/matterbridgeDevice.d.ts +455 -43
  56. package/dist/matterbridgeDevice.d.ts.map +1 -1
  57. package/dist/matterbridgeDevice.js +283 -29
  58. package/dist/matterbridgeDevice.js.map +1 -1
  59. package/dist/matterbridgeDynamicPlatform.d.ts +2 -2
  60. package/dist/matterbridgeDynamicPlatform.d.ts.map +1 -1
  61. package/dist/matterbridgeDynamicPlatform.js.map +1 -1
  62. package/dist/matterbridgePlatform.d.ts +11 -7
  63. package/dist/matterbridgePlatform.d.ts.map +1 -1
  64. package/dist/matterbridgePlatform.js.map +1 -1
  65. package/dist/matterbridgeV8.d.ts +0 -1
  66. package/dist/matterbridgeV8.d.ts.map +1 -1
  67. package/package.json +7 -7
@@ -1 +1 @@
1
- {"version":3,"file":"matterbridgeDevice.d.ts","sourceRoot":"","sources":["../src/matterbridgeDevice.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAKL,qBAAqB,EACrB,YAAY,EAEZ,QAAQ,EAIR,UAAU,EAMV,QAAQ,EAIR,YAAY,EAEZ,UAAU,EAEV,gBAAgB,EAEhB,KAAK,EAEL,WAAW,EAYX,UAAU,EAIV,QAAQ,EAER,cAAc,EAKf,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,EAAE,MAAM,EAAiB,oBAAoB,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qCAAqC,CAAC;AAC7H,OAAO,EAAE,UAAU,EAA8B,MAAM,mCAAmC,CAAC;AAE3F,OAAO,EAAE,aAAa,EAAsD,MAAM,gBAAgB,CAAC;AAGnG,OAAO,EAAE,UAAU,EAAqB,MAAM,gCAAgC,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAqC,MAAM,kBAAkB,CAAC;AAEjF,OAAO,EAAE,eAAe,EAA0B,MAAM,0BAA0B,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAwC,MAAM,mDAAmD,CAAC;AAExI,OAAO,EAAE,0BA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AiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAe1M;;;;;;OAMG;IACH,sDAAsD,CAAC,aAAa,SAAI,EAAE,eAAe,2CAA+C,EAAE,iBAAiB,6CAAiD;IAI5M;;;;;;;OAOG;IACH,8DAA8D,CAAC,aAAa,SAAI,EAAE,eAAe,2CAA+C,EAAE,iBAAiB,6CAAiD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAepN;;;;;;OAMG;IACH,gEAAgE,CAAC,aAAa,SAAI,EAAE,eAAe,2CAA+C,EAAE,iBAAiB,6CAAiD;IAItN;;;;;OAKG;IACH,iCAAiC,CAAC,OAAO,qBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAuBlE;;;;;OAKG;IACH,oCAAoC,CAAC,OAAO,qBAAyB;IAKrE,6CAA6C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8B7C,iDAAiD;CAelD"}
@@ -4,7 +4,7 @@
4
4
  * @file matterbridgeDevice.ts
5
5
  * @author Luca Liguori
6
6
  * @date 2023-12-29
7
- * @version 1.0.15
7
+ * @version 1.1.1
8
8
  *
9
9
  * Copyright 2023, 2024 Luca Liguori.
10
10
  *
@@ -41,6 +41,14 @@ import { DeviceEnergyManagement, DeviceEnergyManagementCluster } from './cluster
41
41
  import { DeviceEnergyManagementMode, DeviceEnergyManagementModeCluster } from './cluster/DeviceEnergyManagementModeCluster.js';
42
42
  // import { FanControl, FanControlCluster } from './cluster/FanControlCluster.js';
43
43
  import { ConcentrationMeasurement } from './cluster/ConcentrationMeasurementCluster.js';
44
+ import { CarbonDioxideConcentrationMeasurement, CarbonDioxideConcentrationMeasurementCluster } from './cluster/CarbonDioxideConcentrationMeasurementCluster.js';
45
+ import { OzoneConcentrationMeasurement, OzoneConcentrationMeasurementCluster } from './cluster/OzoneConcentrationMeasurementCluster.js';
46
+ import { Pm1ConcentrationMeasurement, Pm1ConcentrationMeasurementCluster } from './cluster/Pm1ConcentrationMeasurementCluster.js';
47
+ import { Pm25ConcentrationMeasurement, Pm25ConcentrationMeasurementCluster } from './cluster/Pm25ConcentrationMeasurementCluster.js';
48
+ import { Pm10ConcentrationMeasurement, Pm10ConcentrationMeasurementCluster } from './cluster/Pm10ConcentrationMeasurementCluster.js';
49
+ import { RadonConcentrationMeasurement, RadonConcentrationMeasurementCluster } from './cluster/RadonConcentrationMeasurementCluster.js';
50
+ import { NitrogenDioxideConcentrationMeasurement, NitrogenDioxideConcentrationMeasurementCluster } from './cluster/NitrogenDioxideConcentrationMeasurementCluster.js';
51
+ import { FormaldehydeConcentrationMeasurement, FormaldehydeConcentrationMeasurementCluster } from './cluster/FormaldehydeConcentrationMeasurementCluster.js';
44
52
  // Matter 1.2 and 1.3 device types
45
53
  export const airQualitySensor = DeviceTypeDefinition({
46
54
  name: 'MA-airQualitySensor',
@@ -48,7 +56,20 @@ export const airQualitySensor = DeviceTypeDefinition({
48
56
  deviceClass: DeviceClasses.Simple,
49
57
  revision: 1,
50
58
  requiredServerClusters: [Identify.Cluster.id, AirQuality.Cluster.id],
51
- optionalServerClusters: [TemperatureMeasurement.Cluster.id, RelativeHumidityMeasurement.Cluster.id, TvocMeasurement.Cluster.id],
59
+ optionalServerClusters: [
60
+ TemperatureMeasurement.Cluster.id,
61
+ RelativeHumidityMeasurement.Cluster.id,
62
+ CarbonMonoxideConcentrationMeasurement.Cluster.id,
63
+ CarbonDioxideConcentrationMeasurement.Cluster.id,
64
+ NitrogenDioxideConcentrationMeasurement.Cluster.id,
65
+ OzoneConcentrationMeasurement.Cluster.id,
66
+ FormaldehydeConcentrationMeasurement.Cluster.id,
67
+ Pm1ConcentrationMeasurement.Cluster.id,
68
+ Pm25ConcentrationMeasurement.Cluster.id,
69
+ Pm10ConcentrationMeasurement.Cluster.id,
70
+ RadonConcentrationMeasurement.Cluster.id,
71
+ TvocMeasurement.Cluster.id,
72
+ ],
52
73
  });
53
74
  export const waterFreezeDetector = DeviceTypeDefinition({
54
75
  name: 'MA-waterFreezeDetector',
@@ -112,7 +133,7 @@ export const bridgedNode = DeviceTypeDefinition({
112
133
  deviceClass: DeviceClasses.Utility,
113
134
  revision: 2,
114
135
  requiredServerClusters: [BridgedDeviceBasicInformation.Cluster.id],
115
- optionalServerClusters: [],
136
+ optionalServerClusters: [PowerSource.Cluster.id],
116
137
  });
117
138
  // Custom device types: switch without ClientClusters
118
139
  export const onOffSwitch = DeviceTypeDefinition({
@@ -202,16 +223,21 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
202
223
  }
203
224
  /**
204
225
  * Adds a child endpoint with one or more device types with the required cluster servers and the specified cluster servers.
226
+ * If the child endpoint is not already present in the childEndpoints, it will be added.
227
+ * If the child endpoint is already present in the childEndpoints, the device types and cluster servers will be added to the existing child endpoint.
205
228
  *
206
229
  * @param {string} endpointName - The name of the new enpoint to add.
207
230
  * @param {AtLeastOne<DeviceTypeDefinition>} deviceTypes - The device types to add.
208
231
  * @param {ClusterId[]} includeServerList - The list of cluster IDs to include.
209
- * @returns {Endpoint} - The child endpoint that was added.
232
+ * @returns {Endpoint} - The child endpoint that was found or added.
210
233
  */
211
234
  addChildDeviceTypeWithClusterServer(endpointName, deviceTypes, includeServerList) {
212
235
  this.log.debug(`addChildDeviceTypeWithClusterServer: ${CYAN}${endpointName}${db}`);
213
- const child = new Endpoint(deviceTypes);
214
- child.addFixedLabel('endpointName', endpointName);
236
+ let child = this.getChildEndpoints().find((endpoint) => endpoint.uniqueStorageKey === endpointName);
237
+ if (!child) {
238
+ child = new Endpoint(deviceTypes, { uniqueStorageKey: endpointName });
239
+ child.addFixedLabel('endpointName', endpointName);
240
+ }
215
241
  deviceTypes.forEach((deviceType) => {
216
242
  this.log.debug(`- with deviceType: ${zb}${deviceType.code}${db}-${zb}${deviceType.name}${db}`);
217
243
  deviceType.requiredServerClusters.forEach((clusterId) => {
@@ -278,10 +304,6 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
278
304
  endpoint.addClusterServer(this.getDefaultStaticEveHistoryClusterServer());
279
305
  if (includeServerList.includes(ElectricalMeasurement.Cluster.id))
280
306
  endpoint.addClusterServer(this.getDefaultElectricalMeasurementClusterServer());
281
- if (includeServerList.includes(AirQuality.Cluster.id))
282
- endpoint.addClusterServer(this.getDefaultAirQualityClusterServer());
283
- if (includeServerList.includes(TvocMeasurement.Cluster.id))
284
- endpoint.addClusterServer(this.getDefaultTvocMeasurementClusterServer());
285
307
  if (includeServerList.includes(PowerTopology.Cluster.id))
286
308
  endpoint.addClusterServer(this.getDefaultPowerTopologyClusterServer());
287
309
  if (includeServerList.includes(ElectricalPowerMeasurement.Cluster.id))
@@ -290,8 +312,28 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
290
312
  endpoint.addClusterServer(this.getDefaultElectricalEnergyMeasurementClusterServer());
291
313
  if (includeServerList.includes(SmokeCoAlarm.Cluster.id))
292
314
  endpoint.addClusterServer(this.getDefaultSmokeCOAlarmClusterServer());
315
+ if (includeServerList.includes(AirQuality.Cluster.id))
316
+ endpoint.addClusterServer(this.getDefaultAirQualityClusterServer());
293
317
  if (includeServerList.includes(CarbonMonoxideConcentrationMeasurement.Cluster.id))
294
318
  endpoint.addClusterServer(this.getDefaultCarbonMonoxideConcentrationMeasurementClusterServer());
319
+ if (includeServerList.includes(CarbonDioxideConcentrationMeasurement.Cluster.id))
320
+ endpoint.addClusterServer(this.getDefaultCarbonDioxideConcentrationMeasurementClusterServer());
321
+ if (includeServerList.includes(NitrogenDioxideConcentrationMeasurement.Cluster.id))
322
+ endpoint.addClusterServer(this.getDefaultNitrogenDioxideConcentrationMeasurementClusterServer());
323
+ if (includeServerList.includes(OzoneConcentrationMeasurement.Cluster.id))
324
+ endpoint.addClusterServer(this.getDefaultOzoneConcentrationMeasurementClusterServer());
325
+ if (includeServerList.includes(FormaldehydeConcentrationMeasurement.Cluster.id))
326
+ endpoint.addClusterServer(this.getDefaultFormaldehydeConcentrationMeasurementClusterServer());
327
+ if (includeServerList.includes(Pm1ConcentrationMeasurement.Cluster.id))
328
+ endpoint.addClusterServer(this.getDefaultPm1ConcentrationMeasurementClusterServer());
329
+ if (includeServerList.includes(Pm25ConcentrationMeasurement.Cluster.id))
330
+ endpoint.addClusterServer(this.getDefaultPm25ConcentrationMeasurementClusterServer());
331
+ if (includeServerList.includes(Pm10ConcentrationMeasurement.Cluster.id))
332
+ endpoint.addClusterServer(this.getDefaultPm10ConcentrationMeasurementClusterServer());
333
+ if (includeServerList.includes(RadonConcentrationMeasurement.Cluster.id))
334
+ endpoint.addClusterServer(this.getDefaultRadonConcentrationMeasurementClusterServer());
335
+ if (includeServerList.includes(TvocMeasurement.Cluster.id))
336
+ endpoint.addClusterServer(this.getDefaultTvocMeasurementClusterServer());
295
337
  if (includeServerList.includes(FanControl.Cluster.id))
296
338
  endpoint.addClusterServer(this.getDefaultFanControlClusterServer());
297
339
  if (includeServerList.includes(DeviceEnergyManagement.Cluster.id))
@@ -344,10 +386,12 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
344
386
  }
345
387
  /**
346
388
  * Retrieves the label associated with the specified endpoint number.
347
- * @param {EndpointNumber} endpointNumber - The number of the endpoint.
389
+ * @param {EndpointNumber | undefined} endpointNumber - The number of the endpoint.
348
390
  * @returns {string | undefined} The label associated with the endpoint number, or undefined if not found.
349
391
  */
350
392
  getEndpointLabel(endpointNumber) {
393
+ if (!endpointNumber)
394
+ return undefined;
351
395
  const labelList = this.getChildEndpoint(endpointNumber)?.getClusterServer(FixedLabelCluster)?.getLabelListAttribute();
352
396
  if (!labelList)
353
397
  return undefined;
@@ -1034,7 +1078,7 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
1034
1078
  this.addClusterServer(this.getDefaultElectricalMeasurementClusterServer(voltage, current, power, consumption));
1035
1079
  }
1036
1080
  /**
1037
- * Creates a default Thread Network Diagnostics Cluster server.
1081
+ * Creates a default Dummy Thread Network Diagnostics Cluster server.
1038
1082
  *
1039
1083
  * @remarks
1040
1084
  * This method adds a cluster server used only to give the networkName to Eve app.
@@ -1079,17 +1123,14 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
1079
1123
  onOff,
1080
1124
  }, {
1081
1125
  on: async (data) => {
1082
- // eslint-disable-next-line no-console
1083
1126
  this.log.debug('Matter command: on onOff:', data.attributes.onOff.getLocal());
1084
1127
  await this.commandHandler.executeHandler('on', data);
1085
1128
  },
1086
1129
  off: async (data) => {
1087
- // eslint-disable-next-line no-console
1088
1130
  this.log.debug('Matter command: off onOff:', data.attributes.onOff.getLocal());
1089
1131
  await this.commandHandler.executeHandler('off', data);
1090
1132
  },
1091
1133
  toggle: async (data) => {
1092
- // eslint-disable-next-line no-console
1093
1134
  this.log.debug('Matter command: toggle onOff:', data.attributes.onOff.getLocal());
1094
1135
  await this.commandHandler.executeHandler('toggle', data);
1095
1136
  },
@@ -1118,39 +1159,29 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
1118
1159
  },
1119
1160
  }, {
1120
1161
  moveToLevel: async ({ request, attributes, endpoint }) => {
1121
- // eslint-disable-next-line no-console
1122
1162
  this.log.debug('Matter command: moveToLevel request:', request, 'attributes.currentLevel:', attributes.currentLevel.getLocal());
1123
- // attributes.currentLevel.setLocal(request.level);
1124
1163
  await this.commandHandler.executeHandler('moveToLevel', { request: request, attributes: attributes, endpoint: endpoint });
1125
1164
  },
1126
1165
  move: async () => {
1127
- // eslint-disable-next-line no-console
1128
1166
  this.log.error('Matter command: move not implemented');
1129
1167
  },
1130
1168
  step: async () => {
1131
- // eslint-disable-next-line no-console
1132
1169
  this.log.error('Matter command: step not implemented');
1133
1170
  },
1134
1171
  stop: async () => {
1135
- // eslint-disable-next-line no-console
1136
1172
  this.log.error('Matter command: stop not implemented');
1137
1173
  },
1138
1174
  moveToLevelWithOnOff: async ({ request, attributes, endpoint }) => {
1139
- // eslint-disable-next-line no-console
1140
1175
  this.log.debug('Matter command: moveToLevelWithOnOff request:', request, 'attributes.currentLevel:', attributes.currentLevel.getLocal());
1141
- // attributes.currentLevel.setLocal(request.level);
1142
1176
  await this.commandHandler.executeHandler('moveToLevelWithOnOff', { request: request, attributes: attributes, endpoint: endpoint });
1143
1177
  },
1144
1178
  moveWithOnOff: async () => {
1145
- // eslint-disable-next-line no-console
1146
1179
  this.log.error('Matter command: moveWithOnOff not implemented');
1147
1180
  },
1148
1181
  stepWithOnOff: async () => {
1149
- // eslint-disable-next-line no-console
1150
1182
  this.log.error('Matter command: stepWithOnOff not implemented');
1151
1183
  },
1152
1184
  stopWithOnOff: async () => {
1153
- // eslint-disable-next-line no-console
1154
1185
  this.log.error('Matter command: stopWithOnOff not implemented');
1155
1186
  },
1156
1187
  });
@@ -1443,7 +1474,7 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
1443
1474
  * Get a default switch cluster server.
1444
1475
  *
1445
1476
  * @remarks
1446
- * This method adds a cluster server with default switch features and configurations.
1477
+ * This method adds a cluster server with default momentary switch features and configurations suitable for (AppleHome) Single Double Long automations.
1447
1478
  */
1448
1479
  getDefaultSwitchClusterServer() {
1449
1480
  return ClusterServer(SwitchCluster.with(Switch.Feature.MomentarySwitch, Switch.Feature.MomentarySwitchRelease, Switch.Feature.MomentarySwitchLongPress, Switch.Feature.MomentarySwitchMultiPress), {
@@ -1479,7 +1510,6 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
1479
1510
  startUpMode: startUpMode,
1480
1511
  }, {
1481
1512
  changeToMode: async (data) => {
1482
- // eslint-disable-next-line no-console
1483
1513
  this.log.debug('Matter command: changeToMode', data.request);
1484
1514
  await this.commandHandler.executeHandler('changeToMode', data);
1485
1515
  },
@@ -1883,7 +1913,7 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
1883
1913
  this.addClusterServer(this.getDefaultTimeSyncClusterServer());
1884
1914
  }
1885
1915
  /**
1886
- * Returns the default SmokeCOAlarmClusterServer.
1916
+ * Returns the default SmokeCOAlarm Cluster Server.
1887
1917
  *
1888
1918
  * @param smokeState - The state of the smoke alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
1889
1919
  * @param coState - The state of the CO alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
@@ -1921,7 +1951,7 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
1921
1951
  });
1922
1952
  }
1923
1953
  /**
1924
- * Create the default SmokeCOAlarmClusterServer.
1954
+ * Create the default SmokeCOAlarm Cluster Server.
1925
1955
  *
1926
1956
  * @param smokeState - The state of the smoke alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
1927
1957
  * @param coState - The state of the CO alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
@@ -1958,6 +1988,230 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
1958
1988
  createDefaultCarbonMonoxideConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
1959
1989
  this.addClusterServer(this.getDefaultCarbonMonoxideConcentrationMeasurementClusterServer(measuredValue, measurementUnit, measurementMedium));
1960
1990
  }
1991
+ /**
1992
+ * Returns the default Carbon Dioxide Concentration Measurement Cluster Server.
1993
+ *
1994
+ * @param {number} measuredValue - The measured value of the concentration.
1995
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
1996
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
1997
+ * @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
1998
+ */
1999
+ getDefaultCarbonDioxideConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2000
+ return ClusterServer(CarbonDioxideConcentrationMeasurementCluster.with('NumericMeasurement'), {
2001
+ measuredValue,
2002
+ minMeasuredValue: null,
2003
+ maxMeasuredValue: null,
2004
+ uncertainty: 0,
2005
+ measurementUnit,
2006
+ measurementMedium,
2007
+ }, {}, {});
2008
+ }
2009
+ /**
2010
+ * Create the default Carbon Dioxide Concentration Measurement Cluster Server.
2011
+ *
2012
+ * @param {number} measuredValue - The measured value of the concentration.
2013
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2014
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2015
+ */
2016
+ createDefaultCarbonDioxideConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2017
+ this.addClusterServer(this.getDefaultCarbonDioxideConcentrationMeasurementClusterServer(measuredValue, measurementUnit, measurementMedium));
2018
+ }
2019
+ /**
2020
+ * Returns the default Formaldehyde Concentration Measurement Cluster Server.
2021
+ *
2022
+ * @param {number} measuredValue - The measured value of the concentration.
2023
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2024
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2025
+ * @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
2026
+ */
2027
+ getDefaultFormaldehydeConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2028
+ return ClusterServer(FormaldehydeConcentrationMeasurementCluster.with('NumericMeasurement'), {
2029
+ measuredValue,
2030
+ minMeasuredValue: null,
2031
+ maxMeasuredValue: null,
2032
+ uncertainty: 0,
2033
+ measurementUnit,
2034
+ measurementMedium,
2035
+ }, {}, {});
2036
+ }
2037
+ /**
2038
+ * Create the default Formaldehyde Concentration Measurement Cluster Server.
2039
+ *
2040
+ * @param {number} measuredValue - The measured value of the concentration.
2041
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2042
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2043
+ */
2044
+ createDefaultFormaldehydeConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2045
+ this.addClusterServer(this.getDefaultFormaldehydeConcentrationMeasurementClusterServer(measuredValue, measurementUnit, measurementMedium));
2046
+ }
2047
+ /**
2048
+ * Returns the default Pm1 Concentration Measurement Cluster Server.
2049
+ *
2050
+ * @param {number} measuredValue - The measured value of the concentration.
2051
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2052
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2053
+ * @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
2054
+ */
2055
+ getDefaultPm1ConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2056
+ return ClusterServer(Pm1ConcentrationMeasurementCluster.with('NumericMeasurement'), {
2057
+ measuredValue,
2058
+ minMeasuredValue: null,
2059
+ maxMeasuredValue: null,
2060
+ uncertainty: 0,
2061
+ measurementUnit,
2062
+ measurementMedium,
2063
+ }, {}, {});
2064
+ }
2065
+ /**
2066
+ * Create the default Pm1 Concentration Measurement Cluster Server.
2067
+ *
2068
+ * @param {number} measuredValue - The measured value of the concentration.
2069
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2070
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2071
+ */
2072
+ createDefaulPm1ConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2073
+ this.addClusterServer(this.getDefaultPm1ConcentrationMeasurementClusterServer(measuredValue, measurementUnit, measurementMedium));
2074
+ }
2075
+ /**
2076
+ * Returns the default Pm25 Concentration Measurement Cluster Server.
2077
+ *
2078
+ * @param {number} measuredValue - The measured value of the concentration.
2079
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2080
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2081
+ * @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
2082
+ */
2083
+ getDefaultPm25ConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2084
+ return ClusterServer(Pm25ConcentrationMeasurementCluster.with('NumericMeasurement'), {
2085
+ measuredValue,
2086
+ minMeasuredValue: null,
2087
+ maxMeasuredValue: null,
2088
+ uncertainty: 0,
2089
+ measurementUnit,
2090
+ measurementMedium,
2091
+ }, {}, {});
2092
+ }
2093
+ /**
2094
+ * Create the default Pm25 Concentration Measurement Cluster Server.
2095
+ *
2096
+ * @param {number} measuredValue - The measured value of the concentration.
2097
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2098
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2099
+ */
2100
+ createDefaulPm25ConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2101
+ this.addClusterServer(this.getDefaultPm25ConcentrationMeasurementClusterServer(measuredValue, measurementUnit, measurementMedium));
2102
+ }
2103
+ /**
2104
+ * Returns the default Pm10 Concentration Measurement Cluster Server.
2105
+ *
2106
+ * @param {number} measuredValue - The measured value of the concentration.
2107
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2108
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2109
+ * @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
2110
+ */
2111
+ getDefaultPm10ConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2112
+ return ClusterServer(Pm10ConcentrationMeasurementCluster.with('NumericMeasurement'), {
2113
+ measuredValue,
2114
+ minMeasuredValue: null,
2115
+ maxMeasuredValue: null,
2116
+ uncertainty: 0,
2117
+ measurementUnit,
2118
+ measurementMedium,
2119
+ }, {}, {});
2120
+ }
2121
+ /**
2122
+ * Create the default Pm10 Concentration Measurement Cluster Server.
2123
+ *
2124
+ * @param {number} measuredValue - The measured value of the concentration.
2125
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2126
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2127
+ */
2128
+ createDefaulPm10ConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2129
+ this.addClusterServer(this.getDefaultPm10ConcentrationMeasurementClusterServer(measuredValue, measurementUnit, measurementMedium));
2130
+ }
2131
+ /**
2132
+ * Returns the default Ozone Concentration Measurement Cluster Server.
2133
+ *
2134
+ * @param {number} measuredValue - The measured value of the concentration.
2135
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2136
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2137
+ * @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
2138
+ */
2139
+ getDefaultOzoneConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2140
+ return ClusterServer(OzoneConcentrationMeasurementCluster.with('NumericMeasurement'), {
2141
+ measuredValue,
2142
+ minMeasuredValue: null,
2143
+ maxMeasuredValue: null,
2144
+ uncertainty: 0,
2145
+ measurementUnit,
2146
+ measurementMedium,
2147
+ }, {}, {});
2148
+ }
2149
+ /**
2150
+ * Create the default Ozone Concentration Measurement Cluster Server.
2151
+ *
2152
+ * @param {number} measuredValue - The measured value of the concentration.
2153
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2154
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2155
+ */
2156
+ createDefaulOzoneConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2157
+ this.addClusterServer(this.getDefaultOzoneConcentrationMeasurementClusterServer(measuredValue, measurementUnit, measurementMedium));
2158
+ }
2159
+ /**
2160
+ * Returns the default Radon Concentration Measurement Cluster Server.
2161
+ *
2162
+ * @param {number} measuredValue - The measured value of the concentration.
2163
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2164
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2165
+ * @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
2166
+ */
2167
+ getDefaultRadonConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2168
+ return ClusterServer(RadonConcentrationMeasurementCluster.with('NumericMeasurement'), {
2169
+ measuredValue,
2170
+ minMeasuredValue: null,
2171
+ maxMeasuredValue: null,
2172
+ uncertainty: 0,
2173
+ measurementUnit,
2174
+ measurementMedium,
2175
+ }, {}, {});
2176
+ }
2177
+ /**
2178
+ * Create the default Radon Concentration Measurement Cluster Server.
2179
+ *
2180
+ * @param {number} measuredValue - The measured value of the concentration.
2181
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2182
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2183
+ */
2184
+ createDefaulRadonConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2185
+ this.addClusterServer(this.getDefaultRadonConcentrationMeasurementClusterServer(measuredValue, measurementUnit, measurementMedium));
2186
+ }
2187
+ /**
2188
+ * Returns the default Nitrogen Dioxide Concentration Measurement Cluster Server.
2189
+ *
2190
+ * @param {number} measuredValue - The measured value of the concentration.
2191
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2192
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2193
+ * @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
2194
+ */
2195
+ getDefaultNitrogenDioxideConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2196
+ return ClusterServer(NitrogenDioxideConcentrationMeasurementCluster.with('NumericMeasurement'), {
2197
+ measuredValue,
2198
+ minMeasuredValue: null,
2199
+ maxMeasuredValue: null,
2200
+ uncertainty: 0,
2201
+ measurementUnit,
2202
+ measurementMedium,
2203
+ }, {}, {});
2204
+ }
2205
+ /**
2206
+ * Create the default Nitrogen Dioxide Concentration Measurement Cluster Server.
2207
+ *
2208
+ * @param {number} measuredValue - The measured value of the concentration.
2209
+ * @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
2210
+ * @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
2211
+ */
2212
+ createDefaulNitrogenDioxideConcentrationMeasurementClusterServer(measuredValue = 0, measurementUnit = ConcentrationMeasurement.MeasurementUnit.Ppm, measurementMedium = ConcentrationMeasurement.MeasurementMedium.Air) {
2213
+ this.addClusterServer(this.getDefaultNitrogenDioxideConcentrationMeasurementClusterServer(measuredValue, measurementUnit, measurementMedium));
2214
+ }
1961
2215
  /**
1962
2216
  * Returns the default fan control cluster server rev 2.
1963
2217
  *