matterbridge 3.9.3 → 3.9.4-dev-20260706-08fe8ef

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
@@ -58,6 +58,33 @@ These classes will run as threads in the next releases:
58
58
  - all plugins in bridge mode;
59
59
  - each plugin in childbridge mode;
60
60
 
61
+ ## [3.9.4] - Dev branch
62
+
63
+ ### Added
64
+
65
+ - [matterbridge]: Add running statistics and improper shutdown detection.
66
+ - [matter]: Add Matter 1.6.0 specs and the [Matter 1.6.0 changes from 1.5.1](Matter-1.6.0.md) document.
67
+
68
+ ### Changed
69
+
70
+ - [matterbridge]: Bump `matterbridge` version to v.3.9.4.
71
+ - [matterbridge]: Update dependencies.
72
+ - [matterbridge]: Bump `@types/node` to v.26.1.0.
73
+ - [matterbridge]: Bump `@typescript/native-preview` to v.7.0.0-dev.20260703.1.
74
+ - [matterbridge]: Bump `oxfmt` to v.0.57.0.
75
+ - [matterbridge]: Bump `oxlint` to v.1.72.0.
76
+ - [matterbridge]: Bump `oxlint-tsgolint` to v.0.24.0.
77
+ - [package]: Apply style to all files.
78
+ - [service]: Update service configuration example `systemd/matterbridge.service`.
79
+ - [service]: Update service configuration guides.
80
+ - [matterbridge]: Bump `@matter/main` to v.0.17.4.
81
+ - [matter]: Update the data model script to support Matter 1.6.0 generation.
82
+
83
+ - [frontend]: Bump `frontend` version to v.3.5.2.
84
+ - [frontend]: Update dependencies.
85
+
86
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
87
+
61
88
  ## [3.9.3] - 2026-07-03
62
89
 
63
90
  ### Warning
@@ -59,10 +59,12 @@ chmod -R 755 ~/Matterbridge ~/.matterbridge ~/.mattercert ~/.npm-global ~/.npm-c
59
59
  npm install matterbridge --omit=dev --verbose --global --prefix=~/.npm-global --cache=~/.npm-cache
60
60
  # ✅ Create a link to matterbridge bin
61
61
  sudo ln -sf /home/$USER/.npm-global/bin/matterbridge /usr/local/bin/matterbridge
62
- # ✅ Create a link to mb_mdns bin
63
- sudo ln -sf /home/$USER/.npm-global/bin/mb_mdns /usr/local/bin/mb_mdns
64
- # ✅ Create a link to mb_coap bin
65
- sudo ln -sf /home/$USER/.npm-global/bin/mb_coap /usr/local/bin/mb_coap
62
+ # ✅ Create a link to mb-health bin
63
+ sudo ln -sf /home/$USER/.npm-global/bin/mb-health /usr/local/bin/mb-health
64
+ # ✅ Create a link to mb-mdns bin
65
+ sudo ln -sf /home/$USER/.npm-global/bin/mb-mdns /usr/local/bin/mb-mdns
66
+ # ✅ Create a link to mb-coap bin
67
+ sudo ln -sf /home/$USER/.npm-global/bin/mb-coap /usr/local/bin/mb-coap
66
68
  # ✅ Clear bash command cache as a precaution
67
69
  hash -r
68
70
  # ✅ Check which matterbridge
@@ -84,8 +86,8 @@ Add the following to this file, **replacing 5 times (!) USER with your user name
84
86
  ```text
85
87
  [Unit]
86
88
  Description=matterbridge
87
- After=network.target
88
- Wants=network.target
89
+ After=network-online.target
90
+ Wants=network-online.target
89
91
  StartLimitIntervalSec=60
90
92
  StartLimitBurst=5
91
93
 
@@ -95,9 +97,13 @@ Environment="NPM_CONFIG_PREFIX=/home/<USER>/.npm-global"
95
97
  Environment="NPM_CONFIG_CACHE=/home/<USER>/.npm-cache"
96
98
  ExecStart=matterbridge --service --nosudo
97
99
  WorkingDirectory=/home/<USER>/Matterbridge
98
- StandardOutput=inherit
99
- StandardError=inherit
100
+ # Logs go to the journal (should be persistent). Read with: journalctl -u matterbridge -n 1000 -f --output cat
101
+ StandardOutput=journal
102
+ StandardError=journal
103
+ SyslogIdentifier=matterbridge
100
104
  Restart=always
105
+ RestartSec=5
106
+ TimeoutStopSec=60
101
107
  User=<USER>
102
108
  Group=<USER>
103
109
 
@@ -127,18 +133,16 @@ One possible fix, add this line to the existing [Service] section:
127
133
  Environment="NODE_OPTIONS=--dns-result-order=ipv4first"
128
134
  ```
129
135
 
130
- If you use the frontend with **-ssl** --frontend 443 and get an error message: "Port 443 requires elevated privileges",
131
- add this:
136
+ If you use the frontend with --ssl --frontend 443 and get an error message: "Port 443 requires elevated privileges",
137
+ add this line to the existing [Service] section:
132
138
 
133
139
  ```text
134
- [Service]
135
140
  AmbientCapabilities=CAP_NET_BIND_SERVICE
136
141
  ```
137
142
 
138
- If you use the **matterbridge-bthome** plugin add this:
143
+ If you use the matterbridge-bthome plugin add this line to the existing [Service] section:
139
144
 
140
145
  ```text
141
- [Service]
142
146
  AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_NET_ADMIN
143
147
  ```
144
148
 
@@ -88,10 +88,10 @@ matterbridge --version
88
88
 
89
89
  The storage position is **not compatible** with the traditional setup (~/Matterbridge ~/.matterbridge ~/.mattercert).
