matterbridge 1.2.22 → 1.3.1
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 +40 -0
- package/README.md +40 -8
- 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 +9 -1
- 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 +69 -6
- package/dist/matterbridge.d.ts.map +1 -1
- package/dist/matterbridge.js +131 -45
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +677 -34
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +442 -93
- 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 +409 -139
- 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,11 +125,14 @@ 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.
|
|
129
|
+
* If the child endpoint is not already present in the childEndpoints, it will be added.
|
|
130
|
+
* If the child endpoint is already present in the childEndpoints, the device types and cluster servers will be added to the existing child endpoint.
|
|
114
131
|
*
|
|
132
|
+
* @param {string} endpointName - The name of the new enpoint to add.
|
|
115
133
|
* @param {AtLeastOne<DeviceTypeDefinition>} deviceTypes - The device types to add.
|
|
116
134
|
* @param {ClusterId[]} includeServerList - The list of cluster IDs to include.
|
|
117
|
-
* @returns {Endpoint} - The child endpoint that was added.
|
|
135
|
+
* @returns {Endpoint} - The child endpoint that was found or added.
|
|
118
136
|
*/
|
|
119
137
|
addChildDeviceTypeWithClusterServer(endpointName: string, deviceTypes: AtLeastOne<DeviceTypeDefinition>, includeServerList: ClusterId[]): Endpoint;
|
|
120
138
|
/**
|
|
@@ -146,6 +164,19 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
146
164
|
* @param {string} endpointName - The name of the endpoint.
|
|
147
165
|
*/
|
|
148
166
|
setChildEndpointName(child: Endpoint, endpointName: string): void;
|
|
167
|
+
/**
|
|
168
|
+
* Retrieves the label associated with the specified endpoint number.
|
|
169
|
+
* @param {EndpointNumber | undefined} endpointNumber - The number of the endpoint.
|
|
170
|
+
* @returns {string | undefined} The label associated with the endpoint number, or undefined if not found.
|
|
171
|
+
*/
|
|
172
|
+
getEndpointLabel(endpointNumber: EndpointNumber | undefined): string | undefined;
|
|
173
|
+
/**
|
|
174
|
+
* Retrieves the child endpoint with the specified label.
|
|
175
|
+
*
|
|
176
|
+
* @param {string} label - The label of the child endpoint to retrieve.
|
|
177
|
+
* @returns {Endpoint | undefined} The child endpoint with the specified label, or undefined if not found.
|
|
178
|
+
*/
|
|
179
|
+
getChildEndpointWithLabel(label: string): Endpoint | undefined;
|
|
149
180
|
/**
|
|
150
181
|
* Serializes the Matterbridge device into a serialized object.
|
|
151
182
|
*
|
|
@@ -471,6 +502,255 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
471
502
|
*/
|
|
472
503
|
createDefaultBridgedDeviceBasicInformationClusterServer(deviceName: string, serialNumber: string, vendorId: number, vendorName: string, productName: string, softwareVersion?: number, softwareVersionString?: string, hardwareVersion?: number, hardwareVersionString?: string): void;
|
|
473
504
|
/**
|
|
505
|
+
* Get a default Electrical Energy Measurement Cluster Server.
|
|
506
|
+
*
|
|
507
|
+
* @param energy - The total consumption value.
|
|
508
|
+
*/
|
|
509
|
+
getDefaultPowerTopologyClusterServer(): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<{}, never> & Omit<{}, never>, Pick<{}, never> & Omit<{}, never>>;
|
|
510
|
+
/**
|
|
511
|
+
* Get a default Electrical Energy Measurement Cluster Server.
|
|
512
|
+
*
|
|
513
|
+
* @param energy - The total consumption value.
|
|
514
|
+
*/
|
|
515
|
+
getDefaultElectricalEnergyMeasurementClusterServer(energy?: number): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
516
|
+
readonly accuracy: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
517
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
518
|
+
measured: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
519
|
+
minMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
520
|
+
maxMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
521
|
+
accuracyRanges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
522
|
+
rangeMin: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
523
|
+
rangeMax: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
524
|
+
percentMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
525
|
+
percentMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
526
|
+
percentTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
527
|
+
fixedMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
528
|
+
fixedMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
529
|
+
fixedTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
530
|
+
}>[]>;
|
|
531
|
+
}>, any>;
|
|
532
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
533
|
+
readonly importedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
534
|
+
readonly exportedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
535
|
+
readonly cumulativeEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
536
|
+
readonly periodicEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
537
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "accuracy"> & Omit<{
|
|
538
|
+
readonly cumulativeEnergyImported: import("@project-chip/matter-node.js/cluster").Attribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
539
|
+
energy: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
540
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
541
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
542
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
543
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
544
|
+
}> | null, any>;
|
|
545
|
+
} & {
|
|
546
|
+
readonly cumulativeEnergyExported: import("@project-chip/matter-node.js/cluster").Attribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
547
|
+
energy: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
548
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
549
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
550
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
551
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
552
|
+
}> | null, any>;
|
|
553
|
+
} & {
|
|
554
|
+
readonly cumulativeEnergyReset: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
555
|
+
importedResetTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number | null>;
|
|
556
|
+
exportedResetTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number | null>;
|
|
557
|
+
importedResetSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint | null>;
|
|
558
|
+
exportedResetSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint | null>;
|
|
559
|
+
}> | null, any>;
|
|
560
|
+
}, "accuracy" | keyof 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
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
566
|
+
readonly accuracy: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
567
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
568
|
+
measured: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
569
|
+
minMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
570
|
+
maxMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
571
|
+
accuracyRanges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
572
|
+
rangeMin: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
573
|
+
rangeMax: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
574
|
+
percentMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
575
|
+
percentMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
576
|
+
percentTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
577
|
+
fixedMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
578
|
+
fixedMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
579
|
+
fixedTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
580
|
+
}>[]>;
|
|
581
|
+
}>, any>;
|
|
582
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
583
|
+
readonly importedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
584
|
+
readonly exportedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
585
|
+
readonly cumulativeEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
586
|
+
readonly periodicEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
587
|
+
}>>, "accuracy" | "cumulativeEnergyImported" | "cumulativeEnergyExported" | "cumulativeEnergyReset" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
588
|
+
readonly importedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
589
|
+
readonly exportedEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
590
|
+
readonly cumulativeEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
591
|
+
readonly periodicEnergy: import("@project-chip/matter.js/schema").BitFlag;
|
|
592
|
+
}>>, Pick<{}, never> & Omit<{
|
|
593
|
+
readonly cumulativeEnergyMeasured: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
594
|
+
energyImported: import("@project-chip/matter.js/tlv").OptionalFieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
595
|
+
energy: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
596
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
597
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
598
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
599
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
600
|
+
}>>;
|
|
601
|
+
energyExported: import("@project-chip/matter.js/tlv").OptionalFieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
602
|
+
energy: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
603
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
604
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
605
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
606
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
607
|
+
}>>;
|
|
608
|
+
}>, any>;
|
|
609
|
+
}, never> & Omit<{}, "cumulativeEnergyMeasured">>;
|
|
610
|
+
/**
|
|
611
|
+
* Get a default Electrical Power Measurement Cluster Server.
|
|
612
|
+
*
|
|
613
|
+
* @param energy - The total consumption value.
|
|
614
|
+
*/
|
|
615
|
+
getDefaultElectricalPowerMeasurementClusterServer(voltage?: number, current?: number, power?: number): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
616
|
+
readonly powerMode: import("@project-chip/matter-node.js/cluster").Attribute<ElectricalPowerMeasurement.PowerMode, any>;
|
|
617
|
+
readonly numberOfMeasurementTypes: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
618
|
+
readonly accuracy: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
619
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
620
|
+
measured: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
621
|
+
minMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
622
|
+
maxMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
623
|
+
accuracyRanges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
624
|
+
rangeMin: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
625
|
+
rangeMax: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
626
|
+
percentMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
627
|
+
percentMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
628
|
+
percentTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
629
|
+
fixedMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
630
|
+
fixedMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
631
|
+
fixedTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
632
|
+
}>[]>;
|
|
633
|
+
}>[], any>;
|
|
634
|
+
readonly ranges: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
635
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
636
|
+
min: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
637
|
+
max: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
638
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
639
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
640
|
+
minTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
641
|
+
maxTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
642
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
643
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
644
|
+
minSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
645
|
+
maxSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
646
|
+
}>[], any>;
|
|
647
|
+
readonly voltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
648
|
+
readonly activeCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
649
|
+
readonly activePower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint | null, any>;
|
|
650
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
651
|
+
readonly directCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
652
|
+
readonly alternatingCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
653
|
+
readonly polyphasePower: import("@project-chip/matter.js/schema").BitFlag;
|
|
654
|
+
readonly harmonics: import("@project-chip/matter.js/schema").BitFlag;
|
|
655
|
+
readonly powerQuality: import("@project-chip/matter.js/schema").BitFlag;
|
|
656
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "ranges" | "powerMode" | "numberOfMeasurementTypes" | "accuracy" | "voltage" | "activeCurrent" | "activePower"> & Omit<{
|
|
657
|
+
readonly reactiveCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
658
|
+
readonly apparentCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
659
|
+
readonly reactivePower: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
660
|
+
readonly apparentPower: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
661
|
+
readonly rmsVoltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
662
|
+
readonly rmsCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
663
|
+
readonly rmsPower: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
664
|
+
readonly frequency: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
665
|
+
readonly powerFactor: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
666
|
+
}, "ranges" | "powerMode" | "numberOfMeasurementTypes" | "accuracy" | "voltage" | "activeCurrent" | "activePower" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
667
|
+
readonly directCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
668
|
+
readonly alternatingCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
669
|
+
readonly polyphasePower: import("@project-chip/matter.js/schema").BitFlag;
|
|
670
|
+
readonly harmonics: import("@project-chip/matter.js/schema").BitFlag;
|
|
671
|
+
readonly powerQuality: import("@project-chip/matter.js/schema").BitFlag;
|
|
672
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
673
|
+
readonly powerMode: import("@project-chip/matter-node.js/cluster").Attribute<ElectricalPowerMeasurement.PowerMode, any>;
|
|
674
|
+
readonly numberOfMeasurementTypes: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
675
|
+
readonly accuracy: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
676
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
677
|
+
measured: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
678
|
+
minMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
679
|
+
maxMeasuredValue: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
680
|
+
accuracyRanges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
681
|
+
rangeMin: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
682
|
+
rangeMax: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
683
|
+
percentMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
684
|
+
percentMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
685
|
+
percentTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
686
|
+
fixedMax: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
687
|
+
fixedMin: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
688
|
+
fixedTypical: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
689
|
+
}>[]>;
|
|
690
|
+
}>[], any>;
|
|
691
|
+
readonly ranges: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
692
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
693
|
+
min: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
694
|
+
max: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
695
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
696
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
697
|
+
minTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
698
|
+
maxTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
699
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
700
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
701
|
+
minSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
702
|
+
maxSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
703
|
+
}>[], any>;
|
|
704
|
+
readonly voltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
705
|
+
readonly activeCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | bigint | null, any>;
|
|
706
|
+
readonly activePower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint | null, any>;
|
|
707
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
708
|
+
readonly directCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
709
|
+
readonly alternatingCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
710
|
+
readonly polyphasePower: import("@project-chip/matter.js/schema").BitFlag;
|
|
711
|
+
readonly harmonics: import("@project-chip/matter.js/schema").BitFlag;
|
|
712
|
+
readonly powerQuality: import("@project-chip/matter.js/schema").BitFlag;
|
|
713
|
+
}>>, "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<{
|
|
714
|
+
readonly directCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
715
|
+
readonly alternatingCurrent: import("@project-chip/matter.js/schema").BitFlag;
|
|
716
|
+
readonly polyphasePower: import("@project-chip/matter.js/schema").BitFlag;
|
|
717
|
+
readonly harmonics: import("@project-chip/matter.js/schema").BitFlag;
|
|
718
|
+
readonly powerQuality: import("@project-chip/matter.js/schema").BitFlag;
|
|
719
|
+
}>>, Pick<{
|
|
720
|
+
readonly measurementPeriodRanges: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
721
|
+
ranges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
722
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
723
|
+
min: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
724
|
+
max: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
725
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
726
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
727
|
+
minTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
728
|
+
maxTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
729
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
730
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
731
|
+
minSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
732
|
+
maxSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
733
|
+
}>[]>;
|
|
734
|
+
}>, any>;
|
|
735
|
+
}, "measurementPeriodRanges"> & Omit<{}, "measurementPeriodRanges"> & Omit<{
|
|
736
|
+
readonly measurementPeriodRanges: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
737
|
+
ranges: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
738
|
+
measurementType: import("@project-chip/matter.js/tlv").FieldType<MeasurementType>;
|
|
739
|
+
min: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
740
|
+
max: import("@project-chip/matter.js/tlv").FieldType<number | bigint>;
|
|
741
|
+
startTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
742
|
+
endTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
743
|
+
minTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
744
|
+
maxTimestamp: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
745
|
+
startSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
746
|
+
endSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
747
|
+
minSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
748
|
+
maxSystime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
749
|
+
}>[]>;
|
|
750
|
+
}>, any>;
|
|
751
|
+
}, "measurementPeriodRanges">>;
|
|
752
|
+
/**
|
|
753
|
+
* @deprecated This method is deprecated and will be removed in a future version.
|
|
474
754
|
* Get a default Electrical Measurement Cluster Server.
|
|
475
755
|
*
|
|
476
756
|
* @param voltage - The RMS voltage value.
|
|
@@ -609,6 +889,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
609
889
|
readonly rmsVoltageSwellPeriodPhaseC: import("@project-chip/matter-node.js/cluster").OptionalWritableAttribute<number, any>;
|
|
610
890
|
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{}>>, {}>;
|
|
611
891
|
/**
|
|
892
|
+
* @deprecated This method is deprecated and will be removed in a future version.
|
|
612
893
|
* Creates a default Electrical Measurement Cluster Server.
|
|
613
894
|
*
|
|
614
895
|
* @param voltage - The RMS voltage value.
|
|
@@ -618,7 +899,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
618
899
|
*/
|
|
619
900
|
createDefaultElectricalMeasurementClusterServer(voltage?: number, current?: number, power?: number, consumption?: number): void;
|
|
620
901
|
/**
|
|
621
|
-
* Creates a default Thread Network Diagnostics Cluster server.
|
|
902
|
+
* Creates a default Dummy Thread Network Diagnostics Cluster server.
|
|
622
903
|
*
|
|
623
904
|
* @remarks
|
|
624
905
|
* This method adds a cluster server used only to give the networkName to Eve app.
|
|
@@ -897,7 +1178,16 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
897
1178
|
readonly physicalClosedLimitLift: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
898
1179
|
readonly currentPositionLift: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
899
1180
|
readonly installedOpenLimitLift: import("@project-chip/matter-node.js/cluster").Attribute<number, any>;
|
|
900
|
-
|
|
1181
|
+
/**
|
|
1182
|
+
* Get a default Illuminance Measurement Cluster Server.
|
|
1183
|
+
*
|
|
1184
|
+
* @param measuredValue - The measured value of illuminance.
|
|
1185
|
+
*/
|
|
1186
|
+
readonly installedClosedLimitLift: import("@project-chip/matter-node.js/cluster").Attribute<number, any>; /**
|
|
1187
|
+
* Creates a default Illuminance Measurement Cluster Server.
|
|
1188
|
+
*
|
|
1189
|
+
* @param measuredValue - The measured value of illuminance.
|
|
1190
|
+
*/
|
|
901
1191
|
} & {
|
|
902
1192
|
readonly numberOfActuationsLift: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number, any>;
|
|
903
1193
|
} & {
|
|
@@ -1096,7 +1386,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1096
1386
|
* Get a default switch cluster server.
|
|
1097
1387
|
*
|
|
1098
1388
|
* @remarks
|
|
1099
|
-
* This method adds a cluster server with default switch features and configurations.
|
|
1389
|
+
* This method adds a cluster server with default momentary switch features and configurations suitable for (AppleHome) Single Double Long automations.
|
|
1100
1390
|
*/
|
|
1101
1391
|
getDefaultSwitchClusterServer(): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
1102
1392
|
readonly numberOfPositions: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
@@ -1311,11 +1601,91 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1311
1601
|
}>, any>;
|
|
1312
1602
|
}>;
|
|
1313
1603
|
/**
|
|
1314
|
-
* Creates a default boolean state cluster server.
|
|
1604
|
+
* Creates a default boolean state configuration cluster server.
|
|
1315
1605
|
*
|
|
1316
1606
|
* @param contact - Optional boolean value indicating the contact state. Defaults to `true` if not provided.
|
|
1317
1607
|
*/
|
|
1318
1608
|
createDefaultBooleanStateClusterServer(contact?: boolean): void;
|
|
1609
|
+
/**
|
|
1610
|
+
* Get a default boolean state configuration cluster server.
|
|
1611
|
+
*
|
|
1612
|
+
* @param contact - Optional boolean value indicating the sensor fault state. Defaults to `false` if not provided.
|
|
1613
|
+
*/
|
|
1614
|
+
getDefaultBooleanStateConfigurationClusterServer(sensorFault?: boolean): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
1615
|
+
readonly sensorFault: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1616
|
+
generalFault: import("@project-chip/matter.js/schema").BitFlag;
|
|
1617
|
+
}>, any>;
|
|
1618
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1619
|
+
readonly visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1620
|
+
readonly audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1621
|
+
readonly alarmSuppress: import("@project-chip/matter.js/schema").BitFlag;
|
|
1622
|
+
readonly sensitivityLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
1623
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "sensorFault"> & Omit<{
|
|
1624
|
+
readonly currentSensitivityLevel: import("@project-chip/matter-node.js/cluster").WritableAttribute<number, any>;
|
|
1625
|
+
readonly supportedSensitivityLevels: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
1626
|
+
readonly defaultSensitivityLevel: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
1627
|
+
} & {
|
|
1628
|
+
readonly alarmsActive: import("@project-chip/matter-node.js/cluster").Attribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1629
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1630
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1631
|
+
}>, any>;
|
|
1632
|
+
readonly alarmsEnabled: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1633
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1634
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1635
|
+
}>, any>;
|
|
1636
|
+
readonly alarmsSupported: import("@project-chip/matter-node.js/cluster").FixedAttribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1637
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1638
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1639
|
+
}>, any>;
|
|
1640
|
+
}, "sensorFault" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1641
|
+
readonly visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1642
|
+
readonly audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1643
|
+
readonly alarmSuppress: import("@project-chip/matter.js/schema").BitFlag;
|
|
1644
|
+
readonly sensitivityLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
1645
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
1646
|
+
readonly sensorFault: import("@project-chip/matter-node.js/cluster").OptionalAttribute<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1647
|
+
generalFault: import("@project-chip/matter.js/schema").BitFlag;
|
|
1648
|
+
}>, any>;
|
|
1649
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1650
|
+
readonly visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1651
|
+
readonly audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1652
|
+
readonly alarmSuppress: import("@project-chip/matter.js/schema").BitFlag;
|
|
1653
|
+
readonly sensitivityLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
1654
|
+
}>>, "alarmsActive" | "sensorFault" | "currentSensitivityLevel" | "supportedSensitivityLevels" | "defaultSensitivityLevel" | "alarmsEnabled" | "alarmsSupported" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1655
|
+
readonly visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1656
|
+
readonly audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1657
|
+
readonly alarmSuppress: import("@project-chip/matter.js/schema").BitFlag;
|
|
1658
|
+
readonly sensitivityLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
1659
|
+
}>>, Pick<{
|
|
1660
|
+
readonly sensorFault: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
1661
|
+
sensorFault: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1662
|
+
generalFault: import("@project-chip/matter.js/schema").BitFlag;
|
|
1663
|
+
}>>;
|
|
1664
|
+
}>, any>;
|
|
1665
|
+
}, "sensorFault"> & Omit<{
|
|
1666
|
+
readonly alarmsStateChanged: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
1667
|
+
alarmsActive: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1668
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1669
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1670
|
+
}>>;
|
|
1671
|
+
alarmsSuppressed: import("@project-chip/matter.js/tlv").OptionalFieldType<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1672
|
+
visual: import("@project-chip/matter.js/schema").BitFlag;
|
|
1673
|
+
audible: import("@project-chip/matter.js/schema").BitFlag;
|
|
1674
|
+
}>>;
|
|
1675
|
+
}>, any>;
|
|
1676
|
+
}, "sensorFault"> & Omit<{
|
|
1677
|
+
readonly sensorFault: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
1678
|
+
sensorFault: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/schema").TypeFromPartialBitSchema<{
|
|
1679
|
+
generalFault: import("@project-chip/matter.js/schema").BitFlag;
|
|
1680
|
+
}>>;
|
|
1681
|
+
}>, any>;
|
|
1682
|
+
}, "sensorFault" | "alarmsStateChanged">>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Creates a default boolean state configuration cluster server.
|
|
1685
|
+
*
|
|
1686
|
+
* @param contact - Optional boolean value indicating the sensor fault state. Defaults to `false` if not provided.
|
|
1687
|
+
*/
|
|
1688
|
+
createDefaultBooleanStateConfigurationClusterServer(sensorFault?: boolean): void;
|
|
1319
1689
|
/**
|
|
1320
1690
|
* Get a default power source replaceable battery cluster server.
|
|
1321
1691
|
*
|
|
@@ -1334,7 +1704,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1334
1704
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1335
1705
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1336
1706
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1337
|
-
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "
|
|
1707
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "order" | "status" | "description"> & Omit<{
|
|
1338
1708
|
readonly batVoltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1339
1709
|
readonly batPercentRemaining: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1340
1710
|
readonly batTimeRemaining: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
@@ -1351,7 +1721,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1351
1721
|
readonly batApprovedChemistry: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<PowerSource.BatApprovedChemistry, any>;
|
|
1352
1722
|
readonly batCapacity: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
1353
1723
|
readonly batQuantity: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
1354
|
-
}, "
|
|
1724
|
+
}, "order" | "status" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1355
1725
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1356
1726
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1357
1727
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1365,7 +1735,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1365
1735
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1366
1736
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1367
1737
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1368
|
-
}>>, "
|
|
1738
|
+
}>>, "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
1739
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1370
1740
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1371
1741
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1402,7 +1772,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1402
1772
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1403
1773
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1404
1774
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1405
|
-
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "
|
|
1775
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "order" | "status" | "description"> & Omit<{
|
|
1406
1776
|
readonly batVoltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1407
1777
|
readonly batPercentRemaining: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1408
1778
|
readonly batTimeRemaining: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
@@ -1417,7 +1787,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1417
1787
|
readonly batFunctionalWhileCharging: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
1418
1788
|
readonly batChargingCurrent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1419
1789
|
readonly activeBatChargeFaults: import("@project-chip/matter-node.js/cluster").OptionalAttribute<PowerSource.BatChargeFault[], any>;
|
|
1420
|
-
}, "
|
|
1790
|
+
}, "order" | "status" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1421
1791
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1422
1792
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1423
1793
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1431,7 +1801,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1431
1801
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1432
1802
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1433
1803
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1434
|
-
}>>, "
|
|
1804
|
+
}>>, "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
1805
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1436
1806
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1437
1807
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1469,7 +1839,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1469
1839
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1470
1840
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1471
1841
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1472
|
-
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "
|
|
1842
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "order" | "status" | "description"> & Omit<{
|
|
1473
1843
|
readonly wiredAssessedInputVoltage: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1474
1844
|
readonly wiredAssessedInputFrequency: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number | null, any>;
|
|
1475
1845
|
readonly wiredCurrentType: import("@project-chip/matter-node.js/cluster").FixedAttribute<PowerSource.WiredCurrentType, any>;
|
|
@@ -1478,7 +1848,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1478
1848
|
readonly wiredMaximumCurrent: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
1479
1849
|
readonly wiredPresent: import("@project-chip/matter-node.js/cluster").OptionalAttribute<boolean, any>;
|
|
1480
1850
|
readonly activeWiredFaults: import("@project-chip/matter-node.js/cluster").OptionalAttribute<PowerSource.WiredFault[], any>;
|
|
1481
|
-
}, "
|
|
1851
|
+
}, "order" | "status" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1482
1852
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1483
1853
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1484
1854
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1492,7 +1862,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1492
1862
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1493
1863
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1494
1864
|
readonly replaceable: import("@project-chip/matter.js/schema").BitFlag;
|
|
1495
|
-
}>>, "
|
|
1865
|
+
}>>, "order" | "status" | "wiredAssessedInputVoltage" | "wiredAssessedInputFrequency" | "wiredCurrentType" | "wiredAssessedCurrent" | "wiredNominalVoltage" | "wiredMaximumCurrent" | "wiredPresent" | "activeWiredFaults" | "description" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
1496
1866
|
readonly wired: import("@project-chip/matter.js/schema").BitFlag;
|
|
1497
1867
|
readonly battery: import("@project-chip/matter.js/schema").BitFlag;
|
|
1498
1868
|
readonly rechargeable: import("@project-chip/matter.js/schema").BitFlag;
|
|
@@ -1510,14 +1880,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1510
1880
|
*/
|
|
1511
1881
|
createDefaultPowerSourceWiredClusterServer(wiredCurrentType?: PowerSource.WiredCurrentType): void;
|
|
1512
1882
|
/**
|
|
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.
|
|
1883
|
+
* @deprecated This function is deprecated by Matter 1.3 spec and will be removed in a future version.
|
|
1521
1884
|
*/
|
|
1522
1885
|
createDefaultPowerSourceConfigurationClusterServer(endpointNumber?: number): void;
|
|
1523
1886
|
/**
|
|
@@ -1812,7 +2175,7 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1812
2175
|
*/
|
|
1813
2176
|
createDefaultThermostatClusterServer(localTemperature?: number, occupiedHeatingSetpoint?: number, occupiedCoolingSetpoint?: number, minSetpointDeadBand?: number): void;
|
|
1814
2177
|
/**
|
|
1815
|
-
* Get a default time sync cluster server. Only needed to create a thermostat.
|
|
2178
|
+
* Get a default dummy time sync cluster server. Only needed to create a thermostat.
|
|
1816
2179
|
*/
|
|
1817
2180
|
getDefaultTimeSyncClusterServer(): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
1818
2181
|
readonly utcTime: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint | null, any>;
|
|
@@ -1862,9 +2225,289 @@ export declare class MatterbridgeDevice extends MatterbridgeDevice_base {
|
|
|
1862
2225
|
}>, any>;
|
|
1863
2226
|
}, never> & Omit<{}, "dstTableEmpty" | "dstStatus" | "timeZoneStatus">>;
|
|
1864
2227
|
/**
|
|
1865
|
-
* Creates a default time sync cluster server. Only needed to create a thermostat.
|
|
2228
|
+
* Creates a default dummy time sync cluster server. Only needed to create a thermostat.
|
|
1866
2229
|
*/
|
|
1867
2230
|
createDefaultTimeSyncClusterServer(): void;
|
|
2231
|
+
/**
|
|
2232
|
+
* Returns the default SmokeCOAlarmClusterServer.
|
|
2233
|
+
*
|
|
2234
|
+
* @param smokeState - The state of the smoke alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
|
|
2235
|
+
* @param coState - The state of the CO alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
|
|
2236
|
+
* @returns The default SmokeCOAlarmClusterServer.
|
|
2237
|
+
*/
|
|
2238
|
+
getDefaultSmokeCOAlarmClusterServer(smokeState?: SmokeCoAlarm.AlarmState, coState?: SmokeCoAlarm.AlarmState): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
2239
|
+
readonly expressedState: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.ExpressedState, any>;
|
|
2240
|
+
readonly batteryAlert: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.AlarmState, any>;
|
|
2241
|
+
readonly deviceMuted: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.MuteState, any>;
|
|
2242
|
+
readonly testInProgress: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
2243
|
+
readonly hardwareFaultAlert: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
2244
|
+
readonly endOfServiceAlert: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.EndOfService, any>;
|
|
2245
|
+
readonly interconnectSmokeAlarm: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.AlarmState, any>;
|
|
2246
|
+
readonly interconnectCoAlarm: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.AlarmState, any>;
|
|
2247
|
+
readonly expiryDate: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
2248
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2249
|
+
readonly smokeAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2250
|
+
readonly coAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2251
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "interconnectSmokeAlarm" | "interconnectCoAlarm" | "expressedState" | "batteryAlert" | "deviceMuted" | "testInProgress" | "hardwareFaultAlert" | "endOfServiceAlert" | "expiryDate"> & Omit<{
|
|
2252
|
+
readonly smokeState: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.AlarmState, any>;
|
|
2253
|
+
readonly contaminationState: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.ContaminationState, any>;
|
|
2254
|
+
readonly smokeSensitivityLevel: import("@project-chip/matter-node.js/cluster").OptionalWritableAttribute<SmokeCoAlarm.Sensitivity, any>;
|
|
2255
|
+
} & {
|
|
2256
|
+
readonly coState: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.AlarmState, any>;
|
|
2257
|
+
}, "interconnectSmokeAlarm" | "interconnectCoAlarm" | "expressedState" | "batteryAlert" | "deviceMuted" | "testInProgress" | "hardwareFaultAlert" | "endOfServiceAlert" | "expiryDate" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2258
|
+
readonly smokeAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2259
|
+
readonly coAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2260
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
2261
|
+
readonly expressedState: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.ExpressedState, any>;
|
|
2262
|
+
readonly batteryAlert: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.AlarmState, any>;
|
|
2263
|
+
readonly deviceMuted: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.MuteState, any>;
|
|
2264
|
+
readonly testInProgress: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
2265
|
+
readonly hardwareFaultAlert: import("@project-chip/matter-node.js/cluster").Attribute<boolean, any>;
|
|
2266
|
+
readonly endOfServiceAlert: import("@project-chip/matter-node.js/cluster").Attribute<SmokeCoAlarm.EndOfService, any>;
|
|
2267
|
+
readonly interconnectSmokeAlarm: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.AlarmState, any>;
|
|
2268
|
+
readonly interconnectCoAlarm: import("@project-chip/matter-node.js/cluster").OptionalAttribute<SmokeCoAlarm.AlarmState, any>;
|
|
2269
|
+
readonly expiryDate: import("@project-chip/matter-node.js/cluster").OptionalFixedAttribute<number, any>;
|
|
2270
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2271
|
+
readonly smokeAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2272
|
+
readonly coAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2273
|
+
}>>, "smokeState" | "contaminationState" | "smokeSensitivityLevel" | "interconnectSmokeAlarm" | "coState" | "interconnectCoAlarm" | "expressedState" | "batteryAlert" | "deviceMuted" | "testInProgress" | "hardwareFaultAlert" | "endOfServiceAlert" | "expiryDate" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2274
|
+
readonly smokeAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2275
|
+
readonly coAlarm: import("@project-chip/matter.js/schema").BitFlag;
|
|
2276
|
+
}>>, Pick<{
|
|
2277
|
+
readonly lowBattery: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2278
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2279
|
+
}>, any>;
|
|
2280
|
+
readonly hardwareFault: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2281
|
+
readonly endOfService: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2282
|
+
readonly selfTestComplete: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2283
|
+
readonly alarmMuted: import("@project-chip/matter-node.js/cluster").OptionalEvent<void, any>;
|
|
2284
|
+
readonly muteEnded: import("@project-chip/matter-node.js/cluster").OptionalEvent<void, any>;
|
|
2285
|
+
readonly allClear: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2286
|
+
}, "lowBattery" | "hardwareFault" | "endOfService" | "selfTestComplete" | "alarmMuted" | "muteEnded" | "allClear"> & Omit<{
|
|
2287
|
+
readonly smokeAlarm: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2288
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2289
|
+
}>, any>;
|
|
2290
|
+
readonly interconnectSmokeAlarm: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2291
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2292
|
+
}>, any>;
|
|
2293
|
+
} & {
|
|
2294
|
+
readonly coAlarm: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2295
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2296
|
+
}>, any>;
|
|
2297
|
+
readonly interconnectCoAlarm: import("@project-chip/matter-node.js/cluster").OptionalEvent<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2298
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2299
|
+
}>, any>;
|
|
2300
|
+
}, "lowBattery" | "hardwareFault" | "endOfService" | "selfTestComplete" | "alarmMuted" | "muteEnded" | "allClear"> & Omit<{
|
|
2301
|
+
readonly lowBattery: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2302
|
+
alarmSeverityLevel: import("@project-chip/matter.js/tlv").FieldType<SmokeCoAlarm.AlarmState>;
|
|
2303
|
+
}>, any>;
|
|
2304
|
+
readonly hardwareFault: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2305
|
+
readonly endOfService: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2306
|
+
readonly selfTestComplete: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2307
|
+
readonly alarmMuted: import("@project-chip/matter-node.js/cluster").OptionalEvent<void, any>;
|
|
2308
|
+
readonly muteEnded: import("@project-chip/matter-node.js/cluster").OptionalEvent<void, any>;
|
|
2309
|
+
readonly allClear: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2310
|
+
}, "smokeAlarm" | "interconnectSmokeAlarm" | "coAlarm" | "interconnectCoAlarm" | "lowBattery" | "hardwareFault" | "endOfService" | "selfTestComplete" | "alarmMuted" | "muteEnded" | "allClear">>;
|
|
2311
|
+
/**
|
|
2312
|
+
* Create the default SmokeCOAlarmClusterServer.
|
|
2313
|
+
*
|
|
2314
|
+
* @param smokeState - The state of the smoke alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
|
|
2315
|
+
* @param coState - The state of the CO alarm. Defaults to SmokeCoAlarm.AlarmState.Normal.
|
|
2316
|
+
* @returns The default SmokeCOAlarmClusterServer.
|
|
2317
|
+
*/
|
|
2318
|
+
createDefaultSmokeCOAlarmClusterServer(smokeState?: SmokeCoAlarm.AlarmState, coState?: SmokeCoAlarm.AlarmState): void;
|
|
2319
|
+
/**
|
|
2320
|
+
* Returns the default Carbon Monoxide Concentration Measurement Cluster Server.
|
|
2321
|
+
*
|
|
2322
|
+
* @param {number} measuredValue - The measured value of the concentration.
|
|
2323
|
+
* @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
|
|
2324
|
+
* @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
|
|
2325
|
+
* @returns {ClusterServer} - The default Carbon Monoxide Concentration Measurement Cluster Server.
|
|
2326
|
+
*/
|
|
2327
|
+
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<{
|
|
2328
|
+
readonly measurementMedium: import("@project-chip/matter-node.js/cluster").FixedAttribute<ConcentrationMeasurement.MeasurementMedium, any>;
|
|
2329
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2330
|
+
readonly numericMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2331
|
+
readonly levelIndication: import("@project-chip/matter.js/schema").BitFlag;
|
|
2332
|
+
readonly mediumLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2333
|
+
readonly criticalLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2334
|
+
readonly peakMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2335
|
+
readonly averageMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2336
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "measurementMedium"> & Omit<{
|
|
2337
|
+
readonly measuredValue: import("@project-chip/matter-node.js/cluster").Attribute<number | null, any>;
|
|
2338
|
+
readonly minMeasuredValue: import("@project-chip/matter-node.js/cluster").Attribute<number | null, any>;
|
|
2339
|
+
readonly maxMeasuredValue: import("@project-chip/matter-node.js/cluster").Attribute<number | null, any>;
|
|
2340
|
+
readonly uncertainty: import("@project-chip/matter-node.js/cluster").OptionalAttribute<number, any>;
|
|
2341
|
+
readonly measurementUnit: import("@project-chip/matter-node.js/cluster").FixedAttribute<ConcentrationMeasurement.MeasurementUnit, any>;
|
|
2342
|
+
}, "measurementMedium" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2343
|
+
readonly numericMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2344
|
+
readonly levelIndication: import("@project-chip/matter.js/schema").BitFlag;
|
|
2345
|
+
readonly mediumLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2346
|
+
readonly criticalLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2347
|
+
readonly peakMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2348
|
+
readonly averageMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2349
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
2350
|
+
readonly measurementMedium: import("@project-chip/matter-node.js/cluster").FixedAttribute<ConcentrationMeasurement.MeasurementMedium, any>;
|
|
2351
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2352
|
+
readonly numericMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2353
|
+
readonly levelIndication: import("@project-chip/matter.js/schema").BitFlag;
|
|
2354
|
+
readonly mediumLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2355
|
+
readonly criticalLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2356
|
+
readonly peakMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2357
|
+
readonly averageMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2358
|
+
}>>, "measuredValue" | "minMeasuredValue" | "maxMeasuredValue" | "uncertainty" | "measurementUnit" | "measurementMedium" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2359
|
+
readonly numericMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2360
|
+
readonly levelIndication: import("@project-chip/matter.js/schema").BitFlag;
|
|
2361
|
+
readonly mediumLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2362
|
+
readonly criticalLevel: import("@project-chip/matter.js/schema").BitFlag;
|
|
2363
|
+
readonly peakMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2364
|
+
readonly averageMeasurement: import("@project-chip/matter.js/schema").BitFlag;
|
|
2365
|
+
}>>, Pick<{}, never> & Omit<{}, never>>;
|
|
2366
|
+
/**
|
|
2367
|
+
* Create the default Carbon Monoxide Concentration Measurement Cluster Server.
|
|
2368
|
+
*
|
|
2369
|
+
* @param {number} measuredValue - The measured value of the concentration.
|
|
2370
|
+
* @param {ConcentrationMeasurement.MeasurementUnit} measurementUnit - The unit of measurement.
|
|
2371
|
+
* @param {ConcentrationMeasurement.MeasurementMedium} measurementMedium - The medium of measurement.
|
|
2372
|
+
*/
|
|
2373
|
+
createDefaultCarbonMonoxideConcentrationMeasurementClusterServer(measuredValue?: number, measurementUnit?: ConcentrationMeasurement.MeasurementUnit, measurementMedium?: ConcentrationMeasurement.MeasurementMedium): void;
|
|
2374
|
+
/**
|
|
2375
|
+
* Returns the default fan control cluster server rev 2.
|
|
2376
|
+
*
|
|
2377
|
+
* @param fanMode The fan mode to set. Defaults to `FanControl.FanMode.Off`.
|
|
2378
|
+
* @returns The default fan control cluster server.
|
|
2379
|
+
*/
|
|
2380
|
+
getDefaultFanControlClusterServer(fanMode?: FanControl.FanMode): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
2381
|
+
readonly fanMode: import("@project-chip/matter-node.js/cluster").WritableAttribute<FanControl.FanMode, any>;
|
|
2382
|
+
readonly fanModeSequence: import("@project-chip/matter-node.js/cluster").WritableAttribute<FanControl.FanModeSequence, any>;
|
|
2383
|
+
readonly percentSetting: import("@project-chip/matter-node.js/cluster").WritableAttribute<number | null, any>;
|
|
2384
|
+
readonly percentCurrent: import("@project-chip/matter-node.js/cluster").Attribute<number, any>;
|
|
2385
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2386
|
+
readonly multiSpeed: import("@project-chip/matter.js/schema").BitFlag;
|
|
2387
|
+
readonly auto: import("@project-chip/matter.js/schema").BitFlag;
|
|
2388
|
+
readonly rocking: import("@project-chip/matter.js/schema").BitFlag;
|
|
2389
|
+
readonly wind: import("@project-chip/matter.js/schema").BitFlag;
|
|
2390
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "fanMode" | "fanModeSequence" | "percentSetting" | "percentCurrent"> & Omit<{
|
|
2391
|
+
readonly speedMax: import("@project-chip/matter-node.js/cluster").FixedAttribute<number, any>;
|
|
2392
|
+
readonly speedSetting: import("@project-chip/matter-node.js/cluster").WritableAttribute<number | null, any>;
|
|
2393
|
+
readonly speedCurrent: import("@project-chip/matter-node.js/cluster").Attribute<number, any>;
|
|
2394
|
+
}, "fanMode" | "fanModeSequence" | "percentSetting" | "percentCurrent" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2395
|
+
readonly multiSpeed: import("@project-chip/matter.js/schema").BitFlag;
|
|
2396
|
+
readonly auto: import("@project-chip/matter.js/schema").BitFlag;
|
|
2397
|
+
readonly rocking: import("@project-chip/matter.js/schema").BitFlag;
|
|
2398
|
+
readonly wind: import("@project-chip/matter.js/schema").BitFlag;
|
|
2399
|
+
}>> & Omit<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
|
+
}>>, "speedMax" | "speedSetting" | "speedCurrent" | "fanMode" | "fanModeSequence" | "percentSetting" | "percentCurrent" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2410
|
+
readonly multiSpeed: import("@project-chip/matter.js/schema").BitFlag;
|
|
2411
|
+
readonly auto: import("@project-chip/matter.js/schema").BitFlag;
|
|
2412
|
+
readonly rocking: import("@project-chip/matter.js/schema").BitFlag;
|
|
2413
|
+
readonly wind: import("@project-chip/matter.js/schema").BitFlag;
|
|
2414
|
+
}>>, Pick<{}, never> & Omit<{}, never>>;
|
|
2415
|
+
/**
|
|
2416
|
+
* Create the default fan control cluster server rev 2.
|
|
2417
|
+
*
|
|
2418
|
+
* @param fanMode The fan mode to set. Defaults to `FanControl.FanMode.Off`.
|
|
2419
|
+
* @returns The default fan control cluster server.
|
|
2420
|
+
*/
|
|
2421
|
+
createDefaultFanControlClusterServer(fanMode?: FanControl.FanMode): void;
|
|
2422
|
+
getDefaultDeviceEnergyManagementClusterServer(): import("@project-chip/matter-node.js/cluster").ClusterServerObj<Pick<import("@project-chip/matter-node.js/util").Merge<{
|
|
2423
|
+
readonly esaType: import("@project-chip/matter-node.js/cluster").FixedAttribute<DeviceEnergyManagement.EsaType, any>;
|
|
2424
|
+
readonly esaCanGenerate: import("@project-chip/matter-node.js/cluster").FixedAttribute<boolean, any>;
|
|
2425
|
+
readonly esaState: import("@project-chip/matter-node.js/cluster").Attribute<DeviceEnergyManagement.EsaState, any>;
|
|
2426
|
+
readonly absMinPower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint, any>;
|
|
2427
|
+
readonly absMaxPower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint, any>;
|
|
2428
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2429
|
+
readonly powerAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2430
|
+
readonly powerForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2431
|
+
readonly stateForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2432
|
+
readonly startTimeAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2433
|
+
readonly pausable: import("@project-chip/matter.js/schema").BitFlag;
|
|
2434
|
+
readonly forecastAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2435
|
+
readonly constraintBasedAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2436
|
+
}>>, "clusterRevision" | "featureMap" | "attributeList" | "eventList" | "acceptedCommandList" | "generatedCommandList" | "esaType" | "esaCanGenerate" | "esaState" | "absMinPower" | "absMaxPower"> & Omit<{
|
|
2437
|
+
readonly forecast: import("@project-chip/matter-node.js/cluster").Attribute<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2438
|
+
forecastId: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2439
|
+
activeSlotNumber: import("@project-chip/matter.js/tlv").FieldType<number | null>;
|
|
2440
|
+
startTime: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2441
|
+
endTime: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2442
|
+
earliestStartTime: import("@project-chip/matter.js/tlv").OptionalFieldType<number | null>;
|
|
2443
|
+
latestEndTime: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2444
|
+
isPauseable: import("@project-chip/matter.js/tlv").FieldType<boolean>;
|
|
2445
|
+
slots: import("@project-chip/matter.js/tlv").FieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2446
|
+
minDuration: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2447
|
+
maxDuration: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2448
|
+
defaultDuration: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2449
|
+
elapsedSlotTime: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2450
|
+
remainingSlotTime: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2451
|
+
slotIsPauseable: import("@project-chip/matter.js/tlv").OptionalFieldType<boolean>;
|
|
2452
|
+
minPauseDuration: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2453
|
+
maxPauseDuration: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2454
|
+
manufacturerEsaState: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2455
|
+
nominalPower: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2456
|
+
minPower: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2457
|
+
maxPower: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2458
|
+
nominalEnergy: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2459
|
+
costs: import("@project-chip/matter.js/tlv").OptionalFieldType<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2460
|
+
costType: import("@project-chip/matter.js/tlv").FieldType<DeviceEnergyManagement.CostType>;
|
|
2461
|
+
value: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2462
|
+
decimalPoints: import("@project-chip/matter.js/tlv").FieldType<number>;
|
|
2463
|
+
currency: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2464
|
+
}>[]>;
|
|
2465
|
+
minPowerAdjustment: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2466
|
+
maxPowerAdjustment: import("@project-chip/matter.js/tlv").OptionalFieldType<number | bigint>;
|
|
2467
|
+
minDurationAdjustment: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2468
|
+
maxDurationAdjustment: import("@project-chip/matter.js/tlv").OptionalFieldType<number>;
|
|
2469
|
+
}>[]>;
|
|
2470
|
+
forecastUpdateReason: import("@project-chip/matter.js/tlv").FieldType<DeviceEnergyManagement.ForecastUpdateReason>;
|
|
2471
|
+
}> | null, any>;
|
|
2472
|
+
} & {
|
|
2473
|
+
readonly optOutState: import("@project-chip/matter-node.js/cluster").Attribute<DeviceEnergyManagement.OptOutState, any>;
|
|
2474
|
+
}, "esaType" | "esaCanGenerate" | "esaState" | "absMinPower" | "absMaxPower" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2475
|
+
readonly powerAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2476
|
+
readonly powerForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2477
|
+
readonly stateForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2478
|
+
readonly startTimeAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2479
|
+
readonly pausable: import("@project-chip/matter.js/schema").BitFlag;
|
|
2480
|
+
readonly forecastAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2481
|
+
readonly constraintBasedAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2482
|
+
}>> & Omit<import("@project-chip/matter-node.js/util").Merge<{
|
|
2483
|
+
readonly esaType: import("@project-chip/matter-node.js/cluster").FixedAttribute<DeviceEnergyManagement.EsaType, any>;
|
|
2484
|
+
readonly esaCanGenerate: import("@project-chip/matter-node.js/cluster").FixedAttribute<boolean, any>;
|
|
2485
|
+
readonly esaState: import("@project-chip/matter-node.js/cluster").Attribute<DeviceEnergyManagement.EsaState, any>;
|
|
2486
|
+
readonly absMinPower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint, any>;
|
|
2487
|
+
readonly absMaxPower: import("@project-chip/matter-node.js/cluster").Attribute<number | bigint, any>;
|
|
2488
|
+
}, import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2489
|
+
readonly powerAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2490
|
+
readonly powerForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2491
|
+
readonly stateForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2492
|
+
readonly startTimeAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2493
|
+
readonly pausable: import("@project-chip/matter.js/schema").BitFlag;
|
|
2494
|
+
readonly forecastAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2495
|
+
readonly constraintBasedAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2496
|
+
}>>, "forecast" | "optOutState" | "esaType" | "esaCanGenerate" | "esaState" | "absMinPower" | "absMaxPower" | keyof import("@project-chip/matter-node.js/cluster").GlobalAttributes<{
|
|
2497
|
+
readonly powerAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2498
|
+
readonly powerForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2499
|
+
readonly stateForecastReporting: import("@project-chip/matter.js/schema").BitFlag;
|
|
2500
|
+
readonly startTimeAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2501
|
+
readonly pausable: import("@project-chip/matter.js/schema").BitFlag;
|
|
2502
|
+
readonly forecastAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2503
|
+
readonly constraintBasedAdjustment: import("@project-chip/matter.js/schema").BitFlag;
|
|
2504
|
+
}>>, Pick<{}, never> & Omit<{
|
|
2505
|
+
readonly paused: import("@project-chip/matter-node.js/cluster").Event<void, any>;
|
|
2506
|
+
readonly resumed: import("@project-chip/matter-node.js/cluster").Event<import("@project-chip/matter.js/tlv").TypeFromFields<{
|
|
2507
|
+
cause: import("@project-chip/matter.js/tlv").FieldType<DeviceEnergyManagement.Cause>;
|
|
2508
|
+
}>, any>;
|
|
2509
|
+
}, never> & Omit<{}, "paused" | "resumed">>;
|
|
2510
|
+
getDefaultDeviceEnergyManagementModeClusterServer(): import("@project-chip/matter-node.js/cluster").ClusterServerObj<{}, {}>;
|
|
1868
2511
|
}
|
|
1869
2512
|
export {};
|
|
1870
2513
|
//# sourceMappingURL=matterbridgeDevice.d.ts.map
|