matterbridge 3.0.7 → 3.0.8-dev-20250622-f9e44a2

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 (207) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/bin/matterbridge +2 -0
  3. package/dist/cli.js +5 -66
  4. package/dist/clusters/export.js +0 -2
  5. package/dist/defaultConfigSchema.js +0 -23
  6. package/dist/deviceManager.js +2 -95
  7. package/dist/devices/export.js +0 -2
  8. package/dist/evse.js +9 -65
  9. package/dist/frontend.js +47 -383
  10. package/dist/globalMatterbridge.js +0 -20
  11. package/dist/helpers.js +4 -52
  12. package/dist/index.js +2 -29
  13. package/dist/laundryWasher.js +7 -92
  14. package/dist/logger/export.js +0 -1
  15. package/dist/matter/behaviors.js +0 -2
  16. package/dist/matter/clusters.js +0 -2
  17. package/dist/matter/devices.js +0 -2
  18. package/dist/matter/endpoints.js +0 -2
  19. package/dist/matter/export.js +0 -2
  20. package/dist/matter/types.js +0 -2
  21. package/dist/matterbridge.js +53 -755
  22. package/dist/matterbridgeAccessoryPlatform.js +0 -34
  23. package/dist/matterbridgeBehaviors.js +1 -54
  24. package/dist/matterbridgeDeviceTypes.js +15 -578
  25. package/dist/matterbridgeDynamicPlatform.js +0 -34
  26. package/dist/matterbridgeEndpoint.js +45 -1000
  27. package/dist/matterbridgeEndpointHelpers.js +12 -206
  28. package/dist/matterbridgePlatform.js +13 -224
  29. package/dist/matterbridgeTypes.js +0 -24
  30. package/dist/pluginManager.js +4 -270
  31. package/dist/roboticVacuumCleaner.js +9 -84
  32. package/dist/shelly.js +9 -156
  33. package/dist/storage/export.js +0 -1
  34. package/dist/update.js +0 -53
  35. package/dist/utils/colorUtils.js +2 -205
  36. package/dist/utils/commandLine.js +0 -53
  37. package/dist/utils/copyDirectory.js +1 -37
  38. package/dist/utils/createDirectory.js +0 -31
  39. package/dist/utils/createZip.js +2 -42
  40. package/dist/utils/deepCopy.js +0 -38
  41. package/dist/utils/deepEqual.js +1 -71
  42. package/dist/utils/export.js +0 -1
  43. package/dist/utils/hex.js +0 -57
  44. package/dist/utils/isvalid.js +0 -100
  45. package/dist/utils/network.js +6 -77
  46. package/dist/utils/spawn.js +0 -16
  47. package/dist/utils/wait.js +10 -58
  48. package/dist/waterHeater.js +5 -65
  49. package/frontend/build/matterbridge 1250x1250.png +0 -0
  50. package/frontend/build/matterbridge 624x624.png +0 -0
  51. package/frontend/package-lock.json +19176 -0
  52. package/frontend/package.json +79 -0
  53. package/frontend/public/Shelly.svg +1 -0
  54. package/frontend/public/bmc-button.svg +22 -0
  55. package/frontend/public/discord.svg +5 -0
  56. package/frontend/public/favicon.ico +0 -0
  57. package/frontend/public/index.html +19 -0
  58. package/frontend/public/manifest.json +15 -0
  59. package/frontend/public/matter.png +0 -0
  60. package/frontend/public/matterbridge 1250x1250.png +0 -0
  61. package/frontend/public/matterbridge 32x32.png +0 -0
  62. package/frontend/public/matterbridge 624x624.png +0 -0
  63. package/frontend/public/matterbridge 64x64.png +0 -0
  64. package/frontend/public/matterbridge.svg +50 -0
  65. package/frontend/public/robots.txt +3 -0
  66. package/npm-shrinkwrap.json +27 -36
  67. package/package.json +2 -3
  68. package/dist/cli.d.ts +0 -29
  69. package/dist/cli.d.ts.map +0 -1
  70. package/dist/cli.js.map +0 -1
  71. package/dist/clusters/export.d.ts +0 -2
  72. package/dist/clusters/export.d.ts.map +0 -1
  73. package/dist/clusters/export.js.map +0 -1
  74. package/dist/defaultConfigSchema.d.ts +0 -27
  75. package/dist/defaultConfigSchema.d.ts.map +0 -1
  76. package/dist/defaultConfigSchema.js.map +0 -1
  77. package/dist/deviceManager.d.ts +0 -114
  78. package/dist/deviceManager.d.ts.map +0 -1
  79. package/dist/deviceManager.js.map +0 -1
  80. package/dist/devices/export.d.ts +0 -5
  81. package/dist/devices/export.d.ts.map +0 -1
  82. package/dist/devices/export.js.map +0 -1
  83. package/dist/evse.d.ts +0 -67
  84. package/dist/evse.d.ts.map +0 -1
  85. package/dist/evse.js.map +0 -1
  86. package/dist/frontend.d.ts +0 -256
  87. package/dist/frontend.d.ts.map +0 -1
  88. package/dist/frontend.js.map +0 -1
  89. package/dist/globalMatterbridge.d.ts +0 -32
  90. package/dist/globalMatterbridge.d.ts.map +0 -1
  91. package/dist/globalMatterbridge.js.map +0 -1
  92. package/dist/helpers.d.ts +0 -47
  93. package/dist/helpers.d.ts.map +0 -1
  94. package/dist/helpers.js.map +0 -1
  95. package/dist/index.d.ts +0 -37
  96. package/dist/index.d.ts.map +0 -1
  97. package/dist/index.js.map +0 -1
  98. package/dist/laundryWasher.d.ts +0 -243
  99. package/dist/laundryWasher.d.ts.map +0 -1
  100. package/dist/laundryWasher.js.map +0 -1
  101. package/dist/logger/export.d.ts +0 -2
  102. package/dist/logger/export.d.ts.map +0 -1
  103. package/dist/logger/export.js.map +0 -1
  104. package/dist/matter/behaviors.d.ts +0 -2
  105. package/dist/matter/behaviors.d.ts.map +0 -1
  106. package/dist/matter/behaviors.js.map +0 -1
  107. package/dist/matter/clusters.d.ts +0 -2
  108. package/dist/matter/clusters.d.ts.map +0 -1
  109. package/dist/matter/clusters.js.map +0 -1
  110. package/dist/matter/devices.d.ts +0 -2
  111. package/dist/matter/devices.d.ts.map +0 -1
  112. package/dist/matter/devices.js.map +0 -1
  113. package/dist/matter/endpoints.d.ts +0 -2
  114. package/dist/matter/endpoints.d.ts.map +0 -1
  115. package/dist/matter/endpoints.js.map +0 -1
  116. package/dist/matter/export.d.ts +0 -5
  117. package/dist/matter/export.d.ts.map +0 -1
  118. package/dist/matter/export.js.map +0 -1
  119. package/dist/matter/types.d.ts +0 -3
  120. package/dist/matter/types.d.ts.map +0 -1
  121. package/dist/matter/types.js.map +0 -1
  122. package/dist/matterbridge.d.ts +0 -445
  123. package/dist/matterbridge.d.ts.map +0 -1
  124. package/dist/matterbridge.js.map +0 -1
  125. package/dist/matterbridgeAccessoryPlatform.d.ts +0 -40
  126. package/dist/matterbridgeAccessoryPlatform.d.ts.map +0 -1
  127. package/dist/matterbridgeAccessoryPlatform.js.map +0 -1
  128. package/dist/matterbridgeBehaviors.d.ts +0 -1333
  129. package/dist/matterbridgeBehaviors.d.ts.map +0 -1
  130. package/dist/matterbridgeBehaviors.js.map +0 -1
  131. package/dist/matterbridgeDeviceTypes.d.ts +0 -644
  132. package/dist/matterbridgeDeviceTypes.d.ts.map +0 -1
  133. package/dist/matterbridgeDeviceTypes.js.map +0 -1
  134. package/dist/matterbridgeDynamicPlatform.d.ts +0 -40
  135. package/dist/matterbridgeDynamicPlatform.d.ts.map +0 -1
  136. package/dist/matterbridgeDynamicPlatform.js.map +0 -1
  137. package/dist/matterbridgeEndpoint.d.ts +0 -1145
  138. package/dist/matterbridgeEndpoint.d.ts.map +0 -1
  139. package/dist/matterbridgeEndpoint.js.map +0 -1
  140. package/dist/matterbridgeEndpointHelpers.d.ts +0 -3083
  141. package/dist/matterbridgeEndpointHelpers.d.ts.map +0 -1
  142. package/dist/matterbridgeEndpointHelpers.js.map +0 -1
  143. package/dist/matterbridgePlatform.d.ts +0 -290
  144. package/dist/matterbridgePlatform.d.ts.map +0 -1
  145. package/dist/matterbridgePlatform.js.map +0 -1
  146. package/dist/matterbridgeTypes.d.ts +0 -196
  147. package/dist/matterbridgeTypes.d.ts.map +0 -1
  148. package/dist/matterbridgeTypes.js.map +0 -1
  149. package/dist/pluginManager.d.ts +0 -273
  150. package/dist/pluginManager.d.ts.map +0 -1
  151. package/dist/pluginManager.js.map +0 -1
  152. package/dist/roboticVacuumCleaner.d.ts +0 -102
  153. package/dist/roboticVacuumCleaner.d.ts.map +0 -1
  154. package/dist/roboticVacuumCleaner.js.map +0 -1
  155. package/dist/shelly.d.ts +0 -161
  156. package/dist/shelly.d.ts.map +0 -1
  157. package/dist/shelly.js.map +0 -1
  158. package/dist/storage/export.d.ts +0 -2
  159. package/dist/storage/export.d.ts.map +0 -1
  160. package/dist/storage/export.js.map +0 -1
  161. package/dist/update.d.ts +0 -58
  162. package/dist/update.d.ts.map +0 -1
  163. package/dist/update.js.map +0 -1
  164. package/dist/utils/colorUtils.d.ts +0 -61
  165. package/dist/utils/colorUtils.d.ts.map +0 -1
  166. package/dist/utils/colorUtils.js.map +0 -1
  167. package/dist/utils/commandLine.d.ts +0 -58
  168. package/dist/utils/commandLine.d.ts.map +0 -1
  169. package/dist/utils/commandLine.js.map +0 -1
  170. package/dist/utils/copyDirectory.d.ts +0 -32
  171. package/dist/utils/copyDirectory.d.ts.map +0 -1
  172. package/dist/utils/copyDirectory.js.map +0 -1
  173. package/dist/utils/createDirectory.d.ts +0 -32
  174. package/dist/utils/createDirectory.d.ts.map +0 -1
  175. package/dist/utils/createDirectory.js.map +0 -1
  176. package/dist/utils/createZip.d.ts +0 -38
  177. package/dist/utils/createZip.d.ts.map +0 -1
  178. package/dist/utils/createZip.js.map +0 -1
  179. package/dist/utils/deepCopy.d.ts +0 -31
  180. package/dist/utils/deepCopy.d.ts.map +0 -1
  181. package/dist/utils/deepCopy.js.map +0 -1
  182. package/dist/utils/deepEqual.d.ts +0 -53
  183. package/dist/utils/deepEqual.d.ts.map +0 -1
  184. package/dist/utils/deepEqual.js.map +0 -1
  185. package/dist/utils/export.d.ts +0 -12
  186. package/dist/utils/export.d.ts.map +0 -1
  187. package/dist/utils/export.js.map +0 -1
  188. package/dist/utils/hex.d.ts +0 -48
  189. package/dist/utils/hex.d.ts.map +0 -1
  190. package/dist/utils/hex.js.map +0 -1
  191. package/dist/utils/isvalid.d.ts +0 -102
  192. package/dist/utils/isvalid.d.ts.map +0 -1
  193. package/dist/utils/isvalid.js.map +0 -1
  194. package/dist/utils/network.d.ts +0 -69
  195. package/dist/utils/network.d.ts.map +0 -1
  196. package/dist/utils/network.js.map +0 -1
  197. package/dist/utils/spawn.d.ts +0 -12
  198. package/dist/utils/spawn.d.ts.map +0 -1
  199. package/dist/utils/spawn.js.map +0 -1
  200. package/dist/utils/wait.d.ts +0 -52
  201. package/dist/utils/wait.d.ts.map +0 -1
  202. package/dist/utils/wait.js.map +0 -1
  203. package/dist/waterHeater.d.ts +0 -90
  204. package/dist/waterHeater.d.ts.map +0 -1
  205. package/dist/waterHeater.js.map +0 -1
  206. package/tsconfig.jest.json +0 -8
  207. package/tsconfig.production.json +0 -13
