matterbridge-example-dynamic-platform 1.3.7 → 1.3.8-dev-20250801-bfd558c
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 +14 -0
- package/dist/platform.js +5 -13
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -23,6 +23,20 @@ If you like this project and find it useful, please consider giving it a star on
|
|
23
23
|
<img src="bmc-button.svg" alt="Buy me a coffee" width="120">
|
24
24
|
</a>
|
25
25
|
|
26
|
+
## [1.3.8] - 2025-08-01
|
27
|
+
|
28
|
+
### Added
|
29
|
+
|
30
|
+
- [rvc]: Removed the supportedMaps workaround for the RVC maps. Thanks Ludovic BOUÉ (#25).
|
31
|
+
|
32
|
+
### Changed
|
33
|
+
|
34
|
+
- [package]: Updated dependencies.
|
35
|
+
|
36
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
37
|
+
<img src="bmc-button.svg" alt="Buy me a coffee" width="80">
|
38
|
+
</a>
|
39
|
+
|
26
40
|
## [1.3.7] - 2025-08-01
|
27
41
|
|
28
42
|
### Added
|
package/dist/platform.js
CHANGED
@@ -73,8 +73,8 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
73
73
|
fanDirectionLookup = ['Forward', 'Reverse'];
|
74
74
|
constructor(matterbridge, log, config) {
|
75
75
|
super(matterbridge, log, config);
|
76
|
-
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.
|
77
|
-
throw new Error(`This plugin requires Matterbridge version >= "3.
|
76
|
+
if (this.verifyMatterbridgeVersion === undefined || typeof this.verifyMatterbridgeVersion !== 'function' || !this.verifyMatterbridgeVersion('3.2.0')) {
|
77
|
+
throw new Error(`This plugin requires Matterbridge version >= "3.2.0". Please update Matterbridge from ${this.matterbridge.matterbridgeVersion} to the latest version in the frontend.`);
|
78
78
|
}
|
79
79
|
this.log.info('Initializing platform:', this.config.name);
|
80
80
|
if (config.whiteList === undefined)
|
@@ -994,17 +994,17 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
994
994
|
},
|
995
995
|
{
|
996
996
|
areaId: 2,
|
997
|
-
mapId:
|
997
|
+
mapId: 1,
|
998
998
|
areaInfo: { locationInfo: { locationName: 'Kitchen', floorNumber: 0, areaType: AreaNamespaceTag.Kitchen.tag }, landmarkInfo: null },
|
999
999
|
},
|
1000
1000
|
{
|
1001
1001
|
areaId: 3,
|
1002
|
-
mapId:
|
1002
|
+
mapId: 2,
|
1003
1003
|
areaInfo: { locationInfo: { locationName: 'Bedroom', floorNumber: 1, areaType: AreaNamespaceTag.Bedroom.tag }, landmarkInfo: null },
|
1004
1004
|
},
|
1005
1005
|
{
|
1006
1006
|
areaId: 4,
|
1007
|
-
mapId:
|
1007
|
+
mapId: 2,
|
1008
1008
|
areaInfo: { locationInfo: { locationName: 'Bathroom', floorNumber: 1, areaType: AreaNamespaceTag.Bathroom.tag }, landmarkInfo: null },
|
1009
1009
|
},
|
1010
1010
|
], [], 1, [
|
@@ -1016,14 +1016,6 @@ export class ExampleMatterbridgeDynamicPlatform extends MatterbridgeDynamicPlatf
|
|
1016
1016
|
mapId: 2,
|
1017
1017
|
name: 'First floor',
|
1018
1018
|
},
|
1019
|
-
{
|
1020
|
-
mapId: 3,
|
1021
|
-
name: 'Bedroom',
|
1022
|
-
},
|
1023
|
-
{
|
1024
|
-
mapId: 4,
|
1025
|
-
name: 'Bathroom',
|
1026
|
-
},
|
1027
1019
|
]);
|
1028
1020
|
if (this.config.enableServerRvc === true) {
|
1029
1021
|
this.log.notice('RVC is in server mode');
|
package/npm-shrinkwrap.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "matterbridge-example-dynamic-platform",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.8-dev-20250801-bfd558c",
|
4
4
|
"lockfileVersion": 3,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "matterbridge-example-dynamic-platform",
|
9
|
-
"version": "1.3.
|
9
|
+
"version": "1.3.8-dev-20250801-bfd558c",
|
10
10
|
"license": "Apache-2.0",
|
11
11
|
"dependencies": {
|
12
12
|
"node-ansi-logger": "3.1.1",
|