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,134 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022-2024 Matter.js Authors
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { TypeFromSchema } from '@project-chip/matter-node.js/tlv';
|
|
7
|
-
/**
|
|
8
|
-
* This struct represents the accuracy of a measurement for a range of measurement values. Accuracy shall be expressed
|
|
9
|
-
* as a maximum +/- percentage of the true value, a maximum +/- fixed value of the true value, or both.
|
|
10
|
-
*
|
|
11
|
-
* • If both PercentMax and FixedMax are indicated, then for a given true value in the range between RangeMin and
|
|
12
|
-
* RangeMax,
|
|
13
|
-
*
|
|
14
|
-
* ◦ the reported value shall be less than or equal to the sum of the true value, FixedMax and PercentMax percent
|
|
15
|
-
* of the true value.
|
|
16
|
-
*
|
|
17
|
-
* ◦ the reported value shall be greater than or equal to the true value minus the sum of FixedMax and PercentMax
|
|
18
|
-
* percent of the true value.
|
|
19
|
-
*
|
|
20
|
-
* • If only PercentMax is indicated, then for a given true value in the range between RangeMin and RangeMax,
|
|
21
|
-
*
|
|
22
|
-
* ◦ the reported value shall be less than or equal to the sum of the true value and PercentMax percent of the true
|
|
23
|
-
* value.
|
|
24
|
-
*
|
|
25
|
-
* ◦ the reported value shall be greater than or equal to the true value minus PercentMax per
|
|
26
|
-
*
|
|
27
|
-
* cent of the true value.
|
|
28
|
-
*
|
|
29
|
-
* • If only FixedMax is indicated, then for a given true value in the range between RangeMin and RangeMax,
|
|
30
|
-
*
|
|
31
|
-
* ◦ the reported value shall be less than or equal to the sum of the true value and FixedMax.
|
|
32
|
-
*
|
|
33
|
-
* ◦ the reported value shall be greater than or equal to the true value minus FixedMax.
|
|
34
|
-
*
|
|
35
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3
|
|
36
|
-
*/
|
|
37
|
-
export declare const TlvMeasurementAccuracyRange: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
38
|
-
/**
|
|
39
|
-
* This field shall indicate the minimum measurement value for the specified level of accuracy.
|
|
40
|
-
*
|
|
41
|
-
* The value of this field shall be greater than or equal to the value of the MinMeasuredValue field on the
|
|
42
|
-
* encompassing MeasurementAccuracyStruct.
|
|
43
|
-
*
|
|
44
|
-
* The value of this field shall be less than or equal to the value of the MaxMeasuredValue field on the
|
|
45
|
-
* encompassing MeasurementAccuracyStruct.
|
|
46
|
-
*
|
|
47
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.1
|
|
48
|
-
*/
|
|
49
|
-
rangeMin: import("@project-chip/matter-node.js/tlv").FieldType<number | bigint>;
|
|
50
|
-
/**
|
|
51
|
-
* This field shall indicate the maximum measurement value for the specified level of accuracy. The value of this
|
|
52
|
-
* field shall be greater than the value of the RangeMin field.
|
|
53
|
-
*
|
|
54
|
-
* The value of this field shall be greater than or equal to the value of the MinMeasuredValue field on the
|
|
55
|
-
* encompassing MeasurementAccuracyStruct.
|
|
56
|
-
*
|
|
57
|
-
* The value of this field shall be less than or equal to the value of the MaxMeasuredValue field on the
|
|
58
|
-
* encompassing MeasurementAccuracyStruct.
|
|
59
|
-
*
|
|
60
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.2
|
|
61
|
-
*/
|
|
62
|
-
rangeMax: import("@project-chip/matter-node.js/tlv").FieldType<number | bigint>;
|
|
63
|
-
/**
|
|
64
|
-
* This field shall indicate the maximum +/- percentage accuracy for the associated measurement.
|
|
65
|
-
*
|
|
66
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.3
|
|
67
|
-
*/
|
|
68
|
-
percentMax: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number>;
|
|
69
|
-
/**
|
|
70
|
-
* This field shall indicate the minimum +/- percentage accuracy for the associated measurement.
|
|
71
|
-
*
|
|
72
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.4
|
|
73
|
-
*/
|
|
74
|
-
percentMin: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number>;
|
|
75
|
-
/**
|
|
76
|
-
* This field shall indicate the typical +/- percentage accuracy for the associated measurement.
|
|
77
|
-
*
|
|
78
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.5
|
|
79
|
-
*/
|
|
80
|
-
percentTypical: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number>;
|
|
81
|
-
/**
|
|
82
|
-
* This field shall indicate the maximum +/- fixed accuracy for the associated measurement, in the unit indicated
|
|
83
|
-
* by MeasurementType.
|
|
84
|
-
*
|
|
85
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.6
|
|
86
|
-
*/
|
|
87
|
-
fixedMax: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number | bigint>;
|
|
88
|
-
/**
|
|
89
|
-
* This field shall indicate the minimum +/- fixed accuracy for the associated measurement, in the unit indicated
|
|
90
|
-
* by MeasurementType.
|
|
91
|
-
*
|
|
92
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.7
|
|
93
|
-
*/
|
|
94
|
-
fixedMin: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number | bigint>;
|
|
95
|
-
/**
|
|
96
|
-
* This field shall indicate the typical +/- fixed accuracy for the associated measurement, in the unit indicated
|
|
97
|
-
* by MeasurementType.
|
|
98
|
-
*
|
|
99
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.8
|
|
100
|
-
*/
|
|
101
|
-
fixedTypical: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number | bigint>;
|
|
102
|
-
}>;
|
|
103
|
-
/**
|
|
104
|
-
* This struct represents the accuracy of a measurement for a range of measurement values. Accuracy shall be expressed
|
|
105
|
-
* as a maximum +/- percentage of the true value, a maximum +/- fixed value of the true value, or both.
|
|
106
|
-
*
|
|
107
|
-
* • If both PercentMax and FixedMax are indicated, then for a given true value in the range between RangeMin and
|
|
108
|
-
* RangeMax,
|
|
109
|
-
*
|
|
110
|
-
* ◦ the reported value shall be less than or equal to the sum of the true value, FixedMax and PercentMax percent
|
|
111
|
-
* of the true value.
|
|
112
|
-
*
|
|
113
|
-
* ◦ the reported value shall be greater than or equal to the true value minus the sum of FixedMax and PercentMax
|
|
114
|
-
* percent of the true value.
|
|
115
|
-
*
|
|
116
|
-
* • If only PercentMax is indicated, then for a given true value in the range between RangeMin and RangeMax,
|
|
117
|
-
*
|
|
118
|
-
* ◦ the reported value shall be less than or equal to the sum of the true value and PercentMax percent of the true
|
|
119
|
-
* value.
|
|
120
|
-
*
|
|
121
|
-
* ◦ the reported value shall be greater than or equal to the true value minus PercentMax per
|
|
122
|
-
*
|
|
123
|
-
* cent of the true value.
|
|
124
|
-
*
|
|
125
|
-
* • If only FixedMax is indicated, then for a given true value in the range between RangeMin and RangeMax,
|
|
126
|
-
*
|
|
127
|
-
* ◦ the reported value shall be less than or equal to the sum of the true value and FixedMax.
|
|
128
|
-
*
|
|
129
|
-
* ◦ the reported value shall be greater than or equal to the true value minus FixedMax.
|
|
130
|
-
*
|
|
131
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3
|
|
132
|
-
*/
|
|
133
|
-
export type MeasurementAccuracyRange = TypeFromSchema<typeof TlvMeasurementAccuracyRange>;
|
|
134
|
-
//# sourceMappingURL=MeasurementAccuracyRange.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementAccuracyRange.d.ts","sourceRoot":"","sources":["../../src/cluster/MeasurementAccuracyRange.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAmD,cAAc,EAA+B,MAAM,kCAAkC,CAAC;AAEhJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,2BAA2B;IACtC;;;;;;;;;;OAUG;;IAGH;;;;;;;;;;;OAWG;;IAGH;;;;OAIG;;IAGH;;;;OAIG;;IAGH;;;;OAIG;;IAGH;;;;;OAKG;;IAGH;;;;;OAKG;;IAGH;;;;;OAKG;;EAEH,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022-2024 Matter.js Authors
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
import { TlvObject, TlvField, TlvInt64, TlvOptionalField, TlvPercent100ths, TlvUInt64 } from '@project-chip/matter-node.js/tlv';
|
|
7
|
-
/**
|
|
8
|
-
* This struct represents the accuracy of a measurement for a range of measurement values. Accuracy shall be expressed
|
|
9
|
-
* as a maximum +/- percentage of the true value, a maximum +/- fixed value of the true value, or both.
|
|
10
|
-
*
|
|
11
|
-
* • If both PercentMax and FixedMax are indicated, then for a given true value in the range between RangeMin and
|
|
12
|
-
* RangeMax,
|
|
13
|
-
*
|
|
14
|
-
* ◦ the reported value shall be less than or equal to the sum of the true value, FixedMax and PercentMax percent
|
|
15
|
-
* of the true value.
|
|
16
|
-
*
|
|
17
|
-
* ◦ the reported value shall be greater than or equal to the true value minus the sum of FixedMax and PercentMax
|
|
18
|
-
* percent of the true value.
|
|
19
|
-
*
|
|
20
|
-
* • If only PercentMax is indicated, then for a given true value in the range between RangeMin and RangeMax,
|
|
21
|
-
*
|
|
22
|
-
* ◦ the reported value shall be less than or equal to the sum of the true value and PercentMax percent of the true
|
|
23
|
-
* value.
|
|
24
|
-
*
|
|
25
|
-
* ◦ the reported value shall be greater than or equal to the true value minus PercentMax per
|
|
26
|
-
*
|
|
27
|
-
* cent of the true value.
|
|
28
|
-
*
|
|
29
|
-
* • If only FixedMax is indicated, then for a given true value in the range between RangeMin and RangeMax,
|
|
30
|
-
*
|
|
31
|
-
* ◦ the reported value shall be less than or equal to the sum of the true value and FixedMax.
|
|
32
|
-
*
|
|
33
|
-
* ◦ the reported value shall be greater than or equal to the true value minus FixedMax.
|
|
34
|
-
*
|
|
35
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3
|
|
36
|
-
*/
|
|
37
|
-
export const TlvMeasurementAccuracyRange = TlvObject({
|
|
38
|
-
/**
|
|
39
|
-
* This field shall indicate the minimum measurement value for the specified level of accuracy.
|
|
40
|
-
*
|
|
41
|
-
* The value of this field shall be greater than or equal to the value of the MinMeasuredValue field on the
|
|
42
|
-
* encompassing MeasurementAccuracyStruct.
|
|
43
|
-
*
|
|
44
|
-
* The value of this field shall be less than or equal to the value of the MaxMeasuredValue field on the
|
|
45
|
-
* encompassing MeasurementAccuracyStruct.
|
|
46
|
-
*
|
|
47
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.1
|
|
48
|
-
*/
|
|
49
|
-
rangeMin: TlvField(0, TlvInt64.bound({ min: -(2 ** 62), max: 2 ** 62 })),
|
|
50
|
-
/**
|
|
51
|
-
* This field shall indicate the maximum measurement value for the specified level of accuracy. The value of this
|
|
52
|
-
* field shall be greater than the value of the RangeMin field.
|
|
53
|
-
*
|
|
54
|
-
* The value of this field shall be greater than or equal to the value of the MinMeasuredValue field on the
|
|
55
|
-
* encompassing MeasurementAccuracyStruct.
|
|
56
|
-
*
|
|
57
|
-
* The value of this field shall be less than or equal to the value of the MaxMeasuredValue field on the
|
|
58
|
-
* encompassing MeasurementAccuracyStruct.
|
|
59
|
-
*
|
|
60
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.2
|
|
61
|
-
*/
|
|
62
|
-
rangeMax: TlvField(1, TlvInt64.bound({ min: -(2 ** 62), max: 2 ** 62 })),
|
|
63
|
-
/**
|
|
64
|
-
* This field shall indicate the maximum +/- percentage accuracy for the associated measurement.
|
|
65
|
-
*
|
|
66
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.3
|
|
67
|
-
*/
|
|
68
|
-
percentMax: TlvOptionalField(2, TlvPercent100ths),
|
|
69
|
-
/**
|
|
70
|
-
* This field shall indicate the minimum +/- percentage accuracy for the associated measurement.
|
|
71
|
-
*
|
|
72
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.4
|
|
73
|
-
*/
|
|
74
|
-
percentMin: TlvOptionalField(3, TlvPercent100ths),
|
|
75
|
-
/**
|
|
76
|
-
* This field shall indicate the typical +/- percentage accuracy for the associated measurement.
|
|
77
|
-
*
|
|
78
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.5
|
|
79
|
-
*/
|
|
80
|
-
percentTypical: TlvOptionalField(4, TlvPercent100ths),
|
|
81
|
-
/**
|
|
82
|
-
* This field shall indicate the maximum +/- fixed accuracy for the associated measurement, in the unit indicated
|
|
83
|
-
* by MeasurementType.
|
|
84
|
-
*
|
|
85
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.6
|
|
86
|
-
*/
|
|
87
|
-
fixedMax: TlvOptionalField(5, TlvUInt64),
|
|
88
|
-
/**
|
|
89
|
-
* This field shall indicate the minimum +/- fixed accuracy for the associated measurement, in the unit indicated
|
|
90
|
-
* by MeasurementType.
|
|
91
|
-
*
|
|
92
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.7
|
|
93
|
-
*/
|
|
94
|
-
fixedMin: TlvOptionalField(6, TlvUInt64),
|
|
95
|
-
/**
|
|
96
|
-
* This field shall indicate the typical +/- fixed accuracy for the associated measurement, in the unit indicated
|
|
97
|
-
* by MeasurementType.
|
|
98
|
-
*
|
|
99
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.3.8
|
|
100
|
-
*/
|
|
101
|
-
fixedTypical: TlvOptionalField(7, TlvUInt64),
|
|
102
|
-
});
|
|
103
|
-
//# sourceMappingURL=MeasurementAccuracyRange.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementAccuracyRange.js","sourceRoot":"","sources":["../../src/cluster/MeasurementAccuracyRange.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,gBAAgB,EAAkB,gBAAgB,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAEhJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,SAAS,CAAC;IACnD;;;;;;;;;;OAUG;IACH,QAAQ,EAAE,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAExE;;;;;;;;;;;OAWG;IACH,QAAQ,EAAE,QAAQ,CAAC,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAExE;;;;OAIG;IACH,UAAU,EAAE,gBAAgB,CAAC,CAAC,EAAE,gBAAgB,CAAC;IAEjD;;;;OAIG;IACH,UAAU,EAAE,gBAAgB,CAAC,CAAC,EAAE,gBAAgB,CAAC;IAEjD;;;;OAIG;IACH,cAAc,EAAE,gBAAgB,CAAC,CAAC,EAAE,gBAAgB,CAAC;IAErD;;;;;OAKG;IACH,QAAQ,EAAE,gBAAgB,CAAC,CAAC,EAAE,SAAS,CAAC;IAExC;;;;;OAKG;IACH,QAAQ,EAAE,gBAAgB,CAAC,CAAC,EAAE,SAAS,CAAC;IAExC;;;;;OAKG;IACH,YAAY,EAAE,gBAAgB,CAAC,CAAC,EAAE,SAAS,CAAC;CAC7C,CAAC,CAAC"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022-2024 Matter.js Authors
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.2
|
|
8
|
-
*/
|
|
9
|
-
export declare enum MeasurementType {
|
|
10
|
-
Unspecified = 0,
|
|
11
|
-
/**
|
|
12
|
-
* Voltage in millivolts (mV)
|
|
13
|
-
*/
|
|
14
|
-
Voltage = 1,
|
|
15
|
-
/**
|
|
16
|
-
* Active current in milliamps (mA)
|
|
17
|
-
*/
|
|
18
|
-
ActiveCurrent = 2,
|
|
19
|
-
/**
|
|
20
|
-
* Reactive current in milliamps (mA)
|
|
21
|
-
*/
|
|
22
|
-
ReactiveCurrent = 3,
|
|
23
|
-
/**
|
|
24
|
-
* Apparent current in milliamps (mA)
|
|
25
|
-
*/
|
|
26
|
-
ApparentCurrent = 4,
|
|
27
|
-
/**
|
|
28
|
-
* Active power in milliwatts (mW)
|
|
29
|
-
*/
|
|
30
|
-
ActivePower = 5,
|
|
31
|
-
/**
|
|
32
|
-
* Reactive power in millivolt-amps reactive (mVAR)
|
|
33
|
-
*/
|
|
34
|
-
ReactivePower = 6,
|
|
35
|
-
/**
|
|
36
|
-
* Apparent power in millivolt-amps (mVA)
|
|
37
|
-
*/
|
|
38
|
-
ApparentPower = 7,
|
|
39
|
-
/**
|
|
40
|
-
* Root mean squared voltage in millivolts (mV)
|
|
41
|
-
*/
|
|
42
|
-
RmsVoltage = 8,
|
|
43
|
-
/**
|
|
44
|
-
* Root mean squared current in milliamps (mA)
|
|
45
|
-
*/
|
|
46
|
-
RmsCurrent = 9,
|
|
47
|
-
/**
|
|
48
|
-
* Root mean squared power in milliwatts (mW)
|
|
49
|
-
*/
|
|
50
|
-
RmsPower = 10,
|
|
51
|
-
/**
|
|
52
|
-
* AC frequency in millihertz (mHz)
|
|
53
|
-
*/
|
|
54
|
-
Frequency = 11,
|
|
55
|
-
/**
|
|
56
|
-
* Power Factor ratio in+/- 1/100ths of a percent.
|
|
57
|
-
*/
|
|
58
|
-
PowerFactor = 12,
|
|
59
|
-
/**
|
|
60
|
-
* AC neutral current in milliamps (mA)
|
|
61
|
-
*/
|
|
62
|
-
NeutralCurrent = 13,
|
|
63
|
-
/**
|
|
64
|
-
* Electrical energy in milliwatt-hours (mWh)
|
|
65
|
-
*/
|
|
66
|
-
ElectricalEnergy = 14
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=MeasurementType.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementType.d.ts","sourceRoot":"","sources":["../../src/cluster/MeasurementType.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,oBAAY,eAAe;IACzB,WAAW,IAAI;IAEf;;OAEG;IACH,OAAO,IAAI;IAEX;;OAEG;IACH,aAAa,IAAI;IAEjB;;OAEG;IACH,eAAe,IAAI;IAEnB;;OAEG;IACH,eAAe,IAAI;IAEnB;;OAEG;IACH,WAAW,IAAI;IAEf;;OAEG;IACH,aAAa,IAAI;IAEjB;;OAEG;IACH,aAAa,IAAI;IAEjB;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,UAAU,IAAI;IAEd;;OAEG;IACH,QAAQ,KAAK;IAEb;;OAEG;IACH,SAAS,KAAK;IAEd;;OAEG;IACH,WAAW,KAAK;IAEhB;;OAEG;IACH,cAAc,KAAK;IAEnB;;OAEG;IACH,gBAAgB,KAAK;CACtB"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2022-2024 Matter.js Authors
|
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @see {@link MatterSpecification.v13.Cluster} § 2.1.4.2
|
|
8
|
-
*/
|
|
9
|
-
export var MeasurementType;
|
|
10
|
-
(function (MeasurementType) {
|
|
11
|
-
MeasurementType[MeasurementType["Unspecified"] = 0] = "Unspecified";
|
|
12
|
-
/**
|
|
13
|
-
* Voltage in millivolts (mV)
|
|
14
|
-
*/
|
|
15
|
-
MeasurementType[MeasurementType["Voltage"] = 1] = "Voltage";
|
|
16
|
-
/**
|
|
17
|
-
* Active current in milliamps (mA)
|
|
18
|
-
*/
|
|
19
|
-
MeasurementType[MeasurementType["ActiveCurrent"] = 2] = "ActiveCurrent";
|
|
20
|
-
/**
|
|
21
|
-
* Reactive current in milliamps (mA)
|
|
22
|
-
*/
|
|
23
|
-
MeasurementType[MeasurementType["ReactiveCurrent"] = 3] = "ReactiveCurrent";
|
|
24
|
-
/**
|
|
25
|
-
* Apparent current in milliamps (mA)
|
|
26
|
-
*/
|
|
27
|
-
MeasurementType[MeasurementType["ApparentCurrent"] = 4] = "ApparentCurrent";
|
|
28
|
-
/**
|
|
29
|
-
* Active power in milliwatts (mW)
|
|
30
|
-
*/
|
|
31
|
-
MeasurementType[MeasurementType["ActivePower"] = 5] = "ActivePower";
|
|
32
|
-
/**
|
|
33
|
-
* Reactive power in millivolt-amps reactive (mVAR)
|
|
34
|
-
*/
|
|
35
|
-
MeasurementType[MeasurementType["ReactivePower"] = 6] = "ReactivePower";
|
|
36
|
-
/**
|
|
37
|
-
* Apparent power in millivolt-amps (mVA)
|
|
38
|
-
*/
|
|
39
|
-
MeasurementType[MeasurementType["ApparentPower"] = 7] = "ApparentPower";
|
|
40
|
-
/**
|
|
41
|
-
* Root mean squared voltage in millivolts (mV)
|
|
42
|
-
*/
|
|
43
|
-
MeasurementType[MeasurementType["RmsVoltage"] = 8] = "RmsVoltage";
|
|
44
|
-
/**
|
|
45
|
-
* Root mean squared current in milliamps (mA)
|
|
46
|
-
*/
|
|
47
|
-
MeasurementType[MeasurementType["RmsCurrent"] = 9] = "RmsCurrent";
|
|
48
|
-
/**
|
|
49
|
-
* Root mean squared power in milliwatts (mW)
|
|
50
|
-
*/
|
|
51
|
-
MeasurementType[MeasurementType["RmsPower"] = 10] = "RmsPower";
|
|
52
|
-
/**
|
|
53
|
-
* AC frequency in millihertz (mHz)
|
|
54
|
-
*/
|
|
55
|
-
MeasurementType[MeasurementType["Frequency"] = 11] = "Frequency";
|
|
56
|
-
/**
|
|
57
|
-
* Power Factor ratio in+/- 1/100ths of a percent.
|
|
58
|
-
*/
|
|
59
|
-
MeasurementType[MeasurementType["PowerFactor"] = 12] = "PowerFactor";
|
|
60
|
-
/**
|
|
61
|
-
* AC neutral current in milliamps (mA)
|
|
62
|
-
*/
|
|
63
|
-
MeasurementType[MeasurementType["NeutralCurrent"] = 13] = "NeutralCurrent";
|
|
64
|
-
/**
|
|
65
|
-
* Electrical energy in milliwatt-hours (mWh)
|
|
66
|
-
*/
|
|
67
|
-
MeasurementType[MeasurementType["ElectricalEnergy"] = 14] = "ElectricalEnergy";
|
|
68
|
-
})(MeasurementType || (MeasurementType = {}));
|
|
69
|
-
//# sourceMappingURL=MeasurementType.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MeasurementType.js","sourceRoot":"","sources":["../../src/cluster/MeasurementType.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,eAwEX;AAxED,WAAY,eAAe;IACzB,mEAAe,CAAA;IAEf;;OAEG;IACH,2DAAW,CAAA;IAEX;;OAEG;IACH,uEAAiB,CAAA;IAEjB;;OAEG;IACH,2EAAmB,CAAA;IAEnB;;OAEG;IACH,2EAAmB,CAAA;IAEnB;;OAEG;IACH,mEAAe,CAAA;IAEf;;OAEG;IACH,uEAAiB,CAAA;IAEjB;;OAEG;IACH,uEAAiB,CAAA;IAEjB;;OAEG;IACH,iEAAc,CAAA;IAEd;;OAEG;IACH,iEAAc,CAAA;IAEd;;OAEG;IACH,8DAAa,CAAA;IAEb;;OAEG;IACH,gEAAc,CAAA;IAEd;;OAEG;IACH,oEAAgB,CAAA;IAEhB;;OAEG;IACH,0EAAmB,CAAA;IAEnB;;OAEG;IACH,8EAAqB,CAAA;AACvB,CAAC,EAxEW,eAAe,KAAf,eAAe,QAwE1B"}
|