matterbridge 1.6.5-dev.2 → 1.6.5-dev.3

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 (88) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/cli.js +0 -26
  3. package/dist/cluster/export.js +0 -2
  4. package/dist/defaultConfigSchema.js +0 -23
  5. package/dist/deviceManager.js +1 -26
  6. package/dist/index.js +0 -30
  7. package/dist/logger/export.js +0 -1
  8. package/dist/matter/export.js +0 -1
  9. package/dist/matterbridge.js +62 -702
  10. package/dist/matterbridgeAccessoryPlatform.js +0 -33
  11. package/dist/matterbridgeBehaviors.js +1 -29
  12. package/dist/matterbridgeDevice.js +117 -884
  13. package/dist/matterbridgeDeviceTypes.js +12 -40
  14. package/dist/matterbridgeDynamicPlatform.js +0 -33
  15. package/dist/matterbridgeEdge.js +0 -525
  16. package/dist/matterbridgeEndpoint.js +100 -943
  17. package/dist/matterbridgePlatform.js +3 -74
  18. package/dist/matterbridgeTypes.js +0 -24
  19. package/dist/matterbridgeWebsocket.js +0 -45
  20. package/dist/pluginManager.js +3 -231
  21. package/dist/storage/export.js +0 -1
  22. package/dist/utils/colorUtils.js +2 -78
  23. package/dist/utils/export.js +0 -1
  24. package/dist/utils/utils.js +7 -252
  25. package/frontend/build/asset-manifest.json +3 -3
  26. package/frontend/build/index.html +1 -1
  27. package/frontend/build/static/js/{main.a14c87e7.js → main.0ab89802.js} +3 -3
  28. package/frontend/build/static/js/{main.a14c87e7.js.map → main.0ab89802.js.map} +1 -1
  29. package/npm-shrinkwrap.json +5 -5
  30. package/package.json +4 -4
  31. package/tsconfig.production.json +19 -0
  32. package/dist/cli.d.ts.map +0 -1
  33. package/dist/cli.js.map +0 -1
  34. package/dist/cluster/export.d.ts.map +0 -1
  35. package/dist/cluster/export.js.map +0 -1
  36. package/dist/defaultConfigSchema.d.ts.map +0 -1
  37. package/dist/defaultConfigSchema.js.map +0 -1
  38. package/dist/deviceManager.d.ts +0 -46
  39. package/dist/deviceManager.d.ts.map +0 -1
  40. package/dist/deviceManager.js.map +0 -1
  41. package/dist/index.d.ts.map +0 -1
  42. package/dist/index.js.map +0 -1
  43. package/dist/logger/export.d.ts.map +0 -1
  44. package/dist/logger/export.js.map +0 -1
  45. package/dist/matter/export.d.ts.map +0 -1
  46. package/dist/matter/export.js.map +0 -1
  47. package/dist/matterbridge.d.ts +0 -466
  48. package/dist/matterbridge.d.ts.map +0 -1
  49. package/dist/matterbridge.js.map +0 -1
  50. package/dist/matterbridgeAccessoryPlatform.d.ts.map +0 -1
  51. package/dist/matterbridgeAccessoryPlatform.js.map +0 -1
  52. package/dist/matterbridgeBehaviors.d.ts +0 -934
  53. package/dist/matterbridgeBehaviors.d.ts.map +0 -1
  54. package/dist/matterbridgeBehaviors.js.map +0 -1
  55. package/dist/matterbridgeDevice.d.ts +0 -5307
  56. package/dist/matterbridgeDevice.d.ts.map +0 -1
  57. package/dist/matterbridgeDevice.js.map +0 -1
  58. package/dist/matterbridgeDeviceTypes.d.ts +0 -65
  59. package/dist/matterbridgeDeviceTypes.d.ts.map +0 -1
  60. package/dist/matterbridgeDeviceTypes.js.map +0 -1
  61. package/dist/matterbridgeDynamicPlatform.d.ts.map +0 -1
  62. package/dist/matterbridgeDynamicPlatform.js.map +0 -1
  63. package/dist/matterbridgeEdge.d.ts +0 -89
  64. package/dist/matterbridgeEdge.d.ts.map +0 -1
  65. package/dist/matterbridgeEdge.js.map +0 -1
  66. package/dist/matterbridgeEndpoint.d.ts +0 -7368
  67. package/dist/matterbridgeEndpoint.d.ts.map +0 -1
  68. package/dist/matterbridgeEndpoint.js.map +0 -1
  69. package/dist/matterbridgePlatform.d.ts +0 -96
  70. package/dist/matterbridgePlatform.d.ts.map +0 -1
  71. package/dist/matterbridgePlatform.js.map +0 -1
  72. package/dist/matterbridgeTypes.d.ts.map +0 -1
  73. package/dist/matterbridgeTypes.js.map +0 -1
  74. package/dist/matterbridgeWebsocket.d.ts.map +0 -1
  75. package/dist/matterbridgeWebsocket.js.map +0 -1
  76. package/dist/pluginManager.d.ts +0 -238
  77. package/dist/pluginManager.d.ts.map +0 -1
  78. package/dist/pluginManager.js.map +0 -1
  79. package/dist/storage/export.d.ts.map +0 -1
  80. package/dist/storage/export.js.map +0 -1
  81. package/dist/utils/colorUtils.d.ts.map +0 -1
  82. package/dist/utils/colorUtils.js.map +0 -1
  83. package/dist/utils/export.d.ts.map +0 -1
  84. package/dist/utils/export.js.map +0 -1
  85. package/dist/utils/utils.d.ts +0 -221
  86. package/dist/utils/utils.d.ts.map +0 -1
  87. package/dist/utils/utils.js.map +0 -1
  88. /package/frontend/build/static/js/{main.a14c87e7.js.LICENSE.txt → main.0ab89802.js.LICENSE.txt} +0 -0
