homebridge 2.0.0-alpha.6 → 2.0.0-alpha.61

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 (108) hide show
  1. package/README.md +1 -1
  2. package/bin/homebridge.js +22 -0
  3. package/dist/api.d.ts +235 -3
  4. package/dist/api.d.ts.map +1 -1
  5. package/dist/api.js +91 -0
  6. package/dist/api.js.map +1 -1
  7. package/dist/bridgeService.d.ts +11 -3
  8. package/dist/bridgeService.d.ts.map +1 -1
  9. package/dist/bridgeService.js +9 -5
  10. package/dist/bridgeService.js.map +1 -1
  11. package/dist/childBridgeFork.d.ts +30 -3
  12. package/dist/childBridgeFork.d.ts.map +1 -1
  13. package/dist/childBridgeFork.js +278 -5
  14. package/dist/childBridgeFork.js.map +1 -1
  15. package/dist/childBridgeService.d.ts +22 -0
  16. package/dist/childBridgeService.d.ts.map +1 -1
  17. package/dist/childBridgeService.js +85 -26
  18. package/dist/childBridgeService.js.map +1 -1
  19. package/dist/cli.d.ts.map +1 -1
  20. package/dist/cli.js +3 -2
  21. package/dist/cli.js.map +1 -1
  22. package/dist/externalPortService.d.ts +27 -6
  23. package/dist/externalPortService.d.ts.map +1 -1
  24. package/dist/externalPortService.js +73 -7
  25. package/dist/externalPortService.js.map +1 -1
  26. package/dist/index.d.ts +48 -2
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +36 -0
  29. package/dist/index.js.map +1 -1
  30. package/dist/ipcService.d.ts +20 -0
  31. package/dist/ipcService.d.ts.map +1 -1
  32. package/dist/ipcService.js.map +1 -1
  33. package/dist/logger.d.ts +6 -0
  34. package/dist/logger.d.ts.map +1 -1
  35. package/dist/logger.js +8 -0
  36. package/dist/logger.js.map +1 -1
  37. package/dist/matter/index.d.ts +59 -0
  38. package/dist/matter/index.d.ts.map +1 -0
  39. package/dist/matter/index.js +19 -0
  40. package/dist/matter/index.js.map +1 -0
  41. package/dist/matter/matterAccessoryCache.d.ts +77 -0
  42. package/dist/matter/matterAccessoryCache.d.ts.map +1 -0
  43. package/dist/matter/matterAccessoryCache.js +176 -0
  44. package/dist/matter/matterAccessoryCache.js.map +1 -0
  45. package/dist/matter/matterBehaviors.d.ts +158 -0
  46. package/dist/matter/matterBehaviors.d.ts.map +1 -0
  47. package/dist/matter/matterBehaviors.js +740 -0
  48. package/dist/matter/matterBehaviors.js.map +1 -0
  49. package/dist/matter/matterConfigValidator.d.ts +81 -0
  50. package/dist/matter/matterConfigValidator.d.ts.map +1 -0
  51. package/dist/matter/matterConfigValidator.js +240 -0
  52. package/dist/matter/matterConfigValidator.js.map +1 -0
  53. package/dist/matter/matterErrorHandler.d.ts +94 -0
  54. package/dist/matter/matterErrorHandler.d.ts.map +1 -0
  55. package/dist/matter/matterErrorHandler.js +485 -0
  56. package/dist/matter/matterErrorHandler.js.map +1 -0
  57. package/dist/matter/matterLogFormatter.d.ts +19 -0
  58. package/dist/matter/matterLogFormatter.d.ts.map +1 -0
  59. package/dist/matter/matterLogFormatter.js +126 -0
  60. package/dist/matter/matterLogFormatter.js.map +1 -0
  61. package/dist/matter/matterNetworkMonitor.d.ts +68 -0
  62. package/dist/matter/matterNetworkMonitor.d.ts.map +1 -0
  63. package/dist/matter/matterNetworkMonitor.js +249 -0
  64. package/dist/matter/matterNetworkMonitor.js.map +1 -0
  65. package/dist/matter/matterServer.d.ts +643 -0
  66. package/dist/matter/matterServer.d.ts.map +1 -0
  67. package/dist/matter/matterServer.js +1623 -0
  68. package/dist/matter/matterServer.js.map +1 -0
  69. package/dist/matter/matterSharedTypes.d.ts +165 -0
  70. package/dist/matter/matterSharedTypes.d.ts.map +1 -0
  71. package/dist/matter/matterSharedTypes.js +51 -0
  72. package/dist/matter/matterSharedTypes.js.map +1 -0
  73. package/dist/matter/matterStorage.d.ts +126 -0
  74. package/dist/matter/matterStorage.d.ts.map +1 -0
  75. package/dist/matter/matterStorage.js +419 -0
  76. package/dist/matter/matterStorage.js.map +1 -0
  77. package/dist/matter/matterTypes.d.ts +612 -0
  78. package/dist/matter/matterTypes.d.ts.map +1 -0
  79. package/dist/matter/matterTypes.js +150 -0
  80. package/dist/matter/matterTypes.js.map +1 -0
  81. package/dist/platformAccessory.d.ts +1 -0
  82. package/dist/platformAccessory.d.ts.map +1 -1
  83. package/dist/platformAccessory.js +8 -1
  84. package/dist/platformAccessory.js.map +1 -1
  85. package/dist/plugin.d.ts +0 -1
  86. package/dist/plugin.d.ts.map +1 -1
  87. package/dist/plugin.js +8 -11
  88. package/dist/plugin.js.map +1 -1
  89. package/dist/pluginManager.d.ts.map +1 -1
  90. package/dist/pluginManager.js +22 -21
  91. package/dist/pluginManager.js.map +1 -1
  92. package/dist/server.d.ts +23 -1
  93. package/dist/server.d.ts.map +1 -1
  94. package/dist/server.js +374 -10
  95. package/dist/server.js.map +1 -1
  96. package/dist/storageService.js +8 -8
  97. package/dist/storageService.js.map +1 -1
  98. package/dist/user.d.ts +1 -0
  99. package/dist/user.d.ts.map +1 -1
  100. package/dist/user.js +10 -7
  101. package/dist/user.js.map +1 -1
  102. package/dist/util/mac.d.ts.map +1 -1
  103. package/dist/util/mac.js +2 -2
  104. package/dist/util/mac.js.map +1 -1
  105. package/dist/version.js +2 -2
  106. package/dist/version.js.map +1 -1
  107. package/package.json +25 -26
  108. package/bin/homebridge +0 -19
