Skip to content

Commit

Permalink
Release 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Apr 5, 2024
1 parent 9b92706 commit f554e7e
Show file tree
Hide file tree
Showing 20 changed files with 920 additions and 517 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file.

## [1.2.5] - 2024-04-05

### Added
- [frontend]: Added shutdown button
- [frontend]: Added login with password (default no password)
- [Matterbridge]: Added configuration and guidelines in the readme to run Matterbridge like a daemon with systemctl on Linux machine.

## [1.2.4] - 2024-04-01

### Changed
Expand Down
69 changes: 68 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ Matterbridge exposes each registered plugins, and you have to pair each one by s
matterbridge -help
```


## Frontend

Matterbridge has a frontend available on http://localhost:3000
Expand Down Expand Up @@ -277,6 +276,74 @@ It can be useful to call this method from onShutdown() if you don't want to keep

## MatterbridgeDevice api

# Advanced configuration

## Run matterbridge as a daemon with systemctl (Linux only)

Create a systemctl configuration file for Matterbridge

```
sudo nano /etc/systemd/system/matterbridge.service
```

Add the following to this file, replacing twice USER with your user name (e.g. pi):

```
[Unit]
Description=matterbridge
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/matterbridge -bridge
WorkingDirectory=/home/<USER>/Matterbridge
StandardOutput=inherit
StandardError=inherit
Restart=always
RestartSec=10s
TimeoutStopSec=30s
User=<USER>
[Install]
WantedBy=multi-user.target
```

If you modify it after, then run:
```
sudo systemctl daemon-reload
```

### Start Matterbridge
```
sudo systemctl start matterbridge
```

### Stop Matterbridge
```
sudo systemctl stop matterbridge
```

### Show Matterbridge status
```
sudo systemctl status matterbridge.service
```

### View the log of Matterbridge (this will keep the log colors)
```
sudo journalctl -u matterbridge.service -f --output cat
```

### Enable Matterbridge to start automatically on boot

```
sudo systemctl enable matterbridge.service
```

### Disable Matterbridge to start automatically on boot

```
sudo systemctl disable matterbridge.service
```

# Contribution Guidelines

Expand Down
7 changes: 7 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# TODO list

## systemd

## frontend password

## docker
6 changes: 3 additions & 3 deletions frontend/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"files": {
"main.css": "/static/css/main.61f6cf42.css",
"main.js": "/static/js/main.e3553a4d.js",
"main.js": "/static/js/main.2e25398b.js",
"static/js/453.d855a71b.chunk.js": "/static/js/453.d855a71b.chunk.js",
"index.html": "/index.html",
"main.61f6cf42.css.map": "/static/css/main.61f6cf42.css.map",
"main.e3553a4d.js.map": "/static/js/main.e3553a4d.js.map",
"main.2e25398b.js.map": "/static/js/main.2e25398b.js.map",
"453.d855a71b.chunk.js.map": "/static/js/453.d855a71b.chunk.js.map"
},
"entrypoints": [
"static/css/main.61f6cf42.css",
"static/js/main.e3553a4d.js"
"static/js/main.2e25398b.js"
]
}
2 changes: 1 addition & 1 deletion frontend/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.e3553a4d.js"></script><link href="/static/css/main.61f6cf42.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/matterbridge 32x32.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><title>Matterbridge</title><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.2e25398b.js"></script><link href="/static/css/main.61f6cf42.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
2 changes: 1 addition & 1 deletion frontend/build/static/css/main.61f6cf42.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions frontend/build/static/js/main.2e25398b.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/build/static/js/main.2e25398b.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions frontend/build/static/js/main.e3553a4d.js

This file was deleted.

1 change: 0 additions & 1 deletion frontend/build/static/js/main.e3553a4d.js.map

This file was deleted.

Loading

0 comments on commit f554e7e

Please sign in to comment.