@matterbridge/core 3.7.10 → 3.8.0-dev-20260524-eed6b4a

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.
Files changed (52) hide show
  1. package/dist/behaviors/activatedCarbonFilterMonitoringServer.d.ts +5 -2
  2. package/dist/behaviors/bindingServer.js +0 -2
  3. package/dist/behaviors/booleanStateConfigurationServer.d.ts +6 -1
  4. package/dist/behaviors/colorControlServer.d.ts +20 -774
  5. package/dist/behaviors/deviceEnergyManagementServer.d.ts +9 -299
  6. package/dist/behaviors/doorLockServer.d.ts +29 -47
  7. package/dist/behaviors/doorLockServer.js +11 -299
  8. package/dist/behaviors/fanControlServer.d.ts +8 -1
  9. package/dist/behaviors/hepaFilterMonitoringServer.d.ts +5 -2
  10. package/dist/behaviors/smokeCoAlarmServer.d.ts +4 -77
  11. package/dist/behaviors/thermostatServer.d.ts +20 -722
  12. package/dist/behaviors/valveConfigurationAndControlServer.d.ts +4 -1
  13. package/dist/behaviors/windowCoveringServer.d.ts +28 -564
  14. package/dist/clusters/closure-control.d.ts +130 -620
  15. package/dist/clusters/closure-control.js +15 -170
  16. package/dist/clusters/closure-dimension.d.ts +148 -814
  17. package/dist/clusters/closure-dimension.js +15 -202
  18. package/dist/clusters/export.d.ts +1 -3
  19. package/dist/clusters/export.js +1 -3
  20. package/dist/clusters/soil-measurement.d.ts +31 -31
  21. package/dist/clusters/soil-measurement.js +29 -19
  22. package/dist/devices/closure.d.ts +14 -291
  23. package/dist/devices/closure.js +6 -13
  24. package/dist/devices/closurePanel.d.ts +13 -370
  25. package/dist/devices/closurePanel.js +9 -15
  26. package/dist/devices/evse.d.ts +7 -1
  27. package/dist/devices/heatPump.js +5 -5
  28. package/dist/devices/irrigationSystem.js +2 -2
  29. package/dist/devices/microwaveOven.d.ts +5 -76
  30. package/dist/devices/roboticVacuumCleaner.js +5 -5
  31. package/dist/devices/soilSensor.d.ts +0 -15
  32. package/dist/devices/soilSensor.js +4 -20
  33. package/dist/devices/temperatureControl.d.ts +10 -130
  34. package/dist/frontend.js +9 -9
  35. package/dist/helpers.js +0 -8
  36. package/dist/jestutils/jestBroadcastServerSpy.d.ts +2 -2
  37. package/dist/jestutils/jestMatterTest.js +4 -4
  38. package/dist/jestutils/jestMatterbridgeEndpointSpy.d.ts +34 -37
  39. package/dist/jestutils/jestMatterbridgePlatformSpy.d.ts +4 -4
  40. package/dist/jestutils/jestMatterbridgeTest.js +1 -1
  41. package/dist/matter/export.d.ts +11 -0
  42. package/dist/matter/export.js +11 -0
  43. package/dist/matterbridge.d.ts +3 -0
  44. package/dist/matterbridge.js +10 -4
  45. package/dist/matterbridgeDeviceTypes.d.ts +15 -0
  46. package/dist/matterbridgeDeviceTypes.js +305 -162
  47. package/dist/matterbridgeEndpoint.d.ts +35 -25
  48. package/dist/matterbridgeEndpoint.js +6 -7
  49. package/dist/matterbridgeEndpointCommandHandler.d.ts +3 -59
  50. package/dist/matterbridgeEndpointHelpers.d.ts +83 -1382
  51. package/dist/matterbridgeEndpointHelpers.js +20 -5
  52. package/package.json +8 -8
@@ -16,7 +16,7 @@ import { PressureMeasurement } from '@matter/types/clusters/pressure-measurement
16
16
  import { RelativeHumidityMeasurement } from '@matter/types/clusters/relative-humidity-measurement';
17
17
  import { TemperatureMeasurement } from '@matter/types/clusters/temperature-measurement';
18
18
  import { ClusterId, VendorId } from '@matter/types/datatype';
19
- import { MeasurementType, Semtag } from '@matter/types/globals';
19
+ import { Semtag } from '@matter/types/globals';
20
20
  import { AnsiLogger } from 'node-ansi-logger';
21
21
  import { MatterbridgeDeviceEnergyManagementModeServer } from './behaviors/deviceEnergyManagementModeServer.js';
22
22
  import { MatterbridgeDeviceEnergyManagementServer } from './behaviors/deviceEnergyManagementServer.js';
