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,1249 +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 { Command, MutableCluster, OptionalAttribute, OptionalCommand } from '@project-chip/matter-node.js/cluster';
|
|
8
|
-
import { Attribute } from '@project-chip/matter-node.js/cluster';
|
|
9
|
-
import { GroupId } from '@project-chip/matter-node.js/datatype';
|
|
10
|
-
import { BitField, BitFlag } from '@project-chip/matter-node.js/schema';
|
|
11
|
-
import { TypeFromSchema } from '@project-chip/matter-node.js/tlv';
|
|
12
|
-
import { Identity } from '@project-chip/matter-node.js/util';
|
|
13
|
-
export declare namespace Scenes {
|
|
14
|
-
/**
|
|
15
|
-
* The value of the Scenes nameSupport attribute
|
|
16
|
-
*
|
|
17
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.5
|
|
18
|
-
*/
|
|
19
|
-
const NameSupport: {
|
|
20
|
-
/**
|
|
21
|
-
* The ability to store a name for a scene.
|
|
22
|
-
*/
|
|
23
|
-
nameSupport: BitFlag;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* This data type indicates a combination of an identifier and the value of an attribute.
|
|
27
|
-
*
|
|
28
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1
|
|
29
|
-
*/
|
|
30
|
-
const TlvAttributeValuePair: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
31
|
-
/**
|
|
32
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
33
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
34
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
35
|
-
* indicated by AttributeID.
|
|
36
|
-
*
|
|
37
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
38
|
-
*/
|
|
39
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
40
|
-
/**
|
|
41
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
42
|
-
* for this field.
|
|
43
|
-
*
|
|
44
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
45
|
-
*/
|
|
46
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
47
|
-
}>;
|
|
48
|
-
/**
|
|
49
|
-
* This data type indicates a combination of an identifier and the value of an attribute.
|
|
50
|
-
*
|
|
51
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1
|
|
52
|
-
*/
|
|
53
|
-
interface AttributeValuePair extends TypeFromSchema<typeof TlvAttributeValuePair> {
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* This data type indicates for a given cluster a set of attributes and their values. Only attributes which have
|
|
57
|
-
* the "S" designation in the Quality column of the cluster specification shall be used in the AttributeValueList
|
|
58
|
-
* field.
|
|
59
|
-
*
|
|
60
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.2
|
|
61
|
-
*/
|
|
62
|
-
const TlvExtensionFieldSet: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
63
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
64
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
65
|
-
/**
|
|
66
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
67
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
68
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
69
|
-
* indicated by AttributeID.
|
|
70
|
-
*
|
|
71
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
72
|
-
*/
|
|
73
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
74
|
-
/**
|
|
75
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
76
|
-
* for this field.
|
|
77
|
-
*
|
|
78
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
79
|
-
*/
|
|
80
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
81
|
-
}>[]>;
|
|
82
|
-
}>;
|
|
83
|
-
/**
|
|
84
|
-
* This data type indicates for a given cluster a set of attributes and their values. Only attributes which have
|
|
85
|
-
* the "S" designation in the Quality column of the cluster specification shall be used in the AttributeValueList
|
|
86
|
-
* field.
|
|
87
|
-
*
|
|
88
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.2
|
|
89
|
-
*/
|
|
90
|
-
interface ExtensionFieldSet extends TypeFromSchema<typeof TlvExtensionFieldSet> {
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Input to the Scenes addScene command
|
|
94
|
-
*
|
|
95
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.2
|
|
96
|
-
*/
|
|
97
|
-
const TlvAddSceneRequest: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
98
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
99
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
100
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
101
|
-
sceneName: import("@project-chip/matter-node.js/tlv").FieldType<string>;
|
|
102
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
103
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
104
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
105
|
-
/**
|
|
106
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
107
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
108
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
109
|
-
* indicated by AttributeID.
|
|
110
|
-
*
|
|
111
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
112
|
-
*/
|
|
113
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
114
|
-
/**
|
|
115
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
116
|
-
* for this field.
|
|
117
|
-
*
|
|
118
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
119
|
-
*/
|
|
120
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
121
|
-
}>[]>;
|
|
122
|
-
}>[]>;
|
|
123
|
-
}>;
|
|
124
|
-
/**
|
|
125
|
-
* Input to the Scenes addScene command
|
|
126
|
-
*
|
|
127
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.2
|
|
128
|
-
*/
|
|
129
|
-
interface AddSceneRequest extends TypeFromSchema<typeof TlvAddSceneRequest> {
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.12
|
|
133
|
-
*/
|
|
134
|
-
const TlvAddSceneResponse: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
135
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
136
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
137
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
138
|
-
}>;
|
|
139
|
-
/**
|
|
140
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.12
|
|
141
|
-
*/
|
|
142
|
-
interface AddSceneResponse extends TypeFromSchema<typeof TlvAddSceneResponse> {
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* Input to the Scenes viewScene command
|
|
146
|
-
*
|
|
147
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.3
|
|
148
|
-
*/
|
|
149
|
-
const TlvViewSceneRequest: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
150
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
151
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
152
|
-
}>;
|
|
153
|
-
/**
|
|
154
|
-
* Input to the Scenes viewScene command
|
|
155
|
-
*
|
|
156
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.3
|
|
157
|
-
*/
|
|
158
|
-
interface ViewSceneRequest extends TypeFromSchema<typeof TlvViewSceneRequest> {
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.13
|
|
162
|
-
*/
|
|
163
|
-
const TlvViewSceneResponse: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
164
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
165
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
166
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
167
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number>;
|
|
168
|
-
sceneName: import("@project-chip/matter-node.js/tlv").OptionalFieldType<string>;
|
|
169
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
170
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
171
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
172
|
-
/**
|
|
173
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
174
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
175
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
176
|
-
* indicated by AttributeID.
|
|
177
|
-
*
|
|
178
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
179
|
-
*/
|
|
180
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
181
|
-
/**
|
|
182
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
183
|
-
* for this field.
|
|
184
|
-
*
|
|
185
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
186
|
-
*/
|
|
187
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
188
|
-
}>[]>;
|
|
189
|
-
}>[]>;
|
|
190
|
-
}>;
|
|
191
|
-
/**
|
|
192
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.13
|
|
193
|
-
*/
|
|
194
|
-
interface ViewSceneResponse extends TypeFromSchema<typeof TlvViewSceneResponse> {
|
|
195
|
-
}
|
|
196
|
-
/**
|
|
197
|
-
* Input to the Scenes removeScene command
|
|
198
|
-
*
|
|
199
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.4
|
|
200
|
-
*/
|
|
201
|
-
const TlvRemoveSceneRequest: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
202
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
203
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
204
|
-
}>;
|
|
205
|
-
/**
|
|
206
|
-
* Input to the Scenes removeScene command
|
|
207
|
-
*
|
|
208
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.4
|
|
209
|
-
*/
|
|
210
|
-
interface RemoveSceneRequest extends TypeFromSchema<typeof TlvRemoveSceneRequest> {
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.14
|
|
214
|
-
*/
|
|
215
|
-
const TlvRemoveSceneResponse: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
216
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
217
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
218
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
219
|
-
}>;
|
|
220
|
-
/**
|
|
221
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.14
|
|
222
|
-
*/
|
|
223
|
-
interface RemoveSceneResponse extends TypeFromSchema<typeof TlvRemoveSceneResponse> {
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* Input to the Scenes removeAllScenes command
|
|
227
|
-
*
|
|
228
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.5
|
|
229
|
-
*/
|
|
230
|
-
const TlvRemoveAllScenesRequest: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
231
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
232
|
-
}>;
|
|
233
|
-
/**
|
|
234
|
-
* Input to the Scenes removeAllScenes command
|
|
235
|
-
*
|
|
236
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.5
|
|
237
|
-
*/
|
|
238
|
-
interface RemoveAllScenesRequest extends TypeFromSchema<typeof TlvRemoveAllScenesRequest> {
|
|
239
|
-
}
|
|
240
|
-
/**
|
|
241
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.15
|
|
242
|
-
*/
|
|
243
|
-
const TlvRemoveAllScenesResponse: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
244
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
245
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
246
|
-
}>;
|
|
247
|
-
/**
|
|
248
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.15
|
|
249
|
-
*/
|
|
250
|
-
interface RemoveAllScenesResponse extends TypeFromSchema<typeof TlvRemoveAllScenesResponse> {
|
|
251
|
-
}
|
|
252
|
-
/**
|
|
253
|
-
* Input to the Scenes storeScene command
|
|
254
|
-
*
|
|
255
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.6
|
|
256
|
-
*/
|
|
257
|
-
const TlvStoreSceneRequest: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
258
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
259
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
260
|
-
}>;
|
|
261
|
-
/**
|
|
262
|
-
* Input to the Scenes storeScene command
|
|
263
|
-
*
|
|
264
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.6
|
|
265
|
-
*/
|
|
266
|
-
interface StoreSceneRequest extends TypeFromSchema<typeof TlvStoreSceneRequest> {
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.16
|
|
270
|
-
*/
|
|
271
|
-
const TlvStoreSceneResponse: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
272
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
273
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
274
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
275
|
-
}>;
|
|
276
|
-
/**
|
|
277
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.16
|
|
278
|
-
*/
|
|
279
|
-
interface StoreSceneResponse extends TypeFromSchema<typeof TlvStoreSceneResponse> {
|
|
280
|
-
}
|
|
281
|
-
/**
|
|
282
|
-
* Input to the Scenes recallScene command
|
|
283
|
-
*
|
|
284
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.7
|
|
285
|
-
*/
|
|
286
|
-
const TlvRecallSceneRequest: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
287
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
288
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
289
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number | null>;
|
|
290
|
-
}>;
|
|
291
|
-
/**
|
|
292
|
-
* Input to the Scenes recallScene command
|
|
293
|
-
*
|
|
294
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.7
|
|
295
|
-
*/
|
|
296
|
-
interface RecallSceneRequest extends TypeFromSchema<typeof TlvRecallSceneRequest> {
|
|
297
|
-
}
|
|
298
|
-
/**
|
|
299
|
-
* Input to the Scenes getSceneMembership command
|
|
300
|
-
*
|
|
301
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.8
|
|
302
|
-
*/
|
|
303
|
-
const TlvGetSceneMembershipRequest: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
304
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
305
|
-
}>;
|
|
306
|
-
/**
|
|
307
|
-
* Input to the Scenes getSceneMembership command
|
|
308
|
-
*
|
|
309
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.8
|
|
310
|
-
*/
|
|
311
|
-
interface GetSceneMembershipRequest extends TypeFromSchema<typeof TlvGetSceneMembershipRequest> {
|
|
312
|
-
}
|
|
313
|
-
/**
|
|
314
|
-
* The fields of the get scene membership response command have the following semantics:
|
|
315
|
-
*
|
|
316
|
-
* The Capacity field shall contain the remaining capacity of the Scene Table of the server (for all groups). The
|
|
317
|
-
* following values apply:
|
|
318
|
-
*
|
|
319
|
-
* • 0 - No further scenes may be added.
|
|
320
|
-
*
|
|
321
|
-
* • 0 < Capacity < 0xfe - Capacity holds the number of scenes that may be added.
|
|
322
|
-
*
|
|
323
|
-
* • 0xfe - At least 1 further scene may be added (exact number is unknown).
|
|
324
|
-
*
|
|
325
|
-
* • null - It is unknown if any further scenes may be added.
|
|
326
|
-
*
|
|
327
|
-
* The Status field shall contain SUCCESS or ILLEGAL_COMMAND (the endpoint is not a member of the group) as
|
|
328
|
-
* appropriate.
|
|
329
|
-
*
|
|
330
|
-
* The GroupID field shall be set to the corresponding field of the received GetSceneMembership command.
|
|
331
|
-
*
|
|
332
|
-
* If the status is not SUCCESS then the SceneList field shall be omitted, else the SceneList field shall contain
|
|
333
|
-
* the identifiers of all the scenes in the Scene Table with the corresponding Group ID.
|
|
334
|
-
*
|
|
335
|
-
* Zigbee: If the total number of scenes associated with this Group ID will cause the maximum payload length of a
|
|
336
|
-
* frame to be exceeded, then the SceneList field shall contain only as many scenes as will fit.
|
|
337
|
-
*
|
|
338
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.17
|
|
339
|
-
*/
|
|
340
|
-
const TlvGetSceneMembershipResponse: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
341
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
342
|
-
capacity: import("@project-chip/matter-node.js/tlv").FieldType<number | null>;
|
|
343
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
344
|
-
sceneList: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number[]>;
|
|
345
|
-
}>;
|
|
346
|
-
/**
|
|
347
|
-
* The fields of the get scene membership response command have the following semantics:
|
|
348
|
-
*
|
|
349
|
-
* The Capacity field shall contain the remaining capacity of the Scene Table of the server (for all groups). The
|
|
350
|
-
* following values apply:
|
|
351
|
-
*
|
|
352
|
-
* • 0 - No further scenes may be added.
|
|
353
|
-
*
|
|
354
|
-
* • 0 < Capacity < 0xfe - Capacity holds the number of scenes that may be added.
|
|
355
|
-
*
|
|
356
|
-
* • 0xfe - At least 1 further scene may be added (exact number is unknown).
|
|
357
|
-
*
|
|
358
|
-
* • null - It is unknown if any further scenes may be added.
|
|
359
|
-
*
|
|
360
|
-
* The Status field shall contain SUCCESS or ILLEGAL_COMMAND (the endpoint is not a member of the group) as
|
|
361
|
-
* appropriate.
|
|
362
|
-
*
|
|
363
|
-
* The GroupID field shall be set to the corresponding field of the received GetSceneMembership command.
|
|
364
|
-
*
|
|
365
|
-
* If the status is not SUCCESS then the SceneList field shall be omitted, else the SceneList field shall contain
|
|
366
|
-
* the identifiers of all the scenes in the Scene Table with the corresponding Group ID.
|
|
367
|
-
*
|
|
368
|
-
* Zigbee: If the total number of scenes associated with this Group ID will cause the maximum payload length of a
|
|
369
|
-
* frame to be exceeded, then the SceneList field shall contain only as many scenes as will fit.
|
|
370
|
-
*
|
|
371
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.17
|
|
372
|
-
*/
|
|
373
|
-
interface GetSceneMembershipResponse extends TypeFromSchema<typeof TlvGetSceneMembershipResponse> {
|
|
374
|
-
}
|
|
375
|
-
/**
|
|
376
|
-
* The value of Scenes.mode
|
|
377
|
-
*
|
|
378
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.1
|
|
379
|
-
*/
|
|
380
|
-
const Mode: {
|
|
381
|
-
copyAllScenes: BitFlag;
|
|
382
|
-
reserved: BitField;
|
|
383
|
-
};
|
|
384
|
-
/**
|
|
385
|
-
* Input to the Scenes copyScene command
|
|
386
|
-
*
|
|
387
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11
|
|
388
|
-
*/
|
|
389
|
-
const TlvCopySceneRequest: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
390
|
-
/**
|
|
391
|
-
* The Mode field contains information of how the scene copy is to proceed. This field shall be formatted as
|
|
392
|
-
* illustrated in Format of the Mode Field of the CopyScene Command.
|
|
393
|
-
*
|
|
394
|
-
* The CopyAllScenes subfield is 1-bit in length and indicates whether all scenes are to be copied. If this
|
|
395
|
-
* value is set to 1, all scenes are to be copied and the SceneIdentifierFrom and SceneIdentifierTo fields
|
|
396
|
-
* shall be ignored. Otherwise this field is set to 0.
|
|
397
|
-
*
|
|
398
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.1
|
|
399
|
-
*/
|
|
400
|
-
mode: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/schema").TypeFromPartialBitSchema<{
|
|
401
|
-
copyAllScenes: BitFlag;
|
|
402
|
-
reserved: BitField;
|
|
403
|
-
}>>;
|
|
404
|
-
/**
|
|
405
|
-
* The GroupIdentifierFrom field specifies the identifier of the group from which the scene is to be copied.
|
|
406
|
-
* Together with the SceneIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene
|
|
407
|
-
* Table.
|
|
408
|
-
*
|
|
409
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.2
|
|
410
|
-
*/
|
|
411
|
-
groupIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
412
|
-
/**
|
|
413
|
-
* The SceneIdentifierFrom field specifies the identifier of the scene from which the scene is to be copied.
|
|
414
|
-
* Together with the GroupIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene
|
|
415
|
-
* Table.
|
|
416
|
-
*
|
|
417
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.3
|
|
418
|
-
*/
|
|
419
|
-
sceneIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
420
|
-
/**
|
|
421
|
-
* The GroupIdentifierTo field specifies the identifier of the group to which the scene is to be copied.
|
|
422
|
-
* Together with the SceneIdentifierTo field, this field uniquely identifies the scene to copy to the Scene
|
|
423
|
-
* Table.
|
|
424
|
-
*
|
|
425
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.4
|
|
426
|
-
*/
|
|
427
|
-
groupIdentifierTo: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
428
|
-
/**
|
|
429
|
-
* The SceneIdentifierTo field specifies the identifier of the scene to which the scene is to be copied.
|
|
430
|
-
* Together with the GroupIdentifierTo field, this field uniquely identifies the scene to copy to the Scene
|
|
431
|
-
* Table.
|
|
432
|
-
*
|
|
433
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.5
|
|
434
|
-
*/
|
|
435
|
-
sceneIdentifierTo: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
436
|
-
}>;
|
|
437
|
-
/**
|
|
438
|
-
* Input to the Scenes copyScene command
|
|
439
|
-
*
|
|
440
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11
|
|
441
|
-
*/
|
|
442
|
-
interface CopySceneRequest extends TypeFromSchema<typeof TlvCopySceneRequest> {
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* The CopySceneResponse command allows a server to respond to a CopyScene command.
|
|
446
|
-
*
|
|
447
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20
|
|
448
|
-
*/
|
|
449
|
-
const TlvCopySceneResponse: import("@project-chip/matter-node.js/tlv").ObjectSchema<{
|
|
450
|
-
/**
|
|
451
|
-
* The Status field contains the status of the copy scene attempt. This field shall be set to one of the
|
|
452
|
-
* non-reserved values listed in Values of the Status Field of the CopySceneResponse Command.
|
|
453
|
-
*
|
|
454
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20.1
|
|
455
|
-
*/
|
|
456
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
457
|
-
/**
|
|
458
|
-
* The GroupIdentifierFrom field specifies the identifier of the group from which the scene was copied, as
|
|
459
|
-
* specified in the CopyScene command. Together with the SceneIdentifierFrom field, this field uniquely
|
|
460
|
-
* identifies the scene that was copied from the Scene Table.
|
|
461
|
-
*
|
|
462
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20.2
|
|
463
|
-
*/
|
|
464
|
-
groupIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
465
|
-
/**
|
|
466
|
-
* The SceneIdentifierFrom field is specifies the identifier of the scene from which the scene was copied, as
|
|
467
|
-
* specified in the CopyScene command. Together with the GroupIdentifierFrom field, this field uniquely
|
|
468
|
-
* identifies the scene that was copied from the Scene Table.
|
|
469
|
-
*
|
|
470
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20.3
|
|
471
|
-
*/
|
|
472
|
-
sceneIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
473
|
-
}>;
|
|
474
|
-
/**
|
|
475
|
-
* The CopySceneResponse command allows a server to respond to a CopyScene command.
|
|
476
|
-
*
|
|
477
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20
|
|
478
|
-
*/
|
|
479
|
-
interface CopySceneResponse extends TypeFromSchema<typeof TlvCopySceneResponse> {
|
|
480
|
-
}
|
|
481
|
-
/**
|
|
482
|
-
* These are optional features supported by ScenesCluster.
|
|
483
|
-
*
|
|
484
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.4
|
|
485
|
-
*/
|
|
486
|
-
enum Feature {
|
|
487
|
-
/**
|
|
488
|
-
* SceneNames
|
|
489
|
-
*
|
|
490
|
-
* The ability to store a name for a scene.
|
|
491
|
-
*/
|
|
492
|
-
SceneNames = "SceneNames"
|
|
493
|
-
}
|
|
494
|
-
/**
|
|
495
|
-
* These elements and properties are present in all Scenes clusters.
|
|
496
|
-
*/
|
|
497
|
-
const Base: {
|
|
498
|
-
readonly id: 5;
|
|
499
|
-
readonly name: "Scenes";
|
|
500
|
-
readonly revision: 4;
|
|
501
|
-
readonly features: {
|
|
502
|
-
/**
|
|
503
|
-
* SceneNames
|
|
504
|
-
*
|
|
505
|
-
* The ability to store a name for a scene.
|
|
506
|
-
*/
|
|
507
|
-
readonly sceneNames: BitFlag;
|
|
508
|
-
};
|
|
509
|
-
readonly attributes: {
|
|
510
|
-
/**
|
|
511
|
-
* The SceneCount attribute specifies the number of scenes currently in the server’s Scene Table.
|
|
512
|
-
*
|
|
513
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.1
|
|
514
|
-
*/
|
|
515
|
-
readonly sceneCount: Attribute<number, any>;
|
|
516
|
-
/**
|
|
517
|
-
* The CurrentScene attribute holds the scene identifier of the scene last invoked.
|
|
518
|
-
*
|
|
519
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.2
|
|
520
|
-
*/
|
|
521
|
-
readonly currentScene: Attribute<number, any>;
|
|
522
|
-
/**
|
|
523
|
-
* The CurrentGroup attribute holds the group identifier of the scene last invoked, or 0 if the scene last
|
|
524
|
-
* invoked is not associated with a group.
|
|
525
|
-
*
|
|
526
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.3
|
|
527
|
-
*/
|
|
528
|
-
readonly currentGroup: Attribute<GroupId, any>;
|
|
529
|
-
/**
|
|
530
|
-
* The SceneValid attribute indicates whether the state of the server corresponds to that associated with
|
|
531
|
-
* the CurrentScene and CurrentGroup attributes. TRUE indicates that these attributes are valid, FALSE
|
|
532
|
-
* indicates that they are not valid.
|
|
533
|
-
*
|
|
534
|
-
* Before a scene has been stored or recalled, this attribute is set to FALSE. After a successful
|
|
535
|
-
* StoreScene or RecallScene command it is set to TRUE. If, after a scene is stored or recalled, the state
|
|
536
|
-
* of the server is modified, this attribute is set to FALSE.
|
|
537
|
-
*
|
|
538
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.4
|
|
539
|
-
*/
|
|
540
|
-
readonly sceneValid: Attribute<boolean, any>;
|
|
541
|
-
/**
|
|
542
|
-
* This attribute provides legacy, read-only access to whether the Scene Names feature is supported. The
|
|
543
|
-
* most significant bit, bit 7, shall be equal to bit 0 of the FeatureMap attribute. All other bits shall
|
|
544
|
-
* be 0.
|
|
545
|
-
*
|
|
546
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.5
|
|
547
|
-
*/
|
|
548
|
-
readonly nameSupport: Attribute<import("@project-chip/matter-node.js/schema").TypeFromPartialBitSchema<{
|
|
549
|
-
/**
|
|
550
|
-
* The ability to store a name for a scene.
|
|
551
|
-
*/
|
|
552
|
-
nameSupport: BitFlag;
|
|
553
|
-
}>, any>;
|
|
554
|
-
/**
|
|
555
|
-
* The LastConfiguredBy attribute holds the Node ID (the IEEE address in case of Zigbee) of the node that
|
|
556
|
-
* last configured the Scene Table.
|
|
557
|
-
*
|
|
558
|
-
* The null value indicates that the server has not been configured, or that the identifier of the node
|
|
559
|
-
* that last configured the Scenes cluster is not known.
|
|
560
|
-
*
|
|
561
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.6
|
|
562
|
-
*/
|
|
563
|
-
readonly lastConfiguredBy: OptionalAttribute<import("@project-chip/matter-node.js/datatype").NodeId | null, any>;
|
|
564
|
-
};
|
|
565
|
-
readonly commands: {
|
|
566
|
-
/**
|
|
567
|
-
* It is not mandatory for an extension field set to be included in the command for every cluster on that
|
|
568
|
-
* endpoint that has a defined extension field set. Extension field sets may be omitted, including the case
|
|
569
|
-
* of no extension field sets at all.
|
|
570
|
-
*
|
|
571
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.2
|
|
572
|
-
*/
|
|
573
|
-
readonly addScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
574
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
575
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
576
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
577
|
-
sceneName: import("@project-chip/matter-node.js/tlv").FieldType<string>;
|
|
578
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
579
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
580
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
581
|
-
/**
|
|
582
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
583
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
584
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
585
|
-
* indicated by AttributeID.
|
|
586
|
-
*
|
|
587
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
588
|
-
*/
|
|
589
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
590
|
-
/**
|
|
591
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
592
|
-
* for this field.
|
|
593
|
-
*
|
|
594
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
595
|
-
*/
|
|
596
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
597
|
-
}>[]>;
|
|
598
|
-
}>[]>;
|
|
599
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
600
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
601
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
602
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
603
|
-
}>, any>;
|
|
604
|
-
/**
|
|
605
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.3
|
|
606
|
-
*/
|
|
607
|
-
readonly viewScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
608
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
609
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
610
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
611
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
612
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
613
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
614
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number>;
|
|
615
|
-
sceneName: import("@project-chip/matter-node.js/tlv").OptionalFieldType<string>;
|
|
616
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
617
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
618
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
619
|
-
/**
|
|
620
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
621
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
622
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
623
|
-
* indicated by AttributeID.
|
|
624
|
-
*
|
|
625
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
626
|
-
*/
|
|
627
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
628
|
-
/**
|
|
629
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
630
|
-
* for this field.
|
|
631
|
-
*
|
|
632
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
633
|
-
*/
|
|
634
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
635
|
-
}>[]>;
|
|
636
|
-
}>[]>;
|
|
637
|
-
}>, any>;
|
|
638
|
-
/**
|
|
639
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.4
|
|
640
|
-
*/
|
|
641
|
-
readonly removeScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
642
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
643
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
644
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
645
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
646
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
647
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
648
|
-
}>, any>;
|
|
649
|
-
/**
|
|
650
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.5
|
|
651
|
-
*/
|
|
652
|
-
readonly removeAllScenes: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
653
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
654
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
655
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
656
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
657
|
-
}>, any>;
|
|
658
|
-
/**
|
|
659
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.6
|
|
660
|
-
*/
|
|
661
|
-
readonly storeScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
662
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
663
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
664
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
665
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
666
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
667
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
668
|
-
}>, any>;
|
|
669
|
-
/**
|
|
670
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.7
|
|
671
|
-
*/
|
|
672
|
-
readonly recallScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
673
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
674
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
675
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number | null>;
|
|
676
|
-
}>, void, any>;
|
|
677
|
-
/**
|
|
678
|
-
* The GetSceneMembership command can be used to find an unused scene identifier within a certain group
|
|
679
|
-
* when no commissioning tool is in the network, or for a commissioning tool to get the used scene
|
|
680
|
-
* identifiers within a certain group, for the endpoint that implements this cluster.
|
|
681
|
-
*
|
|
682
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.8
|
|
683
|
-
*/
|
|
684
|
-
readonly getSceneMembership: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
685
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
686
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
687
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
688
|
-
capacity: import("@project-chip/matter-node.js/tlv").FieldType<number | null>;
|
|
689
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
690
|
-
sceneList: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number[]>;
|
|
691
|
-
}>, any>;
|
|
692
|
-
/**
|
|
693
|
-
* The EnhancedAddScene command allows a scene to be added using a finer scene transition time than the
|
|
694
|
-
* AddScene command.
|
|
695
|
-
*
|
|
696
|
-
* This command shall have the same data fields as the AddScene command, with the following difference:
|
|
697
|
-
*
|
|
698
|
-
* The TransitionTime data field shall be measured in tenths of a second rather than in seconds.
|
|
699
|
-
*
|
|
700
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.9
|
|
701
|
-
*/
|
|
702
|
-
readonly enhancedAddScene: OptionalCommand<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
703
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
704
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
705
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
706
|
-
sceneName: import("@project-chip/matter-node.js/tlv").FieldType<string>;
|
|
707
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
708
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
709
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
710
|
-
/**
|
|
711
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
712
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
713
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
714
|
-
* indicated by AttributeID.
|
|
715
|
-
*
|
|
716
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
717
|
-
*/
|
|
718
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
719
|
-
/**
|
|
720
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
721
|
-
* for this field.
|
|
722
|
-
*
|
|
723
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
724
|
-
*/
|
|
725
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
726
|
-
}>[]>;
|
|
727
|
-
}>[]>;
|
|
728
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
729
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
730
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
731
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
732
|
-
}>, any>;
|
|
733
|
-
/**
|
|
734
|
-
* The EnhancedViewScene command allows a scene to be retrieved using a finer scene transition time than
|
|
735
|
-
* the ViewScene command.
|
|
736
|
-
*
|
|
737
|
-
* This command shall have the same data fields as the ViewScene command.
|
|
738
|
-
*
|
|
739
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.10
|
|
740
|
-
*/
|
|
741
|
-
readonly enhancedViewScene: OptionalCommand<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
742
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
743
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
744
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
745
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
746
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
747
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
748
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number>;
|
|
749
|
-
sceneName: import("@project-chip/matter-node.js/tlv").OptionalFieldType<string>;
|
|
750
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
751
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
752
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
753
|
-
/**
|
|
754
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
755
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
756
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
757
|
-
* indicated by AttributeID.
|
|
758
|
-
*
|
|
759
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
760
|
-
*/
|
|
761
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
762
|
-
/**
|
|
763
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
764
|
-
* for this field.
|
|
765
|
-
*
|
|
766
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
767
|
-
*/
|
|
768
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
769
|
-
}>[]>;
|
|
770
|
-
}>[]>;
|
|
771
|
-
}>, any>;
|
|
772
|
-
/**
|
|
773
|
-
* The CopyScene command allows a client to efficiently copy scenes from one group/scene identifier pair to
|
|
774
|
-
* another group/scene identifier pair.
|
|
775
|
-
*
|
|
776
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11
|
|
777
|
-
*/
|
|
778
|
-
readonly copyScene: OptionalCommand<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
779
|
-
/**
|
|
780
|
-
* The Mode field contains information of how the scene copy is to proceed. This field shall be formatted as
|
|
781
|
-
* illustrated in Format of the Mode Field of the CopyScene Command.
|
|
782
|
-
*
|
|
783
|
-
* The CopyAllScenes subfield is 1-bit in length and indicates whether all scenes are to be copied. If this
|
|
784
|
-
* value is set to 1, all scenes are to be copied and the SceneIdentifierFrom and SceneIdentifierTo fields
|
|
785
|
-
* shall be ignored. Otherwise this field is set to 0.
|
|
786
|
-
*
|
|
787
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.1
|
|
788
|
-
*/
|
|
789
|
-
mode: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/schema").TypeFromPartialBitSchema<{
|
|
790
|
-
copyAllScenes: BitFlag;
|
|
791
|
-
reserved: BitField;
|
|
792
|
-
}>>;
|
|
793
|
-
/**
|
|
794
|
-
* The GroupIdentifierFrom field specifies the identifier of the group from which the scene is to be copied.
|
|
795
|
-
* Together with the SceneIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene
|
|
796
|
-
* Table.
|
|
797
|
-
*
|
|
798
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.2
|
|
799
|
-
*/
|
|
800
|
-
groupIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
801
|
-
/**
|
|
802
|
-
* The SceneIdentifierFrom field specifies the identifier of the scene from which the scene is to be copied.
|
|
803
|
-
* Together with the GroupIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene
|
|
804
|
-
* Table.
|
|
805
|
-
*
|
|
806
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.3
|
|
807
|
-
*/
|
|
808
|
-
sceneIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
809
|
-
/**
|
|
810
|
-
* The GroupIdentifierTo field specifies the identifier of the group to which the scene is to be copied.
|
|
811
|
-
* Together with the SceneIdentifierTo field, this field uniquely identifies the scene to copy to the Scene
|
|
812
|
-
* Table.
|
|
813
|
-
*
|
|
814
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.4
|
|
815
|
-
*/
|
|
816
|
-
groupIdentifierTo: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
817
|
-
/**
|
|
818
|
-
* The SceneIdentifierTo field specifies the identifier of the scene to which the scene is to be copied.
|
|
819
|
-
* Together with the GroupIdentifierTo field, this field uniquely identifies the scene to copy to the Scene
|
|
820
|
-
* Table.
|
|
821
|
-
*
|
|
822
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.5
|
|
823
|
-
*/
|
|
824
|
-
sceneIdentifierTo: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
825
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
826
|
-
/**
|
|
827
|
-
* The Status field contains the status of the copy scene attempt. This field shall be set to one of the
|
|
828
|
-
* non-reserved values listed in Values of the Status Field of the CopySceneResponse Command.
|
|
829
|
-
*
|
|
830
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20.1
|
|
831
|
-
*/
|
|
832
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
833
|
-
/**
|
|
834
|
-
* The GroupIdentifierFrom field specifies the identifier of the group from which the scene was copied, as
|
|
835
|
-
* specified in the CopyScene command. Together with the SceneIdentifierFrom field, this field uniquely
|
|
836
|
-
* identifies the scene that was copied from the Scene Table.
|
|
837
|
-
*
|
|
838
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20.2
|
|
839
|
-
*/
|
|
840
|
-
groupIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
841
|
-
/**
|
|
842
|
-
* The SceneIdentifierFrom field is specifies the identifier of the scene from which the scene was copied, as
|
|
843
|
-
* specified in the CopyScene command. Together with the GroupIdentifierFrom field, this field uniquely
|
|
844
|
-
* identifies the scene that was copied from the Scene Table.
|
|
845
|
-
*
|
|
846
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20.3
|
|
847
|
-
*/
|
|
848
|
-
sceneIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
849
|
-
}>, any>;
|
|
850
|
-
};
|
|
851
|
-
/**
|
|
852
|
-
* This metadata controls which ScenesCluster elements matter.js activates for specific feature combinations.
|
|
853
|
-
*/
|
|
854
|
-
readonly extensions: readonly [];
|
|
855
|
-
};
|
|
856
|
-
/**
|
|
857
|
-
* @see {@link Cluster}
|
|
858
|
-
*/
|
|
859
|
-
const ClusterInstance: MutableCluster<{
|
|
860
|
-
readonly supportedFeatures: {
|
|
861
|
-
readonly sceneNames: true;
|
|
862
|
-
};
|
|
863
|
-
readonly id: 5;
|
|
864
|
-
readonly name: "Scenes";
|
|
865
|
-
readonly revision: 4;
|
|
866
|
-
readonly features: {
|
|
867
|
-
/**
|
|
868
|
-
* SceneNames
|
|
869
|
-
*
|
|
870
|
-
* The ability to store a name for a scene.
|
|
871
|
-
*/
|
|
872
|
-
readonly sceneNames: BitFlag;
|
|
873
|
-
};
|
|
874
|
-
readonly attributes: {
|
|
875
|
-
/**
|
|
876
|
-
* The SceneCount attribute specifies the number of scenes currently in the server’s Scene Table.
|
|
877
|
-
*
|
|
878
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.1
|
|
879
|
-
*/
|
|
880
|
-
readonly sceneCount: Attribute<number, any>;
|
|
881
|
-
/**
|
|
882
|
-
* The CurrentScene attribute holds the scene identifier of the scene last invoked.
|
|
883
|
-
*
|
|
884
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.2
|
|
885
|
-
*/
|
|
886
|
-
readonly currentScene: Attribute<number, any>;
|
|
887
|
-
/**
|
|
888
|
-
* The CurrentGroup attribute holds the group identifier of the scene last invoked, or 0 if the scene last
|
|
889
|
-
* invoked is not associated with a group.
|
|
890
|
-
*
|
|
891
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.3
|
|
892
|
-
*/
|
|
893
|
-
readonly currentGroup: Attribute<GroupId, any>;
|
|
894
|
-
/**
|
|
895
|
-
* The SceneValid attribute indicates whether the state of the server corresponds to that associated with
|
|
896
|
-
* the CurrentScene and CurrentGroup attributes. TRUE indicates that these attributes are valid, FALSE
|
|
897
|
-
* indicates that they are not valid.
|
|
898
|
-
*
|
|
899
|
-
* Before a scene has been stored or recalled, this attribute is set to FALSE. After a successful
|
|
900
|
-
* StoreScene or RecallScene command it is set to TRUE. If, after a scene is stored or recalled, the state
|
|
901
|
-
* of the server is modified, this attribute is set to FALSE.
|
|
902
|
-
*
|
|
903
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.4
|
|
904
|
-
*/
|
|
905
|
-
readonly sceneValid: Attribute<boolean, any>;
|
|
906
|
-
/**
|
|
907
|
-
* This attribute provides legacy, read-only access to whether the Scene Names feature is supported. The
|
|
908
|
-
* most significant bit, bit 7, shall be equal to bit 0 of the FeatureMap attribute. All other bits shall
|
|
909
|
-
* be 0.
|
|
910
|
-
*
|
|
911
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.5
|
|
912
|
-
*/
|
|
913
|
-
readonly nameSupport: Attribute<import("@project-chip/matter-node.js/schema").TypeFromPartialBitSchema<{
|
|
914
|
-
/**
|
|
915
|
-
* The ability to store a name for a scene.
|
|
916
|
-
*/
|
|
917
|
-
nameSupport: BitFlag;
|
|
918
|
-
}>, any>;
|
|
919
|
-
/**
|
|
920
|
-
* The LastConfiguredBy attribute holds the Node ID (the IEEE address in case of Zigbee) of the node that
|
|
921
|
-
* last configured the Scene Table.
|
|
922
|
-
*
|
|
923
|
-
* The null value indicates that the server has not been configured, or that the identifier of the node
|
|
924
|
-
* that last configured the Scenes cluster is not known.
|
|
925
|
-
*
|
|
926
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.7.6
|
|
927
|
-
*/
|
|
928
|
-
readonly lastConfiguredBy: OptionalAttribute<import("@project-chip/matter-node.js/datatype").NodeId | null, any>;
|
|
929
|
-
};
|
|
930
|
-
readonly commands: {
|
|
931
|
-
/**
|
|
932
|
-
* It is not mandatory for an extension field set to be included in the command for every cluster on that
|
|
933
|
-
* endpoint that has a defined extension field set. Extension field sets may be omitted, including the case
|
|
934
|
-
* of no extension field sets at all.
|
|
935
|
-
*
|
|
936
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.2
|
|
937
|
-
*/
|
|
938
|
-
readonly addScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
939
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
940
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
941
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
942
|
-
sceneName: import("@project-chip/matter-node.js/tlv").FieldType<string>;
|
|
943
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
944
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
945
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
946
|
-
/**
|
|
947
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
948
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
949
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
950
|
-
* indicated by AttributeID.
|
|
951
|
-
*
|
|
952
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
953
|
-
*/
|
|
954
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
955
|
-
/**
|
|
956
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
957
|
-
* for this field.
|
|
958
|
-
*
|
|
959
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
960
|
-
*/
|
|
961
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
962
|
-
}>[]>;
|
|
963
|
-
}>[]>;
|
|
964
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
965
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
966
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
967
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
968
|
-
}>, any>;
|
|
969
|
-
/**
|
|
970
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.3
|
|
971
|
-
*/
|
|
972
|
-
readonly viewScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
973
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
974
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
975
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
976
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
977
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
978
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
979
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number>;
|
|
980
|
-
sceneName: import("@project-chip/matter-node.js/tlv").OptionalFieldType<string>;
|
|
981
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
982
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
983
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
984
|
-
/**
|
|
985
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
986
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
987
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
988
|
-
* indicated by AttributeID.
|
|
989
|
-
*
|
|
990
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
991
|
-
*/
|
|
992
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
993
|
-
/**
|
|
994
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
995
|
-
* for this field.
|
|
996
|
-
*
|
|
997
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
998
|
-
*/
|
|
999
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
1000
|
-
}>[]>;
|
|
1001
|
-
}>[]>;
|
|
1002
|
-
}>, any>;
|
|
1003
|
-
/**
|
|
1004
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.4
|
|
1005
|
-
*/
|
|
1006
|
-
readonly removeScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1007
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1008
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1009
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1010
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
1011
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1012
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1013
|
-
}>, any>;
|
|
1014
|
-
/**
|
|
1015
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.5
|
|
1016
|
-
*/
|
|
1017
|
-
readonly removeAllScenes: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1018
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1019
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1020
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
1021
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1022
|
-
}>, any>;
|
|
1023
|
-
/**
|
|
1024
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.6
|
|
1025
|
-
*/
|
|
1026
|
-
readonly storeScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1027
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1028
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1029
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1030
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
1031
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1032
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1033
|
-
}>, any>;
|
|
1034
|
-
/**
|
|
1035
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.7
|
|
1036
|
-
*/
|
|
1037
|
-
readonly recallScene: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1038
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1039
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1040
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number | null>;
|
|
1041
|
-
}>, void, any>;
|
|
1042
|
-
/**
|
|
1043
|
-
* The GetSceneMembership command can be used to find an unused scene identifier within a certain group
|
|
1044
|
-
* when no commissioning tool is in the network, or for a commissioning tool to get the used scene
|
|
1045
|
-
* identifiers within a certain group, for the endpoint that implements this cluster.
|
|
1046
|
-
*
|
|
1047
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.8
|
|
1048
|
-
*/
|
|
1049
|
-
readonly getSceneMembership: Command<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1050
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1051
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1052
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
1053
|
-
capacity: import("@project-chip/matter-node.js/tlv").FieldType<number | null>;
|
|
1054
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1055
|
-
sceneList: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number[]>;
|
|
1056
|
-
}>, any>;
|
|
1057
|
-
/**
|
|
1058
|
-
* The EnhancedAddScene command allows a scene to be added using a finer scene transition time than the
|
|
1059
|
-
* AddScene command.
|
|
1060
|
-
*
|
|
1061
|
-
* This command shall have the same data fields as the AddScene command, with the following difference:
|
|
1062
|
-
*
|
|
1063
|
-
* The TransitionTime data field shall be measured in tenths of a second rather than in seconds.
|
|
1064
|
-
*
|
|
1065
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.9
|
|
1066
|
-
*/
|
|
1067
|
-
readonly enhancedAddScene: OptionalCommand<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1068
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1069
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1070
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1071
|
-
sceneName: import("@project-chip/matter-node.js/tlv").FieldType<string>;
|
|
1072
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1073
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
1074
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1075
|
-
/**
|
|
1076
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
1077
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
1078
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
1079
|
-
* indicated by AttributeID.
|
|
1080
|
-
*
|
|
1081
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
1082
|
-
*/
|
|
1083
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
1084
|
-
/**
|
|
1085
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
1086
|
-
* for this field.
|
|
1087
|
-
*
|
|
1088
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
1089
|
-
*/
|
|
1090
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
1091
|
-
}>[]>;
|
|
1092
|
-
}>[]>;
|
|
1093
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1094
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
1095
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1096
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1097
|
-
}>, any>;
|
|
1098
|
-
/**
|
|
1099
|
-
* The EnhancedViewScene command allows a scene to be retrieved using a finer scene transition time than
|
|
1100
|
-
* the ViewScene command.
|
|
1101
|
-
*
|
|
1102
|
-
* This command shall have the same data fields as the ViewScene command.
|
|
1103
|
-
*
|
|
1104
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.10
|
|
1105
|
-
*/
|
|
1106
|
-
readonly enhancedViewScene: OptionalCommand<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1107
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1108
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1109
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1110
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
1111
|
-
groupId: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1112
|
-
sceneId: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1113
|
-
transitionTime: import("@project-chip/matter-node.js/tlv").OptionalFieldType<number>;
|
|
1114
|
-
sceneName: import("@project-chip/matter-node.js/tlv").OptionalFieldType<string>;
|
|
1115
|
-
extensionFieldSets: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1116
|
-
clusterId: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/datatype").ClusterId>;
|
|
1117
|
-
attributeValueList: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1118
|
-
/**
|
|
1119
|
-
* This field shall be present or not present, for all instances in the Scenes cluster. If this field is not
|
|
1120
|
-
* present, then the data type of AttributeValue shall be determined by the order and data type defined in the
|
|
1121
|
-
* cluster specification. Otherwise the data type of AttributeValue shall be the data type of the attribute
|
|
1122
|
-
* indicated by AttributeID.
|
|
1123
|
-
*
|
|
1124
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.1
|
|
1125
|
-
*/
|
|
1126
|
-
attributeId: import("@project-chip/matter-node.js/tlv").OptionalFieldType<import("@project-chip/matter-node.js/datatype").AttributeId>;
|
|
1127
|
-
/**
|
|
1128
|
-
* This is the attribute value as part of an extension field set. See AttributeID to determine the data type
|
|
1129
|
-
* for this field.
|
|
1130
|
-
*
|
|
1131
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.6.1.2
|
|
1132
|
-
*/
|
|
1133
|
-
attributeValue: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/tlv").TlvStream>;
|
|
1134
|
-
}>[]>;
|
|
1135
|
-
}>[]>;
|
|
1136
|
-
}>, any>;
|
|
1137
|
-
/**
|
|
1138
|
-
* The CopyScene command allows a client to efficiently copy scenes from one group/scene identifier pair to
|
|
1139
|
-
* another group/scene identifier pair.
|
|
1140
|
-
*
|
|
1141
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11
|
|
1142
|
-
*/
|
|
1143
|
-
readonly copyScene: OptionalCommand<import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1144
|
-
/**
|
|
1145
|
-
* The Mode field contains information of how the scene copy is to proceed. This field shall be formatted as
|
|
1146
|
-
* illustrated in Format of the Mode Field of the CopyScene Command.
|
|
1147
|
-
*
|
|
1148
|
-
* The CopyAllScenes subfield is 1-bit in length and indicates whether all scenes are to be copied. If this
|
|
1149
|
-
* value is set to 1, all scenes are to be copied and the SceneIdentifierFrom and SceneIdentifierTo fields
|
|
1150
|
-
* shall be ignored. Otherwise this field is set to 0.
|
|
1151
|
-
*
|
|
1152
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.1
|
|
1153
|
-
*/
|
|
1154
|
-
mode: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/schema").TypeFromPartialBitSchema<{
|
|
1155
|
-
copyAllScenes: BitFlag;
|
|
1156
|
-
reserved: BitField;
|
|
1157
|
-
}>>;
|
|
1158
|
-
/**
|
|
1159
|
-
* The GroupIdentifierFrom field specifies the identifier of the group from which the scene is to be copied.
|
|
1160
|
-
* Together with the SceneIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene
|
|
1161
|
-
* Table.
|
|
1162
|
-
*
|
|
1163
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.2
|
|
1164
|
-
*/
|
|
1165
|
-
groupIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1166
|
-
/**
|
|
1167
|
-
* The SceneIdentifierFrom field specifies the identifier of the scene from which the scene is to be copied.
|
|
1168
|
-
* Together with the GroupIdentifierFrom field, this field uniquely identifies the scene to copy from the Scene
|
|
1169
|
-
* Table.
|
|
1170
|
-
*
|
|
1171
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.3
|
|
1172
|
-
*/
|
|
1173
|
-
sceneIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1174
|
-
/**
|
|
1175
|
-
* The GroupIdentifierTo field specifies the identifier of the group to which the scene is to be copied.
|
|
1176
|
-
* Together with the SceneIdentifierTo field, this field uniquely identifies the scene to copy to the Scene
|
|
1177
|
-
* Table.
|
|
1178
|
-
*
|
|
1179
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.4
|
|
1180
|
-
*/
|
|
1181
|
-
groupIdentifierTo: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1182
|
-
/**
|
|
1183
|
-
* The SceneIdentifierTo field specifies the identifier of the scene to which the scene is to be copied.
|
|
1184
|
-
* Together with the GroupIdentifierTo field, this field uniquely identifies the scene to copy to the Scene
|
|
1185
|
-
* Table.
|
|
1186
|
-
*
|
|
1187
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.11.5
|
|
1188
|
-
*/
|
|
1189
|
-
sceneIdentifierTo: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1190
|
-
}>, import("@project-chip/matter-node.js/tlv").TypeFromFields<{
|
|
1191
|
-
/**
|
|
1192
|
-
* The Status field contains the status of the copy scene attempt. This field shall be set to one of the
|
|
1193
|
-
* non-reserved values listed in Values of the Status Field of the CopySceneResponse Command.
|
|
1194
|
-
*
|
|
1195
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20.1
|
|
1196
|
-
*/
|
|
1197
|
-
status: import("@project-chip/matter-node.js/tlv").FieldType<import("@project-chip/matter-node.js/cluster").Status>;
|
|
1198
|
-
/**
|
|
1199
|
-
* The GroupIdentifierFrom field specifies the identifier of the group from which the scene was copied, as
|
|
1200
|
-
* specified in the CopyScene command. Together with the SceneIdentifierFrom field, this field uniquely
|
|
1201
|
-
* identifies the scene that was copied from the Scene Table.
|
|
1202
|
-
*
|
|
1203
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20.2
|
|
1204
|
-
*/
|
|
1205
|
-
groupIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<GroupId>;
|
|
1206
|
-
/**
|
|
1207
|
-
* The SceneIdentifierFrom field is specifies the identifier of the scene from which the scene was copied, as
|
|
1208
|
-
* specified in the CopyScene command. Together with the GroupIdentifierFrom field, this field uniquely
|
|
1209
|
-
* identifies the scene that was copied from the Scene Table.
|
|
1210
|
-
*
|
|
1211
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4.9.20.3
|
|
1212
|
-
*/
|
|
1213
|
-
sceneIdentifierFrom: import("@project-chip/matter-node.js/tlv").FieldType<number>;
|
|
1214
|
-
}>, any>;
|
|
1215
|
-
};
|
|
1216
|
-
/**
|
|
1217
|
-
* This metadata controls which ScenesCluster elements matter.js activates for specific feature combinations.
|
|
1218
|
-
*/
|
|
1219
|
-
readonly extensions: readonly [];
|
|
1220
|
-
}, []>;
|
|
1221
|
-
/**
|
|
1222
|
-
* Scenes
|
|
1223
|
-
*
|
|
1224
|
-
* The Scenes cluster provides attributes and commands for setting up and recalling scenes. Each scene corresponds
|
|
1225
|
-
* to a set of stored values of specified attributes for one or more clusters on the same end point as the Scenes
|
|
1226
|
-
* cluster.
|
|
1227
|
-
*
|
|
1228
|
-
* In most cases scenes are associated with a particular group identifier. Scenes may also exist without a group,
|
|
1229
|
-
* in which case the value 0 replaces the group identifier. Note that extra care is required in these cases to
|
|
1230
|
-
* avoid a scene identifier collision, and that commands related to scenes without a group may only be unicast,
|
|
1231
|
-
* i.e., they may not be multicast or broadcast.
|
|
1232
|
-
*
|
|
1233
|
-
* In a network supporting fabrics, scenes are scoped to the accessing fabric. When storing scene information,
|
|
1234
|
-
* implementations need to take care of this.
|
|
1235
|
-
*
|
|
1236
|
-
* NOTE Support for Scenes cluster is provisional.
|
|
1237
|
-
*
|
|
1238
|
-
* ScenesCluster supports optional features that you can enable with the ScenesCluster.with() factory method.
|
|
1239
|
-
*
|
|
1240
|
-
* @see {@link MatterSpecification.v11.Cluster} § 1.4
|
|
1241
|
-
*/
|
|
1242
|
-
interface Cluster extends Identity<typeof ClusterInstance> {
|
|
1243
|
-
}
|
|
1244
|
-
const Cluster: Cluster;
|
|
1245
|
-
const Complete: Cluster;
|
|
1246
|
-
}
|
|
1247
|
-
export type ScenesCluster = Scenes.Cluster;
|
|
1248
|
-
export declare const ScenesCluster: Scenes.Cluster;
|
|
1249
|
-
//# sourceMappingURL=ScenesCluster.d.ts.map
|