matterbridge 1.5.3 → 1.5.4
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 +12 -0
- package/README-DEV.md +4 -2
- package/dist/cluster/export.d.ts +1 -21
- package/dist/cluster/export.d.ts.map +1 -1
- package/dist/cluster/export.js +2 -21
- package/dist/cluster/export.js.map +1 -1
- package/dist/matterbridge.js +3 -3
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +126 -212
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +30 -43
- package/dist/matterbridgeDevice.js.map +1 -1
- package/dist/pluginManager.d.ts.map +1 -1
- package/dist/pluginManager.js +20 -4
- package/dist/pluginManager.js.map +1 -1
- package/frontend/build/asset-manifest.json +3 -3
- package/frontend/build/index.html +1 -1
- package/frontend/build/static/js/{main.6725e5ab.js → main.f86befcf.js} +3 -3
- package/frontend/build/static/js/{main.6725e5ab.js.map → main.f86befcf.js.map} +1 -1
- package/package.json +2 -2
- package/dist/cluster/AirQualityCluster.d.ts +0 -188
- package/dist/cluster/AirQualityCluster.d.ts.map +0 -1
- package/dist/cluster/AirQualityCluster.js +0 -98
- package/dist/cluster/AirQualityCluster.js.map +0 -1
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.d.ts +0 -396
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.js +0 -30
- package/dist/cluster/CarbonDioxideConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts +0 -396
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.js +0 -30
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/ConcentrationMeasurementCluster.d.ts +0 -524
- package/dist/cluster/ConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/ConcentrationMeasurementCluster.js +0 -282
- package/dist/cluster/ConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts +0 -7851
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts.map +0 -1
- package/dist/cluster/DeviceEnergyManagementCluster.js +0 -1634
- package/dist/cluster/DeviceEnergyManagementCluster.js.map +0 -1
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts +0 -68
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts.map +0 -1
- package/dist/cluster/DeviceEnergyManagementModeCluster.js +0 -49
- package/dist/cluster/DeviceEnergyManagementModeCluster.js.map +0 -1
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts +0 -4978
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js +0 -510
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js.map +0 -1
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts +0 -3250
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/ElectricalPowerMeasurementCluster.js +0 -675
- package/dist/cluster/ElectricalPowerMeasurementCluster.js.map +0 -1
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.d.ts +0 -396
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.js +0 -30
- package/dist/cluster/FormaldehydeConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/MeasurementAccuracy.d.ts +0 -63
- package/dist/cluster/MeasurementAccuracy.d.ts.map +0 -1
- package/dist/cluster/MeasurementAccuracy.js +0 -47
- package/dist/cluster/MeasurementAccuracy.js.map +0 -1
- package/dist/cluster/MeasurementAccuracyRange.d.ts +0 -134
- package/dist/cluster/MeasurementAccuracyRange.d.ts.map +0 -1
- package/dist/cluster/MeasurementAccuracyRange.js +0 -103
- package/dist/cluster/MeasurementAccuracyRange.js.map +0 -1
- package/dist/cluster/MeasurementType.d.ts +0 -68
- package/dist/cluster/MeasurementType.d.ts.map +0 -1
- package/dist/cluster/MeasurementType.js +0 -69
- package/dist/cluster/MeasurementType.js.map +0 -1
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.d.ts +0 -396
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.js +0 -34
- package/dist/cluster/NitrogenDioxideConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/OzoneConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/OzoneConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/OzoneConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/OzoneConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/Pm10ConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/Pm1ConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/Pm25ConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/PowerTopologyCluster.d.ts +0 -345
- package/dist/cluster/PowerTopologyCluster.d.ts.map +0 -1
- package/dist/cluster/PowerTopologyCluster.js +0 -138
- package/dist/cluster/PowerTopologyCluster.js.map +0 -1
- package/dist/cluster/RadonConcentrationMeasurementCluster.d.ts +0 -395
- package/dist/cluster/RadonConcentrationMeasurementCluster.d.ts.map +0 -1
- package/dist/cluster/RadonConcentrationMeasurementCluster.js +0 -29
- package/dist/cluster/RadonConcentrationMeasurementCluster.js.map +0 -1
- package/dist/cluster/ScenesCluster.d.ts +0 -1249
- package/dist/cluster/ScenesCluster.d.ts.map +0 -1
- package/dist/cluster/ScenesCluster.js +0 -436
- package/dist/cluster/ScenesCluster.js.map +0 -1
- package/dist/cluster/SmokeCoAlarmCluster.d.ts +0 -1575
- package/dist/cluster/SmokeCoAlarmCluster.d.ts.map +0 -1
- package/dist/cluster/SmokeCoAlarmCluster.js +0 -603
- package/dist/cluster/SmokeCoAlarmCluster.js.map +0 -1
- package/dist/cluster/TvocCluster.d.ts +0 -465
- package/dist/cluster/TvocCluster.d.ts.map +0 -1
- package/dist/cluster/TvocCluster.js +0 -197
- package/dist/cluster/TvocCluster.js.map +0 -1
- /package/frontend/build/static/js/{main.6725e5ab.js.LICENSE.txt → main.f86befcf.js.LICENSE.txt} +0 -0
|
@@ -1,524 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022-2024 Matter.js Authors
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/** * THIS FILE IS GENERATED, DO NOT EDIT ***/
|
|
7
|
-
import { FixedAttribute, OptionalAttribute } from '@project-chip/matter-node.js/cluster';
|
|
8
|
-
import { Attribute } from '@project-chip/matter-node.js/cluster';
|
|
9
|
-
import { BitFlag } from '@project-chip/matter-node.js/schema';
|
|
10
|
-
import { Identity } from '@project-chip/matter-node.js/util';
|
|
11
|
-
export declare namespace ConcentrationMeasurement {
|
|
12
|
-
/**
|
|
13
|
-
* Where mentioned, Billion refers to 10, Trillion refers to 1012 (short scale).
|
|
14
|
-
*
|
|
15
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.5.1
|
|
16
|
-
*/
|
|
17
|
-
enum MeasurementUnit {
|
|
18
|
-
/**
|
|
19
|
-
* Parts per Million (10)
|
|
20
|
-
*/
|
|
21
|
-
Ppm = 0,
|
|
22
|
-
/**
|
|
23
|
-
* Parts per Billion (10)
|
|
24
|
-
*/
|
|
25
|
-
Ppb = 1,
|
|
26
|
-
/**
|
|
27
|
-
* Parts per Trillion (1012)
|
|
28
|
-
*/
|
|
29
|
-
Ppt = 2,
|
|
30
|
-
/**
|
|
31
|
-
* Milligram per m
|
|
32
|
-
*/
|
|
33
|
-
Mgm3 = 3,
|
|
34
|
-
/**
|
|
35
|
-
* Microgram per m
|
|
36
|
-
*/
|
|
37
|
-
Ugm3 = 4,
|
|
38
|
-
/**
|
|
39
|
-
* Nanogram per m
|
|
40
|
-
*/
|
|
41
|
-
Ngm3 = 5,
|
|
42
|
-
/**
|
|
43
|
-
* Particles per m
|
|
44
|
-
*/
|
|
45
|
-
Pm3 = 6,
|
|
46
|
-
/**
|
|
47
|
-
* Becquerel per m
|
|
48
|
-
*/
|
|
49
|
-
Bqm3 = 7
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.5.3
|
|
53
|
-
*/
|
|
54
|
-
enum LevelValue {
|
|
55
|
-
/**
|
|
56
|
-
* The level is Unknown
|
|
57
|
-
*/
|
|
58
|
-
Unknown = 0,
|
|
59
|
-
/**
|
|
60
|
-
* The level is considered Low
|
|
61
|
-
*/
|
|
62
|
-
Low = 1,
|
|
63
|
-
/**
|
|
64
|
-
* The level is considered Medium
|
|
65
|
-
*/
|
|
66
|
-
Medium = 2,
|
|
67
|
-
/**
|
|
68
|
-
* The level is considered High
|
|
69
|
-
*/
|
|
70
|
-
High = 3,
|
|
71
|
-
/**
|
|
72
|
-
* The level is considered Critical
|
|
73
|
-
*/
|
|
74
|
-
Critical = 4
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.5.2
|
|
78
|
-
*/
|
|
79
|
-
enum MeasurementMedium {
|
|
80
|
-
/**
|
|
81
|
-
* The measurement is being made in Air
|
|
82
|
-
*/
|
|
83
|
-
Air = 0,
|
|
84
|
-
/**
|
|
85
|
-
* The measurement is being made in Water
|
|
86
|
-
*/
|
|
87
|
-
Water = 1,
|
|
88
|
-
/**
|
|
89
|
-
* The measurement is being made in Soil
|
|
90
|
-
*/
|
|
91
|
-
Soil = 2
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* A ConcentrationMeasurementCluster supports these elements if it supports feature NumericMeasurement.
|
|
95
|
-
*/
|
|
96
|
-
const NumericMeasurementComponent: {
|
|
97
|
-
readonly attributes: {
|
|
98
|
-
/**
|
|
99
|
-
* Indicates the most recent measurement as a single-precision floating-point number. MeasuredValue’s unit
|
|
100
|
-
* is represented by MeasurementUnit.
|
|
101
|
-
*
|
|
102
|
-
* A value of null indicates that the measurement is unknown or outside the valid range. MinMeasuredValue
|
|
103
|
-
* and MaxMeasuredValue define the valid range for MeasuredValue.
|
|
104
|
-
*
|
|
105
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.1
|
|
106
|
-
*/
|
|
107
|
-
readonly measuredValue: Attribute<number | null, any>;
|
|
108
|
-
/**
|
|
109
|
-
* Indicates the minimum value of MeasuredValue that is capable of being measured. A MinMeasuredValue of
|
|
110
|
-
* null indicates that the MinMeasuredValue is not defined.
|
|
111
|
-
*
|
|
112
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.2
|
|
113
|
-
*/
|
|
114
|
-
readonly minMeasuredValue: Attribute<number | null, any>;
|
|
115
|
-
/**
|
|
116
|
-
* Indicates the maximum value of MeasuredValue that is capable of being measured. A MaxMeasuredValue of
|
|
117
|
-
* null indicates that the MaxMeasuredValue is not defined.
|
|
118
|
-
*
|
|
119
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.3
|
|
120
|
-
*/
|
|
121
|
-
readonly maxMeasuredValue: Attribute<number | null, any>;
|
|
122
|
-
/**
|
|
123
|
-
* Indicates the range of error or deviation that can be found in MeasuredValue and PeakMeasuredValue. This
|
|
124
|
-
* is considered a +/- value and should be considered to be in MeasurementUnit.
|
|
125
|
-
*
|
|
126
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.8
|
|
127
|
-
*/
|
|
128
|
-
readonly uncertainty: OptionalAttribute<number, any>;
|
|
129
|
-
/**
|
|
130
|
-
* Indicates the unit of MeasuredValue. See MeasurementUnitEnum.
|
|
131
|
-
*
|
|
132
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.9
|
|
133
|
-
*/
|
|
134
|
-
readonly measurementUnit: FixedAttribute<MeasurementUnit, any>;
|
|
135
|
-
};
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* A ConcentrationMeasurementCluster supports these elements if it supports feature PeakMeasurement.
|
|
139
|
-
*/
|
|
140
|
-
const PeakMeasurementComponent: {
|
|
141
|
-
readonly attributes: {
|
|
142
|
-
/**
|
|
143
|
-
* Indicates the maximum value of MeasuredValue that has been measured during the PeakMeasuredValueWindow.
|
|
144
|
-
* If this attribute is provided, the PeakMeasuredValueWindow attribute shall also be provided.
|
|
145
|
-
*
|
|
146
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.4
|
|
147
|
-
*/
|
|
148
|
-
readonly peakMeasuredValue: Attribute<number | null, any>;
|
|
149
|
-
/**
|
|
150
|
-
* Indicates the window of time used for determining the PeakMeasuredValue. The value is in seconds.
|
|
151
|
-
*
|
|
152
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.5
|
|
153
|
-
*/
|
|
154
|
-
readonly peakMeasuredValueWindow: Attribute<number, any>;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
/**
|
|
158
|
-
* A ConcentrationMeasurementCluster supports these elements if it supports feature AverageMeasurement.
|
|
159
|
-
*/
|
|
160
|
-
const AverageMeasurementComponent: {
|
|
161
|
-
readonly attributes: {
|
|
162
|
-
/**
|
|
163
|
-
* Indicates the average value of MeasuredValue that has been measured during the
|
|
164
|
-
* AverageMeasuredValueWindow. If this attribute is provided, the AverageMeasuredValueWindow attribute
|
|
165
|
-
* shall also be provided.
|
|
166
|
-
*
|
|
167
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.6
|
|
168
|
-
*/
|
|
169
|
-
readonly averageMeasuredValue: Attribute<number | null, any>;
|
|
170
|
-
/**
|
|
171
|
-
* Indicates the window of time used for determining the AverageMeasuredValue. The value is in seconds.
|
|
172
|
-
*
|
|
173
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.7
|
|
174
|
-
*/
|
|
175
|
-
readonly averageMeasuredValueWindow: Attribute<number, any>;
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* A ConcentrationMeasurementCluster supports these elements if it supports feature LevelIndication.
|
|
180
|
-
*/
|
|
181
|
-
const LevelIndicationComponent: {
|
|
182
|
-
readonly attributes: {
|
|
183
|
-
/**
|
|
184
|
-
* Indicates the level of the substance detected. See LevelValueEnum.
|
|
185
|
-
*
|
|
186
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.11
|
|
187
|
-
*/
|
|
188
|
-
readonly levelValue: Attribute<LevelValue, any>;
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
/**
|
|
192
|
-
* ConcentrationMeasurement is a derived cluster, not to be used directly. These elements are present in all
|
|
193
|
-
* clusters derived from ConcentrationMeasurement.
|
|
194
|
-
*/
|
|
195
|
-
const Base: {
|
|
196
|
-
readonly features: {
|
|
197
|
-
/**
|
|
198
|
-
* NumericMeasurement
|
|
199
|
-
*
|
|
200
|
-
* Cluster supports numeric measurement of substance
|
|
201
|
-
*/
|
|
202
|
-
readonly numericMeasurement: BitFlag;
|
|
203
|
-
/**
|
|
204
|
-
* LevelIndication
|
|
205
|
-
*
|
|
206
|
-
* Cluster supports basic level indication for substance using the ConcentrationLevel enum
|
|
207
|
-
*/
|
|
208
|
-
readonly levelIndication: BitFlag;
|
|
209
|
-
/**
|
|
210
|
-
* MediumLevel
|
|
211
|
-
*
|
|
212
|
-
* Cluster supports the Medium Concentration Level
|
|
213
|
-
*/
|
|
214
|
-
readonly mediumLevel: BitFlag;
|
|
215
|
-
/**
|
|
216
|
-
* CriticalLevel
|
|
217
|
-
*
|
|
218
|
-
* Cluster supports the Critical Concentration Level
|
|
219
|
-
*/
|
|
220
|
-
readonly criticalLevel: BitFlag;
|
|
221
|
-
/**
|
|
222
|
-
* PeakMeasurement
|
|
223
|
-
*
|
|
224
|
-
* Cluster supports peak numeric measurement of substance
|
|
225
|
-
*/
|
|
226
|
-
readonly peakMeasurement: BitFlag;
|
|
227
|
-
/**
|
|
228
|
-
* AverageMeasurement
|
|
229
|
-
*
|
|
230
|
-
* Cluster supports average numeric measurement of substance
|
|
231
|
-
*/
|
|
232
|
-
readonly averageMeasurement: BitFlag;
|
|
233
|
-
};
|
|
234
|
-
readonly name: "ConcentrationMeasurement";
|
|
235
|
-
readonly revision: 3;
|
|
236
|
-
readonly attributes: {
|
|
237
|
-
/**
|
|
238
|
-
* Indicates the medium in which MeasuredValue is being measured. See MeasurementMediumEnum.
|
|
239
|
-
*
|
|
240
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.10
|
|
241
|
-
*/
|
|
242
|
-
readonly measurementMedium: FixedAttribute<MeasurementMedium, any>;
|
|
243
|
-
};
|
|
244
|
-
/**
|
|
245
|
-
* This metadata controls which ConcentrationMeasurementCluster elements matter.js activates for specific
|
|
246
|
-
* feature combinations.
|
|
247
|
-
*/
|
|
248
|
-
readonly extensions: readonly [{
|
|
249
|
-
readonly flags: {
|
|
250
|
-
readonly numericMeasurement: true;
|
|
251
|
-
};
|
|
252
|
-
readonly component: {
|
|
253
|
-
readonly attributes: {
|
|
254
|
-
/**
|
|
255
|
-
* Indicates the most recent measurement as a single-precision floating-point number. MeasuredValue’s unit
|
|
256
|
-
* is represented by MeasurementUnit.
|
|
257
|
-
*
|
|
258
|
-
* A value of null indicates that the measurement is unknown or outside the valid range. MinMeasuredValue
|
|
259
|
-
* and MaxMeasuredValue define the valid range for MeasuredValue.
|
|
260
|
-
*
|
|
261
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.1
|
|
262
|
-
*/
|
|
263
|
-
readonly measuredValue: Attribute<number | null, any>;
|
|
264
|
-
/**
|
|
265
|
-
* Indicates the minimum value of MeasuredValue that is capable of being measured. A MinMeasuredValue of
|
|
266
|
-
* null indicates that the MinMeasuredValue is not defined.
|
|
267
|
-
*
|
|
268
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.2
|
|
269
|
-
*/
|
|
270
|
-
readonly minMeasuredValue: Attribute<number | null, any>;
|
|
271
|
-
/**
|
|
272
|
-
* Indicates the maximum value of MeasuredValue that is capable of being measured. A MaxMeasuredValue of
|
|
273
|
-
* null indicates that the MaxMeasuredValue is not defined.
|
|
274
|
-
*
|
|
275
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.3
|
|
276
|
-
*/
|
|
277
|
-
readonly maxMeasuredValue: Attribute<number | null, any>;
|
|
278
|
-
/**
|
|
279
|
-
* Indicates the range of error or deviation that can be found in MeasuredValue and PeakMeasuredValue. This
|
|
280
|
-
* is considered a +/- value and should be considered to be in MeasurementUnit.
|
|
281
|
-
*
|
|
282
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.8
|
|
283
|
-
*/
|
|
284
|
-
readonly uncertainty: OptionalAttribute<number, any>;
|
|
285
|
-
/**
|
|
286
|
-
* Indicates the unit of MeasuredValue. See MeasurementUnitEnum.
|
|
287
|
-
*
|
|
288
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.9
|
|
289
|
-
*/
|
|
290
|
-
readonly measurementUnit: FixedAttribute<MeasurementUnit, any>;
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
}, {
|
|
294
|
-
readonly flags: {
|
|
295
|
-
readonly peakMeasurement: true;
|
|
296
|
-
};
|
|
297
|
-
readonly component: {
|
|
298
|
-
readonly attributes: {
|
|
299
|
-
/**
|
|
300
|
-
* Indicates the maximum value of MeasuredValue that has been measured during the PeakMeasuredValueWindow.
|
|
301
|
-
* If this attribute is provided, the PeakMeasuredValueWindow attribute shall also be provided.
|
|
302
|
-
*
|
|
303
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.4
|
|
304
|
-
*/
|
|
305
|
-
readonly peakMeasuredValue: Attribute<number | null, any>;
|
|
306
|
-
/**
|
|
307
|
-
* Indicates the window of time used for determining the PeakMeasuredValue. The value is in seconds.
|
|
308
|
-
*
|
|
309
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.5
|
|
310
|
-
*/
|
|
311
|
-
readonly peakMeasuredValueWindow: Attribute<number, any>;
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
|
-
}, {
|
|
315
|
-
readonly flags: {
|
|
316
|
-
readonly averageMeasurement: true;
|
|
317
|
-
};
|
|
318
|
-
readonly component: {
|
|
319
|
-
readonly attributes: {
|
|
320
|
-
/**
|
|
321
|
-
* Indicates the average value of MeasuredValue that has been measured during the
|
|
322
|
-
* AverageMeasuredValueWindow. If this attribute is provided, the AverageMeasuredValueWindow attribute
|
|
323
|
-
* shall also be provided.
|
|
324
|
-
*
|
|
325
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.6
|
|
326
|
-
*/
|
|
327
|
-
readonly averageMeasuredValue: Attribute<number | null, any>;
|
|
328
|
-
/**
|
|
329
|
-
* Indicates the window of time used for determining the AverageMeasuredValue. The value is in seconds.
|
|
330
|
-
*
|
|
331
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.7
|
|
332
|
-
*/
|
|
333
|
-
readonly averageMeasuredValueWindow: Attribute<number, any>;
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
}, {
|
|
337
|
-
readonly flags: {
|
|
338
|
-
readonly levelIndication: true;
|
|
339
|
-
};
|
|
340
|
-
readonly component: {
|
|
341
|
-
readonly attributes: {
|
|
342
|
-
/**
|
|
343
|
-
* Indicates the level of the substance detected. See LevelValueEnum.
|
|
344
|
-
*
|
|
345
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.11
|
|
346
|
-
*/
|
|
347
|
-
readonly levelValue: Attribute<LevelValue, any>;
|
|
348
|
-
};
|
|
349
|
-
};
|
|
350
|
-
}, {
|
|
351
|
-
readonly flags: {
|
|
352
|
-
readonly mediumLevel: true;
|
|
353
|
-
readonly levelIndication: false;
|
|
354
|
-
};
|
|
355
|
-
readonly component: false;
|
|
356
|
-
}, {
|
|
357
|
-
readonly flags: {
|
|
358
|
-
readonly criticalLevel: true;
|
|
359
|
-
readonly levelIndication: false;
|
|
360
|
-
};
|
|
361
|
-
readonly component: false;
|
|
362
|
-
}, {
|
|
363
|
-
readonly flags: {
|
|
364
|
-
readonly peakMeasurement: true;
|
|
365
|
-
readonly numericMeasurement: false;
|
|
366
|
-
};
|
|
367
|
-
readonly component: false;
|
|
368
|
-
}, {
|
|
369
|
-
readonly flags: {
|
|
370
|
-
readonly averageMeasurement: true;
|
|
371
|
-
readonly numericMeasurement: false;
|
|
372
|
-
};
|
|
373
|
-
readonly component: false;
|
|
374
|
-
}, {
|
|
375
|
-
readonly flags: {
|
|
376
|
-
readonly numericMeasurement: false;
|
|
377
|
-
readonly levelIndication: false;
|
|
378
|
-
};
|
|
379
|
-
readonly component: false;
|
|
380
|
-
}];
|
|
381
|
-
};
|
|
382
|
-
/**
|
|
383
|
-
* @see {@link Complete}
|
|
384
|
-
*/
|
|
385
|
-
const CompleteInstance: {
|
|
386
|
-
readonly name: "ConcentrationMeasurement";
|
|
387
|
-
readonly revision: 3;
|
|
388
|
-
readonly features: {
|
|
389
|
-
/**
|
|
390
|
-
* NumericMeasurement
|
|
391
|
-
*
|
|
392
|
-
* Cluster supports numeric measurement of substance
|
|
393
|
-
*/
|
|
394
|
-
readonly numericMeasurement: BitFlag;
|
|
395
|
-
/**
|
|
396
|
-
* LevelIndication
|
|
397
|
-
*
|
|
398
|
-
* Cluster supports basic level indication for substance using the ConcentrationLevel enum
|
|
399
|
-
*/
|
|
400
|
-
readonly levelIndication: BitFlag;
|
|
401
|
-
/**
|
|
402
|
-
* MediumLevel
|
|
403
|
-
*
|
|
404
|
-
* Cluster supports the Medium Concentration Level
|
|
405
|
-
*/
|
|
406
|
-
readonly mediumLevel: BitFlag;
|
|
407
|
-
/**
|
|
408
|
-
* CriticalLevel
|
|
409
|
-
*
|
|
410
|
-
* Cluster supports the Critical Concentration Level
|
|
411
|
-
*/
|
|
412
|
-
readonly criticalLevel: BitFlag;
|
|
413
|
-
/**
|
|
414
|
-
* PeakMeasurement
|
|
415
|
-
*
|
|
416
|
-
* Cluster supports peak numeric measurement of substance
|
|
417
|
-
*/
|
|
418
|
-
readonly peakMeasurement: BitFlag;
|
|
419
|
-
/**
|
|
420
|
-
* AverageMeasurement
|
|
421
|
-
*
|
|
422
|
-
* Cluster supports average numeric measurement of substance
|
|
423
|
-
*/
|
|
424
|
-
readonly averageMeasurement: BitFlag;
|
|
425
|
-
};
|
|
426
|
-
readonly attributes: {
|
|
427
|
-
readonly measuredValue: Attribute<number | null, any> & {
|
|
428
|
-
readonly optional: true;
|
|
429
|
-
readonly isConditional: true;
|
|
430
|
-
readonly optionalIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
431
|
-
readonly mandatoryIf: [] | [{
|
|
432
|
-
numericMeasurement: boolean;
|
|
433
|
-
}];
|
|
434
|
-
};
|
|
435
|
-
readonly minMeasuredValue: Attribute<number | null, any> & {
|
|
436
|
-
readonly optional: true;
|
|
437
|
-
readonly isConditional: true;
|
|
438
|
-
readonly optionalIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
439
|
-
readonly mandatoryIf: [] | [{
|
|
440
|
-
numericMeasurement: boolean;
|
|
441
|
-
}];
|
|
442
|
-
};
|
|
443
|
-
readonly maxMeasuredValue: Attribute<number | null, any> & {
|
|
444
|
-
readonly optional: true;
|
|
445
|
-
readonly isConditional: true;
|
|
446
|
-
readonly optionalIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
447
|
-
readonly mandatoryIf: [] | [{
|
|
448
|
-
numericMeasurement: boolean;
|
|
449
|
-
}];
|
|
450
|
-
};
|
|
451
|
-
readonly peakMeasuredValue: Attribute<number | null, any> & {
|
|
452
|
-
readonly optional: true;
|
|
453
|
-
readonly isConditional: true;
|
|
454
|
-
readonly optionalIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
455
|
-
readonly mandatoryIf: [] | [{
|
|
456
|
-
peakMeasurement: boolean;
|
|
457
|
-
}];
|
|
458
|
-
};
|
|
459
|
-
readonly peakMeasuredValueWindow: Attribute<number, any> & {
|
|
460
|
-
readonly optional: true;
|
|
461
|
-
readonly isConditional: true;
|
|
462
|
-
readonly optionalIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
463
|
-
readonly mandatoryIf: [] | [{
|
|
464
|
-
peakMeasurement: boolean;
|
|
465
|
-
}];
|
|
466
|
-
};
|
|
467
|
-
readonly averageMeasuredValue: Attribute<number | null, any> & {
|
|
468
|
-
readonly optional: true;
|
|
469
|
-
readonly isConditional: true;
|
|
470
|
-
readonly optionalIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
471
|
-
readonly mandatoryIf: [] | [{
|
|
472
|
-
averageMeasurement: boolean;
|
|
473
|
-
}];
|
|
474
|
-
};
|
|
475
|
-
readonly averageMeasuredValueWindow: Attribute<number, any> & {
|
|
476
|
-
readonly optional: true;
|
|
477
|
-
readonly isConditional: true;
|
|
478
|
-
readonly optionalIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
479
|
-
readonly mandatoryIf: [] | [{
|
|
480
|
-
averageMeasurement: boolean;
|
|
481
|
-
}];
|
|
482
|
-
};
|
|
483
|
-
readonly uncertainty: OptionalAttribute<number, any> & {
|
|
484
|
-
readonly optional: true;
|
|
485
|
-
readonly isConditional: true;
|
|
486
|
-
readonly optionalIf: [] | [{
|
|
487
|
-
numericMeasurement: boolean;
|
|
488
|
-
}];
|
|
489
|
-
readonly mandatoryIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
490
|
-
};
|
|
491
|
-
readonly measurementUnit: FixedAttribute<MeasurementUnit, any> & {
|
|
492
|
-
readonly optional: true;
|
|
493
|
-
readonly isConditional: true;
|
|
494
|
-
readonly optionalIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
495
|
-
readonly mandatoryIf: [] | [{
|
|
496
|
-
numericMeasurement: boolean;
|
|
497
|
-
}];
|
|
498
|
-
};
|
|
499
|
-
readonly levelValue: Attribute<LevelValue, any> & {
|
|
500
|
-
readonly optional: true;
|
|
501
|
-
readonly isConditional: true;
|
|
502
|
-
readonly optionalIf: [] | import("@project-chip/matter-node.js/cluster").ConditionalFeatureList<import("@project-chip/matter-node.js/schema").BitSchema>;
|
|
503
|
-
readonly mandatoryIf: [] | [{
|
|
504
|
-
levelIndication: boolean;
|
|
505
|
-
}];
|
|
506
|
-
};
|
|
507
|
-
/**
|
|
508
|
-
* Indicates the medium in which MeasuredValue is being measured. See MeasurementMediumEnum.
|
|
509
|
-
*
|
|
510
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.10.6.10
|
|
511
|
-
*/
|
|
512
|
-
readonly measurementMedium: FixedAttribute<MeasurementMedium, any>;
|
|
513
|
-
};
|
|
514
|
-
};
|
|
515
|
-
/**
|
|
516
|
-
* This cluster supports all ConcentrationMeasurement features. It may support illegal feature combinations.
|
|
517
|
-
*
|
|
518
|
-
* If you use this cluster you must manually specify which features are active and ensure the set of active
|
|
519
|
-
* features is legal per the Matter specification.
|
|
520
|
-
*/
|
|
521
|
-
type Complete = Identity<typeof CompleteInstance>;
|
|
522
|
-
const Complete: Complete;
|
|
523
|
-
}
|
|
524
|
-
//# sourceMappingURL=ConcentrationMeasurementCluster.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConcentrationMeasurementCluster.d.ts","sourceRoot":"","sources":["../../src/cluster/ConcentrationMeasurementCluster.ts"],"names":[],"mappings":"AACA;;;;GAIG;AAEH,8CAA8C;AAE9C,OAAO,EAAE,cAAc,EAAkB,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzG,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAE9D,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAE7D,yBAAiB,wBAAwB,CAAC;IACxC;;;;OAIG;IACH,KAAY,eAAe;QACzB;;WAEG;QACH,GAAG,IAAI;QAEP;;WAEG;QACH,GAAG,IAAI;QAEP;;WAEG;QACH,GAAG,IAAI;QAEP;;WAEG;QACH,IAAI,IAAI;QAER;;WAEG;QACH,IAAI,IAAI;QAER;;WAEG;QACH,IAAI,IAAI;QAER;;WAEG;QACH,GAAG,IAAI;QAEP;;WAEG;QACH,IAAI,IAAI;KACT;IAED;;OAEG;IACH,KAAY,UAAU;QACpB;;WAEG;QACH,OAAO,IAAI;QAEX;;WAEG;QACH,GAAG,IAAI;QAEP;;WAEG;QACH,MAAM,IAAI;QAEV;;WAEG;QACH,IAAI,IAAI;QAER;;WAEG;QACH,QAAQ,IAAI;KACb;IAED;;OAEG;IACH,KAAY,iBAAiB;QAC3B;;WAEG;QACH,GAAG,IAAI;QAEP;;WAEG;QACH,KAAK,IAAI;QAET;;WAEG;QACH,IAAI,IAAI;KACT;IAED;;OAEG;IACI,MAAM,2BAA2B;;YAEpC;;;;;;;;eAQG;;YAGH;;;;;eAKG;;YAGH;;;;;eAKG;;YAGH;;;;;eAKG;;YAGH;;;;eAIG;;;KAGL,CAAC;IAEH;;OAEG;IACI,MAAM,wBAAwB;;YAEjC;;;;;eAKG;;YAGH;;;;eAIG;;;KAGL,CAAC;IAEH;;OAEG;IACI,MAAM,2BAA2B;;YAEpC;;;;;;eAMG;;YAGH;;;;eAIG;;;KAGL,CAAC;IAEH;;OAEG;IACI,MAAM,wBAAwB;;YAEjC;;;;eAIG;;;KAGL,CAAC;IAEH;;;OAGG;IACI,MAAM,IAAI;;YAEb;;;;eAIG;;YAGH;;;;eAIG;;YAGH;;;;eAIG;;YAGH;;;;eAIG;;YAGH;;;;eAIG;;YAGH;;;;eAIG;;;;;;YAQH;;;;eAIG;;;QAIL;;;WAGG;;;;;;;oBAvKD;;;;;;;;uBAQG;;oBAGH;;;;;uBAKG;;oBAGH;;;;;uBAKG;;oBAGH;;;;;uBAKG;;oBAGH;;;;uBAIG;;;;;;;;;;oBAUH;;;;;uBAKG;;oBAGH;;;;uBAIG;;;;;;;;;;oBAUH;;;;;;uBAMG;;oBAGH;;;;uBAIG;;;;;;;;;;oBAUH;;;;uBAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAiFL,CAAC;IAOH;;OAEG;IACI,MAAM,gBAAgB;;;;YAhFzB;;;;eAIG;;YAGH;;;;eAIG;;YAGH;;;;eAIG;;YAGH;;;;eAIG;;YAGH;;;;eAIG;;YAGH;;;;eAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAQH;;;;eAIG;;;KA+CL,CAAC;IAEH;;;;;OAKG;IACH,KAAY,QAAQ,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;IAElD,MAAM,QAAQ,EAAE,QAA2B,CAAC;CACpD"}
|