matterbridge 3.10.14-dev-20261013-e87a0c8 → 3.10.14-dev-20261014-2811fdc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -37,7 +37,7 @@ If you like this project and find it useful, please consider giving it a star on
37
37
 
38
38
  ### Development Breaking changes
39
39
 
40
- - [types]: Rename the `ApiDevice` fields `pluginName`, `name` and `serial` to `plugin`, `deviceName` and `serialNumber`, the `ApiSelectDevice` fields `pluginName`, `name` and `serial` to `plugin`, `deviceName` and `serialNumber`, and the `ApiSelectEntity` field `pluginName` to `plugin`, to be in sync with `BaseDevice`. `ApiDevice.endpoint` is renamed to `number` and `ApiDevice` gets the endpoint `id`. These types are for the Matterbridge frontend only and should not be used by plugins: `platform.getSelectDevices()` and `platform.getSelectEntities()` return the renamed fields.
40
+ - [types]: `/api/clusters` uses `pluginName` and `number`; both WebSocket and platform cluster requests require `serialNumber` and `uniqueId`.
41
41
  - [test-utils]: `addDevice()` and `deleteDevice()` (vitest, jest and bun) take `ticks` and `microTurns` (default 1) after `rounds`, so `pause` moves from the 4th to the 6th parameter; `rounds` now defaults to 1 (was 3).
42
42
  - [test-utils]: `flushServerNode()` (vitest, jest and bun) takes a first `rounds` parameter (default 3) and passes `rounds`, `ticks`, `microTurns` and `pause` to the endpoint number persistence flush, so it can run without timer pauses.
43
43
 
@@ -47,7 +47,9 @@ If you like this project and find it useful, please consider giving it a star on
47
47
 
48
48
  ### Added
49
49
 
50
- - [core]: Add plugin-targeted `platform_get_apidevices`, `platform_get_apiselectdevices` and `platform_get_apiselectentities` broadcast requests.
50
+ - [core]: Add `pluginName`-targeted `platform_get_apidevices`, `platform_get_apiselectdevices` and `platform_get_apiselectentities` broadcast requests.
51
+ - [core]: Add `platform_get_apiclusters` with `pluginName` and `number` parameters to retrieve a device's cluster attributes and child endpoints in the frontend API format.
52
+ - [backend]: Fetch `/api/clusters` data from the matching platform through `platform_get_apiclusters`.
51
53
  - [utils]: Add `constrainedMemory()` to `@matterbridge/utils/bun`: the container (cgroup) memory limit, or the total memory when there is none, normalized across Node.js and Bun.
52
54
  - [utils]: Add `constrainedMemory` and `peakConstrainedMemory` to the `Tracker` snapshot.
53
55
  - [types]: Add `constrainedMemory` to `SystemInformation`, `PlatformMatterbridge` and `SharedMatterbridge`.
@@ -55,15 +57,23 @@ If you like this project and find it useful, please consider giving it a star on
55
57
  - [core]: The cli broadcasts a single `system_update` WebSocket message (uptime, memory, memory limit and cpu) on each tracker snapshot.
56
58
  - [test-utils]: Add `getSharedMatterbridge()`, a mocked `SharedMatterbridge` for vitest, jest and bun.
57
59
  - [frontend]: Add the `Memory limit` (container or cgroup constrained memory) to the system info table; it is shown only when it differs from the total memory.
60
+ - [powerSource]: Add optional `batCapacity`, `batTimeToFullCharge`, `batChargingCurrent` and `activeBatChargeFaults` parameters to `createDefaultPowerSourceRechargeableBatteryClusterServer()`.
61
+ - [Intercom]: Add the `switchOptions` option and the `addSwitch()` method for the Generic Switch child endpoints.
62
+ - [docs]: Extend [werift](https://matterbridge.io/werift.html) with browser peers hiding their address behind mDNS `.local` candidates, Docker Desktop UDP networking, the dev container setup, the stream resolution and allocation, the test video source and all the camera and WebRTC environment variables.
58
63
 
59
64
  ### Changed
60
65
 
66
+ - [core]: Honor the `extended` flag in local frontend, backend and platform device API requests.
67
+ - [frontend]: Request extended device data in HomeDevices and DevicesTable.
61
68
  - [test-utils]: Set strict endpoint validation in all Matter test environment helpers.
69
+ - [core]: Set warn endpoint validation in the Matterbridge and MatterNode environments.
62
70
  - [core]: Fetch platform and shared Matterbridge data after MatterNode construction.
63
71
  - [core]: Return the MatterNode shared Matterbridge instance to plugin platforms.
64
72
  - [core]: Bind plugin endpoint callbacks to their MatterNode instance.
65
73
  - [core]: Catch and log MatterNode broadcast message handler rejections with `fireAndForget`.
66
74
  - [core]: Skip unchanged values when initializing MatterNode storage contexts.
75
+ - [webrtc]: The `test` video source follows `videoResolution` and `videoBitrate` like the `webcam` and `rtsp` sources (was fixed at 640x480 and 1000 kbps).
76
+ - [webrtc]: Add `MATTERBRIDGE_TEST_VIDEO_FPS` to set the `test` video source frame rate (default 30, was fixed at 10), with a keyframe every 2 seconds.
67
77
  - [matterbridge]: Bump `matterbridge` version to v.3.10.14.
68
78
  - [matterbridge]: Bump `marked` to v.18.1.0.
69
79
  - [matterbridge]: Bump `oxfmt` to v.0.72.0.
@@ -76,6 +86,7 @@ If you like this project and find it useful, please consider giving it a star on
76
86
  - [utils]: `Tracker` reads its flags with the `hasParameter` helpers; the verbose start log groups the CPUs by model and also logs the memory limit and the uptimes.
77
87
  - [frontend]: Rename system info labels to `Host memory`, `Process rss` and `Process heap`.
78
88
  - [frontend]: Show the full (not compact) system info table on mobile.
89
+ - [frontend]: Remove `matterbridge-camera` and `matterbridge-webcam` from the plugin ignore list so they can be searched and installed.
79
90
  - [frontend]: Bump `frontend` version to v.3.6.5.
80
91
  - [frontend]: Bump `@mui/material` to v.9.5.0.
81
92
  - [frontend]: Bump `@mui/icons-material` to v.9.5.0.
@@ -101,6 +112,8 @@ If you like this project and find it useful, please consider giving it a star on
101
112
  - [core]: Don't answer an aborted download with a 500: on Bun 1.4.3 it threw an uncaught `ERR_HTTP_HEADERS_SENT` (oven-sh/bun#44925).
102
113
  - [test-utils]: `addDevice()` and `deleteDevice()` passed `pause` as the `ticks` argument of `flushAllEndpointNumberPersistence()`, adding ~60ms to every call.
103
114
  - [core]: `setWindowCoveringCurrentTargetStatus()` threw a conformance error on a tilt only window covering: it now sets the tilt positions when the server has no Lift feature.
115
+ - [BatteryStorage]: Set the mandatory `BatCapacity`, `BatTimeToFullCharge`, `BatChargingCurrent` and `ActiveBatChargeFaults` on the battery Power Source (Matter 1.6.1 Device Library § 14.4.6.2), with the new `batCapacity` option.
116
+ - [Intercom]: Add the mandatory Generic Switch child endpoint with a momentary switch (Matter 1.5.1 Intercom revision 2, Device Library § 16.4.4 and § 16.4.8).
104
117
 
105
118
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
106
119