Skip to content

Commit e9748c8

Browse files
authored
Merge pull request #185 from Luligu/dev
Release 1.6.6
2 parents 3a6977e + 866d28d commit e9748c8

28 files changed

+1748
-470
lines changed

CHANGELOG.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,54 @@ If you like this project and find it useful, please consider giving it a star on
88

99
The Home Assistant Community Add-ons and plugins are not verified to work with Matterbridge. I strongly advise against using them. If you do use them and encounter an issue (which is likely because some do not meet the Matterbridge guidelines), please do not open an issue in the Matterbridge repository.
1010

11-
If you want to run Matterbridge in Home Assistant please use the official add-on https://github.com/Luligu/matterbridge-home-assistant-addon that also has Ingress and side panel.
11+
If you want to run Matterbridge in Home Assistant please use the official add-on https://github.com/Luligu/matterbridge-home-assistant-addon that also has Ingress and side panel. It's available
1212

1313
### Discord
1414

1515
Tamer (https://github.com/tammeryousef1006) has created the Matterbridge Discord group: https://discord.gg/QX58CDe6hd.
1616

17+
### Breaking Changes
18+
19+
In this release some device types and the OnOff, LevelControl and ColorControl have been updated to be fully compliant with Matter 1.3 specifications.
20+
It is possible that some controllers see them as new devices or need time to read the new clusters. It can be useful after the upgrade to power off the controller, wait a few minutes and power it on again.
21+
22+
## [1.6.6] - 2024-12-12
23+
24+
### Added
25+
26+
- [frontend]: Added the possibility to install a specific version or the dev of any plugin (i.e. you can install matterbridge-hass@dev or [email protected]).
27+
It is also possible to use the install plugin to install a specific version of matterbridge (i.e. you can install matterbridge@dev or [email protected])
28+
- [frontend]: Added the possibility to set the matter discriminator for commissioning (you can always override passing **-discriminator [DISCRIMINATOR]** on the command line).
29+
- [frontend]: Added the possibility to set the matter passcode for commissioning (you can always override passing **-passcode [PASSCODE]** on the command line).
30+
- [frontend]: Added the possibility to set the matter port for commissioning (you can always override passing **-port [PORT]** on the command line).
31+
- [deviceTypes]: Added the device type airConditioner (not supported by the Apple Home).
32+
- [docker]: Added matterbridge-hass to docker dev.
33+
- [platform]: Added validateDeviceWhiteBlackList and validateEntityBlackList to be used consistently by all plugins.
34+
- [/api/devices]: Added productUrl and configUrl.
35+
36+
### Changed
37+
38+
- [package]: Update matter.js to 0.11.9-alpha.0-20241206-22f23333.
39+
- [package]: Update matter.js to 0.11.9-alpha.0-20241207-b604cfa44
40+
- [package]: Update matter.js to 0.11.9-alpha.0-20241209-06a8040e1
41+
- [package]: Update matter.js to 0.11.9
42+
- [plugin]: Removed check on package types since we are moving to production plugins.
43+
- [package]: Set required node version to 18, 20 and 22.
44+
- [package]: Update dependencies.
45+
- [onOff]: Set default to OnOff.Feature.Lighting.
46+
- [levelControl]: Set default to LevelControl.Feature.Lighting.
47+
- [colorControl]: Set default cluster helpers to have ColorTemperature.
48+
- [lightSensor]: Refactor lightSensor removing Group optional cluster server.
49+
- [jest]: Update Jest tests.
50+
51+
### Fixed
52+
53+
- [device]: Fix typos in Device and Endpoint.
54+
55+
<a href="https://www.buymeacoffee.com/luligugithub">
56+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
57+
</a>
58+
1759
## [1.6.5] - 2024-12-02
1860

1961
### Changed

README-DEV.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ I added some error messages when a plugin has wrong imports or configurations an
7171

7272
I'm working with matter.js team to define the strategy for the migration of Matterbridge to the new API.
7373

74-
- First phase: crete MatterbridgeEdge class: completed 90%
75-
- Second phase: create MatterbridgeEndpoint and MatterbridgeBehaviors classes: completed 90%
76-
- Third phase: modifiy all plugins to support both normal and edge mode of Matterbridge: completed 80%
74+
- First phase: create MatterbridgeEdge class: completed 95%
75+
- Second phase: create MatterbridgeEndpoint and MatterbridgeBehaviors classes: completed 95%
76+
- Third phase: modifiy all plugins to support both normal and edge mode of Matterbridge: completed 90%
7777
- Fourth phase: remove all old api code from Matterbridge and all plugins...
7878

7979
## How to create your plugin

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ A special thank to Apollon77 for his incredible work.
4646

4747
To run Matterbridge, you need either a [Node.js](https://nodejs.org/en/download/package-manager) environment or [Docker](https://docs.docker.com/get-started/get-docker/) installed on your system.
4848

49+
If you don't have Node.js already install, please use this method to install it on a debian device: https://github.com/nodesource/distributions. Nvm is not a good choice.
50+
51+
If you don't have Docker already install, please use this method to install it on a debian device: https://docs.docker.com/desktop/setup/install/linux/debian/.
52+
4953
## Installation
5054

5155
Follow these steps to install Matterbridge:

docker/Dockerfile.dev

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ WORKDIR /matterbridge-shelly
2929
RUN GIT_SSL_NO_VERIFY=true git clone -b dev https://github.com/Luligu/matterbridge-shelly.git .
3030
RUN npm ci && npm link matterbridge && npm run build && npm pkg delete devDependencies && npm pkg delete scripts && npm install --omit=dev && npm shrinkwrap && npm pack
3131

32+
WORKDIR /matterbridge-hass
33+
RUN GIT_SSL_NO_VERIFY=true git clone -b dev https://github.com/Luligu/matterbridge-hass.git .
34+
RUN npm ci && npm link matterbridge && npm run build && npm pkg delete devDependencies && npm pkg delete scripts && npm install --omit=dev && npm shrinkwrap && npm pack
35+
3236
WORKDIR /matterbridge-example-accessory-platform
3337
RUN GIT_SSL_NO_VERIFY=true git clone https://github.com/Luligu/matterbridge-example-accessory-platform.git .
3438
RUN npm ci && npm link matterbridge && npm run build && npm pkg delete devDependencies && npm pkg delete scripts && npm install --omit=dev && npm shrinkwrap && npm pack
@@ -68,6 +72,7 @@ RUN npm install -g npm@latest && npm install -g --omit=dev *.tgz && rm *.tgz
6872
COPY --from=builder /matterbridge-zigbee2mqtt/*.tgz .
6973
COPY --from=builder /matterbridge-somfy-tahoma/*.tgz .
7074
COPY --from=builder /matterbridge-shelly/*.tgz .
75+
COPY --from=builder /matterbridge-hass/*.tgz .
7176
COPY --from=builder /matterbridge-example-accessory-platform/*.tgz .
7277
COPY --from=builder /matterbridge-example-dynamic-platform/*.tgz .
7378
COPY --from=builder /matterbridge-eve-door/*.tgz .

frontend/build/asset-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"files": {
33
"main.css": "./static/css/main.823e08b6.css",
4-
"main.js": "./static/js/main.0ab89802.js",
4+
"main.js": "./static/js/main.a742de4e.js",
55
"static/js/453.abd36b29.chunk.js": "./static/js/453.abd36b29.chunk.js",
66
"static/media/roboto-latin-700-normal.woff2": "./static/media/roboto-latin-700-normal.4535474e1cf8598695ad.woff2",
77
"static/media/roboto-latin-500-normal.woff2": "./static/media/roboto-latin-500-normal.7077203b1982951ecf76.woff2",
@@ -61,11 +61,11 @@
6161
"static/media/roboto-greek-ext-400-normal.woff": "./static/media/roboto-greek-ext-400-normal.16eb83b4a3b1ea994243.woff",
6262
"index.html": "./index.html",
6363
"main.823e08b6.css.map": "./static/css/main.823e08b6.css.map",
64-
"main.0ab89802.js.map": "./static/js/main.0ab89802.js.map",
64+
"main.a742de4e.js.map": "./static/js/main.a742de4e.js.map",
6565
"453.abd36b29.chunk.js.map": "./static/js/453.abd36b29.chunk.js.map"
6666
},
6767
"entrypoints": [
6868
"static/css/main.823e08b6.css",
69-
"static/js/main.0ab89802.js"
69+
"static/js/main.a742de4e.js"
7070
]
7171
}

frontend/build/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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.0ab89802.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>
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.a742de4e.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>

frontend/build/static/js/main.0ab89802.js renamed to frontend/build/static/js/main.a742de4e.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/build/static/js/main.0ab89802.js.map renamed to frontend/build/static/js/main.a742de4e.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/components/Home.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,11 @@ function AddRemovePlugins({ plugins, reloadSettings }) {
420420
};
421421

422422
const handleInstallPluginClick = () => {
423-
logMessage('Plugins', `Installing plugin: ${pluginName}`);
423+
const plugin = pluginName.split('@')[0];
424+
if(plugin === 'matterbridge')
425+
logMessage('Matterbridge', `Installing matterbridge package: ${pluginName}`);
426+
else
427+
logMessage('Plugins', `Installing plugin: ${pluginName}`);
424428
sendCommandToMatterbridge('installplugin', pluginName);
425429
setTimeout(() => {
426430
reloadSettings();

0 commit comments

Comments
 (0)