matterbridge 1.6.6-dev.7 → 1.6.6-dev.9
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 +3 -2
- package/dist/matterbridgeEdge.js +1 -4
- package/dist/matterbridgePlatform.js +10 -6
- package/frontend/build/asset-manifest.json +3 -3
- package/frontend/build/index.html +1 -1
- package/frontend/build/static/js/{main.cb537856.js → main.565ff6ba.js} +3 -3
- package/frontend/build/static/js/{main.cb537856.js.map → main.565ff6ba.js.map} +1 -1
- package/npm-shrinkwrap.json +63 -75
- package/package.json +4 -4
- /package/frontend/build/static/js/{main.cb537856.js.LICENSE.txt → main.565ff6ba.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,7 @@ If you want to run Matterbridge in Home Assistant please use the official add-on
|
|
|
14
14
|
|
|
15
15
|
Tamer (https://github.com/tammeryousef1006) has created the Matterbridge Discord group: https://discord.gg/QX58CDe6hd.
|
|
16
16
|
|
|
17
|
-
## [1.6.6] - 2024-12-
|
|
17
|
+
## [1.6.6] - 2024-12-06
|
|
18
18
|
|
|
19
19
|
### Added
|
|
20
20
|
|
|
@@ -25,11 +25,12 @@ Tamer (https://github.com/tammeryousef1006) has created the Matterbridge Discord
|
|
|
25
25
|
- [frontend]: Add the possibility to set the matter port for commissioning (you can always override passing **-port [PORT]** on the command line).
|
|
26
26
|
- [deviceTypes]: Add device type airConditioner (not supported by the Apple Home).
|
|
27
27
|
- [docker]: Add matterbridge-hass to docker dev.
|
|
28
|
-
- [platform]: Added validateDeviceWhiteBlackList and validateEntityBlackList to be
|
|
28
|
+
- [platform]: Added validateDeviceWhiteBlackList and validateEntityBlackList to be used consistently by all plugins.
|
|
29
29
|
|
|
30
30
|
### Changed
|
|
31
31
|
|
|
32
32
|
- [package]: Update matter.js to 0.11.9-alpha.0-20241206-22f23333.
|
|
33
|
+
- [package]: Update matter.js to 0.11.9-alpha.0-20241207-b604cfa44
|
|
33
34
|
- [plugin]: Removed check on package types since we are moving to production plugins.
|
|
34
35
|
- [package]: Set required node version to 18, 20 and 22.
|
|
35
36
|
- [package]: Update dependencies.
|
package/dist/matterbridgeEdge.js
CHANGED
|
@@ -9,7 +9,7 @@ import { copyDirectory, getParameter, hasParameter } from './utils/utils.js';
|
|
|
9
9
|
import { DeviceTypeId, LogLevel as MatterLogLevel, LogFormat as MatterLogFormat, VendorId, EndpointServer } from '@matter/main';
|
|
10
10
|
import { ServerNode, Endpoint as EndpointNode, Environment, StorageService } from '@matter/main';
|
|
11
11
|
import { BasicInformationCluster } from '@matter/main/clusters';
|
|
12
|
-
import { FabricAction, MdnsService
|
|
12
|
+
import { FabricAction, MdnsService } from '@matter/main/protocol';
|
|
13
13
|
import { GenericSwitchDevice } from '@matter/main/devices';
|
|
14
14
|
import { AggregatorEndpoint } from '@matter/main/endpoints';
|
|
15
15
|
import { BridgedDeviceBasicInformationServer, SwitchServer } from '@matter/main/behaviors';
|
|
@@ -48,9 +48,6 @@ export class MatterbridgeEdge extends Matterbridge {
|
|
|
48
48
|
await super.initialize();
|
|
49
49
|
if (this.mdnsInterface)
|
|
50
50
|
this.environment.vars.set('mdns.networkInterface', this.mdnsInterface);
|
|
51
|
-
this.port = 5540;
|
|
52
|
-
this.passcode = PaseClient.generateRandomPasscode();
|
|
53
|
-
this.discriminator = PaseClient.generateRandomDiscriminator();
|
|
54
51
|
}
|
|
55
52
|
async startMatterStorage(storageType, storageName) {
|
|
56
53
|
this.log.info(`Starting matter node storage...`);
|
|
@@ -70,24 +70,28 @@ export class MatterbridgePlatform {
|
|
|
70
70
|
return false;
|
|
71
71
|
return true;
|
|
72
72
|
}
|
|
73
|
-
validateDeviceWhiteBlackList(device) {
|
|
73
|
+
validateDeviceWhiteBlackList(device, log = true) {
|
|
74
74
|
if (isValidArray(this.config.whiteList, 1) && !this.config.whiteList.includes(device)) {
|
|
75
|
-
|
|
75
|
+
if (log)
|
|
76
|
+
this.log.info(`Skipping device ${CYAN}${device}${nf} because not in whitelist`);
|
|
76
77
|
return false;
|
|
77
78
|
}
|
|
78
79
|
if (isValidArray(this.config.blackList, 1) && this.config.blackList.includes(device)) {
|
|
79
|
-
|
|
80
|
+
if (log)
|
|
81
|
+
this.log.info(`Skipping device ${CYAN}${device}${nf} because in blacklist`);
|
|
80
82
|
return false;
|
|
81
83
|
}
|
|
82
84
|
return true;
|
|
83
85
|
}
|
|
84
|
-
validateEntityBlackList(device, entity) {
|
|
86
|
+
validateEntityBlackList(device, entity, log = true) {
|
|
85
87
|
if (isValidArray(this.config.entityBlackList, 1) && this.config.entityBlackList.find((e) => e === entity)) {
|
|
86
|
-
|
|
88
|
+
if (log)
|
|
89
|
+
this.log.info(`Skipping entity ${CYAN}${entity}${nf} because in entityBlackList`);
|
|
87
90
|
return false;
|
|
88
91
|
}
|
|
89
92
|
if (isValidObject(this.config.deviceEntityBlackList, 1) && device in this.config.deviceEntityBlackList && this.config.deviceEntityBlackList[device].includes(entity)) {
|
|
90
|
-
|
|
93
|
+
if (log)
|
|
94
|
+
this.log.info(`Skipping entity ${CYAN}${entity}${wr} for device ${CYAN}${device}${nf} because in deviceEntityBlackList`);
|
|
91
95
|
return false;
|
|
92
96
|
}
|
|
93
97
|
return true;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"files": {
|
|
3
3
|
"main.css": "./static/css/main.823e08b6.css",
|
|
4
|
-
"main.js": "./static/js/main.
|
|
4
|
+
"main.js": "./static/js/main.565ff6ba.js",
|
|
5
5
|
"static/js/453.abd36b29.chunk.js": "./static/js/453.abd36b29.chunk.js",
|
|
6
6
|
"static/media/roboto-latin-700-normal.woff2": "./static/media/roboto-latin-700-normal.4535474e1cf8598695ad.woff2",
|
|
7
7
|
"static/media/roboto-latin-500-normal.woff2": "./static/media/roboto-latin-500-normal.7077203b1982951ecf76.woff2",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"static/media/roboto-greek-ext-400-normal.woff": "./static/media/roboto-greek-ext-400-normal.16eb83b4a3b1ea994243.woff",
|
|
62
62
|
"index.html": "./index.html",
|
|
63
63
|
"main.823e08b6.css.map": "./static/css/main.823e08b6.css.map",
|
|
64
|
-
"main.
|
|
64
|
+
"main.565ff6ba.js.map": "./static/js/main.565ff6ba.js.map",
|
|
65
65
|
"453.abd36b29.chunk.js.map": "./static/js/453.abd36b29.chunk.js.map"
|
|
66
66
|
},
|
|
67
67
|
"entrypoints": [
|
|
68
68
|
"static/css/main.823e08b6.css",
|
|
69
|
-
"static/js/main.
|
|
69
|
+
"static/js/main.565ff6ba.js"
|
|
70
70
|
]
|
|
71
71
|
}
|
|
@@ -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.
|
|
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.565ff6ba.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>
|