@@ -0,0 +1,643 @@
1
+ /**
2
+ * Matter.js Server Implementation for Homebridge Plugin API
3
+ *
4
+ * This provides a Matter bridge that plugins can use to register
5
+ * Matter accessories via the Homebridge API.
6
+ */
7
+ import type { SerializedMatterAccessory } from './matterAccessoryCache.js';
8
+ import { EventEmitter } from 'node:events';
9
+ import * as devices from '@matter/main/devices';
10
+ import { MatterServerConfig } from './matterSharedTypes.js';
11
+ import { clusters, MatterAccessory, MatterServerEvents } from './matterTypes.js';
12
+ export { MatterServerConfig } from './matterSharedTypes.js';
13
+ /**
14
+ * Matter Server for Homebridge Plugin API
15
+ * Allows plugins to register Matter accessories explicitly
16
+ *
17
+ * Extends EventEmitter to provide commissioning lifecycle events
18
+ */
19
+ export declare class MatterServer extends EventEmitter {
20
+ on: <K extends keyof MatterServerEvents>(event: K, listener: MatterServerEvents[K]) => this;
21
+ emit: <K extends keyof MatterServerEvents>(event: K, ...args: Parameters<MatterServerEvents[K]>) => boolean;
22
+ removeListener: <K extends keyof MatterServerEvents>(event: K, listener: MatterServerEvents[K]) => this;
23
+ removeAllListeners: (event?: keyof MatterServerEvents) => this;
24
+ private readonly config;
25
+ private serverNode;
26
+ private aggregator;
27
+ private accessories;
28
+ private isRunning;
29
+ private readonly MAX_DEVICES;
30
+ private shutdownHandler;
31
+ private passcode;
32
+ private discriminator;
33
+ private readonly vendorId;
34
+ private readonly productId;
35
+ private commissioningInfo;
36
+ private serialNumber?;
37
+ private cleanupHandlers;
38
+ private storageManager;
39
+ private matterStoragePath?;
40
+ private accessoryCache;
41
+ private fabricMonitorInterval;
42
+ private previousFabrics;
43
+ constructor(config: MatterServerConfig);
44
+ /**
45
+ * Validate and sanitize Matter server configuration
46
+ * Throws descriptive errors if configuration is invalid
47
+ */
48
+ private validateAndSanitizeConfig;
49
+ /**
50
+ * Generate a secure random passcode
51
+ * According to Matter spec, passcode must be:
52
+ * - 8 digits (00000001 to 99999998)
53
+ * - Not in the invalid list
54
+ * - Not sequential or repeating patterns
55
+ */
56
+ private generateSecurePasscode;
57
+ /**
58
+ * Validate a passcode according to Matter specifications
59
+ */
60
+ private isValidPasscode;
61
+ /**
62
+ * Generate a random discriminator
63
+ * According to Matter spec, discriminator must be:
64
+ * - 12 bits (0-4095)
65
+ * - Should be random for security
66
+ */
67
+ private generateRandomDiscriminator;
68
+ /**
69
+ * Create ServerNode with automatic recovery from corrupted storage
70
+ *
71
+ * Matter.js can fail to start if fabric data is corrupted (common after
72
+ * hard shutdowns or disk errors). This method implements automatic recovery by:
73
+ *
74
+ * 1. Attempting normal ServerNode creation
75
+ * 2. If it fails with storage errors, identifying and removing corrupted files
76
+ * 3. Retrying ServerNode creation with fresh storage
77
+ *
78
+ * This prevents the need for manual intervention while preserving data
79
+ * safety by only removing storage on confirmed corruption errors.
80
+ *
81
+ * @param nodeOptions - Matter.js ServerNode configuration
82
+ * @param sanitizedId - Filesystem-safe bridge identifier
83
+ * @returns Initialized ServerNode instance
84
+ * @throws Error if recovery fails or error is not storage-related
85
+ */
86
+ private createServerNodeWithRecovery;
87
+ /**
88
+ * Start the Matter server
89
+ */
90
+ start(): Promise<void>;
91
+ /**
92
+ * Set up and validate storage
93
+ */
94
+ private setupStorage;
95
+ /**
96
+ * Load or generate commissioning credentials (passcode and discriminator)
97
+ * These must be persistent across restarts to maintain the same QR code
98
+ */
99
+ private loadOrGenerateCredentials;
100
+ /**
101
+ * Generate and display commissioning information
102
+ */
103
+ private generateCommissioningInfo;
104
+ /**
105
+ * Wait for the server to be ready
106
+ */
107
+ private waitForServerReady;
108
+ /**
109
+ * Start monitoring fabric changes to emit commissioning events
110
+ */
111
+ private startFabricMonitoring;
112
+ /**
113
+ * Stop fabric monitoring
114
+ */
115
+ private stopFabricMonitoring;
116
+ /**
117
+ * Check for fabric changes and emit appropriate events
118
+ */
119
+ private checkFabricChanges;
120
+ /**
121
+ * Update commissioning info file when commissioning state changes
122
+ */
123
+ private updateCommissioningFile;
124
+ /**
125
+ * Register Matter platform accessories (Plugin API - matches HAP pattern)
126
+ */
127
+ registerPlatformAccessories(pluginIdentifier: string, platformName: string, accessories: MatterAccessory[]): Promise<void>;
128
+ /**
129
+ * Unregister Matter platform accessories (Plugin API - matches HAP pattern)
130
+ */
131
+ unregisterPlatformAccessories(pluginIdentifier: string, platformName: string, accessories: MatterAccessory[]): Promise<void>;
132
+ /**
133
+ * Register a single Matter accessory (internal method)
134
+ */
135
+ private registerAccessory;
136
+ /**
137
+ * Unregister a Matter accessory (Plugin API)
138
+ */
139
+ unregisterAccessory(uuid: string): Promise<void>;
140
+ /**
141
+ * Update a Matter accessory's state (Plugin API)
142
+ *
143
+ * This method can be called from anywhere, including from within handlers.
144
+ * State updates are automatically deferred to avoid transaction conflicts.
145
+ */
146
+ updateAccessoryState(uuid: string, cluster: string, attributes: Record<string, unknown>): Promise<void>;
147
+ /**
148
+ * Get a Matter accessory's current state (Plugin API)
149
+ *
150
+ * Returns the current cluster attribute values that are exposed to Matter controllers.
151
+ * This is useful for:
152
+ * - Reading state after plugin restart (when local variables are lost)
153
+ * - Verifying current state before making changes
154
+ * - Multiple parts of code that need to read state
155
+ * - Debugging and logging
156
+ *
157
+ * @param uuid - The UUID of the accessory
158
+ * @param cluster - The cluster name (e.g., 'onOff', 'levelControl')
159
+ * @returns Current cluster attribute values, or undefined if cluster not found
160
+ */
161
+ getAccessoryState(uuid: string, cluster: string): Record<string, unknown> | undefined;
162
+ /**
163
+ * Get all cached accessories (Internal - for restore process)
164
+ * @internal
165
+ */
166
+ getAllCachedAccessories(): SerializedMatterAccessory[];
167
+ /**
168
+ * Get all registered accessories (Plugin API)
169
+ */
170
+ getAccessories(): MatterAccessory[];
171
+ /**
172
+ * Get a specific accessory by UUID (Plugin API)
173
+ */
174
+ getAccessory(uuid: string): MatterAccessory | undefined;
175
+ /**
176
+ * Stop the Matter server
177
+ */
178
+ stop(): Promise<void>;
179
+ /**
180
+ * Cleanup resources
181
+ */
182
+ private cleanup;
183
+ /**
184
+ * Get fabric information for commissioned controllers
185
+ */
186
+ getFabricInfo(): Array<{
187
+ fabricIndex: number;
188
+ fabricId: string;
189
+ nodeId: string;
190
+ rootVendorId: number;
191
+ label?: string;
192
+ }>;
193
+ /**
194
+ * Check if the server is commissioned
195
+ */
196
+ isCommissioned(): boolean;
197
+ /**
198
+ * Get the number of commissioned fabrics
199
+ */
200
+ getCommissionedFabricCount(): number;
201
+ /**
202
+ * Get server status information
203
+ */
204
+ getServerInfo(): {
205
+ running: boolean;
206
+ port: number;
207
+ deviceCount: number;
208
+ commissioned: boolean;
209
+ fabricCount: number;
210
+ serialNumber?: string;
211
+ };
212
+ /**
213
+ * Get commissioning information
214
+ */
215
+ getCommissioningInfo(): {
216
+ qrCode?: string;
217
+ manualPairingCode?: string;
218
+ serialNumber?: string;
219
+ passcode?: number;
220
+ discriminator?: number;
221
+ commissioned: boolean;
222
+ };
223
+ /**
224
+ * Get storage statistics
225
+ */
226
+ getStorageStats(): Array<{
227
+ entries: number;
228
+ namespace: string;
229
+ path: string;
230
+ }> | null;
231
+ /**
232
+ * Check if server is running
233
+ */
234
+ isServerRunning(): boolean;
235
+ /**
236
+ * Get Matter device types available for plugin use
237
+ */
238
+ getDeviceTypes(): {
239
+ readonly OnOffLight: devices.OnOffLightDevice;
240
+ readonly DimmableLight: devices.DimmableLightDevice;
241
+ readonly ColorTemperatureLight: devices.ColorTemperatureLightDevice;
242
+ readonly ExtendedColorLight: devices.ExtendedColorLightDevice;
243
+ readonly OnOffSwitch: devices.OnOffLightSwitchDevice;
244
+ readonly OnOffOutlet: devices.OnOffPlugInUnitDevice;
245
+ readonly DimmableOutlet: devices.DimmablePlugInUnitDevice;
246
+ readonly TemperatureSensor: devices.TemperatureSensorDevice;
247
+ readonly HumiditySensor: devices.HumiditySensorDevice;
248
+ readonly LightSensor: devices.LightSensorDevice;
249
+ readonly MotionSensor: devices.OccupancySensorDevice;
250
+ readonly ContactSensor: devices.ContactSensorDevice;
251
+ readonly LeakSensor: devices.WaterLeakDetectorDevice;
252
+ readonly SmokeSensor: devices.SmokeCoAlarmDevice;
253
+ readonly Thermostat: import("@matter/main").MutableEndpoint.With<import("@matter/main").EndpointType.For<{
254
+ readonly name: "Thermostat";
255
+ readonly deviceType: 769;
256
+ readonly deviceRevision: 4;
257
+ readonly requirements: typeof devices.ThermostatRequirements;
258
+ readonly behaviors: {
259
+ readonly identify: typeof import("@matter/main/behaviors").IdentifyServer;
260
+ };
261
+ }>, import("@matter/main").SupportedBehaviors.With<{
262
+ readonly identify: typeof import("@matter/main/behaviors").IdentifyServer;
263
+ }, readonly [import("@matter/main").ClusterBehavior.Type<import("@matter/types").ClusterComposer.WithFeatures<import("@matter/types").ClusterType.Of<{
264
+ readonly id: 513;
265
+ readonly name: "Thermostat";
266
+ readonly revision: 8;
267
+ readonly features: {
268
+ readonly heating: import("@matter/types/schema").BitFlag;
269
+ readonly cooling: import("@matter/types/schema").BitFlag;
270
+ readonly occupancy: import("@matter/types/schema").BitFlag;
271
+ readonly scheduleConfiguration: import("@matter/types/schema").BitFlag;
272
+ readonly setback: import("@matter/types/schema").BitFlag;
273
+ readonly autoMode: import("@matter/types/schema").BitFlag;
274
+ readonly localTemperatureNotExposed: import("@matter/types/schema").BitFlag;
275
+ readonly matterScheduleConfiguration: import("@matter/types/schema").BitFlag;
276
+ readonly presets: import("@matter/types/schema").BitFlag;
277
+ };
278
+ readonly attributes: {
279
+ readonly localTemperature: import("@matter/types").Attribute<number | null, any>;
280
+ readonly outdoorTemperature: import("@matter/types").OptionalAttribute<number | null, any>;
281
+ readonly hvacSystemTypeConfiguration: import("@matter/types").OptionalWritableAttribute<import("@matter/types/schema").TypeFromPartialBitSchema<{
282
+ coolingStage: import("@matter/types/schema").BitField;
283
+ heatingStage: import("@matter/types/schema").BitField;
284
+ heatingIsHeatPump: import("@matter/types/schema").BitFlag;
285
+ heatingUsesFuel: import("@matter/types/schema").BitFlag;
286
+ }>, any>;
287
+ readonly remoteSensing: import("@matter/types").OptionalWritableAttribute<import("@matter/types/schema").TypeFromPartialBitSchema<{
288
+ localTemperature: import("@matter/types/schema").BitFlag;
289
+ outdoorTemperature: import("@matter/types/schema").BitFlag;
290
+ occupancy: import("@matter/types/schema").BitFlag;
291
+ }>, any>;
292
+ readonly controlSequenceOfOperation: import("@matter/types").WritableAttribute<clusters.Thermostat.ControlSequenceOfOperation, any>;
293
+ readonly systemMode: import("@matter/types").WritableAttribute<clusters.Thermostat.SystemMode, any>;
294
+ readonly temperatureSetpointHold: import("@matter/types").OptionalWritableAttribute<clusters.Thermostat.TemperatureSetpointHold, any>;
295
+ readonly temperatureSetpointHoldDuration: import("@matter/types").OptionalWritableAttribute<number | null, any>;
296
+ readonly thermostatProgrammingOperationMode: import("@matter/types").OptionalWritableAttribute<import("@matter/types/schema").TypeFromPartialBitSchema<{
297
+ scheduleActive: import("@matter/types/schema").BitFlag;
298
+ autoRecovery: import("@matter/types/schema").BitFlag;
299
+ economy: import("@matter/types/schema").BitFlag;
300
+ }>, any>;
301
+ readonly thermostatRunningState: import("@matter/types").OptionalAttribute<import("@matter/types/schema").TypeFromPartialBitSchema<{
302
+ heat: import("@matter/types/schema").BitFlag;
303
+ cool: import("@matter/types/schema").BitFlag;
304
+ fan: import("@matter/types/schema").BitFlag;
305
+ heatStage2: import("@matter/types/schema").BitFlag;
306
+ coolStage2: import("@matter/types/schema").BitFlag;
307
+ fanStage2: import("@matter/types/schema").BitFlag;
308
+ fanStage3: import("@matter/types/schema").BitFlag;
309
+ }>, any>;
310
+ readonly setpointChangeSource: import("@matter/types").OptionalAttribute<clusters.Thermostat.SetpointChangeSource, any>;
311
+ readonly setpointChangeAmount: import("@matter/types").OptionalAttribute<number | null, any>;
312
+ readonly setpointChangeSourceTimestamp: import("@matter/types").OptionalAttribute<number, any>;
313
+ readonly emergencyHeatDelta: import("@matter/types").OptionalWritableAttribute<number, any>;
314
+ readonly acType: import("@matter/types").OptionalWritableAttribute<clusters.Thermostat.AcType, any>;
315
+ readonly acCapacity: import("@matter/types").OptionalWritableAttribute<number, any>;
316
+ readonly acRefrigerantType: import("@matter/types").OptionalWritableAttribute<clusters.Thermostat.AcRefrigerantType, any>;
317
+ readonly acCompressorType: import("@matter/types").OptionalWritableAttribute<clusters.Thermostat.AcCompressorType, any>;
318
+ readonly acErrorCode: import("@matter/types").OptionalWritableAttribute<import("@matter/types/schema").TypeFromPartialBitSchema<{
319
+ compressorFail: import("@matter/types/schema").BitFlag;
320
+ roomSensorFail: import("@matter/types/schema").BitFlag;
321
+ outdoorSensorFail: import("@matter/types/schema").BitFlag;
322
+ coilSensorFail: import("@matter/types/schema").BitFlag;
323
+ fanFail: import("@matter/types/schema").BitFlag;
324
+ }>, any>;
325
+ readonly acLouverPosition: import("@matter/types").OptionalWritableAttribute<clusters.Thermostat.AcLouverPosition, any>;
326
+ readonly acCoilTemperature: import("@matter/types").OptionalAttribute<number | null, any>;
327
+ readonly acCapacityFormat: import("@matter/types").OptionalWritableAttribute<clusters.Thermostat.AcCapacityFormat, any>;
328
+ readonly setpointHoldExpiryTimestamp: import("@matter/types").OptionalAttribute<number | null, any>;
329
+ };
330
+ readonly commands: {
331
+ readonly setpointRaiseLower: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
332
+ mode: import("@matter/types").FieldType<clusters.Thermostat.SetpointRaiseLowerMode>;
333
+ amount: import("@matter/types").FieldType<number>;
334
+ }>, void, any>;
335
+ };
336
+ readonly extensions: readonly [{
337
+ readonly flags: {
338
+ readonly occupancy: true;
339
+ };
340
+ readonly component: {
341
+ readonly attributes: {
342
+ readonly occupancy: import("@matter/types").Attribute<import("@matter/types/schema").TypeFromPartialBitSchema<{
343
+ occupied: import("@matter/types/schema").BitFlag;
344
+ }>, any>;
345
+ };
346
+ };
347
+ }, {
348
+ readonly flags: {
349
+ readonly heating: true;
350
+ };
351
+ readonly component: {
352
+ readonly attributes: {
353
+ readonly absMinHeatSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
354
+ readonly absMaxHeatSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
355
+ readonly piHeatingDemand: import("@matter/types").OptionalAttribute<number, any>;
356
+ readonly occupiedHeatingSetpoint: import("@matter/types").WritableAttribute<number, any>;
357
+ readonly minHeatSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
358
+ readonly maxHeatSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
359
+ };
360
+ };
361
+ }, {
362
+ readonly flags: {
363
+ readonly cooling: true;
364
+ };
365
+ readonly component: {
366
+ readonly attributes: {
367
+ readonly absMinCoolSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
368
+ readonly absMaxCoolSetpointLimit: import("@matter/types").OptionalFixedAttribute<number, any>;
369
+ readonly piCoolingDemand: import("@matter/types").OptionalAttribute<number, any>;
370
+ readonly occupiedCoolingSetpoint: import("@matter/types").WritableAttribute<number, any>;
371
+ readonly minCoolSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
372
+ readonly maxCoolSetpointLimit: import("@matter/types").OptionalWritableAttribute<number, any>;
373
+ };
374
+ };
375
+ }, {
376
+ readonly flags: {
377
+ readonly localTemperatureNotExposed: false;
378
+ };
379
+ readonly component: {
380
+ readonly attributes: {
381
+ readonly localTemperatureCalibration: import("@matter/types").OptionalWritableAttribute<number, any>;
382
+ };
383
+ };
384
+ }, {
385
+ readonly flags: {
386
+ readonly cooling: true;
387
+ readonly occupancy: true;
388
+ };
389
+ readonly component: {
390
+ readonly attributes: {
391
+ readonly unoccupiedCoolingSetpoint: import("@matter/types").WritableAttribute<number, any>;
392
+ };
393
+ };
394
+ }, {
395
+ readonly flags: {
396
+ readonly heating: true;
397
+ readonly occupancy: true;
398
+ };
399
+ readonly component: {
400
+ readonly attributes: {
401
+ readonly unoccupiedHeatingSetpoint: import("@matter/types").WritableAttribute<number, any>;
402
+ };
403
+ };
404
+ }, {
405
+ readonly flags: {
406
+ readonly autoMode: true;
407
+ };
408
+ readonly component: {
409
+ readonly attributes: {
410
+ readonly minSetpointDeadBand: import("@matter/types").WritableAttribute<number, any>;
411
+ readonly thermostatRunningMode: import("@matter/types").OptionalAttribute<clusters.Thermostat.ThermostatRunningMode, any>;
412
+ };
413
+ };
414
+ }, {
415
+ readonly flags: {
416
+ readonly scheduleConfiguration: true;
417
+ };
418
+ readonly component: {
419
+ readonly attributes: {
420
+ readonly startOfWeek: import("@matter/types").FixedAttribute<clusters.Thermostat.StartOfWeek, any>;
421
+ readonly numberOfWeeklyTransitions: import("@matter/types").FixedAttribute<number, any>;
422
+ readonly numberOfDailyTransitions: import("@matter/types").FixedAttribute<number, any>;
423
+ };
424
+ readonly commands: {
425
+ readonly setWeeklySchedule: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
426
+ numberOfTransitionsForSequence: import("@matter/types").FieldType<number>;
427
+ dayOfWeekForSequence: import("@matter/types").FieldType<import("@matter/types/schema").TypeFromPartialBitSchema<{
428
+ sunday: import("@matter/types/schema").BitFlag;
429
+ monday: import("@matter/types/schema").BitFlag;
430
+ tuesday: import("@matter/types/schema").BitFlag;
431
+ wednesday: import("@matter/types/schema").BitFlag;
432
+ thursday: import("@matter/types/schema").BitFlag;
433
+ friday: import("@matter/types/schema").BitFlag;
434
+ saturday: import("@matter/types/schema").BitFlag;
435
+ away: import("@matter/types/schema").BitFlag;
436
+ }>>;
437
+ modeForSequence: import("@matter/types").FieldType<import("@matter/types/schema").TypeFromPartialBitSchema<{
438
+ heatSetpointPresent: import("@matter/types/schema").BitFlag;
439
+ coolSetpointPresent: import("@matter/types/schema").BitFlag;
440
+ }>>;
441
+ transitions: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
442
+ transitionTime: import("@matter/types").FieldType<number>;
443
+ heatSetpoint: import("@matter/types").FieldType<number | null>;
444
+ coolSetpoint: import("@matter/types").FieldType<number | null>;
445
+ }>[]>;
446
+ }>, void, any>;
447
+ readonly getWeeklySchedule: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
448
+ daysToReturn: import("@matter/types").FieldType<import("@matter/types/schema").TypeFromPartialBitSchema<{
449
+ sunday: import("@matter/types/schema").BitFlag;
450
+ monday: import("@matter/types/schema").BitFlag;
451
+ tuesday: import("@matter/types/schema").BitFlag;
452
+ wednesday: import("@matter/types/schema").BitFlag;
453
+ thursday: import("@matter/types/schema").BitFlag;
454
+ friday: import("@matter/types/schema").BitFlag;
455
+ saturday: import("@matter/types/schema").BitFlag;
456
+ away: import("@matter/types/schema").BitFlag;
457
+ }>>;
458
+ modeToReturn: import("@matter/types").FieldType<import("@matter/types/schema").TypeFromPartialBitSchema<{
459
+ heatSetpointPresent: import("@matter/types/schema").BitFlag;
460
+ coolSetpointPresent: import("@matter/types/schema").BitFlag;
461
+ }>>;
462
+ }>, import("@matter/types").TypeFromFields<{
463
+ numberOfTransitionsForSequence: import("@matter/types").FieldType<number>;
464
+ dayOfWeekForSequence: import("@matter/types").FieldType<import("@matter/types/schema").TypeFromPartialBitSchema<{
465
+ sunday: import("@matter/types/schema").BitFlag;
466
+ monday: import("@matter/types/schema").BitFlag;
467
+ tuesday: import("@matter/types/schema").BitFlag;
468
+ wednesday: import("@matter/types/schema").BitFlag;
469
+ thursday: import("@matter/types/schema").BitFlag;
470
+ friday: import("@matter/types/schema").BitFlag;
471
+ saturday: import("@matter/types/schema").BitFlag;
472
+ away: import("@matter/types/schema").BitFlag;
473
+ }>>;
474
+ modeForSequence: import("@matter/types").FieldType<import("@matter/types/schema").TypeFromPartialBitSchema<{
475
+ heatSetpointPresent: import("@matter/types/schema").BitFlag;
476
+ coolSetpointPresent: import("@matter/types/schema").BitFlag;
477
+ }>>;
478
+ transitions: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
479
+ transitionTime: import("@matter/types").FieldType<number>;
480
+ heatSetpoint: import("@matter/types").FieldType<number | null>;
481
+ coolSetpoint: import("@matter/types").FieldType<number | null>;
482
+ }>[]>;
483
+ }>, any>;
484
+ readonly clearWeeklySchedule: import("@matter/types").Command<void, void, any>;
485
+ };
486
+ };
487
+ }, {
488
+ readonly flags: {
489
+ readonly setback: true;
490
+ };
491
+ readonly component: {
492
+ readonly attributes: {
493
+ readonly occupiedSetback: import("@matter/types").WritableAttribute<number | null, any>;
494
+ readonly occupiedSetbackMin: import("@matter/types").FixedAttribute<number | null, any>;
495
+ readonly occupiedSetbackMax: import("@matter/types").FixedAttribute<number | null, any>;
496
+ };
497
+ };
498
+ }, {
499
+ readonly flags: {
500
+ readonly setback: true;
501
+ readonly occupancy: true;
502
+ };
503
+ readonly component: {
504
+ readonly attributes: {
505
+ readonly unoccupiedSetback: import("@matter/types").WritableAttribute<number | null, any>;
506
+ readonly unoccupiedSetbackMin: import("@matter/types").FixedAttribute<number | null, any>;
507
+ readonly unoccupiedSetbackMax: import("@matter/types").FixedAttribute<number | null, any>;
508
+ };
509
+ };
510
+ }, {
511
+ readonly flags: {
512
+ readonly presets: true;
513
+ };
514
+ readonly component: {
515
+ readonly attributes: {
516
+ readonly presetTypes: import("@matter/types").FixedAttribute<import("@matter/types").TypeFromFields<{
517
+ presetScenario: import("@matter/types").FieldType<clusters.Thermostat.PresetScenario>;
518
+ numberOfPresets: import("@matter/types").FieldType<number>;
519
+ presetTypeFeatures: import("@matter/types").FieldType<import("@matter/types/schema").TypeFromPartialBitSchema<{
520
+ automatic: import("@matter/types/schema").BitFlag;
521
+ supportsNames: import("@matter/types/schema").BitFlag;
522
+ }>>;
523
+ }>[], any>;
524
+ readonly numberOfPresets: import("@matter/types").FixedAttribute<number, any>;
525
+ readonly activePresetHandle: import("@matter/types").Attribute<Uint8Array<ArrayBufferLike> | null, any>;
526
+ readonly presets: import("@matter/types").WritableAttribute<import("@matter/types").TypeFromFields<{
527
+ presetHandle: import("@matter/types").FieldType<Uint8Array<ArrayBufferLike> | null>;
528
+ presetScenario: import("@matter/types").FieldType<clusters.Thermostat.PresetScenario>;
529
+ name: import("@matter/types").OptionalFieldType<string | null>;
530
+ coolingSetpoint: import("@matter/types").OptionalFieldType<number>;
531
+ heatingSetpoint: import("@matter/types").OptionalFieldType<number>;
532
+ builtIn: import("@matter/types").FieldType<boolean | null>;
533
+ }>[], any>;
534
+ };
535
+ readonly commands: {
536
+ readonly setActivePresetRequest: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
537
+ presetHandle: import("@matter/types").FieldType<Uint8Array<ArrayBufferLike> | null>;
538
+ }>, void, any>;
539
+ };
540
+ };
541
+ }, {
542
+ readonly flags: {
543
+ readonly matterScheduleConfiguration: true;
544
+ };
545
+ readonly component: {
546
+ readonly attributes: {
547
+ readonly scheduleTypes: import("@matter/types").FixedAttribute<import("@matter/types").TypeFromFields<{
548
+ systemMode: import("@matter/types").FieldType<clusters.Thermostat.SystemMode>;
549
+ numberOfSchedules: import("@matter/types").FieldType<number>;
550
+ scheduleTypeFeatures: import("@matter/types").FieldType<import("@matter/types/schema").TypeFromPartialBitSchema<{
551
+ supportsPresets: import("@matter/types/schema").BitFlag;
552
+ supportsSetpoints: import("@matter/types/schema").BitFlag;
553
+ supportsNames: import("@matter/types/schema").BitFlag;
554
+ supportsOff: import("@matter/types/schema").BitFlag;
555
+ }>>;
556
+ }>[], any>;
557
+ readonly numberOfSchedules: import("@matter/types").FixedAttribute<number, any>;
558
+ readonly numberOfScheduleTransitions: import("@matter/types").FixedAttribute<number, any>;
559
+ readonly numberOfScheduleTransitionPerDay: import("@matter/types").FixedAttribute<number | null, any>;
560
+ readonly activeScheduleHandle: import("@matter/types").Attribute<Uint8Array<ArrayBufferLike> | null, any>;
561
+ readonly schedules: import("@matter/types").WritableAttribute<import("@matter/types").TypeFromFields<{
562
+ scheduleHandle: import("@matter/types").FieldType<Uint8Array<ArrayBufferLike> | null>;
563
+ systemMode: import("@matter/types").FieldType<clusters.Thermostat.SystemMode>;
564
+ name: import("@matter/types").OptionalFieldType<string>;
565
+ presetHandle: import("@matter/types").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
566
+ transitions: import("@matter/types").FieldType<import("@matter/types").TypeFromFields<{
567
+ dayOfWeek: import("@matter/types").FieldType<import("@matter/types/schema").TypeFromPartialBitSchema<{
568
+ sunday: import("@matter/types/schema").BitFlag;
569
+ monday: import("@matter/types/schema").BitFlag;
570
+ tuesday: import("@matter/types/schema").BitFlag;
571
+ wednesday: import("@matter/types/schema").BitFlag;
572
+ thursday: import("@matter/types/schema").BitFlag;
573
+ friday: import("@matter/types/schema").BitFlag;
574
+ saturday: import("@matter/types/schema").BitFlag;
575
+ away: import("@matter/types/schema").BitFlag;
576
+ }>>;
577
+ transitionTime: import("@matter/types").FieldType<number>;
578
+ presetHandle: import("@matter/types").OptionalFieldType<Uint8Array<ArrayBufferLike>>;
579
+ systemMode: import("@matter/types").OptionalFieldType<clusters.Thermostat.SystemMode>;
580
+ coolingSetpoint: import("@matter/types").OptionalFieldType<number>;
581
+ heatingSetpoint: import("@matter/types").OptionalFieldType<number>;
582
+ }>[]>;
583
+ builtIn: import("@matter/types").FieldType<boolean | null>;
584
+ }>[], any>;
585
+ };
586
+ readonly commands: {
587
+ readonly setActiveScheduleRequest: import("@matter/types").Command<import("@matter/types").TypeFromFields<{
588
+ scheduleHandle: import("@matter/types").FieldType<Uint8Array<ArrayBufferLike>>;
589
+ }>, void, any>;
590
+ };
591
+ };
592
+ }, {
593
+ readonly flags: {
594
+ readonly autoMode: true;
595
+ readonly heating: false;
596
+ };
597
+ readonly component: false;
598
+ }, {
599
+ readonly flags: {
600
+ readonly autoMode: true;
601
+ readonly cooling: false;
602
+ };
603
+ readonly component: false;
604
+ }, {
605
+ readonly flags: {
606
+ readonly heating: false;
607
+ readonly cooling: false;
608
+ };
609
+ readonly component: false;
610
+ }];
611
+ }>, readonly ["Heating", "Cooling"]>, typeof import("@matter/main/behaviors").ThermostatServer, import("@matter/main/behaviors").ThermostatInterface>]>>;
612
+ readonly Fan: devices.FanDevice;
613
+ readonly DoorLock: devices.DoorLockDevice;
614
+ readonly WindowCovering: devices.WindowCoveringDevice;
615
+ readonly RoboticVacuumCleaner: devices.RoboticVacuumCleanerDevice;
616
+ readonly GenericSwitch: devices.GenericSwitchDevice;
617
+ readonly Pump: devices.PumpDevice;
618
+ readonly RoomAirConditioner: devices.RoomAirConditionerDevice;
619
+ };
620
+ /**
621
+ * Get Matter clusters available for plugin use
622
+ */
623
+ getClusters(): typeof clusters;
624
+ /**
625
+ * Remove a specific fabric (controller) from the bridge
626
+ * This decommissions a single controller while leaving others intact
627
+ *
628
+ * @param fabricIndex - The fabric index to remove
629
+ * @returns Promise that resolves when the fabric is removed
630
+ */
631
+ removeFabric(fabricIndex: number): Promise<void>;
632
+ /**
633
+ * Check if a specific fabric exists
634
+ */
635
+ hasFabric(fabricIndex: number): boolean;
636
+ /**
637
+ * Notify controllers that the parts list has changed
638
+ * This triggers controllers (like Home app) to re-read the device list
639
+ * and discover new or removed accessories without needing to re-pair
640
+ */
641
+ private notifyPartsListChanged;
642
+ }
643
+ //# sourceMappingURL=matterServer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"matterServer.d.ts","sourceRoot":"","sources":["../../src/matter/matterServer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAA;AAG1E,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAiB1C,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAA;AA4B/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAE3D,OAAO,EACL,QAAQ,EAGR,eAAe,EAGf,kBAAkB,EACnB,MAAM,kBAAkB,CAAA;AAgBzB,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAE3D;;;;;GAKG;AACH,qBAAa,YAAa,SAAQ,YAAY;IAE7B,EAAE,EAAE,CAAC,CAAC,SAAS,MAAM,kBAAkB,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IAC3F,IAAI,EAAE,CAAC,CAAC,SAAS,MAAM,kBAAkB,EAAE,KAAK,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,KAAK,OAAO,CAAA;IAC3G,cAAc,EAAE,CAAC,CAAC,SAAS,MAAM,kBAAkB,EAAE,KAAK,EAAE,CAAC,EAAE,QAAQ,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IACvG,kBAAkB,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,kBAAkB,KAAK,IAAI,CAAA;IAE7E,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,UAAU,CAA0B;IAC5C,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