@matterbridge/core 3.5.3 → 3.5.4-dev-20260211-520e349
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/README.md +1 -1
- package/dist/cli.d.ts +0 -24
- package/dist/cli.js +1 -97
- package/dist/cliEmitter.d.ts +0 -36
- package/dist/cliEmitter.js +0 -37
- package/dist/cliHistory.d.ts +0 -42
- package/dist/cliHistory.js +0 -38
- package/dist/clusters/export.d.ts +0 -1
- package/dist/clusters/export.js +0 -2
- package/dist/deviceManager.d.ts +0 -108
- package/dist/deviceManager.js +1 -114
- package/dist/devices/airConditioner.d.ts +0 -75
- package/dist/devices/airConditioner.js +0 -57
- package/dist/devices/basicVideoPlayer.d.ts +0 -58
- package/dist/devices/basicVideoPlayer.js +1 -56
- package/dist/devices/batteryStorage.d.ts +0 -43
- package/dist/devices/batteryStorage.js +1 -48
- package/dist/devices/castingVideoPlayer.d.ts +0 -63
- package/dist/devices/castingVideoPlayer.js +2 -65
- package/dist/devices/cooktop.d.ts +0 -55
- package/dist/devices/cooktop.js +0 -56
- package/dist/devices/dishwasher.d.ts +0 -55
- package/dist/devices/dishwasher.js +0 -57
- package/dist/devices/evse.d.ts +0 -57
- package/dist/devices/evse.js +10 -74
- package/dist/devices/export.d.ts +0 -1
- package/dist/devices/export.js +0 -5
- package/dist/devices/extractorHood.d.ts +0 -41
- package/dist/devices/extractorHood.js +0 -43
- package/dist/devices/heatPump.d.ts +0 -43
- package/dist/devices/heatPump.js +2 -50
- package/dist/devices/laundryDryer.d.ts +0 -58
- package/dist/devices/laundryDryer.js +3 -62
- package/dist/devices/laundryWasher.d.ts +0 -64
- package/dist/devices/laundryWasher.js +4 -70
- package/dist/devices/microwaveOven.d.ts +1 -77
- package/dist/devices/microwaveOven.js +5 -88
- package/dist/devices/oven.d.ts +0 -82
- package/dist/devices/oven.js +0 -85
- package/dist/devices/refrigerator.d.ts +0 -100
- package/dist/devices/refrigerator.js +0 -102
- package/dist/devices/roboticVacuumCleaner.d.ts +0 -83
- package/dist/devices/roboticVacuumCleaner.js +9 -100
- package/dist/devices/solarPower.d.ts +0 -36
- package/dist/devices/solarPower.js +0 -38
- package/dist/devices/speaker.d.ts +0 -79
- package/dist/devices/speaker.js +0 -84
- package/dist/devices/temperatureControl.d.ts +0 -21
- package/dist/devices/temperatureControl.js +3 -24
- package/dist/devices/waterHeater.d.ts +0 -74
- package/dist/devices/waterHeater.js +2 -82
- package/dist/dgram/export.d.ts +0 -1
- package/dist/dgram/export.js +0 -1
- package/dist/export.d.ts +0 -23
- package/dist/export.js +0 -28
- package/dist/frontend.d.ts +0 -187
- package/dist/frontend.js +62 -581
- package/dist/helpers.d.ts +0 -43
- package/dist/helpers.js +0 -86
- package/dist/jestutils/export.d.ts +0 -1
- package/dist/jestutils/export.js +0 -1
- package/dist/jestutils/jestHelpers.d.ts +0 -259
- package/dist/jestutils/jestHelpers.js +15 -396
- package/dist/matter/behaviors.d.ts +0 -1
- package/dist/matter/behaviors.js +0 -2
- package/dist/matter/clusters.d.ts +0 -1
- package/dist/matter/clusters.js +0 -2
- package/dist/matter/devices.d.ts +0 -1
- package/dist/matter/devices.js +0 -2
- package/dist/matter/endpoints.d.ts +0 -1
- package/dist/matter/endpoints.js +0 -2
- package/dist/matter/export.d.ts +0 -1
- package/dist/matter/export.js +0 -2
- package/dist/matter/types.d.ts +0 -1
- package/dist/matter/types.js +0 -2
- package/dist/matterNode.d.ts +0 -258
- package/dist/matterNode.js +8 -356
- package/dist/matterbridge.d.ts +0 -389
- package/dist/matterbridge.js +48 -878
- package/dist/matterbridgeAccessoryPlatform.d.ts +0 -42
- package/dist/matterbridgeAccessoryPlatform.js +0 -50
- package/dist/matterbridgeBehaviors.d.ts +0 -24
- package/dist/matterbridgeBehaviors.js +5 -65
- package/dist/matterbridgeDeviceTypes.d.ts +0 -649
- package/dist/matterbridgeDeviceTypes.js +6 -673
- package/dist/matterbridgeDynamicPlatform.d.ts +0 -42
- package/dist/matterbridgeDynamicPlatform.js +0 -50
- package/dist/matterbridgeEndpoint.d.ts +0 -1369
- package/dist/matterbridgeEndpoint.js +56 -1514
- package/dist/matterbridgeEndpointHelpers.d.ts +0 -425
- package/dist/matterbridgeEndpointHelpers.js +20 -483
- package/dist/matterbridgeEndpointTypes.d.ts +0 -70
- package/dist/matterbridgeEndpointTypes.js +0 -25
- package/dist/matterbridgePlatform.d.ts +0 -434
- package/dist/matterbridgePlatform.js +1 -473
- package/dist/pluginManager.d.ts +0 -307
- package/dist/pluginManager.js +6 -346
- package/dist/spawn.d.ts +0 -32
- package/dist/spawn.js +1 -71
- package/dist/utils/export.d.ts +0 -1
- package/dist/utils/export.js +0 -1
- package/package.json +27 -6
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/cliEmitter.d.ts.map +0 -1
- package/dist/cliEmitter.js.map +0 -1
- package/dist/cliHistory.d.ts.map +0 -1
- package/dist/cliHistory.js.map +0 -1
- package/dist/clusters/export.d.ts.map +0 -1
- package/dist/clusters/export.js.map +0 -1
- package/dist/crypto/attestationDecoder.d.ts +0 -180
- package/dist/crypto/attestationDecoder.d.ts.map +0 -1
- package/dist/crypto/attestationDecoder.js +0 -176
- package/dist/crypto/attestationDecoder.js.map +0 -1
- package/dist/crypto/declarationDecoder.d.ts +0 -72
- package/dist/crypto/declarationDecoder.d.ts.map +0 -1
- package/dist/crypto/declarationDecoder.js +0 -241
- package/dist/crypto/declarationDecoder.js.map +0 -1
- package/dist/crypto/extract/342/200/220cert/342/200/220extensions.d.ts +0 -9
- package/dist/crypto/extract/342/200/220cert/342/200/220extensions.d.ts.map +0 -1
- package/dist/crypto/extract/342/200/220cert/342/200/220extensions.js +0 -120
- package/dist/crypto/extract/342/200/220cert/342/200/220extensions.js.map +0 -1
- package/dist/crypto/read-extensions.d.ts +0 -2
- package/dist/crypto/read-extensions.d.ts.map +0 -1
- package/dist/crypto/read-extensions.js +0 -81
- package/dist/crypto/read-extensions.js.map +0 -1
- package/dist/crypto/testData.d.ts +0 -31
- package/dist/crypto/testData.d.ts.map +0 -1
- package/dist/crypto/testData.js +0 -131
- package/dist/crypto/testData.js.map +0 -1
- package/dist/crypto/walk-der.d.ts +0 -2
- package/dist/crypto/walk-der.d.ts.map +0 -1
- package/dist/crypto/walk-der.js +0 -165
- package/dist/crypto/walk-der.js.map +0 -1
- package/dist/deviceManager.d.ts.map +0 -1
- package/dist/deviceManager.js.map +0 -1
- package/dist/devices/airConditioner.d.ts.map +0 -1
- package/dist/devices/airConditioner.js.map +0 -1
- package/dist/devices/basicVideoPlayer.d.ts.map +0 -1
- package/dist/devices/basicVideoPlayer.js.map +0 -1
- package/dist/devices/batteryStorage.d.ts.map +0 -1
- package/dist/devices/batteryStorage.js.map +0 -1
- package/dist/devices/castingVideoPlayer.d.ts.map +0 -1
- package/dist/devices/castingVideoPlayer.js.map +0 -1
- package/dist/devices/cooktop.d.ts.map +0 -1
- package/dist/devices/cooktop.js.map +0 -1
- package/dist/devices/dishwasher.d.ts.map +0 -1
- package/dist/devices/dishwasher.js.map +0 -1
- package/dist/devices/evse.d.ts.map +0 -1
- package/dist/devices/evse.js.map +0 -1
- package/dist/devices/export.d.ts.map +0 -1
- package/dist/devices/export.js.map +0 -1
- package/dist/devices/extractorHood.d.ts.map +0 -1
- package/dist/devices/extractorHood.js.map +0 -1
- package/dist/devices/heatPump.d.ts.map +0 -1
- package/dist/devices/heatPump.js.map +0 -1
- package/dist/devices/laundryDryer.d.ts.map +0 -1
- package/dist/devices/laundryDryer.js.map +0 -1
- package/dist/devices/laundryWasher.d.ts.map +0 -1
- package/dist/devices/laundryWasher.js.map +0 -1
- package/dist/devices/microwaveOven.d.ts.map +0 -1
- package/dist/devices/microwaveOven.js.map +0 -1
- package/dist/devices/oven.d.ts.map +0 -1
- package/dist/devices/oven.js.map +0 -1
- package/dist/devices/refrigerator.d.ts.map +0 -1
- package/dist/devices/refrigerator.js.map +0 -1
- package/dist/devices/roboticVacuumCleaner.d.ts.map +0 -1
- package/dist/devices/roboticVacuumCleaner.js.map +0 -1
- package/dist/devices/solarPower.d.ts.map +0 -1
- package/dist/devices/solarPower.js.map +0 -1
- package/dist/devices/speaker.d.ts.map +0 -1
- package/dist/devices/speaker.js.map +0 -1
- package/dist/devices/temperatureControl.d.ts.map +0 -1
- package/dist/devices/temperatureControl.js.map +0 -1
- package/dist/devices/waterHeater.d.ts.map +0 -1
- package/dist/devices/waterHeater.js.map +0 -1
- package/dist/dgram/export.d.ts.map +0 -1
- package/dist/dgram/export.js.map +0 -1
- package/dist/export.d.ts.map +0 -1
- package/dist/export.js.map +0 -1
- package/dist/frontend.d.ts.map +0 -1
- package/dist/frontend.js.map +0 -1
- package/dist/helpers.d.ts.map +0 -1
- package/dist/helpers.js.map +0 -1
- package/dist/jestutils/export.d.ts.map +0 -1
- package/dist/jestutils/export.js.map +0 -1
- package/dist/jestutils/jestHelpers.d.ts.map +0 -1
- package/dist/jestutils/jestHelpers.js.map +0 -1
- package/dist/matter/behaviors.d.ts.map +0 -1
- package/dist/matter/behaviors.js.map +0 -1
- package/dist/matter/clusters.d.ts.map +0 -1
- package/dist/matter/clusters.js.map +0 -1
- package/dist/matter/devices.d.ts.map +0 -1
- package/dist/matter/devices.js.map +0 -1
- package/dist/matter/endpoints.d.ts.map +0 -1
- package/dist/matter/endpoints.js.map +0 -1
- package/dist/matter/export.d.ts.map +0 -1
- package/dist/matter/export.js.map +0 -1
- package/dist/matter/types.d.ts.map +0 -1
- package/dist/matter/types.js.map +0 -1
- package/dist/matterNode.d.ts.map +0 -1
- package/dist/matterNode.js.map +0 -1
- package/dist/matterbridge.d.ts.map +0 -1
- package/dist/matterbridge.js.map +0 -1
- package/dist/matterbridgeAccessoryPlatform.d.ts.map +0 -1
- package/dist/matterbridgeAccessoryPlatform.js.map +0 -1
- package/dist/matterbridgeBehaviors.d.ts.map +0 -1
- package/dist/matterbridgeBehaviors.js.map +0 -1
- package/dist/matterbridgeDeviceTypes.d.ts.map +0 -1
- package/dist/matterbridgeDeviceTypes.js.map +0 -1
- package/dist/matterbridgeDynamicPlatform.d.ts.map +0 -1
- package/dist/matterbridgeDynamicPlatform.js.map +0 -1
- package/dist/matterbridgeEndpoint.d.ts.map +0 -1
- package/dist/matterbridgeEndpoint.js.map +0 -1
- package/dist/matterbridgeEndpointHelpers.d.ts.map +0 -1
- package/dist/matterbridgeEndpointHelpers.js.map +0 -1
- package/dist/matterbridgeEndpointTypes.d.ts.map +0 -1
- package/dist/matterbridgeEndpointTypes.js.map +0 -1
- package/dist/matterbridgePlatform.d.ts.map +0 -1
- package/dist/matterbridgePlatform.js.map +0 -1
- package/dist/mb_coap.d.ts +0 -24
- package/dist/mb_coap.d.ts.map +0 -1
- package/dist/mb_coap.js +0 -89
- package/dist/mb_coap.js.map +0 -1
- package/dist/mb_health.d.ts +0 -77
- package/dist/mb_health.d.ts.map +0 -1
- package/dist/mb_health.js +0 -147
- package/dist/mb_health.js.map +0 -1
- package/dist/mb_mdns.d.ts +0 -24
- package/dist/mb_mdns.d.ts.map +0 -1
- package/dist/mb_mdns.js +0 -285
- package/dist/mb_mdns.js.map +0 -1
- package/dist/pluginManager.d.ts.map +0 -1
- package/dist/pluginManager.js.map +0 -1
- package/dist/spawn.d.ts.map +0 -1
- package/dist/spawn.js.map +0 -1
- package/dist/utils/export.d.ts.map +0 -1
- package/dist/utils/export.js.map +0 -1
- package/dist/workers/brand.d.ts +0 -25
- package/dist/workers/brand.d.ts.map +0 -1
- package/dist/workers/brand.extend.d.ts +0 -10
- package/dist/workers/brand.extend.d.ts.map +0 -1
- package/dist/workers/brand.extend.js +0 -15
- package/dist/workers/brand.extend.js.map +0 -1
- package/dist/workers/brand.invalid.d.ts +0 -9
- package/dist/workers/brand.invalid.d.ts.map +0 -1
- package/dist/workers/brand.invalid.js +0 -19
- package/dist/workers/brand.invalid.js.map +0 -1
- package/dist/workers/brand.js +0 -67
- package/dist/workers/brand.js.map +0 -1
- package/dist/workers/clusterTypes.d.ts +0 -47
- package/dist/workers/clusterTypes.d.ts.map +0 -1
- package/dist/workers/clusterTypes.js +0 -57
- package/dist/workers/clusterTypes.js.map +0 -1
- package/dist/workers/frontendWorker.d.ts +0 -2
- package/dist/workers/frontendWorker.d.ts.map +0 -1
- package/dist/workers/frontendWorker.js +0 -90
- package/dist/workers/frontendWorker.js.map +0 -1
- package/dist/workers/helloWorld.d.ts +0 -2
- package/dist/workers/helloWorld.d.ts.map +0 -1
- package/dist/workers/helloWorld.js +0 -135
- package/dist/workers/helloWorld.js.map +0 -1
- package/dist/workers/matterWorker.d.ts +0 -2
- package/dist/workers/matterWorker.d.ts.map +0 -1
- package/dist/workers/matterWorker.js +0 -104
- package/dist/workers/matterWorker.js.map +0 -1
- package/dist/workers/matterbridgeWorker.d.ts +0 -2
- package/dist/workers/matterbridgeWorker.d.ts.map +0 -1
- package/dist/workers/matterbridgeWorker.js +0 -75
- package/dist/workers/matterbridgeWorker.js.map +0 -1
- package/dist/workers/messageLab.d.ts +0 -134
- package/dist/workers/messageLab.d.ts.map +0 -1
- package/dist/workers/messageLab.js +0 -129
- package/dist/workers/messageLab.js.map +0 -1
- package/dist/workers/testWorker.d.ts +0 -2
- package/dist/workers/testWorker.d.ts.map +0 -1
- package/dist/workers/testWorker.js +0 -45
- package/dist/workers/testWorker.js.map +0 -1
- package/dist/workers/usage.d.ts +0 -19
- package/dist/workers/usage.d.ts.map +0 -1
- package/dist/workers/usage.js +0 -140
- package/dist/workers/usage.js.map +0 -1
- package/dist/workers/workerManager.d.ts +0 -115
- package/dist/workers/workerManager.d.ts.map +0 -1
- package/dist/workers/workerManager.js +0 -464
- package/dist/workers/workerManager.js.map +0 -1
- package/dist/workers/workerServer.d.ts +0 -126
- package/dist/workers/workerServer.d.ts.map +0 -1
- package/dist/workers/workerServer.js +0 -340
- package/dist/workers/workerServer.js.map +0 -1
- package/dist/workers/workerTypes.d.ts +0 -23
- package/dist/workers/workerTypes.d.ts.map +0 -1
- package/dist/workers/workerTypes.js +0 -3
- package/dist/workers/workerTypes.js.map +0 -1
|
@@ -1,32 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file contains the matter device type definitions for MatterbridgeEndpoint.
|
|
3
|
-
*
|
|
4
|
-
* @file matterbridgeDeviceTypes.ts
|
|
5
|
-
* @author Luca Liguori
|
|
6
|
-
* @created 2024-11-08
|
|
7
|
-
* @version 1.0.0
|
|
8
|
-
* @license Apache-2.0
|
|
9
|
-
*
|
|
10
|
-
* Copyright 2024, 2025, 2026 Luca Liguori.
|
|
11
|
-
*
|
|
12
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13
|
-
* you may not use this file except in compliance with the License.
|
|
14
|
-
* You may obtain a copy of the License at
|
|
15
|
-
*
|
|
16
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
17
|
-
*
|
|
18
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
19
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
20
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
21
|
-
* See the License for the specific language governing permissions and
|
|
22
|
-
* limitations under the License.
|
|
23
|
-
*/
|
|
24
|
-
// eslint-disable-next-line no-console
|
|
25
1
|
if (process.argv.includes('--loader') || process.argv.includes('-loader'))
|
|
26
2
|
console.log('\u001B[32mMatterbridgeDeviceTypes loaded.\u001B[40;0m');
|
|
27
|
-
// @matter
|
|
28
3
|
import { DeviceTypeId } from '@matter/types/datatype';
|
|
29
|
-
// @matter clusters
|
|
30
4
|
import { AccountLogin } from '@matter/types/clusters/account-login';
|
|
31
5
|
import { Actions } from '@matter/types/clusters/actions';
|
|
32
6
|
import { ActivatedCarbonFilterMonitoring } from '@matter/types/clusters/activated-carbon-filter-monitoring';
|
|
@@ -114,49 +88,15 @@ import { WindowCovering } from '@matter/types/clusters/window-covering';
|
|
|
114
88
|
import { ScenesManagement } from '@matter/types/clusters/scenes-management';
|
|
115
89
|
export var DeviceClasses;
|
|
116
90
|
(function (DeviceClasses) {
|
|
117
|
-
/** 1.1.5. Device Type Class Conditions */
|
|
118
|
-
/** Node device type. */
|
|
119
91
|
DeviceClasses["Node"] = "Node";
|
|
120
|
-
/**
|
|
121
|
-
* Application device type.
|
|
122
|
-
* Application devices types are typically the most datatype endpoints on a node and in the network.
|
|
123
|
-
*/
|
|
124
92
|
DeviceClasses["App"] = "App";
|
|
125
|
-
/**
|
|
126
|
-
* Utility device type.
|
|
127
|
-
* A Utility device type supports configuration and settings.
|
|
128
|
-
*/
|
|
129
93
|
DeviceClasses["Utility"] = "Utility";
|
|
130
|
-
/**
|
|
131
|
-
* Simple device type.
|
|
132
|
-
* A Simple device type supports local control that is persistent, independent, and unsupervised.
|
|
133
|
-
*/
|
|
134
94
|
DeviceClasses["Simple"] = "Simple";
|
|
135
|
-
/**
|
|
136
|
-
* Dynamic device type.
|
|
137
|
-
* A Dynamic device type supports intelligent and supervisory services, such as commissioning,
|
|
138
|
-
* monitoring, trend analysis, scheduling and central management. A dynamic device type is an
|
|
139
|
-
* application device type.
|
|
140
|
-
*/
|
|
141
95
|
DeviceClasses["Dynamic"] = "Dynamic";
|
|
142
|
-
/** The device type is composed of 2 or more device types. */
|
|
143
96
|
DeviceClasses["Composed"] = "Composed";
|
|
144
|
-
/** 1.1.6. Endpoint Type Class Conditions */
|
|
145
|
-
/** There exists a client application cluster on the endpoint. */
|
|
146
97
|
DeviceClasses["Client"] = "Client";
|
|
147
|
-
/** There exists a server application cluster on the endpoint. */
|
|
148
98
|
DeviceClasses["Server"] = "Server";
|
|
149
|
-
/**
|
|
150
|
-
* The endpoint and at least one of its sibling endpoints have an overlap in application device type(s),
|
|
151
|
-
* as defined in the "Disambiguation" section in the System Model specification. This condition triggers
|
|
152
|
-
* requirements for providing additional information about the endpoints in order to disambiguate
|
|
153
|
-
* between the endpoints (see "Disambiguation" section in the System Model specification).
|
|
154
|
-
*/
|
|
155
99
|
DeviceClasses["Duplicate"] = "Duplicate";
|
|
156
|
-
/**
|
|
157
|
-
* The endpoint represents a Bridged Device, for which information about the state of
|
|
158
|
-
* its power source is available to the Bridge
|
|
159
|
-
*/
|
|
160
100
|
DeviceClasses["BridgedPowerSourceInfo"] = "BridgedPowerSourceInfo";
|
|
161
101
|
})(DeviceClasses || (DeviceClasses = {}));
|
|
162
102
|
export const DeviceTypeDefinition = ({ name, code, deviceClass, revision, requiredServerClusters = [], optionalServerClusters = [], requiredClientClusters = [], optionalClientClusters = [], }) => ({
|
|
@@ -169,14 +109,13 @@ export const DeviceTypeDefinition = ({ name, code, deviceClass, revision, requir
|
|
|
169
109
|
requiredClientClusters,
|
|
170
110
|
optionalClientClusters,
|
|
171
111
|
});
|
|
172
|
-
// Chapter 2. Utility device types
|
|
173
112
|
export const rootNode = DeviceTypeDefinition({
|
|
174
113
|
name: 'MA-rootNode',
|
|
175
114
|
code: 0x0016,
|
|
176
115
|
deviceClass: DeviceClasses.Node,
|
|
177
116
|
revision: 3,
|
|
178
|
-
requiredServerClusters: [],
|
|
179
|
-
optionalServerClusters: [],
|
|
117
|
+
requiredServerClusters: [],
|
|
118
|
+
optionalServerClusters: [],
|
|
180
119
|
});
|
|
181
120
|
export const powerSource = DeviceTypeDefinition({
|
|
182
121
|
name: 'MA-powerSource',
|
|
@@ -206,46 +145,14 @@ export const OTAProvider = DeviceTypeDefinition({
|
|
|
206
145
|
requiredClientClusters: [OtaSoftwareUpdateRequestor.Cluster.id],
|
|
207
146
|
optionalClientClusters: [],
|
|
208
147
|
});
|
|
209
|
-
/**
|
|
210
|
-
2.5.3. Conditions
|
|
211
|
-
Please see the Base Device Type definition for conformance tags.
|
|
212
|
-
This device type SHALL only be used for Nodes which have a device type of Bridge.
|
|
213
|
-
|
|
214
|
-
2.5.5. Cluster Requirements
|
|
215
|
-
Each endpoint supporting this device type SHALL include these clusters based on the conformance
|
|
216
|
-
defined below.
|
|
217
|
-
- 0x0039 Bridged Device Basic Information Server
|
|
218
|
-
|
|
219
|
-
2.5.6. Endpoint Composition
|
|
220
|
-
• A Bridged Node endpoint SHALL support one of the following composition patterns:
|
|
221
|
-
◦ Separate Endpoints: All application device types are supported on separate endpoints, and
|
|
222
|
-
not on the Bridged Node endpoint. The Bridged Node endpoint’s Descriptor cluster PartsList
|
|
223
|
-
attribute SHALL indicate a list of all endpoints representing the functionality of the bridged
|
|
224
|
-
device, including the endpoints supporting the application device types, i.e. the full-family
|
|
225
|
-
pattern defined in the System Model specification.
|
|
226
|
-
◦ One Endpoint: Both the Bridged Node and one or more application device types are supported
|
|
227
|
-
on the same endpoint (following application device type rules). Endpoint composition
|
|
228
|
-
SHALL conform to the application device type(s) definition.
|
|
229
|
-
*/
|
|
230
148
|
export const bridgedNode = DeviceTypeDefinition({
|
|
231
149
|
name: 'MA-bridgedNode',
|
|
232
150
|
code: 0x0013,
|
|
233
151
|
deviceClass: DeviceClasses.Utility,
|
|
234
152
|
revision: 3,
|
|
235
|
-
requiredServerClusters: [BridgedDeviceBasicInformation.Cluster.id],
|
|
153
|
+
requiredServerClusters: [BridgedDeviceBasicInformation.Cluster.id],
|
|
236
154
|
optionalServerClusters: [PowerSource.Cluster.id, EcosystemInformation.Cluster.id, AdministratorCommissioning.Cluster.id],
|
|
237
155
|
});
|
|
238
|
-
/**
|
|
239
|
-
* An Electrical Sensor device measures the electrical power and/or energy being imported and/or
|
|
240
|
-
* exported.
|
|
241
|
-
* It is a utility device type that provides information about the electrical power and/or energy
|
|
242
|
-
* consumption and generation.
|
|
243
|
-
*
|
|
244
|
-
* 2.6.3. Device Type Requirements
|
|
245
|
-
* Electrical measurements made by either the Electrical Power Measurement cluster, the Electrical
|
|
246
|
-
* Energy Measurement cluster, or both SHALL apply to the endpoints indicated by the Power Topology
|
|
247
|
-
* cluster.
|
|
248
|
-
*/
|
|
249
156
|
export const electricalSensor = DeviceTypeDefinition({
|
|
250
157
|
name: 'MA-electricalSensor',
|
|
251
158
|
code: 0x0510,
|
|
@@ -254,10 +161,6 @@ export const electricalSensor = DeviceTypeDefinition({
|
|
|
254
161
|
requiredServerClusters: [PowerTopology.Cluster.id],
|
|
255
162
|
optionalServerClusters: [ElectricalPowerMeasurement.Cluster.id, ElectricalEnergyMeasurement.Cluster.id],
|
|
256
163
|
});
|
|
257
|
-
/**
|
|
258
|
-
* A Device Energy Management device provides reporting and optionally adjustment of the electrical
|
|
259
|
-
* power planned on being consumed or produced by the device.
|
|
260
|
-
*/
|
|
261
164
|
export const deviceEnergyManagement = DeviceTypeDefinition({
|
|
262
165
|
name: 'MA-deviceEnergyManagement',
|
|
263
166
|
code: 0x050d,
|
|
@@ -266,19 +169,6 @@ export const deviceEnergyManagement = DeviceTypeDefinition({
|
|
|
266
169
|
requiredServerClusters: [DeviceEnergyManagement.Cluster.id],
|
|
267
170
|
optionalServerClusters: [DeviceEnergyManagementMode.Cluster.id],
|
|
268
171
|
});
|
|
269
|
-
/** Chapter 3. Application Device Types */
|
|
270
|
-
/** Chapter 4. Lighting device types */
|
|
271
|
-
/**
|
|
272
|
-
* Element Requirements:
|
|
273
|
-
* - Identify Command TriggerEffect
|
|
274
|
-
* - Scenes Management Command CopyScene
|
|
275
|
-
* - On/Off Feature Lighting
|
|
276
|
-
* - Level Control Feature OnOff
|
|
277
|
-
* - Level Control Feature Lighting
|
|
278
|
-
* - Level Control Attribute CurrentLevel 1 to 254
|
|
279
|
-
* - Level Control Attribute MinLevel 1
|
|
280
|
-
* - Level Control Attribute MaxLevel 254
|
|
281
|
-
*/
|
|
282
172
|
export const onOffLight = DeviceTypeDefinition({
|
|
283
173
|
name: 'MA-onofflight',
|
|
284
174
|
code: 0x0100,
|
|
@@ -287,17 +177,6 @@ export const onOffLight = DeviceTypeDefinition({
|
|
|
287
177
|
requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, ScenesManagement.Cluster.id, OnOff.Cluster.id],
|
|
288
178
|
optionalServerClusters: [LevelControl.Cluster.id],
|
|
289
179
|
});
|
|
290
|
-
/**
|
|
291
|
-
* Element Requirements:
|
|
292
|
-
* - Identify Command TriggerEffect
|
|
293
|
-
* - Scenes Management Command CopyScene
|
|
294
|
-
* - On/Off Feature Lighting
|
|
295
|
-
* - Level Control Feature OnOff
|
|
296
|
-
* - Level Control Feature Lighting
|
|
297
|
-
* - Level Control Attribute CurrentLevel 1 to 254
|
|
298
|
-
* - Level Control Attribute MinLevel 1
|
|
299
|
-
* - Level Control Attribute MaxLevel 254
|
|
300
|
-
*/
|
|
301
180
|
export const dimmableLight = DeviceTypeDefinition({
|
|
302
181
|
name: 'MA-dimmablelight',
|
|
303
182
|
code: 0x0101,
|
|
@@ -306,19 +185,6 @@ export const dimmableLight = DeviceTypeDefinition({
|
|
|
306
185
|
requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, ScenesManagement.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id],
|
|
307
186
|
optionalServerClusters: [],
|
|
308
187
|
});
|
|
309
|
-
/**
|
|
310
|
-
* Element Requirements:
|
|
311
|
-
* - Identify Command TriggerEffect
|
|
312
|
-
* - Scenes Management Command CopyScene
|
|
313
|
-
* - On/Off Feature Lighting
|
|
314
|
-
* - Level Control Feature OnOff
|
|
315
|
-
* - Level Control Feature Lighting
|
|
316
|
-
* - Level Control Attribute CurrentLevel 1 to 254
|
|
317
|
-
* - Level Control Attribute MinLevel 1
|
|
318
|
-
* - Level Control Attribute MaxLevel 254
|
|
319
|
-
* - Color Control Feature ColorTemperature
|
|
320
|
-
* - Color Control Attribute RemainingTime
|
|
321
|
-
*/
|
|
322
188
|
export const colorTemperatureLight = DeviceTypeDefinition({
|
|
323
189
|
name: 'MA-colortemperaturelight',
|
|
324
190
|
code: 0x010c,
|
|
@@ -327,20 +193,6 @@ export const colorTemperatureLight = DeviceTypeDefinition({
|
|
|
327
193
|
requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, ScenesManagement.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id, ColorControl.Cluster.id],
|
|
328
194
|
optionalServerClusters: [],
|
|
329
195
|
});
|
|
330
|
-
/**
|
|
331
|
-
* Element Requirements:
|
|
332
|
-
* - Identify Command TriggerEffect
|
|
333
|
-
* - Scenes Management Command CopyScene
|
|
334
|
-
* - On/Off Feature Lighting
|
|
335
|
-
* - Level Control Feature OnOff
|
|
336
|
-
* - Level Control Feature Lighting
|
|
337
|
-
* - Level Control Attribute CurrentLevel 1 to 254
|
|
338
|
-
* - Level Control Attribute MinLevel 1
|
|
339
|
-
* - Level Control Attribute MaxLevel 254
|
|
340
|
-
* - Color Control Feature XY
|
|
341
|
-
* - Color Control Feature ColorTemperature
|
|
342
|
-
* - Color Control Attribute RemainingTime
|
|
343
|
-
*/
|
|
344
196
|
export const extendedColorLight = DeviceTypeDefinition({
|
|
345
197
|
name: 'MA-extendedcolorlight',
|
|
346
198
|
code: 0x010d,
|
|
@@ -349,26 +201,6 @@ export const extendedColorLight = DeviceTypeDefinition({
|
|
|
349
201
|
requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, ScenesManagement.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id, ColorControl.Cluster.id],
|
|
350
202
|
optionalServerClusters: [],
|
|
351
203
|
});
|
|
352
|
-
// Chapter 5. Smart plugs/Outlets and other Actuators device types
|
|
353
|
-
/**
|
|
354
|
-
* An On/Off Plug-in Unit is a device that provides power to another device that is plugged into it, and
|
|
355
|
-
* is capable of switching that provided power on or off.
|
|
356
|
-
* The Mounted On/Off Control (added in Matter 1.4) has identical cluster requirements as the On/Off
|
|
357
|
-
* Plug-In Unit, and is marked as superset of this device type (since Matter 1.4.2). For devices intended
|
|
358
|
-
* to be mounted permanently, the Mounted On/Off Control device type SHALL be used, with the
|
|
359
|
-
* On/Off Plug-In Unit device type optionally added in the DeviceTypeList of the Descriptor cluster in
|
|
360
|
-
* addition to the On/Off Plug-In Unit device type (see [ref_MountedOnOffControlServerGuidance]).
|
|
361
|
-
*
|
|
362
|
-
* Element Requirements:
|
|
363
|
-
* - Identify Command TriggerEffect
|
|
364
|
-
* - Scenes Management Command CopyScene
|
|
365
|
-
* - On/Off Feature Lighting
|
|
366
|
-
* - Level Control Feature OnOff
|
|
367
|
-
* - Level Control Feature Lighting
|
|
368
|
-
* - Level Control Attribute CurrentLevel 1 to 254
|
|
369
|
-
* - Level Control Attribute MinLevel 1
|
|
370
|
-
* - Level Control Attribute MaxLevel 254
|
|
371
|
-
*/
|
|
372
204
|
export const onOffOutlet = DeviceTypeDefinition({
|
|
373
205
|
name: 'MA-onoffpluginunit',
|
|
374
206
|
code: 0x010a,
|
|
@@ -377,27 +209,6 @@ export const onOffOutlet = DeviceTypeDefinition({
|
|
|
377
209
|
requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, ScenesManagement.Cluster.id, OnOff.Cluster.id],
|
|
378
210
|
optionalServerClusters: [LevelControl.Cluster.id],
|
|
379
211
|
});
|
|
380
|
-
/**
|
|
381
|
-
* A Dimmable Plug-In Unit is a device that provides power to another device that is plugged into it,
|
|
382
|
-
* and is capable of being switched on or off and have its level adjusted. The Dimmable Plug-in Unit is
|
|
383
|
-
* typically used to control a conventional non-communicating light through its mains connection
|
|
384
|
-
* using phase cutting.
|
|
385
|
-
* The Mounted Dimmable Load Control (added in Matter 1.4) has identical cluster requirements as
|
|
386
|
-
* the Dimmable Plug-In Unit, and is marked as a superset of this device type (since Matter 1.4.2). For
|
|
387
|
-
* devices intended to be mounted permanently, the Mounted Dimmable Load Control device type
|
|
388
|
-
* SHALL be used, with the Dimmable Plug-In Unit device type optionally added to the DeviceTypeList
|
|
389
|
-
* of the Descriptor cluster in addition to the Mounted Dimmable Load Control device type (see [ref_MountedDimmableLoadControlServerGuidance]).
|
|
390
|
-
*
|
|
391
|
-
* Element Requirements:
|
|
392
|
-
* - Identify Command TriggerEffect
|
|
393
|
-
* - Scenes Management Command CopyScene
|
|
394
|
-
* - On/Off Feature Lighting
|
|
395
|
-
* - Level Control Feature OnOff
|
|
396
|
-
* - Level Control Feature Lighting
|
|
397
|
-
* - Level Control Attribute CurrentLevel 1 to 254
|
|
398
|
-
* - Level Control Attribute MinLevel 1
|
|
399
|
-
* - Level Control Attribute MaxLevel 254
|
|
400
|
-
*/
|
|
401
212
|
export const dimmableOutlet = DeviceTypeDefinition({
|
|
402
213
|
name: 'MA-dimmablepluginunit',
|
|
403
214
|
code: 0x010b,
|
|
@@ -406,27 +217,6 @@ export const dimmableOutlet = DeviceTypeDefinition({
|
|
|
406
217
|
requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, ScenesManagement.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id],
|
|
407
218
|
optionalServerClusters: [],
|
|
408
219
|
});
|
|
409
|
-
/**
|
|
410
|
-
* A Mounted On/Off Control is a fixed device that provides power to another device that is plugged
|
|
411
|
-
* into it, and is capable of switching that provided power on or off.
|
|
412
|
-
* This device type is intended for any wall-mounted or hardwired load controller, while On/Off Plugin
|
|
413
|
-
* Unit is intended only for smart plugs and other power switching devices that are not permaMatter
|
|
414
|
-
* Device Library Specification R1.4.2 Connectivity Standards Alliance Document 23-27351 July 16, 2025
|
|
415
|
-
* Copyright © Connectivity Standards Alliance, Inc. All rights reserved. Page 53
|
|
416
|
-
* nently connected, and which can be unplugged from their power source.
|
|
417
|
-
*
|
|
418
|
-
* It is a simple device type that does not require any client clusters. As per matter 1.4.2 it should be added also on/Off Plug-In Unit for backward compatibility.
|
|
419
|
-
*
|
|
420
|
-
* Element Requirements:
|
|
421
|
-
* - Identify Command TriggerEffect
|
|
422
|
-
* - Scenes Management Command CopyScene
|
|
423
|
-
* - On/Off Feature Lighting
|
|
424
|
-
* - Level Control Feature OnOff
|
|
425
|
-
* - Level Control Feature Lighting
|
|
426
|
-
* - Level Control Attribute CurrentLevel 1 to 254
|
|
427
|
-
* - Level Control Attribute MinLevel 1
|
|
428
|
-
* - Level Control Attribute MaxLevel 254
|
|
429
|
-
*/
|
|
430
220
|
export const onOffMountedSwitch = DeviceTypeDefinition({
|
|
431
221
|
name: 'MA-onoffmountedswitch',
|
|
432
222
|
code: 0x010f,
|
|
@@ -435,27 +225,6 @@ export const onOffMountedSwitch = DeviceTypeDefinition({
|
|
|
435
225
|
requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, ScenesManagement.Cluster.id, OnOff.Cluster.id],
|
|
436
226
|
optionalServerClusters: [LevelControl.Cluster.id],
|
|
437
227
|
});
|
|
438
|
-
/**
|
|
439
|
-
* A Mounted Dimmable Load Control is a fixed device that provides power to a load connected to it,
|
|
440
|
-
* and is capable of being switched on or off and have its level adjusted. The Mounted Dimmable Load
|
|
441
|
-
* Control is typically used to control a conventional non-communicating light through its mains connection
|
|
442
|
-
* using phase cutting.
|
|
443
|
-
* This device type is intended for any wall-mounted or hardwired dimmer-capable load controller,
|
|
444
|
-
* while Dimmable Plug-In Unit is intended only for dimmer-capable smart plugs that are not permanently
|
|
445
|
-
* connected, and which can be unplugged from their power source.
|
|
446
|
-
*
|
|
447
|
-
* It is a simple device type that does not require any client clusters. As per matter 1.4.2 it should be added also dimmable Plug-In Unit for backward compatibility.
|
|
448
|
-
*
|
|
449
|
-
* Element Requirements:
|
|
450
|
-
* - Identify Command TriggerEffect
|
|
451
|
-
* - Scenes Management Command CopyScene
|
|
452
|
-
* - On/Off Feature Lighting
|
|
453
|
-
* - Level Control Feature OnOff
|
|
454
|
-
* - Level Control Feature Lighting
|
|
455
|
-
* - Level Control Attribute CurrentLevel 1 to 254
|
|
456
|
-
* - Level Control Attribute MinLevel 1
|
|
457
|
-
* - Level Control Attribute MaxLevel 254
|
|
458
|
-
*/
|
|
459
228
|
export const dimmableMountedSwitch = DeviceTypeDefinition({
|
|
460
229
|
name: 'MA-dimmablemountedswitch',
|
|
461
230
|
code: 0x0110,
|
|
@@ -464,20 +233,6 @@ export const dimmableMountedSwitch = DeviceTypeDefinition({
|
|
|
464
233
|
requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, ScenesManagement.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id],
|
|
465
234
|
optionalServerClusters: [],
|
|
466
235
|
});
|
|
467
|
-
/**
|
|
468
|
-
* Remark:
|
|
469
|
-
* On/Off Cluster:
|
|
470
|
-
* - Off If the pump is powered on, store the current level then immediately power it off.
|
|
471
|
-
* - On If the pump is powered off, power it on and move immediately to the level stored by a previous Off command. If no such level has been stored,
|
|
472
|
-
* move immediately to the maximum level allowed for the pump.
|
|
473
|
-
* - Toggle If the pump is powered on, proceed as for the Off command. If the device is powered off, proceed as for the On command.
|
|
474
|
-
*
|
|
475
|
-
* LevelControl cluster:
|
|
476
|
-
* Level Setpoint Meaning
|
|
477
|
-
* 0 N/A Pump is stopped,
|
|
478
|
-
* 1–200 Level / 2 (0.5–100.0%) Pump setpoint in percent
|
|
479
|
-
* 201–255 100.0% Pump setpoint is 100.0%
|
|
480
|
-
*/
|
|
481
236
|
export const pumpDevice = DeviceTypeDefinition({
|
|
482
237
|
name: 'MA-pump',
|
|
483
238
|
code: 0x303,
|
|
@@ -501,8 +256,6 @@ export const waterValve = DeviceTypeDefinition({
|
|
|
501
256
|
requiredServerClusters: [Identify.Cluster.id, ValveConfigurationAndControl.Cluster.id],
|
|
502
257
|
optionalServerClusters: [FlowMeasurement.Cluster.id],
|
|
503
258
|
});
|
|
504
|
-
// Chapter 6. Switches and Controls device types
|
|
505
|
-
// Custom device types with server cluster instead of client clusters (not working in Alexa)
|
|
506
259
|
export const onOffSwitch = DeviceTypeDefinition({
|
|
507
260
|
name: 'MA-onoffswitch',
|
|
508
261
|
code: 0x0103,
|
|
@@ -511,7 +264,6 @@ export const onOffSwitch = DeviceTypeDefinition({
|
|
|
511
264
|
requiredServerClusters: [Identify.Cluster.id, OnOff.Cluster.id],
|
|
512
265
|
optionalServerClusters: [Groups.Cluster.id, ScenesManagement.Cluster.id],
|
|
513
266
|
});
|
|
514
|
-
// Custom device types with server cluster instead of client clusters (not working in Alexa)
|
|
515
267
|
export const dimmableSwitch = DeviceTypeDefinition({
|
|
516
268
|
name: 'MA-dimmableswitch',
|
|
517
269
|
code: 0x0104,
|
|
@@ -520,7 +272,6 @@ export const dimmableSwitch = DeviceTypeDefinition({
|
|
|
520
272
|
requiredServerClusters: [Identify.Cluster.id, OnOff.Cluster.id, LevelControl.Cluster.id],
|
|
521
273
|
optionalServerClusters: [Groups.Cluster.id, ScenesManagement.Cluster.id],
|
|
522
274
|
});
|
|
523
|
-
// Custom device types with server cluster instead of client clusters (not working in Alexa)
|
|
524
275
|
export const colorTemperatureSwitch = DeviceTypeDefinition({
|
|
525
276
|
name: 'MA-colortemperatureswitch',
|
|
526
277
|
code: 0x0105,
|
|
@@ -537,11 +288,6 @@ export const genericSwitch = DeviceTypeDefinition({
|
|
|
537
288
|
requiredServerClusters: [Identify.Cluster.id, Switch.Cluster.id],
|
|
538
289
|
optionalServerClusters: [],
|
|
539
290
|
});
|
|
540
|
-
// Chapter 7. Sensor device types
|
|
541
|
-
/**
|
|
542
|
-
* Closed or contact: state true
|
|
543
|
-
* Open or no contact: state false
|
|
544
|
-
*/
|
|
545
291
|
export const contactSensor = DeviceTypeDefinition({
|
|
546
292
|
name: 'MA-contactsensor',
|
|
547
293
|
code: 0x0015,
|
|
@@ -593,7 +339,6 @@ export const humiditySensor = DeviceTypeDefinition({
|
|
|
593
339
|
revision: 2,
|
|
594
340
|
requiredServerClusters: [Identify.Cluster.id, RelativeHumidityMeasurement.Cluster.id],
|
|
595
341
|
});
|
|
596
|
-
// Remark: A Smoke CO Alarm device type SHALL support an instance of a Power Source device type on some endpoint.
|
|
597
342
|
export const smokeCoAlarm = DeviceTypeDefinition({
|
|
598
343
|
name: 'MA-smokeCoAlarm',
|
|
599
344
|
code: 0x0076,
|
|
@@ -647,15 +392,6 @@ export const rainSensor = DeviceTypeDefinition({
|
|
|
647
392
|
requiredServerClusters: [Identify.Cluster.id, BooleanState.Cluster.id],
|
|
648
393
|
optionalServerClusters: [BooleanStateConfiguration.Cluster.id],
|
|
649
394
|
});
|
|
650
|
-
// Chapter 8. Closures device types
|
|
651
|
-
/**
|
|
652
|
-
* A Door Lock is a device used to secure a door. It is possible to actuate a door lock either by means of a manual or a remote method.
|
|
653
|
-
* Element Requirements:
|
|
654
|
-
*
|
|
655
|
-
* - AccessControl Attribute Extension
|
|
656
|
-
* - DoorLock Feature User
|
|
657
|
-
* - DoorLock Attribute AlarmMask
|
|
658
|
-
*/
|
|
659
395
|
export const doorLockDevice = DeviceTypeDefinition({
|
|
660
396
|
name: 'MA-doorLock',
|
|
661
397
|
code: 0xa,
|
|
@@ -672,15 +408,6 @@ export const coverDevice = DeviceTypeDefinition({
|
|
|
672
408
|
requiredServerClusters: [Identify.Cluster.id, WindowCovering.Cluster.id],
|
|
673
409
|
optionalServerClusters: [Groups.Cluster.id],
|
|
674
410
|
});
|
|
675
|
-
// Chapter 9. HVAC device types
|
|
676
|
-
/**
|
|
677
|
-
* A Thermostat device is capable of having either built-in or separate sensors for temperature,
|
|
678
|
-
* humidity or occupancy. It allows the desired temperature to be set either remotely or locally. The
|
|
679
|
-
* thermostat is capable of sending heating and/or cooling requirement notifications to a heating/cooling
|
|
680
|
-
* unit (for example, an indoor air handler) or is capable of including a mechanism to control a
|
|
681
|
-
* heating or cooling unit directly.
|
|
682
|
-
*
|
|
683
|
-
*/
|
|
684
411
|
export const thermostatDevice = DeviceTypeDefinition({
|
|
685
412
|
name: 'MA-thermostat',
|
|
686
413
|
code: 0x301,
|
|
@@ -689,25 +416,6 @@ export const thermostatDevice = DeviceTypeDefinition({
|
|
|
689
416
|
requiredServerClusters: [Identify.Cluster.id, Thermostat.Cluster.id],
|
|
690
417
|
optionalServerClusters: [Groups.Cluster.id, ThermostatUserInterfaceConfiguration.Cluster.id, EnergyPreference.Cluster.id],
|
|
691
418
|
});
|
|
692
|
-
/**
|
|
693
|
-
* A Fan device is typically standalone or mounted on a ceiling or wall and is used to circulate air in a room.
|
|
694
|
-
* Remark: it may have a thermostat device type.
|
|
695
|
-
* Additional device types MAY also be included in device compositions.
|
|
696
|
-
* Element Requirements:
|
|
697
|
-
* The FanControl cluster must have the FanModeSequence attribute.
|
|
698
|
-
*
|
|
699
|
-
* The On/Off cluster is independent from the Fan Control Cluster’s FanMode attribute, which also
|
|
700
|
-
* includes an Off setting.
|
|
701
|
-
* If the FanMode attribute of the Fan Control cluster is set to a value other than Off when the OnOff
|
|
702
|
-
* attribute of the On/Off cluster transitions from TRUE to FALSE, it may be desirable to restore the
|
|
703
|
-
* FanMode, SpeedSetting and PercentSetting attribute values of the Fan Control cluster when the OnOff
|
|
704
|
-
* attribute of the On/Off cluster later transitions from FALSE to TRUE. If the FanMode is set to Off when
|
|
705
|
-
* the device is turned off, this information is lost, as the SpeedSetting and PercentSetting will be set to
|
|
706
|
-
* zero. Using the On/Off cluster alongside the Fan Control cluster allows the FanMode, SpeedSetting and
|
|
707
|
-
* PercentSetting to remain unchanged when the device is turned off. In this case, the On/Off cluster
|
|
708
|
-
* would be set to Off, and the SpeedCurrent and PercentCurrent set to zero, without changing FanMode,
|
|
709
|
-
* SpeedSetting and PercentSetting.
|
|
710
|
-
*/
|
|
711
419
|
export const fanDevice = DeviceTypeDefinition({
|
|
712
420
|
name: 'MA-fan',
|
|
713
421
|
code: 0x2b,
|
|
@@ -716,35 +424,6 @@ export const fanDevice = DeviceTypeDefinition({
|
|
|
716
424
|
requiredServerClusters: [Identify.Cluster.id, Groups.Cluster.id, FanControl.Cluster.id],
|
|
717
425
|
optionalServerClusters: [OnOff.Cluster.id],
|
|
718
426
|
});
|
|
719
|
-
/**
|
|
720
|
-
* An Air Purifier is a standalone device that is designed to clean the air in a room.
|
|
721
|
-
* It is a device that has a fan to control the air speed while it is operating. Optionally, it can report on
|
|
722
|
-
* the condition of its filters.
|
|
723
|
-
*
|
|
724
|
-
* Remark:
|
|
725
|
-
* An Air Purifier MAY expose elements of its functionality through one or more additional device
|
|
726
|
-
* types on different endpoints. All devices used in compositions SHALL adhere to the disambiguation
|
|
727
|
-
* requirements of the System Model. Other device types, not explicitly listed in the table, MAY also be
|
|
728
|
-
* included in device compositions but are not considered part of the core functionality of the device.
|
|
729
|
-
* 0x0301 Thermostat O
|
|
730
|
-
* 0x0302 Temperature Sensor O
|
|
731
|
-
* 0x0307 Humidity Sensor O
|
|
732
|
-
* 0x002C Air Quality Sensor O
|
|
733
|
-
*
|
|
734
|
-
* Cluster Restrictions:
|
|
735
|
-
* The On/Off cluster is independent from the Fan Control Cluster’s FanMode attribute, which also
|
|
736
|
-
* includes an Off setting.
|
|
737
|
-
* If the FanMode attribute of the Fan Control cluster is set to a value other than Off when the OnOff
|
|
738
|
-
* attribute of the On/Off cluster transitions from TRUE to FALSE, it may be desirable to restore the
|
|
739
|
-
* FanMode, SpeedSetting and PercentSetting attribute values of the Fan Control cluster when the OnOff
|
|
740
|
-
* attribute of the On/Off cluster later transitions from FALSE to TRUE. If the FanMode is set to Off when
|
|
741
|
-
* the device is turned off, this information is lost, as the SpeedSetting and PercentSetting will be set to
|
|
742
|
-
* zero. Using the On/Off cluster alongside the Fan Control cluster allows the FanMode, SpeedSetting and
|
|
743
|
-
* PercentSetting to remain unchanged when the device is turned off. In this case, the On/Off cluster
|
|
744
|
-
* would be set to Off, and the SpeedCurrent and PercentCurrent set to zero, without changing FanMode,
|
|
745
|
-
* SpeedSetting and PercentSetting.
|
|
746
|
-
*
|
|
747
|
-
*/
|
|
748
427
|
export const airPurifier = DeviceTypeDefinition({
|
|
749
428
|
name: 'MA-airPurifier',
|
|
750
429
|
code: 0x2d,
|
|
@@ -753,26 +432,6 @@ export const airPurifier = DeviceTypeDefinition({
|
|
|
753
432
|
requiredServerClusters: [Identify.Cluster.id, FanControl.Cluster.id],
|
|
754
433
|
optionalServerClusters: [Groups.Cluster.id, OnOff.Cluster.id, HepaFilterMonitoring.Cluster.id, ActivatedCarbonFilterMonitoring.Cluster.id],
|
|
755
434
|
});
|
|
756
|
-
// Chapter 10. Media Device Types
|
|
757
|
-
/**
|
|
758
|
-
* 10.2. A Basic Video Player has playback controls (play, pause, etc.) and keypad remote controls (up, down, number input),
|
|
759
|
-
* but is not able to launch arbitrary content applications. It is a commissionable node.
|
|
760
|
-
*
|
|
761
|
-
* Required server clusters (minimum features per spec):
|
|
762
|
-
* - Media Playback (media playback controls)
|
|
763
|
-
* - Keypad Input (remote key events)
|
|
764
|
-
* - On/Off (basic power control)
|
|
765
|
-
*
|
|
766
|
-
* Optional server clusters (additional capabilities commonly implemented):
|
|
767
|
-
* - Audio Output (speaker selection / volume endpoints)
|
|
768
|
-
* - Channel (linear channel navigation)
|
|
769
|
-
* - Target Navigator (high level app / target navigation)
|
|
770
|
-
* - Media Input (input source selection)
|
|
771
|
-
* - Low Power (power saving / wake logic)
|
|
772
|
-
* - Wake On LAN (remote wake capabilities)
|
|
773
|
-
* - Messages (device messaging / notifications)
|
|
774
|
-
* - Content Control (parental or content access control)
|
|
775
|
-
*/
|
|
776
435
|
export const basicVideoPlayer = DeviceTypeDefinition({
|
|
777
436
|
name: 'MA-basicVideoPlayer',
|
|
778
437
|
code: 0x0028,
|
|
@@ -790,29 +449,6 @@ export const basicVideoPlayer = DeviceTypeDefinition({
|
|
|
790
449
|
Messages.Cluster.id,
|
|
791
450
|
],
|
|
792
451
|
});
|
|
793
|
-
/**
|
|
794
|
-
* 10.3. A Casting Video Player supports Basic Video Player features and content launching features.
|
|
795
|
-
* It is a Commissioner and can launch Content Apps (Content Launcher cluster) and optionally expose
|
|
796
|
-
* an Application Launcher cluster when acting as a Content App Platform.
|
|
797
|
-
*
|
|
798
|
-
* Required server clusters (minimum features per spec):
|
|
799
|
-
* - Media Playback (playback controls)
|
|
800
|
-
* - Keypad Input (remote key events)
|
|
801
|
-
* - Content Launcher (content launching capability)
|
|
802
|
-
* - On/Off (basic power control)
|
|
803
|
-
*
|
|
804
|
-
* Optional server clusters (additional capabilities):
|
|
805
|
-
* - Application Launcher (hosting content apps)
|
|
806
|
-
* - Account Login (account / session association)
|
|
807
|
-
* - Audio Output (output / volume endpoints)
|
|
808
|
-
* - Channel (linear channel navigation)
|
|
809
|
-
* - Target Navigator (high level target navigation)
|
|
810
|
-
* - Media Input (input source selection)
|
|
811
|
-
* - Low Power (power saving / wake logic)
|
|
812
|
-
* - Wake On LAN (remote wake capabilities)
|
|
813
|
-
* - Messages (device messaging / notifications)
|
|
814
|
-
* - Content Control (parental or content access control)
|
|
815
|
-
*/
|
|
816
452
|
export const castingVideoPlayer = DeviceTypeDefinition({
|
|
817
453
|
name: 'MA-castingVideoPlayer',
|
|
818
454
|
code: 0x0023,
|
|
@@ -832,12 +468,6 @@ export const castingVideoPlayer = DeviceTypeDefinition({
|
|
|
832
468
|
Messages.Cluster.id,
|
|
833
469
|
],
|
|
834
470
|
});
|
|
835
|
-
/**
|
|
836
|
-
* 10.4. A Speaker device type controls the speaker.
|
|
837
|
-
* unmute/mute, the On/Off cluster SHALL be used. A value of TRUE for the OnOff attribute
|
|
838
|
-
* SHALL represent the volume on (not muted) state, while a value of FALSE SHALL represent the volume
|
|
839
|
-
* off (muted) state. For volume level control, the Level cluster SHALL be used.
|
|
840
|
-
*/
|
|
841
471
|
export const speakerDevice = DeviceTypeDefinition({
|
|
842
472
|
name: 'MA-speaker',
|
|
843
473
|
code: 0x0022,
|
|
@@ -846,7 +476,6 @@ export const speakerDevice = DeviceTypeDefinition({
|
|
|
846
476
|
requiredServerClusters: [OnOff.Cluster.id, LevelControl.Cluster.id],
|
|
847
477
|
optionalServerClusters: [],
|
|
848
478
|
});
|
|
849
|
-
// Chapter 11. Generic Device Types
|
|
850
479
|
export const modeSelect = DeviceTypeDefinition({
|
|
851
480
|
name: 'MA-modeselect',
|
|
852
481
|
code: 0x27,
|
|
@@ -854,37 +483,6 @@ export const modeSelect = DeviceTypeDefinition({
|
|
|
854
483
|
revision: 1,
|
|
855
484
|
requiredServerClusters: [ModeSelect.Cluster.id],
|
|
856
485
|
});
|
|
857
|
-
/**
|
|
858
|
-
* This device type aggregates endpoints as a collection. Clusters on the endpoint indicating this
|
|
859
|
-
* device type provide functionality for the collection of descendant endpoints present in the PartsList
|
|
860
|
-
* of the endpoint’s descriptor, for example the Actions cluster.
|
|
861
|
-
*
|
|
862
|
-
* Endpoint Composition:
|
|
863
|
-
* An Aggregator endpoint’s Descriptor cluster PartsList attribute SHALL list the collection of all endpoints
|
|
864
|
-
* aggregated by the Aggregator device type, i.e. the full-family pattern defined in the System Model specification.
|
|
865
|
-
*
|
|
866
|
-
* Disambiguation:
|
|
867
|
-
* If the Duplicate condition applies to child endpoints of an Aggregator endpoint that represent multiple
|
|
868
|
-
* independent bridged devices, the endpoints SHOULD make available metadata to allow a
|
|
869
|
-
* client to disambiguate distinct bridged devices with an overlap in application device types.
|
|
870
|
-
*
|
|
871
|
-
* Typically this is done using the NodeLabel attribute of the Bridged Device Basic Information cluster
|
|
872
|
-
* - thus reusing the naming information which the bridge already has to allow disambiguation to the
|
|
873
|
-
* user when using a direct user interface to the bridge.
|
|
874
|
-
*
|
|
875
|
-
* Actions cluster (9.14 Matter specification):
|
|
876
|
-
* If a Bridge has (such) information on topology or logical grouping, it SHOULD expose such information
|
|
877
|
-
* in the EndpointLists attribute of an Actions cluster (the ActionLists of which MAY be empty if
|
|
878
|
-
* no actions are exposed). 9.12 Matter specification
|
|
879
|
-
*
|
|
880
|
-
* 9.12.5. New features for Bridged Devices
|
|
881
|
-
* Bridged Devices can have their software updated independently of the Bridge, through Bridge Manufacturer-
|
|
882
|
-
* specific means. These updates MAY result in one or more changes to their capabilities,
|
|
883
|
-
* such as supported clusters and/or attributes, for an endpoint. Like every Matter Node, every endpoint
|
|
884
|
-
* on the Bridge’s Node contains a Descriptor cluster that contains attributes for the device types
|
|
885
|
-
* (DeviceTypeList), endpoints (PartsList) and supported clusters (ServerList and ClientList). Nodes
|
|
886
|
-
* that wish to be notified of such changes SHOULD monitor changes of these attributes.
|
|
887
|
-
*/
|
|
888
486
|
export const aggregator = DeviceTypeDefinition({
|
|
889
487
|
name: 'MA-aggregator',
|
|
890
488
|
code: 0x000e,
|
|
@@ -894,29 +492,6 @@ export const aggregator = DeviceTypeDefinition({
|
|
|
894
492
|
optionalServerClusters: [Actions.Cluster.id, Identify.Cluster.id, CommissionerControl.Cluster.id],
|
|
895
493
|
});
|
|
896
494
|
export const bridge = aggregator;
|
|
897
|
-
// Chapter 12. Robotic Device Types
|
|
898
|
-
/**
|
|
899
|
-
* A Robotic Vacuum Cleaner is a device that is capable of cleaning floors and other surfaces
|
|
900
|
-
* in a home or office environment. It is typically a mobile device that can navigate around
|
|
901
|
-
* obstacles and can be controlled remotely.
|
|
902
|
-
*
|
|
903
|
-
* Cluster Usage:
|
|
904
|
-
* The RVC Operational State cluster’s OperationalState attribute SHALL be updated according to the
|
|
905
|
-
* state of the device, and therefore it SHOULD be used for monitoring purposes.
|
|
906
|
-
*
|
|
907
|
-
* To attempt starting a cleaning operation, the RVC Run Mode cluster can be sent a ChangeToMode
|
|
908
|
-
* command with the NewMode field set to a mode that has the Cleaning mode tag associated with it.
|
|
909
|
-
*
|
|
910
|
-
* To attempt stopping a cleaning operation, the RVC Run Mode cluster can be sent a ChangeToMode
|
|
911
|
-
* command with the NewMode field set to a mode that has the Idle mode tag associated with it.
|
|
912
|
-
*
|
|
913
|
-
* To attempt pausing a cleaning operation, the RVC Operational State cluster can be sent a Pause command.
|
|
914
|
-
*
|
|
915
|
-
* To attempt resuming a cleaning operation, the RVC Operational State cluster can be sent a Resume
|
|
916
|
-
* command.
|
|
917
|
-
*
|
|
918
|
-
*
|
|
919
|
-
*/
|
|
920
495
|
export const roboticVacuumCleaner = DeviceTypeDefinition({
|
|
921
496
|
name: 'MA-roboticvacuumcleaner',
|
|
922
497
|
code: 0x74,
|
|
@@ -925,12 +500,6 @@ export const roboticVacuumCleaner = DeviceTypeDefinition({
|
|
|
925
500
|
requiredServerClusters: [Identify.Cluster.id, RvcRunMode.Cluster.id, RvcOperationalState.Cluster.id],
|
|
926
501
|
optionalServerClusters: [RvcCleanMode.Cluster.id, ServiceArea.Cluster.id],
|
|
927
502
|
});
|
|
928
|
-
// Chapter 13. Appliances device types
|
|
929
|
-
/**
|
|
930
|
-
* Cluster Restrictions:
|
|
931
|
-
* On/Off Cluster: the DF (Dead Front) feature is required
|
|
932
|
-
* Operational State Event OperationCompletion
|
|
933
|
-
*/
|
|
934
503
|
export const laundryWasher = DeviceTypeDefinition({
|
|
935
504
|
name: 'MA-laundrywasher',
|
|
936
505
|
code: 0x73,
|
|
@@ -939,14 +508,6 @@ export const laundryWasher = DeviceTypeDefinition({
|
|
|
939
508
|
requiredServerClusters: [OperationalState.Cluster.id],
|
|
940
509
|
optionalServerClusters: [Identify.Cluster.id, LaundryWasherMode.Cluster.id, OnOff.Cluster.id, LaundryWasherControls.Cluster.id, TemperatureControl.Cluster.id],
|
|
941
510
|
});
|
|
942
|
-
/**
|
|
943
|
-
* A refrigerator represents a device that contains one or more cabinets that are capable of chilling or freezing food.
|
|
944
|
-
* A Refrigerator SHALL be composed of at least one endpoint with the Temperature Controlled Cabinet device type.
|
|
945
|
-
* A Refrigerator SHALL have the Cooler condition applied to at least one endpoint containing the Temperature Control Cluster.
|
|
946
|
-
*
|
|
947
|
-
* Device Type Requirements:
|
|
948
|
-
* 0x0071 Temperature Controlled Cabinet with Cooler condition
|
|
949
|
-
*/
|
|
950
511
|
export const refrigerator = DeviceTypeDefinition({
|
|
951
512
|
name: 'MA-refrigerator',
|
|
952
513
|
code: 0x70,
|
|
@@ -955,23 +516,6 @@ export const refrigerator = DeviceTypeDefinition({
|
|
|
955
516
|
requiredServerClusters: [],
|
|
956
517
|
optionalServerClusters: [Identify.Cluster.id, RefrigeratorAndTemperatureControlledCabinetMode.Cluster.id, RefrigeratorAlarm.Cluster.id],
|
|
957
518
|
});
|
|
958
|
-
/**
|
|
959
|
-
* A Room Air Conditioner is a device with the primary function of controlling the air temperature in a single room.
|
|
960
|
-
*
|
|
961
|
-
* A Room Air Conditioner MAY have zero or more of each device type listed in this table subject to
|
|
962
|
-
* the conformance column of the table. All devices used in compositions SHALL adhere to the disambiguation
|
|
963
|
-
* requirements of the System Model. Additional device types not listed in this table MAY also be included in device compositions.
|
|
964
|
-
* 0x0302 Temperature Sensor O
|
|
965
|
-
* 0x0307 Humidity Sensor O
|
|
966
|
-
*
|
|
967
|
-
* Remark:
|
|
968
|
-
* The DF (Dead Front) feature is required for the On/Off cluster in this device type:
|
|
969
|
-
* - Thermostat LocalTemperature null
|
|
970
|
-
* - Temperature Measurement MeasuredValue null
|
|
971
|
-
* - Relative Humidity Measurement MeasuredValue null
|
|
972
|
-
* - Fan Control SpeedSetting null
|
|
973
|
-
* - Fan Control PercentSetting null
|
|
974
|
-
*/
|
|
975
519
|
export const airConditioner = DeviceTypeDefinition({
|
|
976
520
|
name: 'MA-airConditioner',
|
|
977
521
|
code: 0x72,
|
|
@@ -987,19 +531,6 @@ export const airConditioner = DeviceTypeDefinition({
|
|
|
987
531
|
RelativeHumidityMeasurement.Cluster.id,
|
|
988
532
|
],
|
|
989
533
|
});
|
|
990
|
-
/**
|
|
991
|
-
* A Temperature Controlled Cabinet only exists composed as part of another device type. It represents
|
|
992
|
-
* a single cabinet that is capable of having its temperature controlled. Such a cabinet may be
|
|
993
|
-
* chilling or freezing food, for example as part of a refrigerator, freezer, wine chiller, or other similar
|
|
994
|
-
* device. Equally, such a cabinet may be warming or heating food, for example as part of an oven,
|
|
995
|
-
* range, or similar device.
|
|
996
|
-
*
|
|
997
|
-
* Conditions:
|
|
998
|
-
* Cooler The device has cooling functionality.
|
|
999
|
-
*
|
|
1000
|
-
* Cluster Restrictions:
|
|
1001
|
-
* TemperatureNumber is the only valid temperature control mode
|
|
1002
|
-
*/
|
|
1003
534
|
export const temperatureControlledCabinetCooler = DeviceTypeDefinition({
|
|
1004
535
|
name: 'MA-temperaturecontrolledcabinetcooler',
|
|
1005
536
|
code: 0x71,
|
|
@@ -1008,20 +539,6 @@ export const temperatureControlledCabinetCooler = DeviceTypeDefinition({
|
|
|
1008
539
|
requiredServerClusters: [TemperatureControl.Cluster.id, RefrigeratorAndTemperatureControlledCabinetMode.Cluster.id],
|
|
1009
540
|
optionalServerClusters: [TemperatureMeasurement.Cluster.id],
|
|
1010
541
|
});
|
|
1011
|
-
/**
|
|
1012
|
-
* A Temperature Controlled Cabinet only exists composed as part of another device type. It represents
|
|
1013
|
-
* a single cabinet that is capable of having its temperature controlled. Such a cabinet may be
|
|
1014
|
-
* chilling or freezing food, for example as part of a refrigerator, freezer, wine chiller, or other similar
|
|
1015
|
-
* device. Equally, such a cabinet may be warming or heating food, for example as part of an oven,
|
|
1016
|
-
* range, or similar device.
|
|
1017
|
-
*
|
|
1018
|
-
* Conditions:
|
|
1019
|
-
* Heater The device has heating functionality.
|
|
1020
|
-
*
|
|
1021
|
-
* Cluster Restrictions:
|
|
1022
|
-
* TemperatureNumber is the only valid temperature control mode
|
|
1023
|
-
* OperationCompletion event for Oven Cavity Operational State cluster
|
|
1024
|
-
*/
|
|
1025
542
|
export const temperatureControlledCabinetHeater = DeviceTypeDefinition({
|
|
1026
543
|
name: 'MA-temperaturecontrolledcabinetheater',
|
|
1027
544
|
code: 0x71,
|
|
@@ -1030,11 +547,6 @@ export const temperatureControlledCabinetHeater = DeviceTypeDefinition({
|
|
|
1030
547
|
requiredServerClusters: [TemperatureControl.Cluster.id, OvenMode.Cluster.id, OvenCavityOperationalState.Cluster.id],
|
|
1031
548
|
optionalServerClusters: [TemperatureMeasurement.Cluster.id],
|
|
1032
549
|
});
|
|
1033
|
-
/**
|
|
1034
|
-
* Cluster Restrictions:
|
|
1035
|
-
* On/Off Cluster: the DF (Dead Front) feature is required
|
|
1036
|
-
* Operational State Event OperationCompletion
|
|
1037
|
-
*/
|
|
1038
550
|
export const dishwasher = DeviceTypeDefinition({
|
|
1039
551
|
name: 'MA-dishwasher',
|
|
1040
552
|
code: 0x75,
|
|
@@ -1043,11 +555,6 @@ export const dishwasher = DeviceTypeDefinition({
|
|
|
1043
555
|
requiredServerClusters: [OperationalState.Cluster.id],
|
|
1044
556
|
optionalServerClusters: [Identify.Cluster.id, OnOff.Cluster.id, TemperatureControl.Cluster.id, DishwasherMode.Cluster.id, DishwasherAlarm.Cluster.id],
|
|
1045
557
|
});
|
|
1046
|
-
/**
|
|
1047
|
-
* Cluster Restrictions:
|
|
1048
|
-
* On/Off Cluster: the DF (Dead Front) feature is required
|
|
1049
|
-
* Operational State Event OperationCompletion
|
|
1050
|
-
*/
|
|
1051
558
|
export const laundryDryer = DeviceTypeDefinition({
|
|
1052
559
|
name: 'MA-laundrydryer',
|
|
1053
560
|
code: 0x7c,
|
|
@@ -1056,14 +563,6 @@ export const laundryDryer = DeviceTypeDefinition({
|
|
|
1056
563
|
requiredServerClusters: [OperationalState.Cluster.id],
|
|
1057
564
|
optionalServerClusters: [Identify.Cluster.id, LaundryWasherMode.Cluster.id, OnOff.Cluster.id, LaundryDryerControls.Cluster.id, TemperatureControl.Cluster.id],
|
|
1058
565
|
});
|
|
1059
|
-
/**
|
|
1060
|
-
* A Cook Surface device type represents a heating object on a cooktop or other similar device. It
|
|
1061
|
-
* SHALL only be used when composed as part of another device type (cooktop).
|
|
1062
|
-
*
|
|
1063
|
-
* Cluster Restrictions:
|
|
1064
|
-
* The OffOnly feature is required for the On/Off cluster in this device type due to safety requirements. OnOff Cluster is optional.
|
|
1065
|
-
* The TemperatureLevel feature is the only valid temperature control feature.
|
|
1066
|
-
*/
|
|
1067
566
|
export const cookSurface = DeviceTypeDefinition({
|
|
1068
567
|
name: 'MA-cooksurface',
|
|
1069
568
|
code: 0x77,
|
|
@@ -1072,18 +571,6 @@ export const cookSurface = DeviceTypeDefinition({
|
|
|
1072
571
|
requiredServerClusters: [],
|
|
1073
572
|
optionalServerClusters: [TemperatureControl.Cluster.id, TemperatureMeasurement.Cluster.id, OnOff.Cluster.id],
|
|
1074
573
|
});
|
|
1075
|
-
/**
|
|
1076
|
-
* A cooktop is a cooking surface that heats food either by transferring currents from an electromagnetic
|
|
1077
|
-
* field located below the glass surface directly to the magnetic induction cookware placed
|
|
1078
|
-
* above or through traditional gas or electric burners.
|
|
1079
|
-
*
|
|
1080
|
-
* Device Type Requirements:
|
|
1081
|
-
* A Cooktop SHALL be composed of zero or more endpoints with the Cook Surface device type as defined by the conformance below.
|
|
1082
|
-
* 0x0077 Cook Surface min 1 O
|
|
1083
|
-
*
|
|
1084
|
-
* Cluster Restrictions:
|
|
1085
|
-
* The OffOnly feature is required for the On/Off cluster in this device type due to safety requirements.
|
|
1086
|
-
*/
|
|
1087
574
|
export const cooktop = DeviceTypeDefinition({
|
|
1088
575
|
name: 'MA-cooktop',
|
|
1089
576
|
code: 0x78,
|
|
@@ -1092,15 +579,6 @@ export const cooktop = DeviceTypeDefinition({
|
|
|
1092
579
|
requiredServerClusters: [OnOff.Cluster.id],
|
|
1093
580
|
optionalServerClusters: [Identify.Cluster.id],
|
|
1094
581
|
});
|
|
1095
|
-
/**
|
|
1096
|
-
* An oven represents a device that contains one or more cabinets, and optionally a single cooktop, that are all capable of heating food.
|
|
1097
|
-
* An oven is always defined via endpoint composition.
|
|
1098
|
-
* Conditions:
|
|
1099
|
-
* An Oven SHALL have the Heater condition applied to at least one endpoint containing the Temperature Control Cluster.
|
|
1100
|
-
* Device Type Requirements:
|
|
1101
|
-
* - 0x0071 Temperature Controlled Cabinet min 1
|
|
1102
|
-
* - 0x0078 Cooktop max 1 Optional
|
|
1103
|
-
*/
|
|
1104
582
|
export const oven = DeviceTypeDefinition({
|
|
1105
583
|
name: 'MA-oven',
|
|
1106
584
|
code: 0x7b,
|
|
@@ -1109,18 +587,6 @@ export const oven = DeviceTypeDefinition({
|
|
|
1109
587
|
requiredServerClusters: [],
|
|
1110
588
|
optionalServerClusters: [Identify.Cluster.id],
|
|
1111
589
|
});
|
|
1112
|
-
/**
|
|
1113
|
-
* An Extractor Hood is a device that is generally installed above a cooking surface in residential kitchens.
|
|
1114
|
-
* Additional device types not listed in this table MAY also be included in device compositions.
|
|
1115
|
-
* Device Type Requirements:
|
|
1116
|
-
* 0x0100+ On/Off Light+ O
|
|
1117
|
-
*
|
|
1118
|
-
*
|
|
1119
|
-
* Element Requirements:
|
|
1120
|
-
* - 0x0202 Fan Control Feature Rocking X
|
|
1121
|
-
* - 0x0202 Fan Control Feature Wind X
|
|
1122
|
-
* - 0x0202 Fan Control Feature AirflowDirection X
|
|
1123
|
-
*/
|
|
1124
590
|
export const extractorHood = DeviceTypeDefinition({
|
|
1125
591
|
name: 'MA-extractorhood',
|
|
1126
592
|
code: 0x7a,
|
|
@@ -1129,14 +595,6 @@ export const extractorHood = DeviceTypeDefinition({
|
|
|
1129
595
|
requiredServerClusters: [FanControl.Cluster.id],
|
|
1130
596
|
optionalServerClusters: [Identify.Cluster.id, HepaFilterMonitoring.Cluster.id, ActivatedCarbonFilterMonitoring.Cluster.id],
|
|
1131
597
|
});
|
|
1132
|
-
/**
|
|
1133
|
-
* A Microwave Oven is a device with the primary function of heating foods and beverages using a magnetron.
|
|
1134
|
-
* A Microwave Oven is a device which at a minimum is capable of being started and stopped and of setting a power level.
|
|
1135
|
-
* A Microwave Oven MAY also support additional capabilities via endpoint composition.
|
|
1136
|
-
*
|
|
1137
|
-
* Element Requirements:
|
|
1138
|
-
* Operational State Event OperationCompletion
|
|
1139
|
-
*/
|
|
1140
598
|
export const microwaveOven = DeviceTypeDefinition({
|
|
1141
599
|
name: 'MA-microwaveoven',
|
|
1142
600
|
code: 0x79,
|
|
@@ -1145,26 +603,6 @@ export const microwaveOven = DeviceTypeDefinition({
|
|
|
1145
603
|
requiredServerClusters: [OperationalState.Cluster.id, MicrowaveOvenMode.Cluster.id, MicrowaveOvenControl.Cluster.id],
|
|
1146
604
|
optionalServerClusters: [Identify.Cluster.id, FanControl.Cluster.id],
|
|
1147
605
|
});
|
|
1148
|
-
// Chapter 14. Energy Device Types
|
|
1149
|
-
/**
|
|
1150
|
-
* An EVSE (Electric Vehicle Supply Equipment) is a device that allows an EV (Electric Vehicle) to be
|
|
1151
|
-
* connected to the mains electricity supply to allow it to be charged (or discharged in case of Vehicle
|
|
1152
|
-
* to Grid / Vehicle to Home applications).
|
|
1153
|
-
*
|
|
1154
|
-
* 14.1.5. Device Type Requirements
|
|
1155
|
-
* An EVSE SHALL be composed of at least one endpoint with device types as defined by the conformance
|
|
1156
|
-
* below. There MAY be more endpoints with other device types existing in the EVSE.
|
|
1157
|
-
* - ID Name Constraint Conformance
|
|
1158
|
-
* - 0x0011 Power Source min 1 M
|
|
1159
|
-
* - 0x0510 Electrical Sensor min 1 M
|
|
1160
|
-
* - 0x050D Device Energy Management min 1 M
|
|
1161
|
-
*
|
|
1162
|
-
* The Electrical Sensor device SHALL include both the Electrical Energy Measurement and Electrical
|
|
1163
|
-
* Power Measurement clusters, measuring the total energy and power of the EVSE.
|
|
1164
|
-
*
|
|
1165
|
-
* The Device Energy Management cluster included in the Device Energy Management device SHALL
|
|
1166
|
-
* support the Power Forecast Reporting (PFR) feature.
|
|
1167
|
-
*/
|
|
1168
606
|
export const evse = DeviceTypeDefinition({
|
|
1169
607
|
name: 'MA-evse',
|
|
1170
608
|
code: 0x050c,
|
|
@@ -1173,39 +611,6 @@ export const evse = DeviceTypeDefinition({
|
|
|
1173
611
|
requiredServerClusters: [EnergyEvse.Cluster.id, EnergyEvseMode.Cluster.id],
|
|
1174
612
|
optionalServerClusters: [Identify.Cluster.id, TemperatureMeasurement.Cluster.id],
|
|
1175
613
|
});
|
|
1176
|
-
/**
|
|
1177
|
-
* A water heater is a device that is generally installed in properties to heat water for showers, baths etc.
|
|
1178
|
-
* A Water Heater is always defined via endpoint composition.
|
|
1179
|
-
*
|
|
1180
|
-
* 14.2.5. Device Type Requirements
|
|
1181
|
-
* A Water Heater SHALL be composed of at least one endpoint with device types as defined by the
|
|
1182
|
-
* conformance below. There MAY be more endpoints with other device types existing in the Water Heater.
|
|
1183
|
-
* - ID Name Constraint Conformance
|
|
1184
|
-
* - 0x0011 Power Source O
|
|
1185
|
-
* - 0x0302 Temperature Sensor O
|
|
1186
|
-
* - 0x0510 Electrical Sensor desc
|
|
1187
|
-
* - 0x050D Device Energy Management O
|
|
1188
|
-
*
|
|
1189
|
-
* 14.2.7. Element Requirements
|
|
1190
|
-
* 0x0201 Thermostat Feature Heating M
|
|
1191
|
-
*
|
|
1192
|
-
* The Energy Management feature of the Water Heater cluster SHALL be supported if the Device
|
|
1193
|
-
* Energy Management device type is included.
|
|
1194
|
-
* If Off is a supported SystemMode in the Thermostat cluster, setting the SystemMode of the Thermostat
|
|
1195
|
-
* cluster to Off SHALL set the CurrentMode attribute of the Water Heater Mode cluster to a mode
|
|
1196
|
-
* having the Off mode tag value and vice versa.
|
|
1197
|
-
* At least one entry in the SupportedModes attribute of the Water Heater Mode cluster SHALL
|
|
1198
|
-
* include the Timed mode tag in the ModeTags field list.
|
|
1199
|
-
*
|
|
1200
|
-
* WaterHeaterMode Cluster
|
|
1201
|
-
* 9.6.6.1. SupportedModes Attribute
|
|
1202
|
-
* At least one entry in the SupportedModes attribute SHALL include the Manual mode tag in the
|
|
1203
|
-
* ModeTags field list.
|
|
1204
|
-
* At least one entry in the SupportedModes attribute SHALL include the Off mode tag in the ModeTags
|
|
1205
|
-
* field list.
|
|
1206
|
-
* An entry in the SupportedModes attribute that includes one of an Off, Manual, or Timed tag SHALL
|
|
1207
|
-
* NOT also include an additional instance of any one of these tag types.
|
|
1208
|
-
*/
|
|
1209
614
|
export const waterHeater = DeviceTypeDefinition({
|
|
1210
615
|
name: 'MA-waterheater',
|
|
1211
616
|
code: 0x050f,
|
|
@@ -1214,99 +619,27 @@ export const waterHeater = DeviceTypeDefinition({
|
|
|
1214
619
|
requiredServerClusters: [Thermostat.Cluster.id, WaterHeaterManagement.Cluster.id, WaterHeaterMode.Cluster.id],
|
|
1215
620
|
optionalServerClusters: [Identify.Cluster.id],
|
|
1216
621
|
});
|
|
1217
|
-
/**
|
|
1218
|
-
* A Solar Power device is a device that allows a solar panel array, which can optionally be comprised
|
|
1219
|
-
* of a set parallel strings of solar panels, and its associated controller and, if appropriate, inverter, to
|
|
1220
|
-
* be monitored and controlled by an Energy Management System.
|
|
1221
|
-
*
|
|
1222
|
-
* 14.3.5. Device Type Requirements
|
|
1223
|
-
* A Solar Power device SHALL be composed of at least one endpoint with device types as defined by
|
|
1224
|
-
* the conformance below. There MAY be more endpoints with additional instances of these device
|
|
1225
|
-
* types or additional device types existing in the Solar Power device.
|
|
1226
|
-
*
|
|
1227
|
-
* - ID Name Constraint Conformance
|
|
1228
|
-
* - 0x0011 Power Source min 1 M
|
|
1229
|
-
* - 0x0510 Electrical Sensor min 1 M
|
|
1230
|
-
* - 0x050D Device Energy Management O
|
|
1231
|
-
* - 0x0302 Temperature Sensor O
|
|
1232
|
-
*
|
|
1233
|
-
* 14.3.5.1. Cluster Requirements on Composing Device Types
|
|
1234
|
-
*
|
|
1235
|
-
* - 0x0011 Power Source 0x002F Power Source Feature Wired M
|
|
1236
|
-
* - 0x0011 Power Source 0x001D Descriptor Feature TagList M
|
|
1237
|
-
* - 0x0510 Electrical Sensor 0x0090 Electrical Power Measurement M
|
|
1238
|
-
* - 0x0510 Electrical Sensor 0x0090 Electrical Power Measurement Attribute Voltage M
|
|
1239
|
-
* - 0x0510 Electrical Sensor 0x0090 Electrical Power Measurement Attribute ActiveCurrent M
|
|
1240
|
-
* - 0x0510 Electrical Sensor 0x0091 Electrical Energy Measurement M
|
|
1241
|
-
* - 0x0510 Electrical Sensor 0x0091 Electrical Energy Measurement Feature ExportedEnergy M
|
|
1242
|
-
* - 0x050D Device Energy Management 0x0098 Device Energy Management Feature PowerAdjustment M
|
|
1243
|
-
* - 0x0302 Temperature Sensor 0x001D Descriptor Feature TagList M
|
|
1244
|
-
*/
|
|
1245
622
|
export const solarPower = DeviceTypeDefinition({
|
|
1246
623
|
name: 'MA-solarpower',
|
|
1247
624
|
code: 0x0017,
|
|
1248
625
|
deviceClass: DeviceClasses.Simple,
|
|
1249
626
|
revision: 1,
|
|
1250
|
-
requiredServerClusters: [],
|
|
627
|
+
requiredServerClusters: [],
|
|
1251
628
|
optionalServerClusters: [Identify.Cluster.id],
|
|
1252
629
|
});
|
|
1253
|
-
/**
|
|
1254
|
-
* A Battery Storage device is a device that allows a DC battery, which can optionally be comprised of
|
|
1255
|
-
* a set parallel strings of battery packs and associated controller, and an AC inverter, to be monitored
|
|
1256
|
-
* and controlled by an Energy Management System in order to manage the peaks and troughs of supply
|
|
1257
|
-
* and demand, and/or to optimize cost of the energy consumed in premises. It is not intended to
|
|
1258
|
-
* be used for a UPS directly supplying a set of appliances, nor for portable battery storage devices.
|
|
1259
|
-
*
|
|
1260
|
-
* 14.4.5. Device Type Requirements
|
|
1261
|
-
* A Battery Storage device SHALL be composed of at least one endpoint with device types as defined by
|
|
1262
|
-
* the conformance below. There MAY be more endpoints with additional instances of these device
|
|
1263
|
-
* types or additional device types existing in the Battery Storage device.
|
|
1264
|
-
* - ID Name Constraint Conformance
|
|
1265
|
-
* - 0x0011 Power Source min 1 M
|
|
1266
|
-
* - 0x0510 Electrical Sensor min 1 M
|
|
1267
|
-
* - 0x050D Device Energy Management M
|
|
1268
|
-
* - 0x0302 Temperature Sensor O
|
|
1269
|
-
* - 0x0017 Solar Power O
|
|
1270
|
-
*
|
|
1271
|
-
* See 14.4.5.1. Cluster Requirements on Composing Device Types
|
|
1272
|
-
*/
|
|
1273
630
|
export const batteryStorage = DeviceTypeDefinition({
|
|
1274
631
|
name: 'MA-batterystorage',
|
|
1275
632
|
code: 0x0018,
|
|
1276
633
|
deviceClass: DeviceClasses.Simple,
|
|
1277
634
|
revision: 1,
|
|
1278
|
-
requiredServerClusters: [],
|
|
635
|
+
requiredServerClusters: [],
|
|
1279
636
|
optionalServerClusters: [Identify.Cluster.id],
|
|
1280
637
|
});
|
|
1281
|
-
/**
|
|
1282
|
-
* A Heat Pump device is a device that uses electrical energy to heat either spaces or water tanks using
|
|
1283
|
-
* ground, water or air as the heat source. These typically can heat the air or can pump water via central
|
|
1284
|
-
* heating radiators or underfloor heating systems. It is typical to also heat hot water and store
|
|
1285
|
-
* the heat in a hot water tank.
|
|
1286
|
-
*
|
|
1287
|
-
* 14.5.1. Heat Pump Architecture
|
|
1288
|
-
* A Heat Pump device is always defined via endpoint composition.
|
|
1289
|
-
*
|
|
1290
|
-
* 14.5.5. Device Type Requirements
|
|
1291
|
-
* A Heat Pump device SHALL be composed of at least one endpoint with device types as defined by
|
|
1292
|
-
* the conformance below. There MAY be more endpoints with additional instances of these device
|
|
1293
|
-
* types or additional device types existing in the Heat Pump device.
|
|
1294
|
-
* - ID Name Constraint Conformance
|
|
1295
|
-
* - 0x0011 Power Source M
|
|
1296
|
-
* - 0x0510 Electrical Sensor min 1 M
|
|
1297
|
-
* - 0x050D Device Energy Management M
|
|
1298
|
-
* - 0x0301 Thermostat O
|
|
1299
|
-
* - 0x050f Water Heater O
|
|
1300
|
-
* - 0x0302 Temperature Sensor O
|
|
1301
|
-
*
|
|
1302
|
-
* See 14.5.5.1. Cluster Requirements on Composing Device Types
|
|
1303
|
-
*/
|
|
1304
638
|
export const heatPump = DeviceTypeDefinition({
|
|
1305
639
|
name: 'MA-heatpump',
|
|
1306
640
|
code: 0x0309,
|
|
1307
641
|
deviceClass: DeviceClasses.Simple,
|
|
1308
642
|
revision: 1,
|
|
1309
|
-
requiredServerClusters: [],
|
|
643
|
+
requiredServerClusters: [],
|
|
1310
644
|
optionalServerClusters: [Identify.Cluster.id, Thermostat.Cluster.id],
|
|
1311
645
|
});
|
|
1312
|
-
//# sourceMappingURL=matterbridgeDeviceTypes.js.map
|