@@ -1 +0,0 @@
1
- {"version":3,"file":"laundryWasher.d.ts","sourceRoot":"","sources":["../src/laundryWasher.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAE3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAKrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAGjE,qBAAa,aAAc,SAAQ,oBAAoB;IACrD;;;;;;;;;;;;;;;;;;;;;;;OAuBG;gBAED,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,MAAM,EACpB,cAAc,CAAC,EAAE,iBAAiB,CAAC,UAAU,EAAE,EAC/C,gBAAgB,CAAC,EAAE,MAAM,EACzB,UAAU,CAAC,EAAE,MAAM,EAAE,EACrB,cAAc,CAAC,EAAE,qBAAqB,CAAC,cAAc,EACrD,eAAe,CAAC,EAAE,qBAAqB,CAAC,cAAc,EAAE,EACxD,wBAAwB,CAAC,EAAE,MAAM,EACjC,0BAA0B,CAAC,EAAE,MAAM,EAAE,EACrC,mBAAmB,CAAC,EA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AC,OAAO,CAAC;YACzC,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;QAC9E,CAAC;aAAM,CAAC;YACN,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,8EAA8E,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;YAClH,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,gBAAgB,CAAC,aAAa,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC;QACzF,CAAC;IACH,CAAC;CACF"}
@@ -1,2 +0,0 @@
1
- export * from 'node-ansi-logger';
2
- //# sourceMappingURL=export.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/logger/export.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"export.js","sourceRoot":"","sources":["../../src/logger/export.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from '@matter/node/behaviors';
2
- //# sourceMappingURL=behaviors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"behaviors.d.ts","sourceRoot":"","sources":["../../src/matter/behaviors.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"behaviors.js","sourceRoot":"","sources":["../../src/matter/behaviors.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,cAAc,wBAAwB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from '@matter/types/clusters';
2
- //# sourceMappingURL=clusters.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clusters.d.ts","sourceRoot":"","sources":["../../src/matter/clusters.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"clusters.js","sourceRoot":"","sources":["../../src/matter/clusters.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,cAAc,wBAAwB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from '@matter/node/devices';
2
- //# sourceMappingURL=devices.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"devices.d.ts","sourceRoot":"","sources":["../../src/matter/devices.ts"],"names":[],"mappings":"AACA,cAAc,sBAAsB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"devices.js","sourceRoot":"","sources":["../../src/matter/devices.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,cAAc,sBAAsB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { AggregatorEndpoint, ElectricalSensorEndpoint, PowerSourceEndpoint, BridgedNodeEndpoint, RootEndpoint, DeviceEnergyManagementEndpoint, OtaProviderEndpoint, OtaRequestorEndpoint } from '@matter/node/endpoints';
2
- //# sourceMappingURL=endpoints.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../src/matter/endpoints.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,YAAY,EAAE,8BAA8B,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../src/matter/endpoints.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,YAAY,EAAE,8BAA8B,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -1,5 +0,0 @@
1
- export * from '@matter/main';
2
- export { SemanticNamespace, ClosureTag, CompassDirectionTag, CompassLocationTag, DirectionTag, ElectricalMeasurementTag, LaundryTag, LevelTag, LocationTag, NumberTag, PositionTag, PowerSourceTag, RefrigeratorTag, RoomAirConditionerTag, SwitchesTag, } from '@matter/main';
3
- export { AttributeElement, ClusterElement, ClusterModel, CommandElement, EventElement, FieldElement } from '@matter/main/model';
4
- export { MdnsService, Val } from '@matter/main/protocol';
5
- //# sourceMappingURL=export.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/matter/export.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,wBAAwB,EACxB,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,WAAW,EACX,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,WAAW,GACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChI,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"export.js","sourceRoot":"","sources":["../../src/matter/export.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,cAAc,cAAc,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,wBAAwB,EACxB,UAAU,EACV,QAAQ,EACR,WAAW,EACX,SAAS,EACT,WAAW,EACX,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,WAAW,GACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,YAAY,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAChI,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from '@matter/types';
2
- export { Semtag, ClusterRegistry } from '@matter/types';
3
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/matter/types.ts"],"names":[],"mappings":"AACA,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/matter/types.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAU,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -1,445 +0,0 @@
1
- /**
2
- * This file contains the class Matterbridge.
3
- *
4
- * @file matterbridge.ts
5
- * @author Luca Liguori
6
- * @date 2023-12-29
7
- * @version 1.6.0
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
- import EventEmitter from 'node:events';
24
- import { AnsiLogger, LogLevel } from './logger/export.js';
25
- import { NodeStorageManager, NodeStorage } from './storage/export.js';
26
- import { MatterbridgeInformation, RegisteredPlugin, SanitizedExposedFabricInformation, SanitizedSessionInformation, SystemInformation } from './matterbridgeTypes.js';
27
- import { PluginManager } from './pluginManager.js';
28
- import { DeviceManager } from './deviceManager.js';
29
- import { MatterbridgeEndpoint } from './matterbridgeEndpoint.js';
30
- import { Frontend } from './frontend.js';
31
- import { Endpoint, LogLevel as MatterLogLevel, VendorId, StorageContext, StorageManager, StorageService, Environment, ServerNode } from '@matter/main';
32
- import { DeviceCertification } from '@matter/main/protocol';
33
- import { AggregatorEndpoint } from '@matter/main/endpoints';
34
- /**
35
- * Represents the Matterbridge events.
36
- */
37
- interface MatterbridgeEvent {
38
- shutdown: [];
39
- restart: [];
40
- update: [];
41
- initialize_started: [];
42
- initialize_completed: [];
43
- online: [nodeid: string];
44
- offline: [nodeid: string];
45
- cleanup_started: [];
46
- cleanup_completed: [];
47
- startmemorycheck: [];
48
- stopmemorycheck: [];
49
- startinspector: [];
50
- stopinspector: [];
51
- takeheapsnapshot: [];
52
- triggergarbagecollection: [];
53
- }
54
- /**
55
- * Represents the Matterbridge application.
56
- */
57
- export declare class Matterbridge extends EventEmitter {
58
- systemInformation: SystemInformation;
59
- matterbridgeInformation: MatterbridgeInformation;
60
- homeDirectory: string;
61
- rootDirectory: string;
62
- matterbridgeDirectory: string;
63
- matterbridgePluginDirectory: string;
64
- matterbridgeCertDirectory: string;
65
- globalModulesDirectory: string;
66
- matterbridgeVersion: string;
67
- matterbridgeLatestVersion: string;
68
- matterbridgeDevVersion: string;
69
- matterbridgeQrPairingCode: string | undefined;
70
- matterbridgeManualPairingCode: string | undefined;
71
- matterbridgeFabricInformations: SanitizedExposedFabricInformation[] | undefined;
72
- matterbridgeSessionInformations: SanitizedSessionInformation[] | undefined;
73
- matterbridgePaired: boolean | undefined;
74
- bridgeMode: 'bridge' | 'childbridge' | 'controller' | '';
75
- restartMode: 'service' | 'docker' | '';
76
- profile: string | undefined;
77
- shutdown: boolean;
78
- edge: boolean;
79
- private readonly failCountLimit;
80
- log: AnsiLogger;
81
- matterbrideLoggerFile: string;
82
- matterLoggerFile: string;
83
- plugins: PluginManager;
84
- devices: DeviceManager;
85
- frontend: Frontend;
86
- nodeStorage: NodeStorageManager | undefined;
87
- nodeContext: NodeStorage | undefined;
88
- nodeStorageName: string;
89
- private hasCleanupStarted;
90
- private initialized;
91
- private execRunningCount;
92
- private startMatterInterval;
93
- private checkUpdateInterval;
94
- private checkUpdateTimeout;
95
- private configureTimeout;
96
- private reachabilityTimeout;
97
- private endAdvertiseTimeout;
98
- private sigintHandler;
99
- private sigtermHandler;
100
- private exceptionHandler;
101
- private rejectionHandler;
102
- environment: Environment;
103
- matterStorageName: string;
104
- matterStorageService: StorageService | undefined;
105
- matterStorageManager: StorageManager | undefined;
106
- matterbridgeContext: StorageContext | undefined;
107
- controllerContext: StorageContext | undefined;
108
- mdnsInterface: string | undefined;
109
- ipv4address: string | undefined;
110
- ipv6address: string | undefined;
111
- port: number | undefined;
112
- passcode: number | undefined;
113
- discriminator: number | undefined;
114
- certification: DeviceCertification.Definition | undefined;
115
- serverNode: ServerNode<ServerNode.RootEndpoint> | undefined;
116
- aggregatorNode: Endpoint<AggregatorEndpoint> | undefined;
117
- aggregatorVendorId: VendorId;
118
- aggregatorVendorName: string;
119
- aggregatorProductId: number;
120
- aggregatorProductName: string;
121
- protected static instance: Matterbridge | undefined;
122
- protected constructor();
123
- /**
124
- * Emits an event of the specified type with the provided arguments.
125
- *
126
- * @template K - The type of the event.
127
- * @param {K} eventName - The name of the event to emit.
128
- * @param {...MatterbridgeEvent[K]} args - The arguments to pass to the event listeners.
129
- * @returns {boolean} - Returns true if the event had listeners, false otherwise.
130
- */
131
- emit<K extends keyof MatterbridgeEvent>(eventName: K, ...args: MatterbridgeEvent[K]): boolean;
132
- /**
133
- * Registers an event listener for the specified event type.
134
- *
135
- * @template K - The type of the event.
136
- * @param {K} eventName - The name of the event to listen for.
137
- * @param {(...args: MatterbridgeEvent[K]) => void} listener - The callback function to invoke when the event is emitted.
138
- * @returns {this} - Returns the instance of the Matterbridge class.
139
- */
140
- on<K extends keyof MatterbridgeEvent>(eventName: K, listener: (...args: MatterbridgeEvent[K]) => void): this;
141
- /**
142
- * Retrieves the list of Matterbridge devices.
143
- * @returns {MatterbridgeEndpoint[]} An array of MatterbridgeDevice objects.
144
- */
145
- getDevices(): MatterbridgeEndpoint[];
146
- /**
147
- * Retrieves the list of registered plugins.
148
- * @returns {RegisteredPlugin[]} An array of RegisteredPlugin objects.
149
- */
150
- getPlugins(): RegisteredPlugin[];
151
- /**
152
- * Set the logger logLevel for the Matterbridge classes and call onChangeLoggerLevel() for each plugin.
153
- * @param {LogLevel} logLevel The logger logLevel to set.
154
- */
155
- setLogLevel(logLevel: LogLevel): Promise<void>;
156
- /** ***********************************************************************************************************************************/
157
- /** loadInstance() and cleanup() methods */
158
- /** ***********************************************************************************************************************************/
159
- /**
160
- * Loads an instance of the Matterbridge class.
161
- * If an instance already exists, return that instance.
162
- *
163
- * @param {boolean} initialize - Whether to initialize the Matterbridge instance after loading. Defaults to false.
164
- * @returns The loaded Matterbridge instance.
165
- */
166
- static loadInstance(initialize?: boolean): Promise<Matterbridge>;
167
- /**
168
- * Call cleanup() and dispose MdnsService.
169
- *
170
- * @deprecated This method is deprecated and is ONLY used for jest tests.
171
- */
172
- destroyInstance(): Promise<void>;
173
- /**
174
- * Initializes the Matterbridge application.
175
- *
176
- * @remarks
177
- * This method performs the necessary setup and initialization steps for the Matterbridge application.
178
- * It displays the help information if the 'help' parameter is provided, sets up the logger, checks the
179
- * node version, registers signal handlers, initializes storage, and parses the command line.
180
- *
181
- * @returns A Promise that resolves when the initialization is complete.
182
- */
183
- initialize(): Promise<void>;
184
- /**
185
- * Parses the command line arguments and performs the corresponding actions.
186
- * @private
187
- * @returns {Promise<void>} A promise that resolves when the command line arguments have been processed, or the process exits.
188
- */
189
- private parseCommandLine;
190
- /**
191
- * Asynchronously loads and starts the registered plugins.
192
- *
193
- * This method is responsible for initializing and starting all enabled plugins.
194
- * It ensures that each plugin is properly loaded and started before the bridge starts.
195
- *
196
- * @returns {Promise<void>} A promise that resolves when all plugins have been loaded and started.
197
- */
198
- private startPlugins;
199
- /**
200
- * Registers the process handlers for uncaughtException, unhandledRejection, SIGINT and SIGTERM.
201
- * When either of these signals are received, the cleanup method is called with an appropriate message.
202
- */
203
- private registerProcessHandlers;
204
- /**
205
- * Deregisters the process uncaughtException, unhandledRejection, SIGINT and SIGTERM signal handlers.
206
- */
207
- private deregisterProcessHandlers;
208
- /**
209
- * Logs the node and system information.
210
- */
211
- private logNodeAndSystemInfo;
212
- /**
213
- * Creates a MatterLogger function to show the matter.js log messages in AnsiLogger (for the frontend).
214
- *
215
- * @returns {Function} The MatterLogger function.
216
- */
217
- private createMatterLogger;
218
- /**
219
- * Creates a Matter File Logger.
220
- *
221
- * @param {string} filePath - The path to the log file.
222
- * @param {boolean} [unlink=false] - Whether to unlink the log file before creating a new one.
223
- * @returns {Function} - A function that logs formatted messages to the log file.
224
- */
225
- createMatterFileLogger(filePath: string, unlink?: boolean): Promise<(level: MatterLogLevel, formattedLog: string) => Promise<void>>;
226
- /**
227
- * Restarts the process by exiting the current instance and loading a new instance.
228
- */
229
- restartProcess(): Promise<void>;
230
- /**
231
- * Shut down the process by exiting the current process.
232
- */
233
- shutdownProcess(): Promise<void>;
234
- /**
235
- * Update matterbridge and and shut down the process.
236
- */
237
- updateProcess(): Promise<void>;
238
- /**
239
- * Unregister all devices and shut down the process.
240
- */
241
- unregisterAndShutdownProcess(): Promise<void>;
242
- /**
243
- * Reset commissioning and shut down the process.
244
- */
245
- shutdownProcessAndReset(): Promise<void>;
246
- /**
247
- * Factory reset and shut down the process.
248
- */
249
- shutdownProcessAndFactoryReset(): Promise<void>;
250
- /**
251
- * Cleans up the Matterbridge instance.
252
- * @param {string} message - The cleanup message.
253
- * @param {boolean} [restart=false] - Indicates whether to restart the instance after cleanup. Default is `false`.
254
- * @returns A promise that resolves when the cleanup is completed.
255
- */
256
- protected cleanup(message: string, restart?: boolean): Promise<void>;
257
- /**
258
- * Creates and configures the server node for an accessory plugin for a given device.
259
- *
260
- * @param {RegisteredPlugin} plugin - The plugin to configure.
261
- * @param {MatterbridgeEndpoint} device - The device to associate with the plugin.
262
- * @param {boolean} [start=false] - Whether to start the server node after adding the device.
263
- * @returns {Promise<void>} A promise that resolves when the server node for the accessory plugin is created and configured.
264
- */
265
- private createAccessoryPlugin;
266
- /**
267
- * Creates and configures the server node for a dynamic plugin.
268
- *
269
- * @param {RegisteredPlugin} plugin - The plugin to configure.
270
- * @param {boolean} [start=false] - Whether to start the server node after adding the aggregator node.
271
- * @returns {Promise<void>} A promise that resolves when the server node for the dynamic plugin is created and configured.
272
- */
273
- private createDynamicPlugin;
274
- /**
275
- * Starts the Matterbridge in bridge mode.
276
- * @private
277
- * @returns {Promise<void>} A promise that resolves when the Matterbridge is started.
278
- */
279
- private startBridge;
280
- /**
281
- * Starts the Matterbridge in childbridge mode.
282
- * @private
283
- * @returns {Promise<void>} A promise that resolves when the Matterbridge is started.
284
- */
285
- private startChildbridge;
286
- /**
287
- * Starts the Matterbridge controller.
288
- * @private
289
- * @returns {Promise<void>} A promise that resolves when the Matterbridge is started.
290
- */
291
- protected startController(): Promise<void>;
292
- /** ***********************************************************************************************************************************/
293
- /** Matter.js methods */
294
- /** ***********************************************************************************************************************************/
295
- /**
296
- * Starts the matter storage with name Matterbridge, create the matterbridge context and performs a backup.
297
- * @returns {Promise<void>} - A promise that resolves when the storage is started.
298
- */
299
- private startMatterStorage;
300
- /**
301
- * Makes a backup copy of the specified matter storage directory.
302
- *
303
- * @param storageName - The name of the storage directory to be backed up.
304
- * @param backupName - The name of the backup directory to be created.
305
- * @returns {Promise<void>} A promise that resolves when the has been done.
306
- */
307
- private backupMatterStorage;
308
- /**
309
- * Stops the matter storage.
310
- * @returns {Promise<void>} A promise that resolves when the storage is stopped.
311
- */
312
- private stopMatterStorage;
313
- /**
314
- * Creates a server node storage context.
315
- *
316
- * @param {string} pluginName - The name of the plugin.
317
- * @param {string} deviceName - The name of the device.
318
- * @param {DeviceTypeId} deviceType - The device type of the device.
319
- * @param {number} vendorId - The vendor ID.
320
- * @param {string} vendorName - The vendor name.
321
- * @param {number} productId - The product ID.
322
- * @param {string} productName - The product name.
323
- * @param {string} [serialNumber] - The serial number of the device (optional).
324
- * @returns {Promise<StorageContext>} The storage context for the commissioning server.
325
- */
326
- private createServerNodeContext;
327
- /**
328
- * Creates a server node.
329
- *
330
- * @param {StorageContext} storageContext - The storage context for the server node.
331
- * @param {number} [port=5540] - The port number for the server node. Defaults to 5540.
332
- * @param {number} [passcode=20242025] - The passcode for the server node. Defaults to 20242025.
333
- * @param {number} [discriminator=3850] - The discriminator for the server node. Defaults to 3850.
334
- * @returns {Promise<ServerNode<ServerNode.RootEndpoint>>} A promise that resolves to the created server node.
335
- */
336
- private createServerNode;
337
- /**
338
- * Starts the 15 minutes timer to advice that advertising for the specified server node is ended.
339
- *
340
- * @param {ServerNode} [matterServerNode] - The server node to start.
341
- * @param {string} storeId - The store ID of the server node.
342
- */
343
- private startEndAdvertiseTimer;
344
- /**
345
- * Starts the specified server node.
346
- *
347
- * @param {ServerNode} [matterServerNode] - The server node to start.
348
- * @returns {Promise<void>} A promise that resolves when the server node has started.
349
- */
350
- private startServerNode;
351
- /**
352
- * Stops the specified server node.
353
- *
354
- * @param {ServerNode} matterServerNode - The server node to stop.
355
- * @param {number} [timeout=30000] - The timeout in milliseconds for stopping the server node. Defaults to 30 seconds.
356
- * @returns {Promise<void>} A promise that resolves when the server node has stopped.
357
- */
358
- private stopServerNode;
359
- /**
360
- * Advertises the specified server node.
361
- *
362
- * @param {ServerNode} [matterServerNode] - The server node to advertise.
363
- * @returns {Promise<{ qrPairingCode: string, manualPairingCode: string } | undefined>} A promise that resolves to the pairing codes if the server node is advertised, or undefined if not.
364
- */
365
- advertiseServerNode(matterServerNode?: ServerNode): Promise<{
366
- qrPairingCode: string;
367
- manualPairingCode: string;
368
- } | undefined>;
369
- /**
370
- * Stop advertise the specified server node.
371
- *
372
- * @param {ServerNode} [matterServerNode] - The server node to advertise.
373
- * @returns {Promise<void>} A promise that resolves when the server node has stopped advertising.
374
- */
375
- stopAdvertiseServerNode(matterServerNode?: ServerNode): Promise<void>;
376
- /**
377
- * Creates an aggregator node with the specified storage context.
378
- *
379
- * @param {StorageContext} storageContext - The storage context for the aggregator node.
380
- * @returns {Promise<Endpoint<AggregatorEndpoint>>} A promise that resolves to the created aggregator node.
381
- */
382
- private createAggregatorNode;
383
- /**
384
- * Adds a MatterbridgeEndpoint to the specified plugin.
385
- *
386
- * @param {string} pluginName - The name of the plugin.
387
- * @param {MatterbridgeEndpoint} device - The device to add as a bridged endpoint.
388
- * @returns {Promise<void>} A promise that resolves when the bridged endpoint has been added.
389
- */
390
- addBridgedEndpoint(pluginName: string, device: MatterbridgeEndpoint): Promise<void>;
391
- /**
392
- * Removes a MatterbridgeEndpoint from the specified plugin.
393
- *
394
- * @param {string} pluginName - The name of the plugin.
395
- * @param {MatterbridgeEndpoint} device - The device to remove as a bridged endpoint.
396
- * @returns {Promise<void>} A promise that resolves when the bridged endpoint has been removed.
397
- */
398
- removeBridgedEndpoint(pluginName: string, device: MatterbridgeEndpoint): Promise<void>;
399
- /**
400
- * Removes all bridged endpoints from the specified plugin.
401
- *
402
- * @param {string} pluginName - The name of the plugin.
403
- * @param {number} [delay=0] - The delay in milliseconds between removing each bridged endpoint (default: 0).
404
- * @returns {Promise<void>} A promise that resolves when all bridged endpoints have been removed.
405
- *
406
- * @remarks
407
- * This method iterates through all devices in the DeviceManager and removes each bridged endpoint associated with the specified plugin.
408
- * It also applies a delay between each removal if specified.
409
- * The delay is useful to allow the controllers to receive a single subscription for each device removed.
410
- */
411
- removeAllBridgedEndpoints(pluginName: string, delay?: number): Promise<void>;
412
- /**
413
- * Subscribes to the attribute change event for the given device and plugin.
414
- * Specifically, it listens for changes in the 'reachable' attribute of the
415
- * BridgedDeviceBasicInformationServer cluster server of the bridged device or BasicInformationServer cluster server of server node.
416
- *
417
- * @param {RegisteredPlugin} plugin - The plugin associated with the device.
418
- * @param {MatterbridgeEndpoint} device - The device to subscribe to attribute changes for.
419
- * @returns {Promise<void>} A promise that resolves when the subscription is set up.
420
- */
421
- private subscribeAttributeChanged;
422
- /**
423
- * Sanitizes the fabric information by converting bigint properties to strings because `res.json` doesn't support bigint.
424
- *
425
- * @param {ExposedFabricInformation[]} fabricInfo - The array of exposed fabric information objects.
426
- * @returns {SanitizedExposedFabricInformation[]} An array of sanitized exposed fabric information objects.
427
- */
428
- private sanitizeFabricInformations;
429
- /**
430
- * Sanitizes the session information by converting bigint properties to strings because `res.json` doesn't support bigint.
431
- *
432
- * @param {SessionInformation[]} sessionInfo - The array of session information objects.
433
- * @returns {SanitizedSessionInformation[]} An array of sanitized session information objects.
434
- */
435
- private sanitizeSessionInformation;
436
- /**
437
- * Sets the reachability of the specified aggregator node bridged devices and trigger.
438
- * @param {Endpoint<AggregatorEndpoint>} aggregatorNode - The aggregator node to set the reachability for.
439
- * @param {boolean} reachable - A boolean indicating the reachability status to set.
440
- */
441
- private setAggregatorReachability;
442
- private getVendorIdName;
443
- }
444
- export {};
445
- //# sourceMappingURL=matterbridge.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"matterbridge.d.ts","sourceRoot":"","sources":["../src/matterbridge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAMH,OAAO,YAAY,MAAM,aAAa,CAAC;AAIvC,OAAO,EAAE,UAAU,EAAmB,QAAQ,EAA4G,MAAM,oBAAoB,CAAC;AAGrL,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAKtE,OAAO,EAAO,uBAAuB,EAAO,gBAAgB,EAAE,iCAAiC,EAAE,2BAA2B,EAAsB,iBAAiB,EAAO,MAAM,wBAAwB,CAAC;AACzM,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,oBAAoB,EAAkC,MAAM,2BAA2B,CAAC;AAEjG,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAKzC,OAAO,EAEL,QAAQ,EAER,QAAQ,IAAI,cAAc,EAE1B,QAAQ,EACR,cAAc,EACd,cAAc,EACd,cAAc,EACd,WAAW,EACX,UAAU,EAKX,MAAM,cAAc,CAAC;AACtB,OAAO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