@@ -57,1384 +57,85 @@ export declare function subscribeAttribute(endpoint: MatterbridgeEndpoint, clust
57
57
  export declare function setCluster(endpoint: MatterbridgeEndpoint, cluster: Behavior.Type | ClusterType | ClusterId | string, value: Record<string, boolean | number | bigint | string | object | undefined | null>, log?: AnsiLogger): Promise<boolean>;
58
58
  export declare function getCluster(endpoint: MatterbridgeEndpoint, cluster: Behavior.Type | ClusterType | ClusterId | string, log?: AnsiLogger): Record<string, boolean | number | bigint | string | object | undefined | null> | undefined;
59
59
  export declare function triggerEvent(endpoint: MatterbridgeEndpoint, cluster: Behavior.Type | ClusterType | ClusterId | string, event: string, payload: Record<string, boolean | number | bigint | string | object | undefined | null>, log?: AnsiLogger): Promise<boolean>;
60
- export declare function getDefaultPowerSourceWiredClusterServer(wiredCurrentType?: PowerSource.WiredCurrentType): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<ClusterType.Of<{
61
- readonly id: 47;
62
- readonly name: "PowerSource";
63
- readonly revision: 3;
64
- readonly features: {
65
- readonly wired: import("@matter/types").BitFlag;
66
- readonly battery: import("@matter/types").BitFlag;
67
- readonly rechargeable: import("@matter/types").BitFlag;
68
- readonly replaceable: import("@matter/types").BitFlag;
69
- };
70
- readonly attributes: {
71
- readonly status: import("@matter/types/cluster").Attribute<PowerSource.PowerSourceStatus, any>;
72
- readonly order: import("@matter/types/cluster").Attribute<number, any>;
73
- readonly description: import("@matter/types/cluster").FixedAttribute<string, any>;
74
- readonly endpointList: import("@matter/types/cluster").Attribute<import("@matter/types/datatype").EndpointNumber[], any>;
75
- };
76
- readonly extensions: readonly [{
77
- readonly flags: {
78
- readonly wired: true;
79
- };
80
- readonly component: {
81
- readonly attributes: {
82
- readonly wiredAssessedInputVoltage: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
83
- readonly wiredAssessedInputFrequency: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
84
- readonly wiredCurrentType: import("@matter/types/cluster").FixedAttribute<PowerSource.WiredCurrentType, any>;
85
- readonly wiredAssessedCurrent: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
86
- readonly wiredNominalVoltage: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
87
- readonly wiredMaximumCurrent: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
88
- readonly wiredPresent: import("@matter/types/cluster").OptionalAttribute<boolean, any>;
89
- readonly activeWiredFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.WiredFault[], any>;
90
- };
91
- readonly events: {
92
- readonly wiredFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
93
- current: import("@matter/types").FieldType<PowerSource.WiredFault[]>;
94
- previous: import("@matter/types").FieldType<PowerSource.WiredFault[]>;
95
- }>, any>;
96
- };
97
- };
98
- }, {
99
- readonly flags: {
100
- readonly battery: true;
101
- };
102
- readonly component: {
103
- readonly attributes: {
104
- readonly batVoltage: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
105
- readonly batPercentRemaining: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
106
- readonly batTimeRemaining: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
107
- readonly batChargeLevel: import("@matter/types/cluster").Attribute<PowerSource.BatChargeLevel, any>;
108
- readonly batReplacementNeeded: import("@matter/types/cluster").Attribute<boolean, any>;
109
- readonly batReplaceability: import("@matter/types/cluster").FixedAttribute<PowerSource.BatReplaceability, any>;
110
- readonly batPresent: import("@matter/types/cluster").OptionalAttribute<boolean, any>;
111
- readonly activeBatFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.BatFault[], any>;
112
- };
113
- readonly events: {
114
- readonly batFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
115
- current: import("@matter/types").FieldType<PowerSource.BatFault[]>;
116
- previous: import("@matter/types").FieldType<PowerSource.BatFault[]>;
117
- }>, any>;
118
- };
119
- };
120
- }, {
121
- readonly flags: {
122
- readonly replaceable: true;
123
- };
124
- readonly component: {
125
- readonly attributes: {
126
- readonly batReplacementDescription: import("@matter/types/cluster").FixedAttribute<string, any>;
127
- readonly batCommonDesignation: import("@matter/types/cluster").OptionalFixedAttribute<PowerSource.BatCommonDesignation, any>;
128
- readonly batAnsiDesignation: import("@matter/types/cluster").OptionalFixedAttribute<string, any>;
129
- readonly batIecDesignation: import("@matter/types/cluster").OptionalFixedAttribute<string, any>;
130
- readonly batApprovedChemistry: import("@matter/types/cluster").OptionalFixedAttribute<PowerSource.BatApprovedChemistry, any>;
131
- readonly batQuantity: import("@matter/types/cluster").FixedAttribute<number, any>;
132
- };
133
- };
134
- }, {
135
- readonly flags: {
136
- readonly replaceable: true;
137
- };
138
- readonly component: {
139
- readonly attributes: {
140
- readonly batCapacity: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
141
- };
142
- };
143
- }, {
144
- readonly flags: {
145
- readonly rechargeable: true;
146
- };
147
- readonly component: {
148
- readonly attributes: {
149
- readonly batCapacity: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
150
- };
151
- };
152
- }, {
153
- readonly flags: {
154
- readonly rechargeable: true;
155
- };
156
- readonly component: {
157
- readonly attributes: {
158
- readonly batChargeState: import("@matter/types/cluster").Attribute<PowerSource.BatChargeState, any>;
159
- readonly batTimeToFullCharge: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
160
- readonly batFunctionalWhileCharging: import("@matter/types/cluster").Attribute<boolean, any>;
161
- readonly batChargingCurrent: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
162
- readonly activeBatChargeFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.BatChargeFault[], any>;
163
- };
164
- readonly events: {
165
- readonly batChargeFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
166
- current: import("@matter/types").FieldType<PowerSource.BatChargeFault[]>;
167
- previous: import("@matter/types").FieldType<PowerSource.BatChargeFault[]>;
168
- }>, any>;
169
- };
170
- };
171
- }, {
172
- readonly flags: {
173
- readonly rechargeable: true;
174
- readonly battery: false;
175
- };
176
- readonly component: false;
177
- }, {
178
- readonly flags: {
179
- readonly replaceable: true;
180
- readonly battery: false;
181
- };
182
- readonly component: false;
183
- }, {
184
- readonly flags: {
185
- readonly wired: true;
186
- readonly battery: true;
187
- };
188
- readonly component: false;
189
- }, {
190
- readonly flags: {
191
- readonly wired: false;
192
- readonly battery: false;
193
- };
194
- readonly component: false;
195
- }];
196
- }>, readonly [PowerSource.Feature.Wired]>, typeof MatterbridgePowerSourceServer>>;
197
- export declare function getDefaultPowerSourceBatteryClusterServer(batPercentRemaining?: null | number, batChargeLevel?: PowerSource.BatChargeLevel, batVoltage?: null | number, batReplaceability?: PowerSource.BatReplaceability): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<ClusterType.Of<{
198
- readonly id: 47;
199
- readonly name: "PowerSource";
200
- readonly revision: 3;
201
- readonly features: {
202
- readonly wired: import("@matter/types").BitFlag;
203
- readonly battery: import("@matter/types").BitFlag;
204
- readonly rechargeable: import("@matter/types").BitFlag;
205
- readonly replaceable: import("@matter/types").BitFlag;
206
- };
207
- readonly attributes: {
208
- readonly status: import("@matter/types/cluster").Attribute<PowerSource.PowerSourceStatus, any>;
209
- readonly order: import("@matter/types/cluster").Attribute<number, any>;
210
- readonly description: import("@matter/types/cluster").FixedAttribute<string, any>;
211
- readonly endpointList: import("@matter/types/cluster").Attribute<import("@matter/types/datatype").EndpointNumber[], any>;
212
- };
213
- readonly extensions: readonly [{
214
- readonly flags: {
215
- readonly wired: true;
216
- };
217
- readonly component: {
218
- readonly attributes: {
219
- readonly wiredAssessedInputVoltage: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
220
- readonly wiredAssessedInputFrequency: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
221
- readonly wiredCurrentType: import("@matter/types/cluster").FixedAttribute<PowerSource.WiredCurrentType, any>;
222
- readonly wiredAssessedCurrent: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
223
- readonly wiredNominalVoltage: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
224
- readonly wiredMaximumCurrent: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
225
- readonly wiredPresent: import("@matter/types/cluster").OptionalAttribute<boolean, any>;
226
- readonly activeWiredFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.WiredFault[], any>;
227
- };
228
- readonly events: {
229
- readonly wiredFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
230
- current: import("@matter/types").FieldType<PowerSource.WiredFault[]>;
231
- previous: import("@matter/types").FieldType<PowerSource.WiredFault[]>;
232
- }>, any>;
233
- };
234
- };
235
- }, {
236
- readonly flags: {
237
- readonly battery: true;
238
- };
239
- readonly component: {
240
- readonly attributes: {
241
- readonly batVoltage: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
242
- readonly batPercentRemaining: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
243
- readonly batTimeRemaining: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
244
- readonly batChargeLevel: import("@matter/types/cluster").Attribute<PowerSource.BatChargeLevel, any>;
245
- readonly batReplacementNeeded: import("@matter/types/cluster").Attribute<boolean, any>;
246
- readonly batReplaceability: import("@matter/types/cluster").FixedAttribute<PowerSource.BatReplaceability, any>;
247
- readonly batPresent: import("@matter/types/cluster").OptionalAttribute<boolean, any>;
248
- readonly activeBatFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.BatFault[], any>;
249
- };
250
- readonly events: {
251
- readonly batFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
252
- current: import("@matter/types").FieldType<PowerSource.BatFault[]>;
253
- previous: import("@matter/types").FieldType<PowerSource.BatFault[]>;
254
- }>, any>;
255
- };
256
- };
257
- }, {
258
- readonly flags: {
259
- readonly replaceable: true;
260
- };
261
- readonly component: {
262
- readonly attributes: {
263
- readonly batReplacementDescription: import("@matter/types/cluster").FixedAttribute<string, any>;
264
- readonly batCommonDesignation: import("@matter/types/cluster").OptionalFixedAttribute<PowerSource.BatCommonDesignation, any>;
265
- readonly batAnsiDesignation: import("@matter/types/cluster").OptionalFixedAttribute<string, any>;
266
- readonly batIecDesignation: import("@matter/types/cluster").OptionalFixedAttribute<string, any>;
267
- readonly batApprovedChemistry: import("@matter/types/cluster").OptionalFixedAttribute<PowerSource.BatApprovedChemistry, any>;
268
- readonly batQuantity: import("@matter/types/cluster").FixedAttribute<number, any>;
269
- };
270
- };
271
- }, {
272
- readonly flags: {
273
- readonly replaceable: true;
274
- };
275
- readonly component: {
276
- readonly attributes: {
277
- readonly batCapacity: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
278
- };
279
- };
280
- }, {
281
- readonly flags: {
282
- readonly rechargeable: true;
283
- };
284
- readonly component: {
285
- readonly attributes: {
286
- readonly batCapacity: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
287
- };
288
- };
289
- }, {
290
- readonly flags: {
291
- readonly rechargeable: true;
292
- };
293
- readonly component: {
294
- readonly attributes: {
295
- readonly batChargeState: import("@matter/types/cluster").Attribute<PowerSource.BatChargeState, any>;
296
- readonly batTimeToFullCharge: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
297
- readonly batFunctionalWhileCharging: import("@matter/types/cluster").Attribute<boolean, any>;
298
- readonly batChargingCurrent: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
299
- readonly activeBatChargeFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.BatChargeFault[], any>;
300
- };
301
- readonly events: {
302
- readonly batChargeFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
303
- current: import("@matter/types").FieldType<PowerSource.BatChargeFault[]>;
304
- previous: import("@matter/types").FieldType<PowerSource.BatChargeFault[]>;
305
- }>, any>;
306
- };
307
- };
308
- }, {
309
- readonly flags: {
310
- readonly rechargeable: true;
311
- readonly battery: false;
312
- };
313
- readonly component: false;
314
- }, {
315
- readonly flags: {
316
- readonly replaceable: true;
317
- readonly battery: false;
318
- };
319
- readonly component: false;
320
- }, {
321
- readonly flags: {
322
- readonly wired: true;
323
- readonly battery: true;
324
- };
325
- readonly component: false;
326
- }, {
327
- readonly flags: {
328
- readonly wired: false;
329
- readonly battery: false;
330
- };
331
- readonly component: false;
332
- }];
333
- }>, readonly [PowerSource.Feature.Battery]>, typeof MatterbridgePowerSourceServer>>;
334
- export declare function getDefaultPowerSourceReplaceableBatteryClusterServer(batPercentRemaining?: number, batChargeLevel?: PowerSource.BatChargeLevel, batVoltage?: number, batReplacementDescription?: string, batQuantity?: number, batReplaceability?: PowerSource.BatReplaceability): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<ClusterType.Of<{
335
- readonly id: 47;
336
- readonly name: "PowerSource";
337
- readonly revision: 3;
338
- readonly features: {
339
- readonly wired: import("@matter/types").BitFlag;
340
- readonly battery: import("@matter/types").BitFlag;
341
- readonly rechargeable: import("@matter/types").BitFlag;
342
- readonly replaceable: import("@matter/types").BitFlag;
343
- };
344
- readonly attributes: {
345
- readonly status: import("@matter/types/cluster").Attribute<PowerSource.PowerSourceStatus, any>;
346
- readonly order: import("@matter/types/cluster").Attribute<number, any>;
347
- readonly description: import("@matter/types/cluster").FixedAttribute<string, any>;
348
- readonly endpointList: import("@matter/types/cluster").Attribute<import("@matter/types/datatype").EndpointNumber[], any>;
349
- };
350
- readonly extensions: readonly [{
351
- readonly flags: {
352
- readonly wired: true;
353
- };
354
- readonly component: {
355
- readonly attributes: {
356
- readonly wiredAssessedInputVoltage: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
357
- readonly wiredAssessedInputFrequency: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
358
- readonly wiredCurrentType: import("@matter/types/cluster").FixedAttribute<PowerSource.WiredCurrentType, any>;
359
- readonly wiredAssessedCurrent: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
360
- readonly wiredNominalVoltage: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
361
- readonly wiredMaximumCurrent: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
362
- readonly wiredPresent: import("@matter/types/cluster").OptionalAttribute<boolean, any>;
363
- readonly activeWiredFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.WiredFault[], any>;
364
- };
365
- readonly events: {
366
- readonly wiredFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
367
- current: import("@matter/types").FieldType<PowerSource.WiredFault[]>;
368
- previous: import("@matter/types").FieldType<PowerSource.WiredFault[]>;
369
- }>, any>;
370
- };
371
- };
372
- }, {
373
- readonly flags: {
374
- readonly battery: true;
375
- };
376
- readonly component: {
377
- readonly attributes: {
378
- readonly batVoltage: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
379
- readonly batPercentRemaining: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
380
- readonly batTimeRemaining: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
381
- readonly batChargeLevel: import("@matter/types/cluster").Attribute<PowerSource.BatChargeLevel, any>;
382
- readonly batReplacementNeeded: import("@matter/types/cluster").Attribute<boolean, any>;
383
- readonly batReplaceability: import("@matter/types/cluster").FixedAttribute<PowerSource.BatReplaceability, any>;
384
- readonly batPresent: import("@matter/types/cluster").OptionalAttribute<boolean, any>;
385
- readonly activeBatFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.BatFault[], any>;
386
- };
387
- readonly events: {
388
- readonly batFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
389
- current: import("@matter/types").FieldType<PowerSource.BatFault[]>;
390
- previous: import("@matter/types").FieldType<PowerSource.BatFault[]>;
391
- }>, any>;
392
- };
393
- };
394
- }, {
395
- readonly flags: {
396
- readonly replaceable: true;
397
- };
398
- readonly component: {
399
- readonly attributes: {
400
- readonly batReplacementDescription: import("@matter/types/cluster").FixedAttribute<string, any>;
401
- readonly batCommonDesignation: import("@matter/types/cluster").OptionalFixedAttribute<PowerSource.BatCommonDesignation, any>;
402
- readonly batAnsiDesignation: import("@matter/types/cluster").OptionalFixedAttribute<string, any>;
403
- readonly batIecDesignation: import("@matter/types/cluster").OptionalFixedAttribute<string, any>;
404
- readonly batApprovedChemistry: import("@matter/types/cluster").OptionalFixedAttribute<PowerSource.BatApprovedChemistry, any>;
405
- readonly batQuantity: import("@matter/types/cluster").FixedAttribute<number, any>;
406
- };
407
- };
408
- }, {
409
- readonly flags: {
410
- readonly replaceable: true;
411
- };
412
- readonly component: {
413
- readonly attributes: {
414
- readonly batCapacity: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
415
- };
416
- };
417
- }, {
418
- readonly flags: {
419
- readonly rechargeable: true;
420
- };
421
- readonly component: {
422
- readonly attributes: {
423
- readonly batCapacity: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
424
- };
425
- };
426
- }, {
427
- readonly flags: {
428
- readonly rechargeable: true;
429
- };
430
- readonly component: {
431
- readonly attributes: {
432
- readonly batChargeState: import("@matter/types/cluster").Attribute<PowerSource.BatChargeState, any>;
433
- readonly batTimeToFullCharge: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
434
- readonly batFunctionalWhileCharging: import("@matter/types/cluster").Attribute<boolean, any>;
435
- readonly batChargingCurrent: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
436
- readonly activeBatChargeFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.BatChargeFault[], any>;
437
- };
438
- readonly events: {
439
- readonly batChargeFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
440
- current: import("@matter/types").FieldType<PowerSource.BatChargeFault[]>;
441
- previous: import("@matter/types").FieldType<PowerSource.BatChargeFault[]>;
442
- }>, any>;
443
- };
444
- };
445
- }, {
446
- readonly flags: {
447
- readonly rechargeable: true;
448
- readonly battery: false;
449
- };
450
- readonly component: false;
451
- }, {
452
- readonly flags: {
453
- readonly replaceable: true;
454
- readonly battery: false;
455
- };
456
- readonly component: false;
457
- }, {
458
- readonly flags: {
459
- readonly wired: true;
460
- readonly battery: true;
461
- };
462
- readonly component: false;
463
- }, {
464
- readonly flags: {
465
- readonly wired: false;
466
- readonly battery: false;
467
- };
468
- readonly component: false;
469
- }];
470
- }>, readonly [PowerSource.Feature.Battery, PowerSource.Feature.Replaceable]>, typeof MatterbridgePowerSourceServer>>;
471
- export declare function getDefaultPowerSourceRechargeableBatteryClusterServer(batPercentRemaining?: number, batChargeLevel?: PowerSource.BatChargeLevel, batVoltage?: number, batReplaceability?: PowerSource.BatReplaceability): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<ClusterType.Of<{
472
- readonly id: 47;
473
- readonly name: "PowerSource";
474
- readonly revision: 3;
475
- readonly features: {
476
- readonly wired: import("@matter/types").BitFlag;
477
- readonly battery: import("@matter/types").BitFlag;
478
- readonly rechargeable: import("@matter/types").BitFlag;
479
- readonly replaceable: import("@matter/types").BitFlag;
480
- };
481
- readonly attributes: {
482
- readonly status: import("@matter/types/cluster").Attribute<PowerSource.PowerSourceStatus, any>;
483
- readonly order: import("@matter/types/cluster").Attribute<number, any>;
484
- readonly description: import("@matter/types/cluster").FixedAttribute<string, any>;
485
- readonly endpointList: import("@matter/types/cluster").Attribute<import("@matter/types/datatype").EndpointNumber[], any>;
486
- };
487
- readonly extensions: readonly [{
488
- readonly flags: {
489
- readonly wired: true;
490
- };
491
- readonly component: {
492
- readonly attributes: {
493
- readonly wiredAssessedInputVoltage: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
494
- readonly wiredAssessedInputFrequency: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
495
- readonly wiredCurrentType: import("@matter/types/cluster").FixedAttribute<PowerSource.WiredCurrentType, any>;
496
- readonly wiredAssessedCurrent: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
497
- readonly wiredNominalVoltage: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
498
- readonly wiredMaximumCurrent: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
499
- readonly wiredPresent: import("@matter/types/cluster").OptionalAttribute<boolean, any>;
500
- readonly activeWiredFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.WiredFault[], any>;
501
- };
502
- readonly events: {
503
- readonly wiredFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
504
- current: import("@matter/types").FieldType<PowerSource.WiredFault[]>;
505
- previous: import("@matter/types").FieldType<PowerSource.WiredFault[]>;
506
- }>, any>;
507
- };
508
- };
509
- }, {
510
- readonly flags: {
511
- readonly battery: true;
512
- };
513
- readonly component: {
514
- readonly attributes: {
515
- readonly batVoltage: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
516
- readonly batPercentRemaining: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
517
- readonly batTimeRemaining: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
518
- readonly batChargeLevel: import("@matter/types/cluster").Attribute<PowerSource.BatChargeLevel, any>;
519
- readonly batReplacementNeeded: import("@matter/types/cluster").Attribute<boolean, any>;
520
- readonly batReplaceability: import("@matter/types/cluster").FixedAttribute<PowerSource.BatReplaceability, any>;
521
- readonly batPresent: import("@matter/types/cluster").OptionalAttribute<boolean, any>;
522
- readonly activeBatFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.BatFault[], any>;
523
- };
524
- readonly events: {
525
- readonly batFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
526
- current: import("@matter/types").FieldType<PowerSource.BatFault[]>;
527
- previous: import("@matter/types").FieldType<PowerSource.BatFault[]>;
528
- }>, any>;
529
- };
530
- };
531
- }, {
532
- readonly flags: {
533
- readonly replaceable: true;
534
- };
535
- readonly component: {
536
- readonly attributes: {
537
- readonly batReplacementDescription: import("@matter/types/cluster").FixedAttribute<string, any>;
538
- readonly batCommonDesignation: import("@matter/types/cluster").OptionalFixedAttribute<PowerSource.BatCommonDesignation, any>;
539
- readonly batAnsiDesignation: import("@matter/types/cluster").OptionalFixedAttribute<string, any>;
540
- readonly batIecDesignation: import("@matter/types/cluster").OptionalFixedAttribute<string, any>;
541
- readonly batApprovedChemistry: import("@matter/types/cluster").OptionalFixedAttribute<PowerSource.BatApprovedChemistry, any>;
542
- readonly batQuantity: import("@matter/types/cluster").FixedAttribute<number, any>;
543
- };
544
- };
545
- }, {
546
- readonly flags: {
547
- readonly replaceable: true;
548
- };
549
- readonly component: {
550
- readonly attributes: {
551
- readonly batCapacity: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
552
- };
553
- };
554
- }, {
555
- readonly flags: {
556
- readonly rechargeable: true;
557
- };
558
- readonly component: {
559
- readonly attributes: {
560
- readonly batCapacity: import("@matter/types/cluster").OptionalFixedAttribute<number, any>;
561
- };
562
- };
563
- }, {
564
- readonly flags: {
565
- readonly rechargeable: true;
566
- };
567
- readonly component: {
568
- readonly attributes: {
569
- readonly batChargeState: import("@matter/types/cluster").Attribute<PowerSource.BatChargeState, any>;
570
- readonly batTimeToFullCharge: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
571
- readonly batFunctionalWhileCharging: import("@matter/types/cluster").Attribute<boolean, any>;
572
- readonly batChargingCurrent: import("@matter/types/cluster").OptionalAttribute<number | null, any>;
573
- readonly activeBatChargeFaults: import("@matter/types/cluster").OptionalAttribute<PowerSource.BatChargeFault[], any>;
574
- };
575
- readonly events: {
576
- readonly batChargeFaultChange: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
577
- current: import("@matter/types").FieldType<PowerSource.BatChargeFault[]>;
578
- previous: import("@matter/types").FieldType<PowerSource.BatChargeFault[]>;
579
- }>, any>;
580
- };
581
- };
582
- }, {
583
- readonly flags: {
584
- readonly rechargeable: true;
585
- readonly battery: false;
586
- };
587
- readonly component: false;
588
- }, {
589
- readonly flags: {
590
- readonly replaceable: true;
591
- readonly battery: false;
592
- };
593
- readonly component: false;
594
- }, {
595
- readonly flags: {
596
- readonly wired: true;
597
- readonly battery: true;
598
- };
599
- readonly component: false;
600
- }, {
601
- readonly flags: {
602
- readonly wired: false;
603
- readonly battery: false;
604
- };
605
- readonly component: false;
606
- }];
607
- }>, readonly [PowerSource.Feature.Battery, PowerSource.Feature.Rechargeable]>, typeof MatterbridgePowerSourceServer>>;
608
- export declare function getDefaultElectricalEnergyMeasurementClusterServer(energyImported?: number | bigint | null, energyExported?: number | bigint | null): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<ClusterType.Of<{
609
- readonly id: 145;
610
- readonly name: "ElectricalEnergyMeasurement";
611
- readonly revision: 1;
612
- readonly features: {
613
- readonly importedEnergy: import("@matter/types").BitFlag;
614
- readonly exportedEnergy: import("@matter/types").BitFlag;
615
- readonly cumulativeEnergy: import("@matter/types").BitFlag;
616
- readonly periodicEnergy: import("@matter/types").BitFlag;
617
- };
618
- readonly attributes: {
619
- readonly accuracy: import("@matter/types/cluster").FixedAttribute<import("@matter/types").TypeFromFields<{
620
- measurementType: import("@matter/types").FieldType<import("@matter/types").MeasurementType>;
621
- measured: import("@matter/types").FieldType<boolean>;
622
- minMeasuredValue: import("@matter/types").FieldType<number | bigint>;
623
- maxMeasuredValue: import("@matter/types").FieldType<number | bigint>;
624
- accuracyRanges: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
625
- rangeMin: import("@matter/types").FieldType<number | bigint>;
626
- rangeMax: import("@matter/types").FieldType<number | bigint>;
627
- percentMax: import("@matter/types").OptionalFieldType<number>;
628
- percentMin: import("@matter/types").OptionalFieldType<number>;
629
- percentTypical: import("@matter/types").OptionalFieldType<number>;
630
- fixedMax: import("@matter/types").OptionalFieldType<number | bigint>;
631
- fixedMin: import("@matter/types").OptionalFieldType<number | bigint>;
632
- fixedTypical: import("@matter/types").OptionalFieldType<number | bigint>;
633
- }>[]>;
634
- }>, any>;
635
- };
636
- readonly extensions: readonly [{
637
- readonly flags: {
638
- readonly importedEnergy: true;
639
- readonly cumulativeEnergy: true;
640
- };
641
- readonly component: {
642
- readonly attributes: {
643
- readonly cumulativeEnergyImported: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
644
- energy: import("@matter/types").FieldType<number | bigint>;
645
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
646
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
647
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
648
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
649
- }> | null, any>;
650
- };
651
- };
652
- }, {
653
- readonly flags: {
654
- readonly exportedEnergy: true;
655
- readonly cumulativeEnergy: true;
656
- };
657
- readonly component: {
658
- readonly attributes: {
659
- readonly cumulativeEnergyExported: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
660
- energy: import("@matter/types").FieldType<number | bigint>;
661
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
662
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
663
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
664
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
665
- }> | null, any>;
666
- };
667
- };
668
- }, {
669
- readonly flags: {
670
- readonly importedEnergy: true;
671
- readonly periodicEnergy: true;
672
- };
673
- readonly component: {
674
- readonly attributes: {
675
- readonly periodicEnergyImported: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
676
- energy: import("@matter/types").FieldType<number | bigint>;
677
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
678
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
679
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
680
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
681
- }> | null, any>;
682
- };
683
- };
684
- }, {
685
- readonly flags: {
686
- readonly exportedEnergy: true;
687
- readonly periodicEnergy: true;
688
- };
689
- readonly component: {
690
- readonly attributes: {
691
- readonly periodicEnergyExported: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
692
- energy: import("@matter/types").FieldType<number | bigint>;
693
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
694
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
695
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
696
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
697
- }> | null, any>;
698
- };
699
- };
700
- }, {
701
- readonly flags: {
702
- readonly cumulativeEnergy: true;
703
- };
704
- readonly component: {
705
- readonly attributes: {
706
- readonly cumulativeEnergyReset: import("@matter/types/cluster").OptionalAttribute<import("@matter/types").TypeFromFields<{
707
- importedResetTimestamp: import("@matter/types").OptionalFieldType<number | null>;
708
- exportedResetTimestamp: import("@matter/types").OptionalFieldType<number | null>;
709
- importedResetSystime: import("@matter/types").OptionalFieldType<number | bigint | null>;
710
- exportedResetSystime: import("@matter/types").OptionalFieldType<number | bigint | null>;
711
- }> | null, any>;
712
- };
713
- readonly events: {
714
- readonly cumulativeEnergyMeasured: import("@matter/types/cluster").Event<import("@matter/types").TypeFromFields<{
715
- energyImported: import("@matter/types").OptionalFieldType<import("@matter/types").TypeFromFields<{
716
- energy: import("@matter/types").FieldType<number | bigint>;
717
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
718
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
719
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
720
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
721
- }>>;
722
- energyExported: import("@matter/types").OptionalFieldType<import("@matter/types").TypeFromFields<{
723
- energy: import("@matter/types").FieldType<number | bigint>;
724
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
725
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
726
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
727
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
728
- }>>;
729
- }>, any>;
730
- };
731
- };
732
- }, {
733
- readonly flags: {
734
- readonly periodicEnergy: true;
735
- };
736
- readonly component: {
737
- readonly events: {
738
- readonly periodicEnergyMeasured: import("@matter/types/cluster").Event<import("@matter/types").TypeFromFields<{
739
- energyImported: import("@matter/types").OptionalFieldType<import("@matter/types").TypeFromFields<{
740
- energy: import("@matter/types").FieldType<number | bigint>;
741
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
742
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
743
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
744
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
745
- }>>;
746
- energyExported: import("@matter/types").OptionalFieldType<import("@matter/types").TypeFromFields<{
747
- energy: import("@matter/types").FieldType<number | bigint>;
748
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
749
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
750
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
751
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
752
- }>>;
753
- }>, any>;
754
- };
755
- };
756
- }, {
757
- readonly flags: {
758
- readonly importedEnergy: false;
759
- readonly exportedEnergy: false;
760
- };
761
- readonly component: false;
762
- }, {
763
- readonly flags: {
764
- readonly cumulativeEnergy: false;
765
- readonly periodicEnergy: false;
766
- };
767
- readonly component: false;
768
- }];
769
- }>, readonly [ElectricalEnergyMeasurement.Feature.ImportedEnergy, ElectricalEnergyMeasurement.Feature.ExportedEnergy, ElectricalEnergyMeasurement.Feature.CumulativeEnergy]>, typeof ElectricalEnergyMeasurementServer>>;
770
- export declare function getDefaultElectricalPowerMeasurementClusterServer(voltage?: number | bigint | null, current?: number | bigint | null, power?: number | bigint | null, frequency?: number | bigint | null): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<ClusterType.Of<{
771
- readonly id: 144;
772
- readonly name: "ElectricalPowerMeasurement";
773
- readonly revision: 3;
774
- readonly features: {
775
- readonly directCurrent: import("@matter/types").BitFlag;
776
- readonly alternatingCurrent: import("@matter/types").BitFlag;
777
- readonly polyphasePower: import("@matter/types").BitFlag;
778
- readonly harmonics: import("@matter/types").BitFlag;
779
- readonly powerQuality: import("@matter/types").BitFlag;
780
- };
781
- readonly attributes: {
782
- readonly powerMode: import("@matter/types/cluster").Attribute<ElectricalPowerMeasurement.PowerMode, any>;
783
- readonly numberOfMeasurementTypes: import("@matter/types/cluster").FixedAttribute<number, any>;
784
- readonly accuracy: import("@matter/types/cluster").FixedAttribute<import("@matter/types").TypeFromFields<{
785
- measurementType: import("@matter/types").FieldType<import("@matter/types").MeasurementType>;
786
- measured: import("@matter/types").FieldType<boolean>;
787
- minMeasuredValue: import("@matter/types").FieldType<number | bigint>;
788
- maxMeasuredValue: import("@matter/types").FieldType<number | bigint>;
789
- accuracyRanges: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
790
- rangeMin: import("@matter/types").FieldType<number | bigint>;
791
- rangeMax: import("@matter/types").FieldType<number | bigint>;
792
- percentMax: import("@matter/types").OptionalFieldType<number>;
793
- percentMin: import("@matter/types").OptionalFieldType<number>;
794
- percentTypical: import("@matter/types").OptionalFieldType<number>;
795
- fixedMax: import("@matter/types").OptionalFieldType<number | bigint>;
796
- fixedMin: import("@matter/types").OptionalFieldType<number | bigint>;
797
- fixedTypical: import("@matter/types").OptionalFieldType<number | bigint>;
798
- }>[]>;
799
- }>[], any>;
800
- readonly ranges: import("@matter/types/cluster").OptionalAttribute<import("@matter/types").TypeFromFields<{
801
- measurementType: import("@matter/types").FieldType<ElectricalPowerMeasurement.MeasurementType>;
802
- min: import("@matter/types").FieldType<number | bigint>;
803
- max: import("@matter/types").FieldType<number | bigint>;
804
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
805
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
806
- minTimestamp: import("@matter/types").OptionalFieldType<number>;
807
- maxTimestamp: import("@matter/types").OptionalFieldType<number>;
808
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
809
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
810
- minSystime: import("@matter/types").OptionalFieldType<number | bigint>;
811
- maxSystime: import("@matter/types").OptionalFieldType<number | bigint>;
812
- }>[], any>;
813
- readonly voltage: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
814
- readonly activeCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
815
- readonly activePower: import("@matter/types/cluster").Attribute<number | bigint | null, any>;
816
- };
817
- readonly events: {
818
- readonly measurementPeriodRanges: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
819
- ranges: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
820
- measurementType: import("@matter/types").FieldType<ElectricalPowerMeasurement.MeasurementType>;
821
- min: import("@matter/types").FieldType<number | bigint>;
822
- max: import("@matter/types").FieldType<number | bigint>;
823
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
824
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
825
- minTimestamp: import("@matter/types").OptionalFieldType<number>;
826
- maxTimestamp: import("@matter/types").OptionalFieldType<number>;
827
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
828
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
829
- minSystime: import("@matter/types").OptionalFieldType<number | bigint>;
830
- maxSystime: import("@matter/types").OptionalFieldType<number | bigint>;
831
- }>[]>;
832
- }>, any>;
833
- };
834
- readonly extensions: readonly [{
835
- readonly flags: {
836
- readonly alternatingCurrent: true;
837
- };
838
- readonly component: {
839
- readonly attributes: {
840
- readonly reactiveCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
841
- readonly apparentCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
842
- readonly reactivePower: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
843
- readonly apparentPower: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
844
- readonly rmsVoltage: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
845
- readonly rmsCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
846
- readonly rmsPower: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
847
- readonly frequency: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
848
- readonly powerFactor: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
849
- };
850
- };
851
- }, {
852
- readonly flags: {
853
- readonly harmonics: true;
854
- };
855
- readonly component: {
856
- readonly attributes: {
857
- readonly harmonicCurrents: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
858
- order: import("@matter/types").FieldType<number>;
859
- measurement: import("@matter/types").FieldType<number | bigint | null>;
860
- }>[] | null, any>;
861
- };
862
- };
863
- }, {
864
- readonly flags: {
865
- readonly powerQuality: true;
866
- };
867
- readonly component: {
868
- readonly attributes: {
869
- readonly harmonicPhases: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
870
- order: import("@matter/types").FieldType<number>;
871
- measurement: import("@matter/types").FieldType<number | bigint | null>;
872
- }>[] | null, any>;
873
- };
874
- };
875
- }, {
876
- readonly flags: {
877
- readonly polyphasePower: true;
878
- };
879
- readonly component: {
880
- readonly attributes: {
881
- readonly neutralCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
882
- };
883
- };
884
- }, {
885
- readonly flags: {
886
- readonly polyphasePower: true;
887
- readonly alternatingCurrent: false;
888
- };
889
- readonly component: false;
890
- }, {
891
- readonly flags: {
892
- readonly harmonics: true;
893
- readonly alternatingCurrent: false;
894
- };
895
- readonly component: false;
896
- }, {
897
- readonly flags: {
898
- readonly powerQuality: true;
899
- readonly alternatingCurrent: false;
900
- };
901
- readonly component: false;
902
- }, {
903
- readonly flags: {
904
- readonly directCurrent: false;
905
- readonly alternatingCurrent: false;
906
- };
907
- readonly component: false;
908
- }];
909
- }>, readonly [ElectricalPowerMeasurement.Feature.AlternatingCurrent]>, typeof ElectricalPowerMeasurementServer>>;
910
- export declare function getApparentElectricalPowerMeasurementClusterServer(voltage?: number | bigint | null, apparentCurrent?: number | bigint | null, apparentPower?: number | bigint | null, frequency?: number | bigint | null): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<ClusterType.Of<{
911
- readonly id: 144;
912
- readonly name: "ElectricalPowerMeasurement";
913
- readonly revision: 3;
914
- readonly features: {
915
- readonly directCurrent: import("@matter/types").BitFlag;
916
- readonly alternatingCurrent: import("@matter/types").BitFlag;
917
- readonly polyphasePower: import("@matter/types").BitFlag;
918
- readonly harmonics: import("@matter/types").BitFlag;
919
- readonly powerQuality: import("@matter/types").BitFlag;
920
- };
921
- readonly attributes: {
922
- readonly powerMode: import("@matter/types/cluster").Attribute<ElectricalPowerMeasurement.PowerMode, any>;
923
- readonly numberOfMeasurementTypes: import("@matter/types/cluster").FixedAttribute<number, any>;
924
- readonly accuracy: import("@matter/types/cluster").FixedAttribute<import("@matter/types").TypeFromFields<{
925
- measurementType: import("@matter/types").FieldType<import("@matter/types").MeasurementType>;
926
- measured: import("@matter/types").FieldType<boolean>;
927
- minMeasuredValue: import("@matter/types").FieldType<number | bigint>;
928
- maxMeasuredValue: import("@matter/types").FieldType<number | bigint>;
929
- accuracyRanges: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
930
- rangeMin: import("@matter/types").FieldType<number | bigint>;
931
- rangeMax: import("@matter/types").FieldType<number | bigint>;
932
- percentMax: import("@matter/types").OptionalFieldType<number>;
933
- percentMin: import("@matter/types").OptionalFieldType<number>;
934
- percentTypical: import("@matter/types").OptionalFieldType<number>;
935
- fixedMax: import("@matter/types").OptionalFieldType<number | bigint>;
936
- fixedMin: import("@matter/types").OptionalFieldType<number | bigint>;
937
- fixedTypical: import("@matter/types").OptionalFieldType<number | bigint>;
938
- }>[]>;
939
- }>[], any>;
940
- readonly ranges: import("@matter/types/cluster").OptionalAttribute<import("@matter/types").TypeFromFields<{
941
- measurementType: import("@matter/types").FieldType<ElectricalPowerMeasurement.MeasurementType>;
942
- min: import("@matter/types").FieldType<number | bigint>;
943
- max: import("@matter/types").FieldType<number | bigint>;
944
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
945
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
946
- minTimestamp: import("@matter/types").OptionalFieldType<number>;
947
- maxTimestamp: import("@matter/types").OptionalFieldType<number>;
948
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
949
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
950
- minSystime: import("@matter/types").OptionalFieldType<number | bigint>;
951
- maxSystime: import("@matter/types").OptionalFieldType<number | bigint>;
952
- }>[], any>;
953
- readonly voltage: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
954
- readonly activeCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
955
- readonly activePower: import("@matter/types/cluster").Attribute<number | bigint | null, any>;
956
- };
957
- readonly events: {
958
- readonly measurementPeriodRanges: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
959
- ranges: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
960
- measurementType: import("@matter/types").FieldType<ElectricalPowerMeasurement.MeasurementType>;
961
- min: import("@matter/types").FieldType<number | bigint>;
962
- max: import("@matter/types").FieldType<number | bigint>;
963
- startTimestamp: import("@matter/types").OptionalFieldType<number>;
964
- endTimestamp: import("@matter/types").OptionalFieldType<number>;
965
- minTimestamp: import("@matter/types").OptionalFieldType<number>;
966
- maxTimestamp: import("@matter/types").OptionalFieldType<number>;
967
- startSystime: import("@matter/types").OptionalFieldType<number | bigint>;
968
- endSystime: import("@matter/types").OptionalFieldType<number | bigint>;
969
- minSystime: import("@matter/types").OptionalFieldType<number | bigint>;
970
- maxSystime: import("@matter/types").OptionalFieldType<number | bigint>;
971
- }>[]>;
972
- }>, any>;
973
- };
974
- readonly extensions: readonly [{
975
- readonly flags: {
976
- readonly alternatingCurrent: true;
977
- };
978
- readonly component: {
979
- readonly attributes: {
980
- readonly reactiveCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
981
- readonly apparentCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
982
- readonly reactivePower: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
983
- readonly apparentPower: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
984
- readonly rmsVoltage: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
985
- readonly rmsCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
986
- readonly rmsPower: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
987
- readonly frequency: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
988
- readonly powerFactor: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
989
- };
990
- };
991
- }, {
992
- readonly flags: {
993
- readonly harmonics: true;
994
- };
995
- readonly component: {
996
- readonly attributes: {
997
- readonly harmonicCurrents: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
998
- order: import("@matter/types").FieldType<number>;
999
- measurement: import("@matter/types").FieldType<number | bigint | null>;
1000
- }>[] | null, any>;
1001
- };
1002
- };
1003
- }, {
1004
- readonly flags: {
1005
- readonly powerQuality: true;
1006
- };
1007
- readonly component: {
1008
- readonly attributes: {
1009
- readonly harmonicPhases: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
1010
- order: import("@matter/types").FieldType<number>;
1011
- measurement: import("@matter/types").FieldType<number | bigint | null>;
1012
- }>[] | null, any>;
1013
- };
1014
- };
1015
- }, {
1016
- readonly flags: {
1017
- readonly polyphasePower: true;
1018
- };
1019
- readonly component: {
1020
- readonly attributes: {
1021
- readonly neutralCurrent: import("@matter/types/cluster").OptionalAttribute<number | bigint | null, any>;
1022
- };
1023
- };
1024
- }, {
1025
- readonly flags: {
1026
- readonly polyphasePower: true;
1027
- readonly alternatingCurrent: false;
1028
- };
1029
- readonly component: false;
1030
- }, {
1031
- readonly flags: {
1032
- readonly harmonics: true;
1033
- readonly alternatingCurrent: false;
1034
- };
1035
- readonly component: false;
1036
- }, {
1037
- readonly flags: {
1038
- readonly powerQuality: true;
1039
- readonly alternatingCurrent: false;
1040
- };
1041
- readonly component: false;
1042
- }, {
1043
- readonly flags: {
1044
- readonly directCurrent: false;
1045
- readonly alternatingCurrent: false;
1046
- };
1047
- readonly component: false;
1048
- }];
1049
- }>, readonly [ElectricalPowerMeasurement.Feature.AlternatingCurrent]>, typeof ElectricalPowerMeasurementServer>>;
1050
- export declare function getDefaultDeviceEnergyManagementClusterServer(esaType?: DeviceEnergyManagement.EsaType, esaCanGenerate?: boolean, esaState?: DeviceEnergyManagement.EsaState, absMinPower?: number, absMaxPower?: number): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<import("@matter/types/cluster").ClusterComposer.WithFeatures<ClusterType.Of<{
1051
- readonly id: 152;
1052
- readonly name: "DeviceEnergyManagement";
1053
- readonly revision: 4;
1054
- readonly features: {
1055
- readonly powerAdjustment: import("@matter/types").BitFlag;
1056
- readonly powerForecastReporting: import("@matter/types").BitFlag;
1057
- readonly stateForecastReporting: import("@matter/types").BitFlag;
1058
- readonly startTimeAdjustment: import("@matter/types").BitFlag;
1059
- readonly pausable: import("@matter/types").BitFlag;
1060
- readonly forecastAdjustment: import("@matter/types").BitFlag;
1061
- readonly constraintBasedAdjustment: import("@matter/types").BitFlag;
1062
- };
1063
- readonly attributes: {
1064
- readonly esaType: import("@matter/types/cluster").FixedAttribute<DeviceEnergyManagement.EsaType, any>;
1065
- readonly esaCanGenerate: import("@matter/types/cluster").FixedAttribute<boolean, any>;
1066
- readonly esaState: import("@matter/types/cluster").Attribute<DeviceEnergyManagement.EsaState, any>;
1067
- readonly absMinPower: import("@matter/types/cluster").Attribute<number | bigint, any>;
1068
- readonly absMaxPower: import("@matter/types/cluster").Attribute<number | bigint, any>;
1069
- };
1070
- readonly extensions: readonly [{
1071
- readonly flags: {
1072
- readonly powerAdjustment: true;
1073
- };
1074
- readonly component: {
1075
- readonly attributes: {
1076
- readonly powerAdjustmentCapability: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
1077
- powerAdjustCapability: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
1078
- minPower: import("@matter/types").FieldType<number | bigint>;
1079
- maxPower: import("@matter/types").FieldType<number | bigint>;
1080
- minDuration: import("@matter/types").FieldType<number>;
1081
- maxDuration: import("@matter/types").FieldType<number>;
1082
- }>[] | null>;
1083
- cause: import("@matter/types").FieldType<DeviceEnergyManagement.PowerAdjustReason>;
1084
- }> | null, any>;
1085
- };
1086
- readonly commands: {
1087
- readonly powerAdjustRequest: import("@matter/types/cluster").Command<import("@matter/types").TypeFromFields<{
1088
- power: import("@matter/types").FieldType<number | bigint>;
1089
- duration: import("@matter/types").FieldType<number>;
1090
- cause: import("@matter/types").FieldType<DeviceEnergyManagement.AdjustmentCause>;
1091
- }>, void, any>;
1092
- readonly cancelPowerAdjustRequest: import("@matter/types/cluster").Command<void, void, any>;
1093
- };
1094
- readonly events: {
1095
- readonly powerAdjustStart: import("@matter/types/cluster").Event<void, any>;
1096
- readonly powerAdjustEnd: import("@matter/types/cluster").Event<import("@matter/types").TypeFromFields<{
1097
- cause: import("@matter/types").FieldType<DeviceEnergyManagement.Cause>;
1098
- duration: import("@matter/types").FieldType<number>;
1099
- energyUse: import("@matter/types").FieldType<number | bigint>;
1100
- }>, any>;
1101
- };
1102
- };
1103
- }, {
1104
- readonly flags: {
1105
- readonly powerForecastReporting: true;
1106
- };
1107
- readonly component: {
1108
- readonly attributes: {
1109
- readonly forecast: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
1110
- forecastId: import("@matter/types").FieldType<number>;
1111
- activeSlotNumber: import("@matter/types").FieldType<number | null>;
1112
- startTime: import("@matter/types").FieldType<number>;
1113
- endTime: import("@matter/types").FieldType<number>;
1114
- earliestStartTime: import("@matter/types").OptionalFieldType<number | null>;
1115
- latestEndTime: import("@matter/types").OptionalFieldType<number>;
1116
- isPausable: import("@matter/types").FieldType<boolean>;
1117
- slots: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
1118
- minDuration: import("@matter/types").FieldType<number>;
1119
- maxDuration: import("@matter/types").FieldType<number>;
1120
- defaultDuration: import("@matter/types").FieldType<number>;
1121
- elapsedSlotTime: import("@matter/types").FieldType<number>;
1122
- remainingSlotTime: import("@matter/types").FieldType<number>;
1123
- slotIsPausable: import("@matter/types").OptionalFieldType<boolean>;
1124
- minPauseDuration: import("@matter/types").OptionalFieldType<number>;
1125
- maxPauseDuration: import("@matter/types").OptionalFieldType<number>;
1126
- manufacturerEsaState: import("@matter/types").OptionalFieldType<number>;
1127
- nominalPower: import("@matter/types").OptionalFieldType<number | bigint>;
1128
- minPower: import("@matter/types").OptionalFieldType<number | bigint>;
1129
- maxPower: import("@matter/types").OptionalFieldType<number | bigint>;
1130
- nominalEnergy: import("@matter/types").OptionalFieldType<number | bigint>;
1131
- costs: import("@matter/types").OptionalFieldType<import("@matter/types").TypeFromFields<{
1132
- costType: import("@matter/types").FieldType<DeviceEnergyManagement.CostType>;
1133
- value: import("@matter/types").FieldType<number>;
1134
- decimalPoints: import("@matter/types").FieldType<number>;
1135
- currency: import("@matter/types").OptionalFieldType<number>;
1136
- }>[]>;
1137
- minPowerAdjustment: import("@matter/types").OptionalFieldType<number | bigint>;
1138
- maxPowerAdjustment: import("@matter/types").OptionalFieldType<number | bigint>;
1139
- minDurationAdjustment: import("@matter/types").OptionalFieldType<number>;
1140
- maxDurationAdjustment: import("@matter/types").OptionalFieldType<number>;
1141
- }>[]>;
1142
- forecastUpdateReason: import("@matter/types").FieldType<DeviceEnergyManagement.ForecastUpdateReason>;
1143
- }> | null, any>;
1144
- };
1145
- };
1146
- }, {
1147
- readonly flags: {
1148
- readonly stateForecastReporting: true;
1149
- };
1150
- readonly component: {
1151
- readonly attributes: {
1152
- readonly forecast: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromFields<{
1153
- forecastId: import("@matter/types").FieldType<number>;
1154
- activeSlotNumber: import("@matter/types").FieldType<number | null>;
1155
- startTime: import("@matter/types").FieldType<number>;
1156
- endTime: import("@matter/types").FieldType<number>;
1157
- earliestStartTime: import("@matter/types").OptionalFieldType<number | null>;
1158
- latestEndTime: import("@matter/types").OptionalFieldType<number>;
1159
- isPausable: import("@matter/types").FieldType<boolean>;
1160
- slots: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
1161
- minDuration: import("@matter/types").FieldType<number>;
1162
- maxDuration: import("@matter/types").FieldType<number>;
1163
- defaultDuration: import("@matter/types").FieldType<number>;
1164
- elapsedSlotTime: import("@matter/types").FieldType<number>;
1165
- remainingSlotTime: import("@matter/types").FieldType<number>;
1166
- slotIsPausable: import("@matter/types").OptionalFieldType<boolean>;
1167
- minPauseDuration: import("@matter/types").OptionalFieldType<number>;
1168
- maxPauseDuration: import("@matter/types").OptionalFieldType<number>;
1169
- manufacturerEsaState: import("@matter/types").OptionalFieldType<number>;
1170
- nominalPower: import("@matter/types").OptionalFieldType<number | bigint>;
1171
- minPower: import("@matter/types").OptionalFieldType<number | bigint>;
1172
- maxPower: import("@matter/types").OptionalFieldType<number | bigint>;
1173
- nominalEnergy: import("@matter/types").OptionalFieldType<number | bigint>;
1174
- costs: import("@matter/types").OptionalFieldType<import("@matter/types").TypeFromFields<{
1175
- costType: import("@matter/types").FieldType<DeviceEnergyManagement.CostType>;
1176
- value: import("@matter/types").FieldType<number>;
1177
- decimalPoints: import("@matter/types").FieldType<number>;
1178
- currency: import("@matter/types").OptionalFieldType<number>;
1179
- }>[]>;
1180
- minPowerAdjustment: import("@matter/types").OptionalFieldType<number | bigint>;
1181
- maxPowerAdjustment: import("@matter/types").OptionalFieldType<number | bigint>;
1182
- minDurationAdjustment: import("@matter/types").OptionalFieldType<number>;
1183
- maxDurationAdjustment: import("@matter/types").OptionalFieldType<number>;
1184
- }>[]>;
1185
- forecastUpdateReason: import("@matter/types").FieldType<DeviceEnergyManagement.ForecastUpdateReason>;
1186
- }> | null, any>;
1187
- };
1188
- };
1189
- }, {
1190
- readonly flags: {
1191
- readonly powerAdjustment: true;
1192
- };
1193
- readonly component: {
1194
- readonly attributes: {
1195
- readonly optOutState: import("@matter/types/cluster").Attribute<DeviceEnergyManagement.OptOutState, any>;
1196
- };
1197
- };
1198
- }, {
1199
- readonly flags: {
1200
- readonly startTimeAdjustment: true;
1201
- };
1202
- readonly component: {
1203
- readonly attributes: {
1204
- readonly optOutState: import("@matter/types/cluster").Attribute<DeviceEnergyManagement.OptOutState, any>;
1205
- };
1206
- };
1207
- }, {
1208
- readonly flags: {
1209
- readonly pausable: true;
1210
- };
1211
- readonly component: {
1212
- readonly attributes: {
1213
- readonly optOutState: import("@matter/types/cluster").Attribute<DeviceEnergyManagement.OptOutState, any>;
1214
- };
1215
- };
1216
- }, {
1217
- readonly flags: {
1218
- readonly forecastAdjustment: true;
1219
- };
1220
- readonly component: {
1221
- readonly attributes: {
1222
- readonly optOutState: import("@matter/types/cluster").Attribute<DeviceEnergyManagement.OptOutState, any>;
1223
- };
1224
- };
1225
- }, {
1226
- readonly flags: {
1227
- readonly constraintBasedAdjustment: true;
1228
- };
1229
- readonly component: {
1230
- readonly attributes: {
1231
- readonly optOutState: import("@matter/types/cluster").Attribute<DeviceEnergyManagement.OptOutState, any>;
1232
- };
1233
- };
1234
- }, {
1235
- readonly flags: {
1236
- readonly pausable: true;
1237
- };
1238
- readonly component: {
1239
- readonly commands: {
1240
- readonly pauseRequest: import("@matter/types/cluster").Command<import("@matter/types").TypeFromFields<{
1241
- duration: import("@matter/types").FieldType<number>;
1242
- cause: import("@matter/types").FieldType<DeviceEnergyManagement.AdjustmentCause>;
1243
- }>, void, any>;
1244
- readonly resumeRequest: import("@matter/types/cluster").Command<void, void, any>;
1245
- };
1246
- readonly events: {
1247
- readonly paused: import("@matter/types/cluster").Event<void, any>;
1248
- readonly resumed: import("@matter/types/cluster").Event<import("@matter/types").TypeFromFields<{
1249
- cause: import("@matter/types").FieldType<DeviceEnergyManagement.Cause>;
1250
- }>, any>;
1251
- };
1252
- };
1253
- }, {
1254
- readonly flags: {
1255
- readonly startTimeAdjustment: true;
1256
- };
1257
- readonly component: {
1258
- readonly commands: {
1259
- readonly startTimeAdjustRequest: import("@matter/types/cluster").Command<import("@matter/types").TypeFromFields<{
1260
- requestedStartTime: import("@matter/types").FieldType<number>;
1261
- cause: import("@matter/types").FieldType<DeviceEnergyManagement.AdjustmentCause>;
1262
- }>, void, any>;
1263
- };
1264
- };
1265
- }, {
1266
- readonly flags: {
1267
- readonly forecastAdjustment: true;
1268
- };
1269
- readonly component: {
1270
- readonly commands: {
1271
- readonly modifyForecastRequest: import("@matter/types/cluster").Command<import("@matter/types").TypeFromFields<{
1272
- forecastId: import("@matter/types").FieldType<number>;
1273
- slotAdjustments: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
1274
- slotIndex: import("@matter/types").FieldType<number>;
1275
- nominalPower: import("@matter/types").OptionalFieldType<number | bigint>;
1276
- duration: import("@matter/types").FieldType<number>;
1277
- }>[]>;
1278
- cause: import("@matter/types").FieldType<DeviceEnergyManagement.AdjustmentCause>;
1279
- }>, void, any>;
1280
- };
1281
- };
1282
- }, {
1283
- readonly flags: {
1284
- readonly constraintBasedAdjustment: true;
1285
- };
1286
- readonly component: {
1287
- readonly commands: {
1288
- readonly requestConstraintBasedForecast: import("@matter/types/cluster").Command<import("@matter/types").TypeFromFields<{
1289
- constraints: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
1290
- startTime: import("@matter/types").FieldType<number>;
1291
- duration: import("@matter/types").FieldType<number>;
1292
- nominalPower: import("@matter/types").OptionalFieldType<number | bigint>;
1293
- maximumEnergy: import("@matter/types").OptionalFieldType<number | bigint>;
1294
- loadControl: import("@matter/types").OptionalFieldType<number>;
1295
- }>[]>;
1296
- cause: import("@matter/types").FieldType<DeviceEnergyManagement.AdjustmentCause>;
1297
- }>, void, any>;
1298
- };
1299
- };
1300
- }, {
1301
- readonly flags: {
1302
- readonly startTimeAdjustment: true;
1303
- };
1304
- readonly component: {
1305
- readonly commands: {
1306
- readonly cancelRequest: import("@matter/types/cluster").Command<void, void, any>;
1307
- };
1308
- };
1309
- }, {
1310
- readonly flags: {
1311
- readonly forecastAdjustment: true;
1312
- };
1313
- readonly component: {
1314
- readonly commands: {
1315
- readonly cancelRequest: import("@matter/types/cluster").Command<void, void, any>;
1316
- };
1317
- };
1318
- }, {
1319
- readonly flags: {
1320
- readonly constraintBasedAdjustment: true;
1321
- };
1322
- readonly component: {
1323
- readonly commands: {
1324
- readonly cancelRequest: import("@matter/types/cluster").Command<void, void, any>;
1325
- };
1326
- };
1327
- }, {
1328
- readonly flags: {
1329
- readonly staTrue: true;
1330
- readonly pauTrue: false;
1331
- readonly faTrue: false;
1332
- readonly conTrue: false;
1333
- };
1334
- readonly component: false;
1335
- }, {
1336
- readonly flags: {
1337
- readonly powerForecastReporting: true;
1338
- readonly stateForecastReporting: true;
1339
- };
1340
- readonly component: false;
1341
- }, {
1342
- readonly flags: {
1343
- readonly powerForecastReporting: false;
1344
- readonly stateForecastReporting: false;
1345
- };
1346
- readonly component: false;
1347
- }];
1348
- }>, readonly [DeviceEnergyManagement.Feature.PowerForecastReporting, DeviceEnergyManagement.Feature.PowerAdjustment]>, readonly [DeviceEnergyManagement.Feature.PowerForecastReporting, DeviceEnergyManagement.Feature.PowerAdjustment]>, typeof MatterbridgeDeviceEnergyManagementServer>>;
1349
- export declare function getDefaultDeviceEnergyManagementModeClusterServer(currentMode?: number, supportedModes?: DeviceEnergyManagementMode.ModeOption[]): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<DeviceEnergyManagementMode.Cluster, readonly []>, typeof MatterbridgeDeviceEnergyManagementModeServer>>;
1350
- export declare function getDefaultOperationalStateClusterServer(operationalState?: OperationalState.OperationalStateEnum): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<OperationalState.Cluster, readonly []>, typeof MatterbridgeOperationalStateServer>>;
1351
- export declare function getDefaultTemperatureMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<TemperatureMeasurement.Cluster, typeof ClusterBehavior>>;
1352
- export declare function getDefaultRelativeHumidityMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<RelativeHumidityMeasurement.Cluster, typeof ClusterBehavior>>;
1353
- export declare function getDefaultPressureMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<PressureMeasurement.Cluster, typeof ClusterBehavior>>;
1354
- export declare function getDefaultIlluminanceMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<IlluminanceMeasurement.Cluster, typeof ClusterBehavior>>;
1355
- export declare function getDefaultFlowMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<FlowMeasurement.Cluster, typeof ClusterBehavior>>;
1356
- export declare function getDefaultOccupancySensingClusterServer(occupied?: boolean, holdTime?: number, holdTimeMin?: number, holdTimeMax?: number): Partial<import("@matter/node").ClusterState.Type<import("@matter/types/cluster").ClusterComposer.WithFeatures<ClusterType.Of<{
1357
- readonly id: 1030;
1358
- readonly name: "OccupancySensing";
1359
- readonly revision: 5;
1360
- readonly features: {
1361
- readonly other: import("@matter/types").BitFlag;
1362
- readonly passiveInfrared: import("@matter/types").BitFlag;
1363
- readonly ultrasonic: import("@matter/types").BitFlag;
1364
- readonly physicalContact: import("@matter/types").BitFlag;
1365
- readonly activeInfrared: import("@matter/types").BitFlag;
1366
- readonly radar: import("@matter/types").BitFlag;
1367
- readonly rfSensing: import("@matter/types").BitFlag;
1368
- readonly vision: import("@matter/types").BitFlag;
1369
- };
1370
- readonly attributes: {
1371
- readonly occupancy: import("@matter/types/cluster").Attribute<import("@matter/types").TypeFromPartialBitSchema<{
1372
- occupied: import("@matter/types").BitFlag;
1373
- }>, any>;
1374
- readonly occupancySensorType: import("@matter/types/cluster").FixedAttribute<OccupancySensing.OccupancySensorType, any>;
1375
- readonly occupancySensorTypeBitmap: import("@matter/types/cluster").FixedAttribute<import("@matter/types").TypeFromPartialBitSchema<{
1376
- pir: import("@matter/types").BitFlag;
1377
- ultrasonic: import("@matter/types").BitFlag;
1378
- physicalContact: import("@matter/types").BitFlag;
1379
- }>, any>;
1380
- readonly holdTime: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1381
- readonly holdTimeLimits: import("@matter/types/cluster").OptionalFixedAttribute<import("@matter/types").TypeFromFields<{
1382
- holdTimeMin: import("@matter/types").FieldType<number>;
1383
- holdTimeMax: import("@matter/types").FieldType<number>;
1384
- holdTimeDefault: import("@matter/types").FieldType<number>;
1385
- }>, any>;
1386
- };
1387
- readonly events: {
1388
- readonly occupancyChanged: import("@matter/types/cluster").OptionalEvent<import("@matter/types").TypeFromFields<{
1389
- occupancy: import("@matter/types").FieldType<import("@matter/types").TypeFromPartialBitSchema<{
1390
- occupied: import("@matter/types").BitFlag;
1391
- }>>;
1392
- }>, any>;
1393
- };
1394
- readonly extensions: readonly [{
1395
- readonly flags: {
1396
- readonly passiveInfrared: true;
1397
- };
1398
- readonly component: {
1399
- readonly attributes: {
1400
- readonly pirOccupiedToUnoccupiedDelay: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1401
- readonly pirUnoccupiedToOccupiedDelay: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1402
- readonly pirUnoccupiedToOccupiedThreshold: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1403
- };
1404
- };
1405
- }, {
1406
- readonly flags: {
1407
- readonly ultrasonic: true;
1408
- };
1409
- readonly component: {
1410
- readonly attributes: {
1411
- readonly ultrasonicOccupiedToUnoccupiedDelay: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1412
- readonly ultrasonicUnoccupiedToOccupiedDelay: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1413
- readonly ultrasonicUnoccupiedToOccupiedThreshold: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1414
- };
1415
- };
1416
- }, {
1417
- readonly flags: {
1418
- readonly physicalContact: true;
1419
- };
1420
- readonly component: {
1421
- readonly attributes: {
1422
- readonly physicalContactOccupiedToUnoccupiedDelay: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1423
- readonly physicalContactUnoccupiedToOccupiedDelay: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1424
- readonly physicalContactUnoccupiedToOccupiedThreshold: import("@matter/types/cluster").OptionalWritableAttribute<number, any>;
1425
- };
1426
- };
1427
- }, {
1428
- readonly flags: {
1429
- readonly other: false;
1430
- readonly passiveInfrared: false;
1431
- readonly ultrasonic: false;
1432
- readonly physicalContact: false;
1433
- readonly activeInfrared: false;
1434
- readonly radar: false;
1435
- readonly rfSensing: false;
1436
- readonly vision: false;
1437
- };
1438
- readonly component: false;
1439
- }];
1440
- }>, readonly [OccupancySensing.Feature.PassiveInfrared]>, typeof OccupancySensingServer>>;
60
+ export declare function getDefaultPowerSourceWiredClusterServer(wiredCurrentType?: PowerSource.WiredCurrentType): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<PowerSource, {
61
+ wired: true;
62
+ battery: false;
63
+ rechargeable: false;
64
+ replaceable: false;
65
+ }>, typeof MatterbridgePowerSourceServer>>;
66
+ export declare function getDefaultPowerSourceBatteryClusterServer(batPercentRemaining?: null | number, batChargeLevel?: PowerSource.BatChargeLevel, batVoltage?: null | number, batReplaceability?: PowerSource.BatReplaceability): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<PowerSource, {
67
+ wired: false;
68
+ battery: true;
69
+ rechargeable: false;
70
+ replaceable: false;
71
+ }>, typeof MatterbridgePowerSourceServer>>;
72
+ export declare function getDefaultPowerSourceReplaceableBatteryClusterServer(batPercentRemaining?: number, batChargeLevel?: PowerSource.BatChargeLevel, batVoltage?: number, batReplacementDescription?: string, batQuantity?: number, batReplaceability?: PowerSource.BatReplaceability): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<PowerSource, {
73
+ wired: false;
74
+ battery: true;
75
+ rechargeable: false;
76
+ replaceable: true;
77
+ }>, typeof MatterbridgePowerSourceServer>>;
78
+ export declare function getDefaultPowerSourceRechargeableBatteryClusterServer(batPercentRemaining?: number, batChargeLevel?: PowerSource.BatChargeLevel, batVoltage?: number, batReplaceability?: PowerSource.BatReplaceability): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<PowerSource, {
79
+ wired: false;
80
+ battery: true;
81
+ rechargeable: true;
82
+ replaceable: false;
83
+ }>, typeof MatterbridgePowerSourceServer>>;
84
+ export declare function getDefaultElectricalEnergyMeasurementClusterServer(energyImported?: number | bigint | null, energyExported?: number | bigint | null): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<ElectricalEnergyMeasurement, {
85
+ importedEnergy: true;
86
+ exportedEnergy: true;
87
+ cumulativeEnergy: true;
88
+ periodicEnergy: false;
89
+ apparentEnergy: false;
90
+ reactiveEnergy: false;
91
+ }>, typeof ElectricalEnergyMeasurementServer>>;
92
+ export declare function getDefaultElectricalPowerMeasurementClusterServer(voltage?: number | bigint | null, current?: number | bigint | null, power?: number | bigint | null, frequency?: number | bigint | null): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<ElectricalPowerMeasurement, {
93
+ alternatingCurrent: true;
94
+ directCurrent: false;
95
+ polyphasePower: false;
96
+ harmonics: false;
97
+ powerQuality: false;
98
+ }>, typeof ElectricalPowerMeasurementServer>>;
99
+ export declare function getApparentElectricalPowerMeasurementClusterServer(voltage?: number | bigint | null, apparentCurrent?: number | bigint | null, apparentPower?: number | bigint | null, frequency?: number | bigint | null): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<ElectricalPowerMeasurement, {
100
+ alternatingCurrent: true;
101
+ directCurrent: false;
102
+ polyphasePower: false;
103
+ harmonics: false;
104
+ powerQuality: false;
105
+ }>, typeof ElectricalPowerMeasurementServer>>;
106
+ export declare function getDefaultDeviceEnergyManagementClusterServer(esaType?: DeviceEnergyManagement.EsaType, esaCanGenerate?: boolean, esaState?: DeviceEnergyManagement.EsaState, absMinPower?: number, absMaxPower?: number): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<ClusterType.WithSupportedFeatures<DeviceEnergyManagement, {
107
+ powerAdjustment: true;
108
+ powerForecastReporting: true;
109
+ stateForecastReporting: false;
110
+ startTimeAdjustment: false;
111
+ pausable: false;
112
+ forecastAdjustment: false;
113
+ constraintBasedAdjustment: false;
114
+ }>, {
115
+ powerAdjustment: true;
116
+ powerForecastReporting: true;
117
+ stateForecastReporting: false;
118
+ startTimeAdjustment: false;
119
+ pausable: false;
120
+ forecastAdjustment: false;
121
+ constraintBasedAdjustment: false;
122
+ }>, typeof MatterbridgeDeviceEnergyManagementServer>>;
123
+ export declare function getDefaultDeviceEnergyManagementModeClusterServer(currentMode?: number, supportedModes?: DeviceEnergyManagementMode.ModeOption[]): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<DeviceEnergyManagementMode, {
124
+ onOff: false;
125
+ }>, typeof MatterbridgeDeviceEnergyManagementModeServer>>;
126
+ export declare function getDefaultOperationalStateClusterServer(operationalState?: OperationalState.OperationalStateEnum): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<OperationalState, {}>, typeof MatterbridgeOperationalStateServer>>;
127
+ export declare function getDefaultTemperatureMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<TemperatureMeasurement, typeof ClusterBehavior>>;
128
+ export declare function getDefaultRelativeHumidityMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<RelativeHumidityMeasurement, typeof ClusterBehavior>>;
129
+ export declare function getDefaultPressureMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<PressureMeasurement, typeof ClusterBehavior>>;
130
+ export declare function getDefaultIlluminanceMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<IlluminanceMeasurement, typeof ClusterBehavior>>;
131
+ export declare function getDefaultFlowMeasurementClusterServer(measuredValue?: number | null, minMeasuredValue?: number | null, maxMeasuredValue?: number | null): Partial<import("@matter/node").ClusterState.Type<FlowMeasurement, typeof ClusterBehavior>>;
132
+ export declare function getDefaultOccupancySensingClusterServer(occupied?: boolean, holdTime?: number, holdTimeMin?: number, holdTimeMax?: number): Partial<import("@matter/node").ClusterState.Type<ClusterType.WithSupportedFeatures<OccupancySensing, {
133
+ other: false;
134
+ passiveInfrared: true;
135
+ ultrasonic: false;
136
+ physicalContact: false;
137
+ activeInfrared: false;
138
+ radar: false;
139
+ rfSensing: false;
140
+ vision: false;
141
+ }>, typeof OccupancySensingServer>>;