matterbridge-example-camera 0.0.2-dev-20260715-f3e0ca9 → 0.0.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.
- package/CHANGELOG.md +16 -1
- package/README.md +177 -0
- package/assets/camera-color-test-1920-1080.jpeg +0 -0
- package/assets/camera-color-test-480-270.jpeg +0 -0
- package/assets/camera-color-test-960-540.jpeg +0 -0
- package/assets/cartoon-1536-1024.jpeg +0 -0
- package/assets/test-audio.opus +0 -0
- package/assets/test-camera.mp4 +0 -0
- package/assets/test-video.h264 +0 -0
- package/dist/behaviors/cameraAvStreamManagementServer.js +6 -3
- package/dist/behaviors/chimeServer.js +3 -2
- package/dist/module.js +2 -2
- package/dist/rootNode.js +41 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -1
- package/dist/assets/mire.js +0 -105
package/CHANGELOG.md
CHANGED
|
@@ -27,7 +27,15 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
27
27
|
|
|
28
28
|
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
|
|
29
29
|
|
|
30
|
-
## [0.0.
|
|
30
|
+
## [0.0.3] - 2026-07-17
|
|
31
|
+
|
|
32
|
+
### Breaking changes
|
|
33
|
+
|
|
34
|
+
- [matterbridge]: Require Matterbridge 3.10.0.
|
|
35
|
+
|
|
36
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
37
|
+
|
|
38
|
+
## [0.0.2] - 2026-07-15
|
|
31
39
|
|
|
32
40
|
### Breaking changes
|
|
33
41
|
|
|
@@ -36,6 +44,9 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
36
44
|
|
|
37
45
|
### Added
|
|
38
46
|
|
|
47
|
+
- [Snapshot]: Add JPEG television color and geometry calibration cards for snapshot testing.
|
|
48
|
+
- [WebRTC]: Add deterministic H.264, Opus, and MP4 media fixtures for WebRTC stream testing.
|
|
49
|
+
- [WebRTC]: Add a Vitest integration test covering a complete local `werift` client/server negotiation and data-channel flow.
|
|
39
50
|
- [doorbell]: Add the Doorbell device type with the required Identify, Switch (MomentarySwitch feature) and Chime client clusters, and Power Source support.
|
|
40
51
|
- [chime]: Add validation in `MatterbridgeChimeServer.playChimeSound` to reject a `chimeId` that is not present in `installedChimeSounds` with a `NotFound` status response.
|
|
41
52
|
- [snapshot camera]: Add the Snapshot Camera device with configurable snapshot capabilities, stream allocation, stream priorities, snapshot capture, Identify, and Power Source support.
|
|
@@ -43,6 +54,8 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
43
54
|
|
|
44
55
|
### Changed
|
|
45
56
|
|
|
57
|
+
- [WebRTC]: Transfer the MP4 camera fixture over the werift data channel and verify its reconstructed SHA-256 hash.
|
|
58
|
+
- [Snapshot]: Return `assets/camera-color-test.jpeg` from `CaptureSnapshot` instead of the embedded mire image.
|
|
46
59
|
- [chime]: Document the Chime device features in the README.
|
|
47
60
|
- [snapshot camera]: Document the Snapshot Camera device features in the README.
|
|
48
61
|
- [agents]: Update agents instructions.
|
|
@@ -51,6 +64,8 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
51
64
|
|
|
52
65
|
- [chime]: Fixed `Chime` to omit the `powerSource` device type when `powerSourceType` is `'None'`.
|
|
53
66
|
|
|
67
|
+
<a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
|
|
68
|
+
|
|
54
69
|
## [0.0.1] - 2026-07-13
|
|
55
70
|
|
|
56
71
|
- First published release.
|
package/README.md
CHANGED
|
@@ -53,6 +53,16 @@ Features:
|
|
|
53
53
|
- Identify cluster is always created (it is a required server cluster for this device type), with configurable identify time and type.
|
|
54
54
|
- Configurable Power Source cluster type: Rechargeable, Replaceable, Battery, Wired, or None to omit the Power Source cluster entirely.
|
|
55
55
|
|
|
56
|
+
### Camera
|
|
57
|
+
|
|
58
|
+
Features:
|
|
59
|
+
|
|
60
|
+
- Exposes the Camera AV Stream Management cluster with the Video, Audio and ImageControl features (the Snapshot feature is not implemented in this example; see Snapshot Camera).
|
|
61
|
+
- Exposes the WebRtcTransportProvider cluster and registers a WebRtcTransportRequestor client, so a bound device can solicit and receive WebRTC offers.
|
|
62
|
+
- Supports configurable stream usages and priorities, encoder limits, video sensor parameters, viewport, rate-distortion trade-off points, and microphone capabilities.
|
|
63
|
+
- Optional Identify cluster support, with configurable identify time and type. Set to Identify.IdentifyType.None to omit the cluster entirely.
|
|
64
|
+
- Configurable Power Source cluster type: Rechargeable, Replaceable, Battery, Wired, or None to omit the Power Source cluster entirely.
|
|
65
|
+
|
|
56
66
|
### Snapshot Camera
|
|
57
67
|
|
|
58
68
|
Features:
|
|
@@ -64,3 +74,170 @@ Features:
|
|
|
64
74
|
- Captures snapshots using a requested stream or automatic stream selection and returns the requested resolution as JPEG data.
|
|
65
75
|
- Optional Identify cluster support, with configurable identify time and type. Set to Identify.IdentifyType.None to omit the cluster entirely.
|
|
66
76
|
- Configurable Power Source cluster type: Rechargeable, Replaceable, Battery, Wired, or None to omit the Power Source cluster entirely.
|
|
77
|
+
|
|
78
|
+
## Werift integration test
|
|
79
|
+
|
|
80
|
+
The `vitest/werift.test.ts` integration test creates local client and server peers and verifies SDP offer/answer negotiation, ICE candidate exchange, a bidirectional data-channel transfer, and connection teardown with `werift`.
|
|
81
|
+
|
|
82
|
+
The test uses the client as the Matter controller and the server as the camera device. Its signaling flow is:
|
|
83
|
+
|
|
84
|
+
```text
|
|
85
|
+
Controller/client Camera/server
|
|
86
|
+
| |
|
|
87
|
+
|---------- SDP offer ----------------->|
|
|
88
|
+
|------ client ICE candidates --------->|
|
|
89
|
+
|<--------- SDP answer -----------------|
|
|
90
|
+
|<------ server ICE candidates ---------|
|
|
91
|
+
| |
|
|
92
|
+
|<======= ICE + DTLS connected =========>|
|
|
93
|
+
|<======= SCTP data channel =============>|
|
|
94
|
+
| |
|
|
95
|
+
|---------- start-live-view ------------>|
|
|
96
|
+
|<--------- live-view-started -----------|
|
|
97
|
+
| |
|
|
98
|
+
|<=========== close peers ===============>|
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Legend:
|
|
102
|
+
|
|
103
|
+
- **SDP — Session Description Protocol:** describes the media session, including codecs, formats, transport parameters, and how each peer expects to communicate. The controller sends an SDP offer and the camera returns an SDP answer.
|
|
104
|
+
- **ICE — Interactive Connectivity Establishment:** discovers and tests possible network paths between the peers. ICE candidates contain addresses and ports that may be used to establish the direct WebRTC connection.
|
|
105
|
+
- **DTLS — Datagram Transport Layer Security:** authenticates the peers and encrypts communication over the selected UDP network path. WebRTC uses the negotiated DTLS connection to protect subsequent media and data transport.
|
|
106
|
+
- **SCTP — Stream Control Transmission Protocol:** transports WebRTC data-channel messages over the secure DTLS connection. In this test, it carries `start-live-view` and `live-view-started` between the controller and camera.
|
|
107
|
+
|
|
108
|
+
`createOffer()` and `createAnswer()` produce the SDP descriptions. Applying each local description gathers that peer's ICE candidates. After each peer receives the other peer's description and candidates, werift selects a network path, performs the DTLS handshake, and opens the SCTP data channel. The two control messages prove that data can travel in both directions. The camera peer then sends `assets/test-camera.mp4` to the controller in 16 KiB binary chunks; the test reconstructs it and compares its byte length and SHA-256 hash before closing both peers.
|
|
109
|
+
|
|
110
|
+
In the camera implementation, Matter's WebRTC Transport Provider and Requestor clusters are responsible for carrying the SDP and ICE signaling between devices. The resulting WebRTC connection carries the media or data directly; Matter does not carry the WebRTC payload itself. This test validates werift independently and does not yet connect it to `MatterbridgeWebRtcTransportProviderServer`.
|
|
111
|
+
|
|
112
|
+
Run it with:
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
npm run test -- vitest/werift.test.ts
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Media test assets
|
|
119
|
+
|
|
120
|
+
The `assets` directory contains deterministic three-second media fixtures for extending the werift test to real media tracks:
|
|
121
|
+
|
|
122
|
+
- `test-video.h264`: raw H.264 Constrained Baseline video, 640×360 at 15 FPS, with a moving test pattern. Use this elementary stream when implementing H.264 NAL-unit parsing and RTP packetization.
|
|
123
|
+
- `test-audio.opus`: Ogg container with mono Opus audio at 48 kHz and 64 kbit/s, containing a 1 kHz test tone. Use the Opus packets for an audio RTP track; the Ogg container itself is not sent over WebRTC.
|
|
124
|
+
- `test-camera.mp4`: playable reference containing the same 640×360 H.264 test pattern and a mono 1 kHz AAC track. The werift test transfers the complete file over its SCTP data channel and verifies its integrity. This exercises binary file transport, not a WebRTC video RTP track.
|
|
125
|
+
- `camera-color-test-1920-1080.jpeg`: 1920×1080 broadcast-style snapshot calibration card returned by the example's `CaptureSnapshot` command. It contains color bars, grayscale references, geometry targets, focus patterns, safe-area guides, and near-black/near-white patches for inspecting hue, saturation, brightness, contrast, geometry, overscan, and focus.
|
|
126
|
+
- `camera-color-test-960-540.jpeg`: 960×540 broadcast-style snapshot calibration card returned by the example's `CaptureSnapshot` command.
|
|
127
|
+
- `camera-color-test-480-270.jpeg`: 480×270 broadcast-style snapshot calibration card returned by the example's `CaptureSnapshot` command.
|
|
128
|
+
|
|
129
|
+
WebRTC media tracks transport encoded H.264 or Opus frames in RTP packets; they do not send an MP4, Ogg, or MPEG container directly. The current MP4 transfer deliberately uses the separate data-channel path. A future video-track test should parse the relevant elementary frames, packetize them as RTP, call werift's media track `writeRtp()`, and verify reception through `onTrack` and `onReceiveRtp`.
|
|
130
|
+
|
|
131
|
+
## Chip tests
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
docker rm matterbridge-chip-test-hub -f && docker pull luligu/matterbridge:chip-test && docker run -dit --network matterbridge --restart always --stop-timeout 60 --name matterbridge-chip-test-hub -p 8283:8283 -v "%USERPROFILE%/GitHub/matterbridge-example-camera/temp:/tmp/matter_testing/logs" luligu/matterbridge:chip-test
|
|
135
|
+
docker logs -f matterbridge-chip-test-hub --tail 1000
|
|
136
|
+
docker exec -it matterbridge-chip-test-hub bash
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
# Generic device composition and conformance
|
|
141
|
+
python3 src/python_testing/TC_DeviceBasicComposition.py
|
|
142
|
+
python3 src/python_testing/TC_DeviceConformance.py --bool-arg allow_provisional:true
|
|
143
|
+
python3 src/python_testing/TC_DefaultWarnings.py --bool-arg pixit_allow_default_vendor_id:true
|
|
144
|
+
|
|
145
|
+
# Doorbell mandatory Switch server
|
|
146
|
+
python3 src/python_testing/TC_SWTCH.py
|
|
147
|
+
|
|
148
|
+
# Chime cluster
|
|
149
|
+
python3 src/python_testing/TC_CHIME_2_2.py
|
|
150
|
+
python3 src/python_testing/TC_CHIME_2_3.py
|
|
151
|
+
python3 src/python_testing/TC_CHIME_2_5.py
|
|
152
|
+
python3 src/python_testing/TC_CHIME_2_6.py
|
|
153
|
+
|
|
154
|
+
# Camera AV Stream Management
|
|
155
|
+
python3 src/python_testing/TC_AVSM_2_1.py
|
|
156
|
+
python3 src/python_testing/TC_AVSM_2_2.py
|
|
157
|
+
python3 src/python_testing/TC_AVSM_2_3.py
|
|
158
|
+
python3 src/python_testing/TC_AVSM_2_4.py
|
|
159
|
+
python3 src/python_testing/TC_AVSM_2_5.py
|
|
160
|
+
python3 src/python_testing/TC_AVSM_2_6.py
|
|
161
|
+
python3 src/python_testing/TC_AVSM_2_7.py
|
|
162
|
+
python3 src/python_testing/TC_AVSM_2_8.py
|
|
163
|
+
python3 src/python_testing/TC_AVSM_2_9.py
|
|
164
|
+
python3 src/python_testing/TC_AVSM_2_10.py
|
|
165
|
+
python3 src/python_testing/TC_AVSM_2_11.py
|
|
166
|
+
python3 src/python_testing/TC_AVSM_2_12.py
|
|
167
|
+
python3 src/python_testing/TC_AVSM_2_13.py
|
|
168
|
+
python3 src/python_testing/TC_AVSM_2_14.py
|
|
169
|
+
python3 src/python_testing/TC_AVSM_2_15.py
|
|
170
|
+
python3 src/python_testing/TC_AVSM_2_16.py
|
|
171
|
+
python3 src/python_testing/TC_AVSM_2_17.py
|
|
172
|
+
python3 src/python_testing/TC_AVSM_2_18.py
|
|
173
|
+
python3 src/python_testing/TC_AVSM_2_19.py
|
|
174
|
+
python3 src/python_testing/TC_AVSM_2_20.py
|
|
175
|
+
python3 src/python_testing/TC_AVSM_2_21.py
|
|
176
|
+
|
|
177
|
+
# Additional Camera AV Stream Management tests
|
|
178
|
+
python3 src/python_testing/TC_AVSM_StreamReuseRangeParams.py
|
|
179
|
+
python3 src/python_testing/TC_AVSM_VideoStreamsPersistence.py
|
|
180
|
+
|
|
181
|
+
# Audio/Video Stream Usage Management
|
|
182
|
+
python3 src/python_testing/TC_AVSUM_2_1.py
|
|
183
|
+
python3 src/python_testing/TC_AVSUM_2_2.py
|
|
184
|
+
python3 src/python_testing/TC_AVSUM_2_3.py
|
|
185
|
+
python3 src/python_testing/TC_AVSUM_2_4.py
|
|
186
|
+
python3 src/python_testing/TC_AVSUM_2_5.py
|
|
187
|
+
python3 src/python_testing/TC_AVSUM_2_6.py
|
|
188
|
+
python3 src/python_testing/TC_AVSUM_2_7.py
|
|
189
|
+
python3 src/python_testing/TC_AVSUM_2_8.py
|
|
190
|
+
python3 src/python_testing/TC_AVSUM_2_9.py
|
|
191
|
+
|
|
192
|
+
# Push AV Stream Transport
|
|
193
|
+
python3 src/python_testing/TC_PAVST_2_1.py
|
|
194
|
+
python3 src/python_testing/TC_PAVST_2_2.py
|
|
195
|
+
python3 src/python_testing/TC_PAVST_2_3.py
|
|
196
|
+
python3 src/python_testing/TC_PAVST_2_4.py
|
|
197
|
+
python3 src/python_testing/TC_PAVST_2_5.py
|
|
198
|
+
python3 src/python_testing/TC_PAVST_2_6.py
|
|
199
|
+
python3 src/python_testing/TC_PAVST_2_7.py
|
|
200
|
+
python3 src/python_testing/TC_PAVST_2_8.py
|
|
201
|
+
python3 src/python_testing/TC_PAVST_2_9.py
|
|
202
|
+
python3 src/python_testing/TC_PAVST_2_10.py
|
|
203
|
+
python3 src/python_testing/TC_PAVST_2_11.py
|
|
204
|
+
python3 src/python_testing/TC_PAVST_2_12.py
|
|
205
|
+
python3 src/python_testing/TC_PAVST_2_13.py
|
|
206
|
+
|
|
207
|
+
# WebRTC Transport Provider
|
|
208
|
+
python3 src/python_testing/TC_WEBRTCP_2_1.py
|
|
209
|
+
python3 src/python_testing/TC_WEBRTCP_2_2.py
|
|
210
|
+
python3 src/python_testing/TC_WEBRTCP_2_3.py
|
|
211
|
+
python3 src/python_testing/TC_WEBRTCP_2_4.py
|
|
212
|
+
python3 src/python_testing/TC_WEBRTCP_2_5.py
|
|
213
|
+
python3 src/python_testing/TC_WEBRTCP_2_6.py
|
|
214
|
+
python3 src/python_testing/TC_WEBRTCP_2_7.py
|
|
215
|
+
python3 src/python_testing/TC_WEBRTCP_2_8.py
|
|
216
|
+
python3 src/python_testing/TC_WEBRTCP_2_9.py
|
|
217
|
+
python3 src/python_testing/TC_WEBRTCP_2_10.py
|
|
218
|
+
python3 src/python_testing/TC_WEBRTCP_2_11.py
|
|
219
|
+
python3 src/python_testing/TC_WEBRTCP_2_12.py
|
|
220
|
+
python3 src/python_testing/TC_WEBRTCP_2_13.py
|
|
221
|
+
python3 src/python_testing/TC_WEBRTCP_2_14.py
|
|
222
|
+
python3 src/python_testing/TC_WEBRTCP_2_15.py
|
|
223
|
+
python3 src/python_testing/TC_WEBRTCP_2_16.py
|
|
224
|
+
python3 src/python_testing/TC_WEBRTCP_2_17.py
|
|
225
|
+
python3 src/python_testing/TC_WEBRTCP_2_18.py
|
|
226
|
+
python3 src/python_testing/TC_WEBRTCP_2_19.py
|
|
227
|
+
python3 src/python_testing/TC_WEBRTCP_2_20.py
|
|
228
|
+
python3 src/python_testing/TC_WEBRTCP_2_21.py
|
|
229
|
+
python3 src/python_testing/TC_WEBRTCP_2_22.py
|
|
230
|
+
python3 src/python_testing/TC_WEBRTCP_2_23.py
|
|
231
|
+
python3 src/python_testing/TC_WEBRTCP_2_24.py
|
|
232
|
+
python3 src/python_testing/TC_WEBRTCP_2_25.py
|
|
233
|
+
python3 src/python_testing/TC_WEBRTCP_2_26.py
|
|
234
|
+
python3 src/python_testing/TC_WEBRTCP_2_27.py
|
|
235
|
+
python3 src/python_testing/TC_WEBRTCP_2_28.py
|
|
236
|
+
python3 src/python_testing/TC_WEBRTCP_2_29.py
|
|
237
|
+
python3 src/python_testing/TC_WEBRTCP_2_30.py
|
|
238
|
+
python3 src/python_testing/TC_WEBRTCP_2_31.py
|
|
239
|
+
python3 src/python_testing/TC_WEBRTCP_2_32.py
|
|
240
|
+
|
|
241
|
+
# Zone Management
|
|
242
|
+
python3 src/python_testing/TC_ZONEMGMT_2_4.py
|
|
243
|
+
```
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { readFileSync } from 'node:fs';
|
|
1
2
|
import { MatterbridgeServer } from 'matterbridge/behaviors';
|
|
2
3
|
import { CameraAvStreamManagementServer } from 'matterbridge/matter/behaviors';
|
|
3
4
|
import { CameraAvStreamManagement } from 'matterbridge/matter/clusters';
|
|
4
5
|
import { Status, StatusResponseError } from 'matterbridge/matter/types';
|
|
5
|
-
|
|
6
|
+
const cameraColorTestJpeg = readFileSync(new URL('../../assets/camera-color-test-480-270.jpeg', import.meta.url));
|
|
7
|
+
const cameraColorTestWidth = 480;
|
|
8
|
+
const cameraColorTestHeight = 270;
|
|
6
9
|
export class MatterbridgeCameraAvStreamManagementServer extends CameraAvStreamManagementServer.with(CameraAvStreamManagement.Feature.Video, CameraAvStreamManagement.Feature.Audio, CameraAvStreamManagement.Feature.Snapshot, CameraAvStreamManagement.Feature.ImageControl) {
|
|
7
10
|
setStreamPriorities(request) {
|
|
8
11
|
const device = this.endpoint.stateOf(MatterbridgeServer);
|
|
@@ -129,9 +132,9 @@ export class MatterbridgeCameraAvStreamManagementServer extends CameraAvStreamMa
|
|
|
129
132
|
device.log.info(`Capturing snapshot ${request.snapshotStreamId ?? 'auto'} (endpoint ${this.endpoint.maybeId}.${this.endpoint.maybeNumber})`);
|
|
130
133
|
device.log.debug(`MatterbridgeCameraAvStreamManagementServer: captureSnapshot called with snapshotStreamId ${request.snapshotStreamId}`);
|
|
131
134
|
return {
|
|
132
|
-
data:
|
|
135
|
+
data: cameraColorTestJpeg,
|
|
133
136
|
imageCodec: CameraAvStreamManagement.ImageCodec.Jpeg,
|
|
134
|
-
resolution: { width:
|
|
137
|
+
resolution: { width: cameraColorTestWidth, height: cameraColorTestHeight },
|
|
135
138
|
};
|
|
136
139
|
}
|
|
137
140
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { MatterbridgeServer } from 'matterbridge/behaviors';
|
|
2
2
|
import { ChimeServer } from 'matterbridge/matter/behaviors';
|
|
3
3
|
import { Status, StatusResponseError } from 'matterbridge/matter/types';
|
|
4
|
-
|
|
4
|
+
const ChimeServerBase = ChimeServer.enable({ events: { chimeStartedPlaying: true } });
|
|
5
|
+
export class MatterbridgeChimeServer extends ChimeServerBase {
|
|
5
6
|
async playChimeSound(request) {
|
|
6
7
|
const device = this.endpoint.stateOf(MatterbridgeServer);
|
|
7
8
|
const chimeId = request.chimeId ?? this.state.selectedChime;
|
|
@@ -10,6 +11,6 @@ export class MatterbridgeChimeServer extends ChimeServer {
|
|
|
10
11
|
}
|
|
11
12
|
device.log.info(`Playing chime sound ${chimeId} (endpoint ${this.endpoint.maybeId}.${this.endpoint.maybeNumber})`);
|
|
12
13
|
device.log.debug(`MatterbridgeChimeServer: playChimeSound called with chimeId ${chimeId}`);
|
|
13
|
-
this.events.chimeStartedPlaying
|
|
14
|
+
this.events.chimeStartedPlaying.emit({ chimeId }, this.context);
|
|
14
15
|
}
|
|
15
16
|
}
|
package/dist/module.js
CHANGED
|
@@ -11,8 +11,8 @@ export default function initializePlugin(matterbridge, log, config) {
|
|
|
11
11
|
export class ExampleMatterbridgeCameraPlatform extends MatterbridgeDynamicPlatform {
|
|
12
12
|
constructor(matterbridge, log, config) {
|
|
13
13
|
super(matterbridge, log, config);
|
|
14
|
-
if (typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.
|
|
15
|
-
throw new Error(`This plugin requires Matterbridge version >= "3.
|
|
14
|
+
if (typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.10.0')) {
|
|
15
|
+
throw new Error(`This plugin requires Matterbridge version >= "3.10.0". Please update Matterbridge to the latest version in the frontend.`);
|
|
16
16
|
}
|
|
17
17
|
this.log.info(`Initializing platform ${this.config.name}...`);
|
|
18
18
|
this.log.info(`Platform ${this.config.name} initialized successfully`);
|
package/dist/rootNode.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { MatterbridgePowerSourceServer } from 'matterbridge/behaviors';
|
|
2
|
+
import { TimeSynchronizationServer, TlsCertificateManagementServer, TlsClientManagementServer } from 'matterbridge/matter/behaviors';
|
|
3
|
+
import { PowerSource, TimeSynchronization } from 'matterbridge/matter/clusters';
|
|
4
|
+
export async function addRootNodeCamera(device) {
|
|
5
|
+
if (!device.serverNode) {
|
|
6
|
+
throw new Error(`addRootNodeCamera requires device.serverNode to be set: register the device with mode: 'server' before calling this helper.`);
|
|
7
|
+
}
|
|
8
|
+
const root = device.serverNode;
|
|
9
|
+
root.behaviors.require(MatterbridgePowerSourceServer.with(PowerSource.Feature.Wired), {
|
|
10
|
+
status: PowerSource.PowerSourceStatus.Active,
|
|
11
|
+
order: 0,
|
|
12
|
+
description: 'AC Power',
|
|
13
|
+
endpointList: [],
|
|
14
|
+
wiredCurrentType: PowerSource.WiredCurrentType.Ac,
|
|
15
|
+
});
|
|
16
|
+
root.behaviors.require(TimeSynchronizationServer.with(TimeSynchronization.Feature.TimeSyncClient, TimeSynchronization.Feature.NtpClient, TimeSynchronization.Feature.TimeZone), {
|
|
17
|
+
utcTime: null,
|
|
18
|
+
granularity: TimeSynchronization.Granularity.NoTimeGranularity,
|
|
19
|
+
timeSource: TimeSynchronization.TimeSource.None,
|
|
20
|
+
trustedTimeSource: null,
|
|
21
|
+
defaultNtp: null,
|
|
22
|
+
supportsDnsResolve: false,
|
|
23
|
+
timeZone: [{ offset: 0, validAt: Date.now() * 1000 }],
|
|
24
|
+
dstOffset: [],
|
|
25
|
+
localTime: null,
|
|
26
|
+
timeZoneDatabase: TimeSynchronization.TimeZoneDatabase.None,
|
|
27
|
+
timeZoneListMaxSize: 1,
|
|
28
|
+
dstOffsetListMaxSize: 1,
|
|
29
|
+
});
|
|
30
|
+
root.behaviors.require(TlsCertificateManagementServer, {
|
|
31
|
+
maxRootCertificates: 5,
|
|
32
|
+
provisionedRootCertificates: [],
|
|
33
|
+
maxClientCertificates: 5,
|
|
34
|
+
provisionedClientCertificates: [],
|
|
35
|
+
});
|
|
36
|
+
root.behaviors.require(TlsClientManagementServer, {
|
|
37
|
+
maxProvisioned: 5,
|
|
38
|
+
provisionedEndpoints: [],
|
|
39
|
+
});
|
|
40
|
+
return device;
|
|
41
|
+
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-example-camera",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "matterbridge-example-camera",
|
|
9
|
-
"version": "0.0.
|
|
9
|
+
"version": "0.0.3",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"node-ansi-logger": "3.3.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge-example-camera",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Matterbridge camera example plugin",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"node": ">=20.19.0 <21.0.0 || >=22.13.0 <23.0.0 || >=24.0.0 <25.0.0 || >=26.0.0 <27.0.0"
|
|
58
58
|
},
|
|
59
59
|
"files": [
|
|
60
|
+
"assets",
|
|
60
61
|
"bin",
|
|
61
62
|
"dist",
|
|
62
63
|
"npm-shrinkwrap.json",
|
package/dist/assets/mire.js
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
export const MIRE_WIDTH = 640;
|
|
2
|
-
export const MIRE_HEIGHT = 480;
|
|
3
|
-
const MIRE_JPEG_BASE64 = '/9j/4AAQSkZJRgABAgAAAQABAAD//gAQTGF2YzYwLjMxLjEwMgD/2wBDAAgICAkICQsLCwsLCw0M' +
|
|
4
|
-
'DQ0NDQ0NDQ0NDQ0ODg4REREODg4NDQ4OEBARERITEhERERETExQUFBgYFxccHB0iIin/xACYAAEB' +
|
|
5
|
-
'AQEBAQEBAAAAAAAAAAAABAYIBQcDAgEBAAMBAQEBAAAAAAAAAAAAAAUGBwQDCAIQAQACAgAEBwEB' +
|
|
6
|
-
'AQAAAAAAAADBBEKBhIJDxEQyAgZFBwGDw8IRAQAAAAoFBQ4HAAMBAQAAAABEg8MFBoEEAgMBNTKx' +
|
|
7
|
-
'sxEShDMUsoLC4aKho2NiQhXiQxMxFmTBIeM0USMiQWEk/8AAEQgB4AKAAwEiAAIRAAMRAP/aAAwD' +
|
|
8
|
-
'AQACEQMRAD8A34AAAAAAAAACWzjuFSWzjuEPP+i7RF7249MLXyr2JAGbuwAAAAAAAAZtpGbaBQWH' +
|
|
9
|
-
'83lVHpnAo+SAGgKOAAAAAAAAktY7hIrtY7hIzef9KWiL3Vx2YWplXtAEO9AAAAAAAAGeAfQD6gAA' +
|
|
10
|
-
'AAAAAAElrHcK0lrHcIef9F2iL3tx6YWvlXsSAM3dgAAAAAAAAzjRs40CgsP5vKqPTOBR8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