matterbridge 1.2.21 → 1.3.0
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 +39 -0
- package/README.md +48 -9
- package/dist/cluster/AirQualityCluster.d.ts.map +1 -0
- package/dist/cluster/AirQualityCluster.js.map +1 -0
- package/dist/cluster/BooleanStateConfigurationCluster.d.ts +2200 -0
- package/dist/cluster/BooleanStateConfigurationCluster.d.ts.map +1 -0
- package/dist/cluster/BooleanStateConfigurationCluster.js +388 -0
- package/dist/cluster/BooleanStateConfigurationCluster.js.map +1 -0
- package/dist/cluster/BridgedDeviceBasicInformationCluster.d.ts.map +1 -0
- package/dist/cluster/BridgedDeviceBasicInformationCluster.js.map +1 -0
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts +396 -0
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.d.ts.map +1 -0
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.js +30 -0
- package/dist/cluster/CarbonMonoxideConcentrationMeasurementCluster.js.map +1 -0
- package/dist/cluster/ConcentrationMeasurementCluster.d.ts +524 -0
- package/dist/cluster/ConcentrationMeasurementCluster.d.ts.map +1 -0
- package/dist/cluster/ConcentrationMeasurementCluster.js +282 -0
- package/dist/cluster/ConcentrationMeasurementCluster.js.map +1 -0
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts +7851 -0
- package/dist/cluster/DeviceEnergyManagementCluster.d.ts.map +1 -0
- package/dist/cluster/DeviceEnergyManagementCluster.js +1634 -0
- package/dist/cluster/DeviceEnergyManagementCluster.js.map +1 -0
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts +68 -0
- package/dist/cluster/DeviceEnergyManagementModeCluster.d.ts.map +1 -0
- package/dist/cluster/DeviceEnergyManagementModeCluster.js +49 -0
- package/dist/cluster/DeviceEnergyManagementModeCluster.js.map +1 -0
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts +4978 -0
- package/dist/cluster/ElectricalEnergyMeasurementCluster.d.ts.map +1 -0
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js +510 -0
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js.map +1 -0
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts +3250 -0
- package/dist/cluster/ElectricalPowerMeasurementCluster.d.ts.map +1 -0
- package/dist/cluster/ElectricalPowerMeasurementCluster.js +675 -0
- package/dist/cluster/ElectricalPowerMeasurementCluster.js.map +1 -0
- package/dist/cluster/FanControlCluster.d.ts +1583 -0
- package/dist/cluster/FanControlCluster.d.ts.map +1 -0
- package/dist/cluster/FanControlCluster.js +492 -0
- package/dist/cluster/FanControlCluster.js.map +1 -0
- package/dist/cluster/MeasurementAccuracy.d.ts +63 -0
- package/dist/cluster/MeasurementAccuracy.d.ts.map +1 -0
- package/dist/cluster/MeasurementAccuracy.js +47 -0
- package/dist/cluster/MeasurementAccuracy.js.map +1 -0
- package/dist/cluster/MeasurementAccuracyRange.d.ts +134 -0
- package/dist/cluster/MeasurementAccuracyRange.d.ts.map +1 -0
- package/dist/cluster/MeasurementAccuracyRange.js +103 -0
- package/dist/cluster/MeasurementAccuracyRange.js.map +1 -0
- package/dist/cluster/MeasurementType.d.ts +68 -0
- package/dist/cluster/MeasurementType.d.ts.map +1 -0
- package/dist/cluster/MeasurementType.js +69 -0
- package/dist/cluster/MeasurementType.js.map +1 -0
- package/dist/cluster/PowerTopologyCluster.d.ts +355 -0
- package/dist/cluster/PowerTopologyCluster.d.ts.map +1 -0
- package/dist/cluster/PowerTopologyCluster.js +138 -0
- package/dist/cluster/PowerTopologyCluster.js.map +1 -0
- package/dist/cluster/SmokeCoAlarmCluster.d.ts +1599 -0
- package/dist/cluster/SmokeCoAlarmCluster.d.ts.map +1 -0
- package/dist/cluster/SmokeCoAlarmCluster.js +603 -0
- package/dist/cluster/SmokeCoAlarmCluster.js.map +1 -0
- package/dist/cluster/TvocCluster.d.ts.map +1 -0
- package/dist/cluster/TvocCluster.js.map +1 -0
- package/dist/defaultConfigSchema.d.ts.map +1 -1
- package/dist/defaultConfigSchema.js +26 -12
- package/dist/defaultConfigSchema.js.map +1 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/matterbridge.d.ts +63 -1
- package/dist/matterbridge.d.ts.map +1 -1
- package/dist/matterbridge.js +72 -26
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +692 -30
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +429 -73
- package/dist/matterbridgeDevice.js.map +1 -1
- package/dist/matterbridgeDeviceV8.d.ts +3 -5
- package/dist/matterbridgeDeviceV8.d.ts.map +1 -1
- package/dist/matterbridgeDeviceV8.js +62 -14
- package/dist/matterbridgeDeviceV8.js.map +1 -1
- package/dist/matterbridgeV8.d.ts +69 -5
- package/dist/matterbridgeV8.d.ts.map +1 -1
- package/dist/matterbridgeV8.js +413 -99
- package/dist/matterbridgeV8.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.23829a0f.js → main.cbfc6c9b.js} +3 -3
- package/frontend/build/static/js/{main.23829a0f.js.map → main.cbfc6c9b.js.map} +1 -1
- package/package.json +6 -6
- package/dist/AirQualityCluster.d.ts.map +0 -1
- package/dist/AirQualityCluster.js.map +0 -1
- package/dist/BridgedDeviceBasicInformationCluster.d.ts.map +0 -1
- package/dist/BridgedDeviceBasicInformationCluster.js.map +0 -1
- package/dist/TvocCluster.d.ts.map +0 -1
- package/dist/TvocCluster.js.map +0 -1
- /package/dist/{AirQualityCluster.d.ts → cluster/AirQualityCluster.d.ts} +0 -0
- /package/dist/{AirQualityCluster.js → cluster/AirQualityCluster.js} +0 -0
- /package/dist/{BridgedDeviceBasicInformationCluster.d.ts → cluster/BridgedDeviceBasicInformationCluster.d.ts} +0 -0
- /package/dist/{BridgedDeviceBasicInformationCluster.js → cluster/BridgedDeviceBasicInformationCluster.js} +0 -0
- /package/dist/{TvocCluster.d.ts → cluster/TvocCluster.d.ts} +0 -0
- /package/dist/{TvocCluster.js → cluster/TvocCluster.js} +0 -0
- /package/frontend/build/static/js/{main.23829a0f.js.LICENSE.txt → main.cbfc6c9b.js.LICENSE.txt} +0 -0
|
@@ -20,15 +20,21 @@
|
|
|
20
20
|
* See the License for the specific language governing permissions and
|
|
21
21
|
* limitations under the License. *
|
|
22
22
|
*/
|
|
23
|
-
import { ClusterServerHandlers, ColorControl, DoorLock, Identify, LevelControl, ModeSelect, OccupancySensing, OnOff, PowerSource, Thermostat, TimeSync, WindowCovering } from '@project-chip/matter-node.js/cluster';
|
|
23
|
+
import { ClusterServerHandlers, ColorControl, DoorLock, FanControl, Identify, LevelControl, ModeSelect, OccupancySensing, OnOff, PowerSource, Thermostat, TimeSync, WindowCovering } from '@project-chip/matter-node.js/cluster';
|
|
24
24
|
import { ClusterId, EndpointNumber, VendorId } from '@project-chip/matter-node.js/datatype';
|
|
25
25
|
import { Device, DeviceTypeDefinition, Endpoint, EndpointOptions } from '@project-chip/matter-node.js/device';
|
|
26
26
|
import { AtLeastOne } from '@project-chip/matter-node.js/util';
|
|
27
27
|
import { MatterHistory } from 'matter-history';
|
|
28
|
-
import { AirQuality } from './AirQualityCluster.js';
|
|
28
|
+
import { AirQuality } from './cluster/AirQualityCluster.js';
|
|
29
29
|
import { AnsiLogger } from 'node-ansi-logger';
|
|
30
|
-
import { TvocMeasurement } from './TvocCluster.js';
|
|
31
|
-
import { BridgedDeviceBasicInformation } from './BridgedDeviceBasicInformationCluster.js';
|
|
30
|
+
import { TvocMeasurement } from './cluster/TvocCluster.js';
|
|
31
|
+
import { BridgedDeviceBasicInformation } from './cluster/BridgedDeviceBasicInformationCluster.js';
|
|
32
|
+
import { ElectricalPowerMeasurement } from './cluster/ElectricalPowerMeasurementCluster.js';
|
|
33
|
+
import { MeasurementType } from './cluster/MeasurementType.js';
|
|
34
|
+
import { SmokeCoAlarm } from './cluster/SmokeCoAlarmCluster.js';
|
|
35
|
+
import { BooleanStateConfiguration } from './cluster/BooleanStateConfigurationCluster.js';
|
|
36
|
+
import { DeviceEnergyManagement } from './cluster/DeviceEnergyManagementCluster.js';
|
|
37
|
+
import { ConcentrationMeasurement } from './cluster/ConcentrationMeasurementCluster.js';
|
|
32
38
|
type MakeMandatory<T> = Exclude<T, undefined>;
|
|
33
39
|
interface MatterbridgeDeviceCommands {
|
|
34
40
|
identify: MakeMandatory<ClusterServerHandlers<typeof Identify.Complete>['identify']>;
|
|
@@ -53,13 +59,22 @@ interface MatterbridgeDeviceCommands {
|
|
|
53
59
|
lockDoor: MakeMandatory<ClusterServerHandlers<typeof DoorLock.Complete>['lockDoor']>;
|
|
54
60
|
unlockDoor: MakeMandatory<ClusterServerHandlers<typeof DoorLock.Complete>['unlockDoor']>;
|
|
55
61
|
setpointRaiseLower: MakeMandatory<ClusterServerHandlers<typeof Thermostat.Complete>['setpointRaiseLower']>;
|
|
62
|
+
suppressAlarm: MakeMandatory<ClusterServerHandlers<typeof BooleanStateConfiguration.Complete>['suppressAlarm']>;
|
|
63
|
+
enableDisableAlarm: MakeMandatory<ClusterServerHandlers<typeof BooleanStateConfiguration.Complete>['enableDisableAlarm']>;
|
|
64
|
+
selfTestRequest: MakeMandatory<ClusterServerHandlers<typeof SmokeCoAlarm.Complete>['selfTestRequest']>;
|
|
56
65
|
}
|
|
66
|
+
export declare const airQualitySensor: DeviceTypeDefinition;
|
|
67
|
+
export declare const waterFreezeDetector: DeviceTypeDefinition;
|
|
68
|
+
export declare const waterLeakDetector: DeviceTypeDefinition;
|
|
69
|
+
export declare const rainSensor: DeviceTypeDefinition;
|
|
70
|
+
export declare const smokeCoAlarm: DeviceTypeDefinition;
|
|
71
|
+
export declare const electricalSensor: DeviceTypeDefinition;
|
|
72
|
+
export declare const deviceEnergyManagement: DeviceTypeDefinition;
|
|
57
73
|
export declare const powerSource: DeviceTypeDefinition;
|
|
58
74
|
export declare const bridgedNode: DeviceTypeDefinition;
|
|
59
75
|
export declare const onOffSwitch: DeviceTypeDefinition;
|
|
60
76
|
export declare const dimmableSwitch: DeviceTypeDefinition;
|
|
61
77
|
export declare const colorTemperatureSwitch: DeviceTypeDefinition;
|
|
62
|
-
export declare const airQualitySensor: DeviceTypeDefinition;
|
|
63
78
|
export interface SerializedMatterbridgeDevice {
|
|
64
79
|
pluginName: string;
|
|
65
80
|
deviceName: string;
|
|
@@ -82,21 +97,21 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
82
97
|
deviceName: string | undefined;
|
|
83
98
|
uniqueId: string | undefined;
|
|
84
99
|
/**
|
|
85
|
-
*
|
|
100
|
+
* Create a Matterbridge device.
|
|
86
101
|
* @constructor
|
|
87
102
|
* @param {DeviceTypeDefinition} definition - The definition of the device.
|
|
88
103
|
* @param {EndpointOptions} [options={}] - The options for the device.
|
|
89
104
|
*/
|
|
90
|
-
constructor(definition: DeviceTypeDefinition, options?: EndpointOptions);
|
|
105
|
+
constructor(definition: DeviceTypeDefinition, options?: EndpointOptions, debug?: boolean);
|
|
91
106
|
/**
|
|
92
107
|
* Loads an instance of the MatterbridgeDevice class.
|
|
93
108
|
*
|
|
94
109
|
* @param {DeviceTypeDefinition} definition - The DeviceTypeDefinition of the device.
|
|
95
110
|
* @returns MatterbridgeDevice instance.
|
|
96
111
|
*/
|
|
97
|
-
static loadInstance(definition: DeviceTypeDefinition, options
|
|
112
|
+
static loadInstance(definition: DeviceTypeDefinition, options?: EndpointOptions, debug?: boolean): Promise<MatterbridgeDevice>;
|
|
98
113
|
/**
|
|
99
|
-
* Adds a device type to the list of device types.
|
|
114
|
+
* Adds a device type to the list of device types of the MatterbridgeDevice endpoint.
|
|
100
115
|
* If the device type is not already present in the list, it will be added.
|
|
101
116
|
*
|
|
102
117
|
* @param {DeviceTypeDefinition} deviceType - The device type to add.
|
|
@@ -110,8 +125,9 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
110
125
|
*/
|
|
111
126
|
addDeviceTypeWithClusterServer(deviceTypes: AtLeastOne<DeviceTypeDefinition>, includeServerList: ClusterId[]): void;
|
|
112
127
|
/**
|
|
113
|
-
* Adds a child device
|
|
128
|
+
* Adds a child endpoint with one or more device types with the required cluster servers and the specified cluster servers.
|
|
114
129
|
*
|
|
130
|
+
* @param {string} endpointName - The name of the new enpoint to add.
|
|
115
131
|
* @param {AtLeastOne<DeviceTypeDefinition>} deviceTypes - The device types to add.
|
|
116
132
|
* @param {ClusterId[]} includeServerList - The list of cluster IDs to include.
|
|
117
133
|
* @returns {Endpoint} - The child endpoint that was added.
|
|
@@ -146,6 +162,19 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
146
162
|
* @param {string} endpointName - The name of the endpoint.
|
|
147
163
|
*/
|
|
148
164
|
setChildEndpointName(child: Endpoint, endpointName: string): void;
|
|
165
|
+
/**
|
|
166
|
+
* Retrieves the label associated with the specified endpoint number.
|
|
167
|
+
* @param {EndpointNumber} endpointNumber - The number of the endpoint.
|
|
168
|
+
* @returns {string | undefined} The label associated with the endpoint number, or undefined if not found.
|
|
169
|
+
*/
|
|
170
|
+
getEndpointLabel(endpointNumber: EndpointNumber): string | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* Retrieves the child endpoint with the specified label.
|
|
173
|
+
*
|
|
174
|
+
* @param {string} label - The label of the child endpoint to retrieve.
|
|
175
|
+
* @returns {Endpoint | undefined} The child endpoint with the specified label, or undefined if not found.
|
|
176
|
+
*/
|
|
177
|
+
getChildEndpointWithLabel(label: string): Endpoint | undefined;
|
|
149
178
|
/**
|
|
150
179
|
* Serializes the Matterbridge device into a serialized object.
|
|
151
180
|
*
|
|
@@ -187,12 +216,24 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
187
216
|
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
188
217
|
readonly eveDoor: import("@project-chip/matter.js/schema").BitFlag;
|
|
189
218
|
readonly eveMotion: import("@project-chip/matter.js/schema").BitFlag;
|
|
219
|
+
/**
|
|
220
|
+
* Adds one or more device types with the required cluster servers and the specified cluster servers.
|
|
221
|
+
*
|
|
222
|
+
* @param {AtLeastOne<DeviceTypeDefinition>} deviceTypes - The device types to add.
|
|
223
|
+
* @param {ClusterId[]} includeServerList - The list of cluster IDs to include.
|
|
224
|
+
*/
|
|
190
225
|
readonly eveEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
191
226
|
readonly eveWeather: import("@project-chip/matter.js/schema").BitFlag;
|
|
192
227
|
readonly eveRoom: import("@project-chip/matter.js/schema").BitFlag;
|
|
193
228
|
}>>, "ConfigDataGet" | "ConfigDataSet" | "HistoryStatus" | "HistoryEntries" | "HistoryRequest" | "HistorySetTime" | "LastEvent" | "TimesOpened" | "ResetTotal" | "RLoc" | "MotionSensitivity" | "Voltage" | "Current" | "Consumption" | "TotalConsumption" | "EnergyUnknown" | "ChildLock" | "Elevation" | "AirPressure" | "WeatherTrend" | "TemperatureDisplayUnits" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
194
229
|
readonly eveDoor: import("@project-chip/matter.js/schema").BitFlag;
|
|
195
230
|
readonly eveMotion: import("@project-chip/matter.js/schema").BitFlag;
|
|
231
|
+
/**
|
|
232
|
+
* Adds one or more device types with the required cluster servers and the specified cluster servers.
|
|
233
|
+
*
|
|
234
|
+
* @param {AtLeastOne<DeviceTypeDefinition>} deviceTypes - The device types to add.
|
|
235
|
+
* @param {ClusterId[]} includeServerList - The list of cluster IDs to include.
|
|
236
|
+
*/
|
|
196
237
|
readonly eveEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
197
238
|
readonly eveWeather: import("@project-chip/matter.js/schema").BitFlag;
|
|
198
239
|
readonly eveRoom: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -215,6 +256,12 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
215
256
|
}, "ConfigDataGet" | "ConfigDataSet" | "HistoryStatus" | "HistoryEntries" | "HistoryRequest" | "HistorySetTime" | "LastEvent" | "TimesOpened" | "ResetTotal" | "RLoc" | "MotionSensitivity" | "Voltage" | "Current" | "Consumption" | "TotalConsumption" | "EnergyUnknown" | "ChildLock" | "Elevation" | "AirPressure" | "WeatherTrend" | "TemperatureDisplayUnits" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
216
257
|
readonly eveDoor: import("@project-chip/matter.js/schema").BitFlag;
|
|
217
258
|
readonly eveMotion: import("@project-chip/matter.js/schema").BitFlag;
|
|
259
|
+
/**
|
|
260
|
+
* Adds one or more device types with the required cluster servers and the specified cluster servers.
|
|
261
|
+
*
|
|
262
|
+
* @param {AtLeastOne<DeviceTypeDefinition>} deviceTypes - The device types to add.
|
|
263
|
+
* @param {ClusterId[]} includeServerList - The list of cluster IDs to include.
|
|
264
|
+
*/
|
|
218
265
|
readonly eveEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
219
266
|
readonly eveWeather: import("@project-chip/matter.js/schema").BitFlag;
|
|
220
267
|
readonly eveRoom: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -243,12 +290,24 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
243
290
|
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
244
291
|
readonly eveDoor: import("@project-chip/matter.js/schema").BitFlag;
|
|
245
292
|
readonly eveMotion: import("@project-chip/matter.js/schema").BitFlag;
|
|
293
|
+
/**
|
|
294
|
+
* Adds one or more device types with the required cluster servers and the specified cluster servers.
|
|
295
|
+
*
|
|
296
|
+
* @param {AtLeastOne<DeviceTypeDefinition>} deviceTypes - The device types to add.
|
|
297
|
+
* @param {ClusterId[]} includeServerList - The list of cluster IDs to include.
|
|
298
|
+
*/
|
|
246
299
|
readonly eveEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
247
300
|
readonly eveWeather: import("@project-chip/matter.js/schema").BitFlag;
|
|
248
301
|
readonly eveRoom: import("@project-chip/matter.js/schema").BitFlag;
|
|
249
302
|
}>>, "ConfigDataGet" | "ConfigDataSet" | "HistoryStatus" | "HistoryEntries" | "HistoryRequest" | "HistorySetTime" | "LastEvent" | "TimesOpened" | "ResetTotal" | "RLoc" | "MotionSensitivity" | "Voltage" | "Current" | "Consumption" | "TotalConsumption" | "EnergyUnknown" | "ChildLock" | "Elevation" | "AirPressure" | "WeatherTrend" | "TemperatureDisplayUnits" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
250
303
|
readonly eveDoor: import("@project-chip/matter.js/schema").BitFlag;
|
|
251
304
|
readonly eveMotion: import("@project-chip/matter.js/schema").BitFlag;
|
|
305
|
+
/**
|
|
306
|
+
* Adds one or more device types with the required cluster servers and the specified cluster servers.
|
|
307
|
+
*
|
|
308
|
+
* @param {AtLeastOne<DeviceTypeDefinition>} deviceTypes - The device types to add.
|
|
309
|
+
* @param {ClusterId[]} includeServerList - The list of cluster IDs to include.
|
|
310
|
+
*/
|
|
252
311
|
readonly eveEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
253
312
|
readonly eveWeather: import("@project-chip/matter.js/schema").BitFlag;
|
|
254
313
|
readonly eveRoom: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -471,6 +530,255 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
471
530
|
*/
|
|
472
531
|
createDefaultBridgedDeviceBasicInformationClusterServer(deviceName: string, serialNumber: string, vendorId: number, vendorName: string, productName: string, softwareVersion?: number, softwareVersionString?: string, hardwareVersion?: number, hardwareVersionString?: string): void;
|
|
473
532
|
/**
|
|
533
|
+
* Get a default Electrical Energy Measurement Cluster Server.
|
|
534
|
+
*
|
|
535
|
+
* @param energy - The total consumption value.
|
|
536
|
+
*/
|
|
537
|
+
getDefaultPowerTopologyClusterServer(): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<{}, never> & Omit<{}, never>, Pick<{}, never> & Omit<{}, never>>;
|
|
538
|
+
/**
|
|
539
|
+
* Get a default Electrical Energy Measurement Cluster Server.
|
|
540
|
+
*
|
|
541
|
+
* @param energy - The total consumption value.
|
|
542
|
+
*/
|
|
543
|
+
getDefaultElectricalEnergyMeasurementClusterServer(energy?: number): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
544
|
+
readonly accuracy: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
545
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
546
|
+
measured: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
547
|
+
minMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
548
|
+
maxMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
549
|
+
accuracyRanges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
550
|
+
rangeMin: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
551
|
+
rangeMax: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
552
|
+
percentMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
553
|
+
percentMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
554
|
+
percentTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
555
|
+
fixedMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
556
|
+
fixedMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
557
|
+
fixedTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
558
|
+
}>[]>;
|
|
559
|
+
}>, any>;
|
|
560
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
561
|
+
readonly importedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
562
|
+
readonly exportedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
563
|
+
readonly cumulativeEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
564
|
+
readonly periodicEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
565
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "accuracy"> & Omit<{
|
|
566
|
+
readonly cumulativeEnergyImported: import("@project-chip/matter-node.js/cluster").Attribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
567
|
+
energy: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
568
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
569
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
570
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
571
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
572
|
+
}> | null, any>;
|
|
573
|
+
} & {
|
|
574
|
+
readonly cumulativeEnergyExported: import("@project-chip/matter-node.js/cluster").Attribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
575
|
+
energy: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
576
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
577
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
578
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
579
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
580
|
+
}> | null, any>;
|
|
581
|
+
} & {
|
|
582
|
+
readonly cumulativeEnergyReset: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
583
|
+
importedResetTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number | null>;
|
|
584
|
+
exportedResetTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number | null>;
|
|
585
|
+
importedResetSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint | null>;
|
|
586
|
+
exportedResetSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint | null>;
|
|
587
|
+
}> | null, any>;
|
|
588
|
+
}, "accuracy" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
589
|
+
readonly importedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
590
|
+
readonly exportedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
591
|
+
readonly cumulativeEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
592
|
+
readonly periodicEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
593
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
594
|
+
readonly accuracy: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
595
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
596
|
+
measured: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
597
|
+
minMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
598
|
+
maxMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
599
|
+
accuracyRanges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
600
|
+
rangeMin: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
601
|
+
rangeMax: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
602
|
+
percentMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
603
|
+
percentMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
604
|
+
percentTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
605
|
+
fixedMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
606
|
+
fixedMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
607
|
+
fixedTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
608
|
+
}>[]>;
|
|
609
|
+
}>, any>;
|
|
610
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
611
|
+
readonly importedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
612
|
+
readonly exportedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
613
|
+
readonly cumulativeEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
614
|
+
readonly periodicEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
615
|
+
}>>, "accuracy" | "cumulativeEnergyImported" | "cumulativeEnergyExported" | "cumulativeEnergyReset" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
616
|
+
readonly importedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
617
|
+
readonly exportedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
618
|
+
readonly cumulativeEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
619
|
+
readonly periodicEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
620
|
+
}>>, Pick<{}, never> & Omit<{
|
|
621
|
+
readonly cumulativeEnergyMeasured: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
622
|
+
energyImported: import("@project-chip/matter.js/tlv").OptionalFieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
623
|
+
energy: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
624
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
625
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
626
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
627
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
628
|
+
}>>;
|
|
629
|
+
energyExported: import("@project-chip/matter.js/tlv").OptionalFieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
630
|
+
energy: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
631
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
632
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
633
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
634
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
635
|
+
}>>;
|
|
636
|
+
}>, any>;
|
|
637
|
+
}, never> & Omit<{}, "cumulativeEnergyMeasured">>;
|
|
638
|
+
/**
|
|
639
|
+
* Get a default Electrical Power Measurement Cluster Server.
|
|
640
|
+
*
|
|
641
|
+
* @param energy - The total consumption value.
|
|
642
|
+
*/
|
|
643
|
+
getDefaultElectricalPowerMeasurementClusterServer(voltage?: number, current?: number, power?: number): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
644
|
+
readonly powerMode: import("@project-chip/matter-node.js/cluster").Attribute<ElectricalPowerMeasurement.PowerMode, any>;
|
|
645
|
+
readonly numberOfMeasurementTypes: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
646
|
+
readonly accuracy: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
647
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
648
|
+
measured: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
649
|
+
minMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
650
|
+
maxMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
651
|
+
accuracyRanges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
652
|
+
rangeMin: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
653
|
+
rangeMax: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
654
|
+
percentMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
655
|
+
percentMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
656
|
+
percentTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
657
|
+
fixedMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
658
|
+
fixedMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
659
|
+
fixedTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
660
|
+
}>[]>;
|
|
661
|
+
}>[], any>;
|
|
662
|
+
readonly ranges: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
663
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
664
|
+
min: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
665
|
+
max: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
666
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
667
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
668
|
+
minTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
669
|
+
maxTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
670
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
671
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
672
|
+
minSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
673
|
+
maxSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
674
|
+
}>[], any>;
|
|
675
|
+
readonly voltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
676
|
+
readonly activeCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
677
|
+
readonly activePower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint | null, any>;
|
|
678
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
679
|
+
readonly directCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
680
|
+
readonly alternatingCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
681
|
+
readonly polyphasePower: import("@project-chip/matter.js/schema").BitFlag;
|
|
682
|
+
readonly harmonics: import("@project-chip/matter.js/schema").BitFlag;
|
|
683
|
+
readonly powerQuality: import("@project-chip/matter.js/schema").BitFlag;
|
|
684
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "ranges" | "powerMode" | "numberOfMeasurementTypes" | "accuracy" | "voltage" | "activeCurrent" | "activePower"> & Omit<{
|
|
685
|
+
readonly reactiveCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
686
|
+
readonly apparentCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
687
|
+
readonly reactivePower: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
688
|
+
readonly apparentPower: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
689
|
+
readonly rmsVoltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
690
|
+
readonly rmsCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
691
|
+
readonly rmsPower: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
692
|
+
readonly frequency: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
693
|
+
readonly powerFactor: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
694
|
+
}, "ranges" | "powerMode" | "numberOfMeasurementTypes" | "accuracy" | "voltage" | "activeCurrent" | "activePower" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
695
|
+
readonly directCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
696
|
+
readonly alternatingCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
697
|
+
readonly polyphasePower: import("@project-chip/matter.js/schema").BitFlag;
|
|
698
|
+
readonly harmonics: import("@project-chip/matter.js/schema").BitFlag;
|
|
699
|
+
readonly powerQuality: import("@project-chip/matter.js/schema").BitFlag;
|
|
700
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
701
|
+
readonly powerMode: import("@project-chip/matter-node.js/cluster").Attribute<ElectricalPowerMeasurement.PowerMode, any>;
|
|
702
|
+
readonly numberOfMeasurementTypes: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
703
|
+
readonly accuracy: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
704
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
705
|
+
measured: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
706
|
+
minMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
707
|
+
maxMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
708
|
+
accuracyRanges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
709
|
+
rangeMin: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
710
|
+
rangeMax: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
711
|
+
percentMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
712
|
+
percentMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
713
|
+
percentTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
714
|
+
fixedMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
715
|
+
fixedMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
716
|
+
fixedTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
717
|
+
}>[]>;
|
|
718
|
+
}>[], any>;
|
|
719
|
+
readonly ranges: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
720
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
721
|
+
min: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
722
|
+
max: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
723
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
724
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
725
|
+
minTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
726
|
+
maxTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
727
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
728
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
729
|
+
minSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
730
|
+
maxSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
731
|
+
}>[], any>;
|
|
732
|
+
readonly voltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
733
|
+
readonly activeCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
734
|
+
readonly activePower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint | null, any>;
|
|
735
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
736
|
+
readonly directCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
737
|
+
readonly alternatingCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
738
|
+
readonly polyphasePower: import("@project-chip/matter.js/schema").BitFlag;
|
|
739
|
+
readonly harmonics: import("@project-chip/matter.js/schema").BitFlag;
|
|
740
|
+
readonly powerQuality: import("@project-chip/matter.js/schema").BitFlag;
|
|
741
|
+
}>>, "ranges" | "reactiveCurrent" | "apparentCurrent" | "reactivePower" | "apparentPower" | "rmsVoltage" | "rmsCurrent" | "rmsPower" | "frequency" | "powerFactor" | "powerMode" | "numberOfMeasurementTypes" | "accuracy" | "voltage" | "activeCurrent" | "activePower" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
742
|
+
readonly directCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
743
|
+
readonly alternatingCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
744
|
+
readonly polyphasePower: import("@project-chip/matter.js/schema").BitFlag;
|
|
745
|
+
readonly harmonics: import("@project-chip/matter.js/schema").BitFlag;
|
|
746
|
+
readonly powerQuality: import("@project-chip/matter.js/schema").BitFlag;
|
|
747
|
+
}>>, Pick<{
|
|
748
|
+
readonly measurementPeriodRanges: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
749
|
+
ranges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
750
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
751
|
+
min: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
752
|
+
max: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
753
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
754
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
755
|
+
minTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
756
|
+
maxTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
757
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
758
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
759
|
+
minSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
760
|
+
maxSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
761
|
+
}>[]>;
|
|
762
|
+
}>, any>;
|
|
763
|
+
}, "measurementPeriodRanges"> & Omit<{}, "measurementPeriodRanges"> & Omit<{
|
|
764
|
+
readonly measurementPeriodRanges: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
765
|
+
ranges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
766
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
767
|
+
min: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
768
|
+
max: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
769
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
770
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
771
|
+
minTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
772
|
+
maxTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
773
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
774
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
775
|
+
minSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
776
|
+
maxSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
777
|
+
}>[]>;
|
|
778
|
+
}>, any>;
|
|
779
|
+
}, "measurementPeriodRanges">>;
|
|
780
|
+
/**
|
|
781
|
+
* @deprecated This method is deprecated and will be removed in a future version.
|
|
474
782
|
* Get a default Electrical Measurement Cluster Server.
|
|
475
783
|
*
|
|
476
784
|
* @param voltage - The RMS voltage value.
|
|
@@ -609,6 +917,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
609
917
|
readonly rmsVoltageSwellPeriodPhaseC: import("@project-chip/matter-node.js/cluster").OptionalWritableAttribute<number, any>;
|
|
610
918
|
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{}>>, {}>;
|
|
611
919
|
/**
|
|
920
|
+
* @deprecated This method is deprecated and will be removed in a future version.
|
|
612
921
|
* Creates a default Electrical Measurement Cluster Server.
|
|
613
922
|
*
|
|
614
923
|
* @param voltage - The RMS voltage value.
|
|
@@ -1311,11 +1620,91 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1311
1620
|
}>, any>;
|
|
1312
1621
|
}>;
|
|
1313
1622
|
/**
|
|
1314
|
-
* Creates a default boolean state cluster server.
|
|
1623
|
+
* Creates a default boolean state configuration cluster server.
|
|
1315
1624
|
*
|
|
1316
1625
|
* @param contact - Optional boolean value indicating the contact state. Defaults to `true` if not provided.
|
|
1317
1626
|
*/
|
|
1318
1627
|
createDefaultBooleanStateClusterServer(contact?: boolean): void;
|
|
1628
|
+
/**
|
|
1629
|
+
* Get a default boolean state configuration cluster server.
|
|
1630
|
+
*
|
|
1631
|
+
* @param contact - Optional boolean value indicating the sensor fault state. Defaults to `false` if not provided.
|
|
1632
|
+
*/
|
|
1633
|
+
getDefaultBooleanStateConfigurationClusterServer(sensorFault?: boolean): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
1634
|
+
readonly sensorFault: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1635
|
+
generalFault: import("@project-chip/matter.js/schema").BitFlag;
|
|
1636
|
+
}>, any>;
|
|
1637
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1638
|
+
readonly visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1639
|
+
readonly audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1640
|
+
readonly alarmSuppress: import("@project-chip/matter.js/schema").BitFlag;
|
|
1641
|
+
readonly sensitivityLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
1642
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "sensorFault"> & Omit<{
|
|
1643
|
+
readonly currentSensitivityLevel: import("@project-chip/matter-node.js/cluster").WritableAttribute<number, any>;
|
|
1644
|
+
readonly supportedSensitivityLevels: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
1645
|
+
readonly defaultSensitivityLevel: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
1646
|
+
} & {
|
|
1647
|
+
readonly alarmsActive: import("@project-chip/matter-node.js/cluster").Attribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1648
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1649
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1650
|
+
}>, any>;
|
|
1651
|
+
readonly alarmsEnabled: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1652
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1653
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1654
|
+
}>, any>;
|
|
1655
|
+
readonly alarmsSupported: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1656
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1657
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1658
|
+
}>, any>;
|
|
1659
|
+
}, "sensorFault" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1660
|
+
readonly visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1661
|
+
readonly audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1662
|
+
readonly alarmSuppress: import("@project-chip/matter.js/schema").BitFlag;
|
|
1663
|
+
readonly sensitivityLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
1664
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
1665
|
+
readonly sensorFault: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1666
|
+
generalFault: import("@project-chip/matter.js/schema").BitFlag;
|
|
1667
|
+
}>, any>;
|
|
1668
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1669
|
+
readonly visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1670
|
+
readonly audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1671
|
+
readonly alarmSuppress: import("@project-chip/matter.js/schema").BitFlag;
|
|
1672
|
+
readonly sensitivityLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
1673
|
+
}>>, "alarmsActive" | "sensorFault" | "currentSensitivityLevel" | "supportedSensitivityLevels" | "defaultSensitivityLevel" | "alarmsEnabled" | "alarmsSupported" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1674
|
+
readonly visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1675
|
+
readonly audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1676
|
+
readonly alarmSuppress: import("@project-chip/matter.js/schema").BitFlag;
|
|
1677
|
+
readonly sensitivityLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
1678
|
+
}>>, Pick<{
|
|
1679
|
+
readonly sensorFault: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
1680
|
+
sensorFault: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1681
|
+
generalFault: import("@project-chip/matter.js/schema").BitFlag;
|
|
1682
|
+
}>>;
|
|
1683
|
+
}>, any>;
|
|
1684
|
+
}, "sensorFault"> & Omit<{
|
|
1685
|
+
readonly alarmsStateChanged: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
1686
|
+
alarmsActive: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1687
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1688
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1689
|
+
}>>;
|
|
1690
|
+
alarmsSuppressed: import("@project-chip/matter.js/tlv").OptionalFieldType<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1691
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1692
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1693
|
+
}>>;
|
|
1694
|
+
}>, any>;
|
|
1695
|
+
}, "sensorFault"> & Omit<{
|
|
1696
|
+
readonly sensorFault: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
1697
|
+
sensorFault: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1698
|
+
generalFault: import("@project-chip/matter.js/schema").BitFlag;
|
|
1699
|
+
}>>;
|
|
1700
|
+
}>, any>;
|
|
1701
|
+
}, "sensorFault" | "alarmsStateChanged">>;
|
|
1702
|
+
/**
|
|
1703
|
+
* Creates a default boolean state configuration cluster server.
|
|
1704
|
+
*
|
|
1705
|
+
* @param contact - Optional boolean value indicating the sensor fault state. Defaults to `false` if not provided.
|
|
1706
|
+
*/
|
|
1707
|
+
createDefaultBooleanStateConfigurationClusterServer(sensorFault?: boolean): void;
|
|
1319
1708
|
/**
|
|
1320
1709
|
* Get a default power source replaceable battery cluster server.
|
|
1321
1710
|
*
|
|
@@ -1334,7 +1723,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1334
1723
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1335
1724
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1336
1725
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1337
|
-
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "
|
|
1726
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "order" | "status" | "description"> & Omit<{
|
|
1338
1727
|
readonly batVoltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1339
1728
|
readonly batPercentRemaining: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1340
1729
|
readonly batTimeRemaining: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
@@ -1351,7 +1740,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1351
1740
|
readonly batApprovedChemistry: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<PowerSource.BatApprovedChemistry, any>;
|
|
1352
1741
|
readonly batCapacity: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
1353
1742
|
readonly batQuantity: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
1354
|
-
}, "
|
|
1743
|
+
}, "order" | "status" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1355
1744
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1356
1745
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1357
1746
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1365,7 +1754,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1365
1754
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1366
1755
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1367
1756
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1368
|
-
}>>, "
|
|
1757
|
+
}>>, "order" | "status" | "batVoltage" | "batPercentRemaining" | "batTimeRemaining" | "batChargeLevel" | "batReplacementNeeded" | "batReplaceability" | "batPresent" | "activeBatFaults" | "batReplacementDescription" | "batCommonDesignation" | "batAnsiDesignation" | "batIecDesignation" | "batApprovedChemistry" | "batCapacity" | "batQuantity" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1369
1758
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1370
1759
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1371
1760
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1402,7 +1791,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1402
1791
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1403
1792
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1404
1793
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1405
|
-
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "
|
|
1794
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "order" | "status" | "description"> & Omit<{
|
|
1406
1795
|
readonly batVoltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1407
1796
|
readonly batPercentRemaining: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1408
1797
|
readonly batTimeRemaining: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
@@ -1417,7 +1806,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1417
1806
|
readonly batFunctionalWhileCharging: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
1418
1807
|
readonly batChargingCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1419
1808
|
readonly activeBatChargeFaults: import("@project-chip/matter-node.js/cluster").OptionalAttribute<PowerSource.BatChargeFault[], any>;
|
|
1420
|
-
}, "
|
|
1809
|
+
}, "order" | "status" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1421
1810
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1422
1811
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1423
1812
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1431,7 +1820,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1431
1820
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1432
1821
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1433
1822
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1434
|
-
}>>, "
|
|
1823
|
+
}>>, "order" | "status" | "batVoltage" | "batPercentRemaining" | "batTimeRemaining" | "batChargeLevel" | "batReplacementNeeded" | "batReplaceability" | "batPresent" | "activeBatFaults" | "batChargeState" | "batTimeToFullCharge" | "batFunctionalWhileCharging" | "batChargingCurrent" | "activeBatChargeFaults" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1435
1824
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1436
1825
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1437
1826
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1469,7 +1858,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1469
1858
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1470
1859
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1471
1860
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1472
|
-
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "
|
|
1861
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "order" | "status" | "description"> & Omit<{
|
|
1473
1862
|
readonly wiredAssessedInputVoltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1474
1863
|
readonly wiredAssessedInputFrequency: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1475
1864
|
readonly wiredCurrentType: import("@project-chip/matter-node.js/cluster").FixedAttribute<PowerSource.WiredCurrentType, any>;
|
|
@@ -1478,7 +1867,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1478
1867
|
readonly wiredMaximumCurrent: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
1479
1868
|
readonly wiredPresent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<boolean, any>;
|
|
1480
1869
|
readonly activeWiredFaults: import("@project-chip/matter-node.js/cluster").OptionalAttribute<PowerSource.WiredFault[], any>;
|
|
1481
|
-
}, "
|
|
1870
|
+
}, "order" | "status" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1482
1871
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1483
1872
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1484
1873
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1492,7 +1881,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1492
1881
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1493
1882
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1494
1883
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1495
|
-
}>>, "
|
|
1884
|
+
}>>, "order" | "status" | "wiredAssessedInputVoltage" | "wiredAssessedInputFrequency" | "wiredCurrentType" | "wiredAssessedCurrent" | "wiredNominalVoltage" | "wiredMaximumCurrent" | "wiredPresent" | "activeWiredFaults" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1496
1885
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1497
1886
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1498
1887
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1510,14 +1899,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1510
1899
|
*/
|
|
1511
1900
|
createDefaultPowerSourceWiredClusterServer(wiredCurrentType?: PowerSource.WiredCurrentType): void;
|
|
1512
1901
|
/**
|
|
1513
|
-
*
|
|
1514
|
-
*
|
|
1515
|
-
* @remarks
|
|
1516
|
-
* The endpoint at this time is only known for Accessory Platforms.
|
|
1517
|
-
* Don't use it in Dynamic Platforms.
|
|
1518
|
-
*
|
|
1519
|
-
*
|
|
1520
|
-
* @param endpointNumber - The endpoint number where to find the PowerSourceCluster.
|
|
1902
|
+
* @deprecated This function is deprecated by Matter 1.3 spec and will be removed in a future version.
|
|
1521
1903
|
*/
|
|
1522
1904
|
createDefaultPowerSourceConfigurationClusterServer(endpointNumber?: number): void;
|
|
1523
1905
|
/**
|
|
@@ -1812,7 +2194,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1812
2194
|
*/
|
|
1813
2195
|
createDefaultThermostatClusterServer(localTemperature?: number, occupiedHeatingSetpoint?: number, occupiedCoolingSetpoint?: number, minSetpointDeadBand?: number): void;
|
|
1814
2196
|
/**
|
|
1815
|
-
* Get a default time sync cluster server. Only needed to create a thermostat.
|
|
2197
|
+
* Get a default dummy time sync cluster server. Only needed to create a thermostat.
|
|
1816
2198
|
*/
|
|
1817
2199
|
getDefaultTimeSyncClusterServer(): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
1818
2200
|
readonly utcTime: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint | null, any>;
|
|
@@ -1862,9 +2244,289 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1862
2244
|
}>, any>;
|
|
1863
2245
|
}, never> & Omit<{}, "dstTableEmpty" | "dstStatus" | "timeZoneStatus">>;
|
|
1864
2246
|
/**
|
|
1865
|
-
* Creates a default time sync cluster server. Only needed to create a thermostat.
|
|
2247
|
+
* Creates a default dummy time sync cluster server. Only needed to create a thermostat.
|
|
1866
2248
|
*/
|
|
1867
2249
|
createDefaultTimeSyncClusterServer(): void;
|
|
2250
|
+
/**
|
|
2251
|
+
* Returns the default SmokeCOAlarmClusterServer.
|
|
2252
|
+
*
|
|
2253
|
+
* @param smokeState - The state of the smoke alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
|
|
2254
|
+
* @param coState - The state of the CO alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
|
|
2255
|
+
* @returns The default SmokeCOAlarmClusterServer.
|
|
2256
|
+
*/
|
|
2257
|
+
getDefaultSmokeCOAlarmClusterServer(smokeState?: SmokeCoAlarm.AlarmState, coState?: SmokeCoAlarm.AlarmState): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
2258
|
+
readonly expressedState: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.ExpressedState, any>;
|
|
2259
|
+
readonly batteryAlert: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.AlarmState, any>;
|
|
2260
|
+
readonly deviceMuted: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.MuteState, any>;
|
|
2261
|
+
readonly testInProgress: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
2262
|
+
readonly hardwareFaultAlert: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
2263
|
+
readonly endOfServiceAlert: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.EndOfService, any>;
|
|
2264
|
+
readonly interconnectSmokeAlarm: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.AlarmState, any>;
|
|
2265
|
+
readonly interconnectCoAlarm: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.AlarmState, any>;
|
|
2266
|
+
readonly expiryDate: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
2267
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2268
|
+
readonly smokeAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2269
|
+
readonly coAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2270
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "interconnectSmokeAlarm" | "interconnectCoAlarm" | "expressedState" | "batteryAlert" | "deviceMuted" | "testInProgress" | "hardwareFaultAlert" | "endOfServiceAlert" | "expiryDate"> & Omit<{
|
|
2271
|
+
readonly smokeState: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.AlarmState, any>;
|
|
2272
|
+
readonly contaminationState: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.ContaminationState, any>;
|
|
2273
|
+
readonly smokeSensitivityLevel: import("@project-chip/matter-node.js/cluster").OptionalWritableAttribute<SmokeCoAlarm.Sensitivity, any>;
|
|
2274
|
+
} & {
|
|
2275
|
+
readonly coState: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.AlarmState, any>;
|
|
2276
|
+
}, "interconnectSmokeAlarm" | "interconnectCoAlarm" | "expressedState" | "batteryAlert" | "deviceMuted" | "testInProgress" | "hardwareFaultAlert" | "endOfServiceAlert" | "expiryDate" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2277
|
+
readonly smokeAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2278
|
+
readonly coAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2279
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
2280
|
+
readonly expressedState: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.ExpressedState, any>;
|
|
2281
|
+
readonly batteryAlert: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.AlarmState, any>;
|
|
2282
|
+
readonly deviceMuted: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.MuteState, any>;
|
|
2283
|
+
readonly testInProgress: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
2284
|
+
readonly hardwareFaultAlert: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
2285
|
+
readonly endOfServiceAlert: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.EndOfService, any>;
|
|
2286
|
+
readonly interconnectSmokeAlarm: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.AlarmState, any>;
|
|
2287
|
+
readonly interconnectCoAlarm: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.AlarmState, any>;
|
|
2288
|
+
readonly expiryDate: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
2289
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2290
|
+
readonly smokeAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2291
|
+
readonly coAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2292
|
+
}>>, "smokeState" | "contaminationState" | "smokeSensitivityLevel" | "interconnectSmokeAlarm" | "coState" | "interconnectCoAlarm" | "expressedState" | "batteryAlert" | "deviceMuted" | "testInProgress" | "hardwareFaultAlert" | "endOfServiceAlert" | "expiryDate" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2293
|
+
readonly smokeAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2294
|
+
readonly coAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2295
|
+
}>>, Pick<{
|
|
2296
|
+
readonly lowBattery: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2297
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2298
|
+
}>, any>;
|
|
2299
|
+
readonly hardwareFault: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2300
|
+
readonly endOfService: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2301
|
+
readonly selfTestComplete: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2302
|
+
readonly alarmMuted: import("@project-chip/matter-node.js/cluster").OptionalEvent<void, any>;
|
|
2303
|
+
readonly muteEnded: import("@project-chip/matter-node.js/cluster").OptionalEvent<void, any>;
|
|
2304
|
+
readonly allClear: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2305
|
+
}, "lowBattery" | "hardwareFault" | "endOfService" | "selfTestComplete" | "alarmMuted" | "muteEnded" | "allClear"> & Omit<{
|
|
2306
|
+
readonly smokeAlarm: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2307
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2308
|
+
}>, any>;
|
|
2309
|
+
readonly interconnectSmokeAlarm: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2310
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2311
|
+
}>, any>;
|
|
2312
|
+
} & {
|
|
2313
|
+
readonly coAlarm: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2314
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2315
|
+
}>, any>;
|
|
2316
|
+
readonly interconnectCoAlarm: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2317
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2318
|
+
}>, any>;
|
|
2319
|
+
}, "lowBattery" | "hardwareFault" | "endOfService" | "selfTestComplete" | "alarmMuted" | "muteEnded" | "allClear"> & Omit<{
|
|
2320
|
+
readonly lowBattery: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2321
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2322
|
+
}>, any>;
|
|
2323
|
+
readonly hardwareFault: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2324
|
+
readonly endOfService: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2325
|
+
readonly selfTestComplete: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2326
|
+
readonly alarmMuted: import("@project-chip/matter-node.js/cluster").OptionalEvent<void, any>;
|
|
2327
|
+
readonly muteEnded: import("@project-chip/matter-node.js/cluster").OptionalEvent<void, any>;
|
|
2328
|
+
readonly allClear: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2329
|
+
}, "smokeAlarm" | "interconnectSmokeAlarm" | "coAlarm" | "interconnectCoAlarm" | "lowBattery" | "hardwareFault" | "endOfService" | "selfTestComplete" | "alarmMuted" | "muteEnded" | "allClear">>;
|
|
2330
|
+
/**
|
|
2331
|
+
* Create the default SmokeCOAlarmClusterServer.
|
|
2332
|
+
*
|
|
2333
|
+
* @param smokeState - The state of the smoke alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
|
|
2334
|
+
* @param coState - The state of the CO alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
|
|
2335
|
+
* @returns The default SmokeCOAlarmClusterServer.
|
|
2336
|
+
*/
|
|
2337
|
+
createDefaultSmokeCOAlarmClusterServer(smokeState?: SmokeCoAlarm.AlarmState, coState?: SmokeCoAlarm.AlarmState): void;
|
|
2338
|
+
/**
|
|
2339
|
+
* Returns the default Carbon Monoxide Concentration Measurement Cluster Server.
|
|
2340
|
+
*
|
|
2341
|
+
* @param {number} measuredValue - The measured value of the concentration.
|
|
2342
|
+
* @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
|
|
2343
|
+
* @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
|
|
2344
|
+
* @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
|
|
2345
|
+
*/
|
|
2346
|
+
getDefaultCarbonMonoxideConcentrationMeasurementClusterServer(measuredValue?: number, measurementUnit?: ConcentrationMeasurement.MeasurementUnit, measurementMedium?: ConcentrationMeasurement.MeasurementMedium): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
2347
|
+
readonly measurementMedium: import("@project-chip/matter-node.js/cluster").FixedAttribute<ConcentrationMeasurement.MeasurementMedium, any>;
|
|
2348
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2349
|
+
readonly numericMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2350
|
+
readonly levelIndication: import("@project-chip/matter.js/schema").BitFlag;
|
|
2351
|
+
readonly mediumLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2352
|
+
readonly criticalLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2353
|
+
readonly peakMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2354
|
+
readonly averageMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2355
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "measurementMedium"> & Omit<{
|
|
2356
|
+
readonly measuredValue: import("@project-chip/matter-node.js/cluster").Attribute<number | null, any>;
|
|
2357
|
+
readonly minMeasuredValue: import("@project-chip/matter-node.js/cluster").Attribute<number | null, any>;
|
|
2358
|
+
readonly maxMeasuredValue: import("@project-chip/matter-node.js/cluster").Attribute<number | null, any>;
|
|
2359
|
+
readonly uncertainty: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number, any>;
|
|
2360
|
+
readonly measurementUnit: import("@project-chip/matter-node.js/cluster").FixedAttribute<ConcentrationMeasurement.MeasurementUnit, any>;
|
|
2361
|
+
}, "measurementMedium" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2362
|
+
readonly numericMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2363
|
+
readonly levelIndication: import("@project-chip/matter.js/schema").BitFlag;
|
|
2364
|
+
readonly mediumLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2365
|
+
readonly criticalLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2366
|
+
readonly peakMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2367
|
+
readonly averageMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2368
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
2369
|
+
readonly measurementMedium: import("@project-chip/matter-node.js/cluster").FixedAttribute<ConcentrationMeasurement.MeasurementMedium, any>;
|
|
2370
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2371
|
+
readonly numericMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2372
|
+
readonly levelIndication: import("@project-chip/matter.js/schema").BitFlag;
|
|
2373
|
+
readonly mediumLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2374
|
+
readonly criticalLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2375
|
+
readonly peakMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2376
|
+
readonly averageMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2377
|
+
}>>, "measuredValue" | "minMeasuredValue" | "maxMeasuredValue" | "uncertainty" | "measurementUnit" | "measurementMedium" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2378
|
+
readonly numericMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2379
|
+
readonly levelIndication: import("@project-chip/matter.js/schema").BitFlag;
|
|
2380
|
+
readonly mediumLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2381
|
+
readonly criticalLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2382
|
+
readonly peakMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2383
|
+
readonly averageMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2384
|
+
}>>, Pick<{}, never> & Omit<{}, never>>;
|
|
2385
|
+
/**
|
|
2386
|
+
* Create the default Carbon Monoxide Concentration Measurement Cluster Server.
|
|
2387
|
+
*
|
|
2388
|
+
* @param {number} measuredValue - The measured value of the concentration.
|
|
2389
|
+
* @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
|
|
2390
|
+
* @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
|
|
2391
|
+
*/
|
|
2392
|
+
createDefaultCarbonMonoxideConcentrationMeasurementClusterServer(measuredValue?: number, measurementUnit?: ConcentrationMeasurement.MeasurementUnit, measurementMedium?: ConcentrationMeasurement.MeasurementMedium): void;
|
|
2393
|
+
/**
|
|
2394
|
+
* Returns the default fan control cluster server rev 2.
|
|
2395
|
+
*
|
|
2396
|
+
* @param fanMode The fan mode to set. Defaults to `FanControl.FanMode.Off`.
|
|
2397
|
+
* @returns The default fan control cluster server.
|
|
2398
|
+
*/
|
|
2399
|
+
getDefaultFanControlClusterServer(fanMode?: FanControl.FanMode): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
2400
|
+
readonly fanMode: import("@project-chip/matter-node.js/cluster").WritableAttribute<FanControl.FanMode, any>;
|
|
2401
|
+
readonly fanModeSequence: import("@project-chip/matter-node.js/cluster").WritableAttribute<FanControl.FanModeSequence, any>;
|
|
2402
|
+
readonly percentSetting: import("@project-chip/matter-node.js/cluster").WritableAttribute<number | null, any>;
|
|
2403
|
+
readonly percentCurrent: import("@project-chip/matter-node.js/cluster").Attribute<number, any>;
|
|
2404
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2405
|
+
readonly multiSpeed: import("@project-chip/matter.js/schema").BitFlag;
|
|
2406
|
+
readonly auto: import("@project-chip/matter.js/schema").BitFlag;
|
|
2407
|
+
readonly rocking: import("@project-chip/matter.js/schema").BitFlag;
|
|
2408
|
+
readonly wind: import("@project-chip/matter.js/schema").BitFlag;
|
|
2409
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "fanMode" | "fanModeSequence" | "percentSetting" | "percentCurrent"> & Omit<{
|
|
2410
|
+
readonly speedMax: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
2411
|
+
readonly speedSetting: import("@project-chip/matter-node.js/cluster").WritableAttribute<number | null, any>;
|
|
2412
|
+
readonly speedCurrent: import("@project-chip/matter-node.js/cluster").Attribute<number, any>;
|
|
2413
|
+
}, "fanMode" | "fanModeSequence" | "percentSetting" | "percentCurrent" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2414
|
+
readonly multiSpeed: import("@project-chip/matter.js/schema").BitFlag;
|
|
2415
|
+
readonly auto: import("@project-chip/matter.js/schema").BitFlag;
|
|
2416
|
+
readonly rocking: import("@project-chip/matter.js/schema").BitFlag;
|
|
2417
|
+
readonly wind: import("@project-chip/matter.js/schema").BitFlag;
|
|
2418
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
2419
|
+
readonly fanMode: import("@project-chip/matter-node.js/cluster").WritableAttribute<FanControl.FanMode, any>;
|
|
2420
|
+
readonly fanModeSequence: import("@project-chip/matter-node.js/cluster").WritableAttribute<FanControl.FanModeSequence, any>;
|
|
2421
|
+
readonly percentSetting: import("@project-chip/matter-node.js/cluster").WritableAttribute<number | null, any>;
|
|
2422
|
+
readonly percentCurrent: import("@project-chip/matter-node.js/cluster").Attribute<number, any>;
|
|
2423
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2424
|
+
readonly multiSpeed: import("@project-chip/matter.js/schema").BitFlag;
|
|
2425
|
+
readonly auto: import("@project-chip/matter.js/schema").BitFlag;
|
|
2426
|
+
readonly rocking: import("@project-chip/matter.js/schema").BitFlag;
|
|
2427
|
+
readonly wind: import("@project-chip/matter.js/schema").BitFlag;
|
|
2428
|
+
}>>, "speedMax" | "speedSetting" | "speedCurrent" | "fanMode" | "fanModeSequence" | "percentSetting" | "percentCurrent" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2429
|
+
readonly multiSpeed: import("@project-chip/matter.js/schema").BitFlag;
|
|
2430
|
+
readonly auto: import("@project-chip/matter.js/schema").BitFlag;
|
|
2431
|
+
readonly rocking: import("@project-chip/matter.js/schema").BitFlag;
|
|
2432
|
+
readonly wind: import("@project-chip/matter.js/schema").BitFlag;
|
|
2433
|
+
}>>, Pick<{}, never> & Omit<{}, never>>;
|
|
2434
|
+
/**
|
|
2435
|
+
* Create the default fan control cluster server rev 2.
|
|
2436
|
+
*
|
|
2437
|
+
* @param fanMode The fan mode to set. Defaults to `FanControl.FanMode.Off`.
|
|
2438
|
+
* @returns The default fan control cluster server.
|
|
2439
|
+
*/
|
|
2440
|
+
createDefaultFanControlClusterServer(fanMode?: FanControl.FanMode): void;
|
|
2441
|
+
getDefaultDeviceEnergyManagementClusterServer(): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
2442
|
+
readonly esaType: import("@project-chip/matter-node.js/cluster").FixedAttribute<DeviceEnergyManagement.EsaType, any>;
|
|
2443
|
+
readonly esaCanGenerate: import("@project-chip/matter-node.js/cluster").FixedAttribute<boolean, any>;
|
|
2444
|
+
readonly esaState: import("@project-chip/matter-node.js/cluster").Attribute<DeviceEnergyManagement.EsaState, any>;
|
|
2445
|
+
readonly absMinPower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint, any>;
|
|
2446
|
+
readonly absMaxPower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint, any>;
|
|
2447
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2448
|
+
readonly powerAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2449
|
+
readonly powerForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2450
|
+
readonly stateForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2451
|
+
readonly startTimeAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2452
|
+
readonly pausable: import("@project-chip/matter.js/schema").BitFlag;
|
|
2453
|
+
readonly forecastAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2454
|
+
readonly constraintBasedAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2455
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "esaType" | "esaCanGenerate" | "esaState" | "absMinPower" | "absMaxPower"> & Omit<{
|
|
2456
|
+
readonly forecast: import("@project-chip/matter-node.js/cluster").Attribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2457
|
+
forecastId: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2458
|
+
activeSlotNumber: import("@project-chip/matter.js/tlv").FieldType<number | null>;
|
|
2459
|
+
startTime: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2460
|
+
endTime: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2461
|
+
earliestStartTime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | null>;
|
|
2462
|
+
latestEndTime: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2463
|
+
isPauseable: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
2464
|
+
slots: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2465
|
+
minDuration: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2466
|
+
maxDuration: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2467
|
+
defaultDuration: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2468
|
+
elapsedSlotTime: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2469
|
+
remainingSlotTime: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2470
|
+
slotIsPauseable: import("@project-chip/matter.js/tlv").OptionalFieldType<boolean>;
|
|
2471
|
+
minPauseDuration: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2472
|
+
maxPauseDuration: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2473
|
+
manufacturerEsaState: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2474
|
+
nominalPower: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2475
|
+
minPower: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2476
|
+
maxPower: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2477
|
+
nominalEnergy: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2478
|
+
costs: import("@project-chip/matter.js/tlv").OptionalFieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2479
|
+
costType: import("@project-chip/matter.js/tlv").FieldType<DeviceEnergyManagement.CostType>;
|
|
2480
|
+
value: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2481
|
+
decimalPoints: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2482
|
+
currency: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2483
|
+
}>[]>;
|
|
2484
|
+
minPowerAdjustment: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2485
|
+
maxPowerAdjustment: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2486
|
+
minDurationAdjustment: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2487
|
+
maxDurationAdjustment: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2488
|
+
}>[]>;
|
|
2489
|
+
forecastUpdateReason: import("@project-chip/matter.js/tlv").FieldType<DeviceEnergyManagement.ForecastUpdateReason>;
|
|
2490
|
+
}> | null, any>;
|
|
2491
|
+
} & {
|
|
2492
|
+
readonly optOutState: import("@project-chip/matter-node.js/cluster").Attribute<DeviceEnergyManagement.OptOutState, any>;
|
|
2493
|
+
}, "esaType" | "esaCanGenerate" | "esaState" | "absMinPower" | "absMaxPower" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2494
|
+
readonly powerAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2495
|
+
readonly powerForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2496
|
+
readonly stateForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2497
|
+
readonly startTimeAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2498
|
+
readonly pausable: import("@project-chip/matter.js/schema").BitFlag;
|
|
2499
|
+
readonly forecastAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2500
|
+
readonly constraintBasedAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2501
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
2502
|
+
readonly esaType: import("@project-chip/matter-node.js/cluster").FixedAttribute<DeviceEnergyManagement.EsaType, any>;
|
|
2503
|
+
readonly esaCanGenerate: import("@project-chip/matter-node.js/cluster").FixedAttribute<boolean, any>;
|
|
2504
|
+
readonly esaState: import("@project-chip/matter-node.js/cluster").Attribute<DeviceEnergyManagement.EsaState, any>;
|
|
2505
|
+
readonly absMinPower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint, any>;
|
|
2506
|
+
readonly absMaxPower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint, any>;
|
|
2507
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2508
|
+
readonly powerAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2509
|
+
readonly powerForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2510
|
+
readonly stateForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2511
|
+
readonly startTimeAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2512
|
+
readonly pausable: import("@project-chip/matter.js/schema").BitFlag;
|
|
2513
|
+
readonly forecastAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2514
|
+
readonly constraintBasedAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2515
|
+
}>>, "forecast" | "optOutState" | "esaType" | "esaCanGenerate" | "esaState" | "absMinPower" | "absMaxPower" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2516
|
+
readonly powerAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2517
|
+
readonly powerForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2518
|
+
readonly stateForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2519
|
+
readonly startTimeAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2520
|
+
readonly pausable: import("@project-chip/matter.js/schema").BitFlag;
|
|
2521
|
+
readonly forecastAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2522
|
+
readonly constraintBasedAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2523
|
+
}>>, Pick<{}, never> & Omit<{
|
|
2524
|
+
readonly paused: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2525
|
+
readonly resumed: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2526
|
+
cause: import("@project-chip/matter.js/tlv").FieldType<DeviceEnergyManagement.Cause>;
|
|
2527
|
+
}>, any>;
|
|
2528
|
+
}, never> & Omit<{}, "paused" | "resumed">>;
|
|
2529
|
+
getDefaultDeviceEnergyManagementModeClusterServer(): import("@project-chip/matter-node.js/cluster").ClusterServerObj<{}, {}>;
|
|
1868
2530
|
}
|
|
1869
2531
|
export {};
|
|
1870
2532
|
//# sourceMappingURL=matterbridgeDevice.d.ts.map
|