-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #198 from Luligu/dev
Release 1.7.0
- Loading branch information
Showing
54 changed files
with
4,035 additions
and
1,624 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# <img src="https://github.com/Luligu/matterbridge/blob/main/frontend/public/matterbridge%2064x64.png" alt="Matterbridge Logo" width="64px" height="64px"> Matterbridge | ||
|
||
# Matterbridge edge | ||
|
||
Matterbridge Edge is the version of Matterbridge running with the new Matter.js API. | ||
|
||
After months of work, the migration of Matterbridge from the old API to the new API is now complete. This includes the conversion of the entire old storage format to the new API storage format, encompassing fabrics, resumption records, network, commissioning, operational credentials, ACL, and part numbers. | ||
|
||
A special thanks goes to Apollon for answering my countless questions and helping to resolve the many small issues that arose during this process. | ||
|
||
I also want to express my gratitude to Tamer, who continues to test everything daily to ensure we reach a level of confidence needed to release the update with the latest tag. | ||
|
||
## Storage conversion | ||
|
||
Starting from version 1.7.0 (1.6.8-dev.11 before it is published as 1.7.0 with tag latest), the conversion process is automatic and is triggered each time you shut down, restart, or update Matterbridge using the frontend. | ||
|
||
A message is displayed to inform the user when the conversion is complete. | ||
|
||
Once the user run Matterbridge in Edge mode for the first time, the conversion will no longer be triggered. | ||
|
||
The conversion only creates a new storage directory in the new format. It does not modify the old storage in any way, so there is no risk in trying Edge mode before its official release. You can also revert to normal mode by simply removing the -edge parameter. After the conversion is complete, the two storages will be identical. However, once you start using Edge mode, any changes made to one storage will not be reflected in the other. Therefore, it is recommended to let the conversion complete, switch to Edge mode, and continue using it exclusively. | ||
There is no conversion back to the old storage. | ||
|
||
## When it will be released | ||
|
||
Matterbridge Edge will be officially released as version 2.0.0, as it represents a major update. | ||
|
||
## How to run matterbridge in edge mode | ||
|
||
To start Matterbridge in Edge mode before its official release, you need to add the -edge parameter to the command line or Docker command. | ||
|
||
### When you run matterbridge from a terminal | ||
|
||
``` | ||
matterbridge -edge | ||
``` | ||
|
||
### When you run matterbridge with systemctl | ||
|
||
Modify your /etc/systemd/system/matterbridge.service | ||
|
||
``` | ||
ExecStart=matterbridge -service -edge | ||
``` | ||
|
||
Then run: | ||
|
||
``` | ||
sudo systemctl daemon-reload | ||
sudo systemctl restart matterbridge | ||
``` | ||
|
||
### When you run matterbridge with docker | ||
|
||
``` | ||
sudo docker run --name matterbridge \ | ||
-v ${HOME}/Matterbridge:/root/Matterbridge \ | ||
-v ${HOME}/.matterbridge:/root/.matterbridge \ | ||
--network host --restart always -d luligu/matterbridge:latest \ | ||
matterbridge -docker -edge | ||
``` | ||
|
||
### When you run matterbridge with docker compose | ||
|
||
``` | ||
services: | ||
matterbridge: | ||
container_name: matterbridge | ||
image: luligu/matterbridge:latest # Matterbridge image with the latest tag | ||
network_mode: host # Ensures the Matter mdns works | ||
restart: always # Ensures the container always restarts automatically | ||
volumes: | ||
- "${HOME}/Matterbridge:/root/Matterbridge" # Mounts the Matterbridge plugin directory | ||
- "${HOME}/.matterbridge:/root/.matterbridge" # Mounts the Matterbridge storage directory | ||
command: [ "matterbridge", "-docker", "-edge" ] # Override the image command adding -edge | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><base href="./"><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.4dd7e165.js"></script><link href="./static/css/main.823e08b6.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"/><base href="./"><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.5caad8c7.js"></script><link href="./static/css/main.f1fce054.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.