@@ -1,37 +1,5 @@
1
- /**
2
- * This file contains the class MatterbridgeAccessoryPlatform.
3
- *
4
- * @file matterbridgeAccessoryPlatform.ts
5
- * @author Luca Liguori
6
- * @date 2023-12-29
7
- * @version 1.0.5
8
- *
9
- * Copyright 2023, 2024, 2025 Luca Liguori.
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License. *
22
- */
23
1
  import { MatterbridgePlatform } from './matterbridgePlatform.js';
24
- /**
25
- * Represents a Matterbridge accessory platform.
26
- *
27
- */
28
2
  export class MatterbridgeAccessoryPlatform extends MatterbridgePlatform {
29
- /**
30
- * Creates an instance of MatterbridgeAccessoryPlatform.
31
- * @param {Matterbridge} matterbridge - The Matterbridge instance.
32
- * @param {AnsiLogger} log - The logger instance.
33
- * @param {PlatformConfig} config - The platform configuration.
34
- */
35
3
  constructor(matterbridge, log, config) {
36
4
  super(matterbridge, log, config);
37
5
  this.type = 'AccessoryPlatform';
@@ -39,4 +7,3 @@ export class MatterbridgeAccessoryPlatform extends MatterbridgePlatform {
39
7
  this.log.debug(`Matterbridge${this.type} loaded`);
40
8
  }
41
9
  }
42
- //# sourceMappingURL=matterbridgeAccessoryPlatform.js.map
@@ -1,29 +1,3 @@
1
- /**
2
- * This file contains the class MatterbridgeEndpoint that extends the Endpoint class from the Matter.js library.
3
- *
4
- * @file matterbridgeBehaviors.ts
5
- * @author Luca Liguori
6
- * @date 2024-11-07
7
- * @version 1.0.0
8
- *
9
- * Copyright 2024, 2025, 2026 Luca Liguori.
10
- *
11
- * Licensed under the Apache License, Version 2.0 (the "License");
12
- * you may not use this file except in compliance with the License.
13
- * You may obtain a copy of the License at
14
- *
15
- * http://www.apache.org/licenses/LICENSE-2.0
16
- *
17
- * Unless required by applicable law or agreed to in writing, software
18
- * distributed under the License is distributed on an "AS IS" BASIS,
19
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
- * See the License for the specific language governing permissions and
21
- * limitations under the License. *
22
- */
23
- /* eslint-disable @typescript-eslint/no-namespace */
24
- /* eslint-disable @typescript-eslint/no-unused-vars */
25
- /* eslint-disable @typescript-eslint/no-explicit-any */
26
- // @matter
27
1
  import { Behavior } from '@matter/main';
28
2
  import { ColorControlServer, DoorLockServer, IdentifyServer, LevelControlServer, WindowCoveringServer, ThermostatServer, FanControlServer, BooleanStateConfigurationServer, } from '@matter/main/behaviors';
29
3
  import { BooleanStateConfiguration, ColorControl, FanControl, Thermostat, WindowCovering } from '@matter/main/clusters';
@@ -31,7 +5,7 @@ import { OnOffServer } from '@matter/node/behaviors/on-off';
31
5
  export class MatterbridgeBehaviorDevice {
32
6
  log;
33
7
  commandHandler;
34
- device; // Will be a plugin device
8
+ device;
35
9
  endpointId = undefined;
36
10
  endpointNumber = undefined;
37
11
  constructor(log, commandHandler, device) {
@@ -230,7 +204,6 @@ export class MatterbridgeWindowCoveringServer extends WindowCoveringServer.with(
230
204
  super.goToLiftPercentage({ liftPercent100thsValue });
231
205
  }
232
206
  async handleMovement(type, reversed, direction, targetPercent100ths) {
233
- // Do nothing here, as the device will handle the movement
234
207
  }
235
208
  }
236
209
  export class MatterbridgeDoorLockServer extends DoorLockServer {
@@ -298,4 +271,3 @@ export class MatterbridgeBooleanStateConfigurationServer extends BooleanStateCon
298
271
  super.enableDisableAlarm({ alarmsToEnableDisable });
299
272
  }
300
273
  }
301
- //# sourceMappingURL=matterbridgeBehaviors.js.map