90
90
 
91
- If you are migrating from the traditional service setup, before removing the old diretories, you may want to copy the contents of ~/Matterbridge ~/.matterbridge ~/.mattercert to the new directories /opt/matterbridge/Matterbridge /opt/matterbridge/.matterbridge /opt/matterbridge/.mattercert.
92
- This will save all the plugin configs and the fabrics but you need to remove all plugins and readd them cause the path will be different.
91
+ If you are migrating from the traditional service setup, before removing the old directories, you may want to copy the contents of ~/Matterbridge ~/.matterbridge ~/.mattercert to the new directories /opt/matterbridge/Matterbridge /opt/matterbridge/.matterbridge /opt/matterbridge/.mattercert.
92
+ This will save all the plugin configs and the fabrics, but you need to remove all plugins and add them again because the path will be different.
93
93
 
94
- Copy the old diretories content
94
+ Copy the old directories content
95
95
 
96
96
  ```bash
97
97
  sudo cp -a ~/Matterbridge/. /opt/matterbridge/Matterbridge/
@@ -99,7 +99,7 @@ sudo cp -a ~/.matterbridge/. /opt/matterbridge/.matterbridge/
99
99
  sudo cp -a ~/.mattercert/. /opt/matterbridge/.mattercert/
100
100
  ```
101
101
 
102
- Remove the old diretories
102
+ Remove the old directories
103
103
 
104
104
  ```bash
105
105
  sudo rm -rf ~/Matterbridge ~/.matterbridge ~/.mattercert ~/.npm-global
@@ -118,8 +118,8 @@ Add the following to this file:
118
118
  ```text
119
119
  [Unit]
120
120
  Description=matterbridge
121
- After=network.target
122
- Wants=network.target
121
+ After=network-online.target
122
+ Wants=network-online.target
123
123
  StartLimitIntervalSec=60
124
124
  StartLimitBurst=5
125
125
 
@@ -130,9 +130,13 @@ Environment="NPM_CONFIG_PREFIX=/opt/matterbridge/.npm-global"
130
130
  Environment="NPM_CONFIG_CACHE=/opt/matterbridge/.npm-cache"
131
131
  ExecStart=matterbridge --service --nosudo
132
132
  WorkingDirectory=/opt/matterbridge/Matterbridge
133
- StandardOutput=inherit
134
- StandardError=inherit
133
+ # Logs go to the journal (should be persistent). Read with: journalctl -u matterbridge -n 1000 -f --output cat
134
+ StandardOutput=journal
135
+ StandardError=journal
136
+ SyslogIdentifier=matterbridge
135
137
  Restart=always
138
+ RestartSec=5
139
+ TimeoutStopSec=60
136
140
  User=matterbridge
137
141
  Group=matterbridge
138
142
  NoNewPrivileges=true
@@ -167,18 +171,16 @@ One possible fix, add this line to the existing [Service] section:
167
171
  Environment="NODE_OPTIONS=--dns-result-order=ipv4first"
168
172
  ```
169
173
 
170
- If you use the frontend with **-ssl** -frontend 443 and get an error message: "Port 443 requires elevated privileges",
171
- add this:
174
+ If you use the frontend with --ssl --frontend 443 and get an error message: "Port 443 requires elevated privileges",
175
+ add this line to the existing [Service] section:
172
176
 
173
177
  ```text
174
- [Service]
175
178
  AmbientCapabilities=CAP_NET_BIND_SERVICE
176
179
  ```
177
180
 
178
- If you use the **matterbridge-bthome** plugin add this:
181
+ If you use the matterbridge-bthome plugin add this line to the existing [Service] section:
179
182
 
180
183
  ```text
181
- [Service]
182
184
  AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_RAW CAP_NET_ADMIN
183
185
  ```
184
186
 
package/README-SERVICE.md CHANGED
@@ -55,17 +55,17 @@ Create a systemctl configuration file for Matterbridge
55
55
  sudo nano /etc/systemd/system/matterbridge.service
56
56
  ```
57
57
 
58
- Add the following to this file, replacing 3 times (!) USER with your user name (e.g. WorkingDirectory=/home/pi/Matterbridge, User=pi and Group=pi):
58
+ Add the following to this file, **replacing 3 times (!) USER with your user name** (e.g. WorkingDirectory=/home/pi/Matterbridge, User=pi and Group=pi):
59
59
 
60
60
  You may need to adapt the configuration to your setup:
61
61
 
62
- - ExecStart on some linux distribution can also be ExecStart==/usr/bin/matterbridge --service
62
+ - On some Linux distributions, ExecStart can also be ExecStart=/usr/bin/matterbridge --service
63
63
 
64
64
  ```text
65
65
  [Unit]
66
66
  Description=matterbridge
67
67
  After=network-online.target
68
- Wants=network.target
68
+ Wants=network-online.target
69
69
  StartLimitIntervalSec=60
70
70
  StartLimitBurst=5
71
71
 
@@ -73,9 +73,13 @@ StartLimitBurst=5
73
73
  Type=simple
74
74
  ExecStart=matterbridge --service
75
75
  WorkingDirectory=/home/<USER>/Matterbridge
76
- StandardOutput=inherit
77
- StandardError=inherit
76
+ # Logs go to the journal (should be persistent). Read with: journalctl -u matterbridge -n 1000 -f --output cat
77
+ StandardOutput=journal
78
+ StandardError=journal
79
+ SyslogIdentifier=matterbridge
78
80
  Restart=always
81
+ RestartSec=5
82
+ TimeoutStopSec=60
79
83
  User=<USER>
80
84
  Group=<USER>
81
85