matterbridge 1.5.0 → 1.5.1
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 +16 -2
- package/README-DEV.md +2 -2
- package/README.md +2 -2
- package/dist/cluster/export.d.ts +23 -0
- package/dist/cluster/export.d.ts.map +1 -0
- package/dist/cluster/export.js +23 -0
- package/dist/cluster/export.js.map +1 -0
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/matterbridgeDevice.d.ts +190 -114
- package/dist/matterbridgeDevice.d.ts.map +1 -1
- package/dist/matterbridgeDevice.js +379 -189
- package/dist/matterbridgeDevice.js.map +1 -1
- package/dist/utils/utils.d.ts +1 -1
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +19 -19
- package/dist/utils/utils.js.map +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,6 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
If you like this project and find it useful, please consider giving it a star on GitHub at https://github.com/Luligu/matterbridge and sponsoring it.
|
|
6
6
|
|
|
7
|
-
## [1.5.0] - 2024-08-27
|
|
8
|
-
|
|
9
7
|
### Breaking Changes
|
|
10
8
|
|
|
11
9
|
- [-bridge -childbridge]: You don't need anymore to add the parmeter -bridge or -childbridge on the command line or systemctl configuration or docker command: the default is bridge mode and if no parameter is added, Matterbridge uses the settings from the frontend that are saved.
|
|
@@ -18,6 +16,22 @@ If you like this project and find it useful, please consider giving it a star on
|
|
|
18
16
|
|
|
19
17
|
- please read this [Development guide lines](https://github.com/Luligu/matterbridge/blob/main/README-DEV.md)
|
|
20
18
|
|
|
19
|
+
## [1.5.1] - 2024-08-28
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- [matterbridgeDevice]: refactor WindowCovering cluster (removed AbsolutePosition).
|
|
26
|
+
- [matterbridge]: Removed deprecated methods.
|
|
27
|
+
- [package]: Update dependencies.
|
|
28
|
+
|
|
29
|
+
<a href="https://www.buymeacoffee.com/luligugithub">
|
|
30
|
+
<img src="./yellow-button.png" alt="Buy me a coffee" width="120">
|
|
31
|
+
</a>
|
|
32
|
+
|
|
33
|
+
## [1.5.0] - 2024-08-27
|
|
34
|
+
|
|
21
35
|
### Added
|
|
22
36
|
|
|
23
37
|
- [frontend]: Added menu item "Update".
|
package/README-DEV.md
CHANGED
|
@@ -20,7 +20,7 @@ Matterbridge export from:
|
|
|
20
20
|
|
|
21
21
|
"matterbridge"
|
|
22
22
|
- Matterbridge and MatterbridgeDevice class.
|
|
23
|
-
- All relevant matter-node.js or matter.js classes and functions.
|
|
23
|
+
- All relevant matter-node.js or matter.js clusters, classes and functions.
|
|
24
24
|
|
|
25
25
|
"matterbridge/cluster"
|
|
26
26
|
- All clusters not present in matter.js or modified.
|
|
@@ -39,11 +39,11 @@ Matterbridge export from:
|
|
|
39
39
|
|
|
40
40
|
# **********
|
|
41
41
|
A plugin will never ever install and import from matter-node.js or matter.js directly cause this leads to a second instance of matter.js that causes instability and unpredictable errors like "The only instance is Enpoint".
|
|
42
|
+
# **********
|
|
42
43
|
|
|
43
44
|
In the next releases I will remove the duplicated exports so please update your plugins.
|
|
44
45
|
|
|
45
46
|
I will also add some error messages when a plugin has wrong imports.
|
|
46
|
-
# **********
|
|
47
47
|
|
|
48
48
|
## Guidelines on the migration to matter.js V8
|
|
49
49
|
|
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ Test the installation with:
|
|
|
62
62
|
matterbridge -bridge
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
Now it is possible to open the frontend at the link provided in the log (e.g. http
|
|
65
|
+
Now it is possible to open the frontend at the link provided in the log (e.g. http://MATTERBIDGE-IPV4-ADDRESS:8283)
|
|
66
66
|
|
|
67
67
|
## Usage
|
|
68
68
|
|
|
@@ -90,7 +90,7 @@ matterbridge -help
|
|
|
90
90
|
|
|
91
91
|
## Frontend
|
|
92
92
|
|
|
93
|
-
Matterbridge has a frontend available on http
|
|
93
|
+
Matterbridge has a frontend available on http://MATTERBIDGE-IPV4-ADDRESS:8283 and http://[MATTERBIDGE-IPV6-ADDRESS]:8283
|
|
94
94
|
|
|
95
95
|
You can change the default port by adding the frontend parameter when you run it.
|
|
96
96
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './AirQualityCluster.js';
|
|
2
|
+
export * from './BooleanStateConfigurationCluster.js';
|
|
3
|
+
export * from './CarbonDioxideConcentrationMeasurementCluster.js';
|
|
4
|
+
export * from './CarbonMonoxideConcentrationMeasurementCluster.js';
|
|
5
|
+
export * from './ConcentrationMeasurementCluster.js';
|
|
6
|
+
export * from './DeviceEnergyManagementCluster.js';
|
|
7
|
+
export * from './DeviceEnergyManagementModeCluster.js';
|
|
8
|
+
export * from './ElectricalEnergyMeasurementCluster.js';
|
|
9
|
+
export * from './ElectricalPowerMeasurementCluster.js';
|
|
10
|
+
export * from './FormaldehydeConcentrationMeasurementCluster.js';
|
|
11
|
+
export * from './MeasurementAccuracy.js';
|
|
12
|
+
export * from './MeasurementAccuracyRange.js';
|
|
13
|
+
export * from './MeasurementType.js';
|
|
14
|
+
export * from './NitrogenDioxideConcentrationMeasurementCluster.js';
|
|
15
|
+
export * from './OzoneConcentrationMeasurementCluster.js';
|
|
16
|
+
export * from './Pm10ConcentrationMeasurementCluster.js';
|
|
17
|
+
export * from './Pm1ConcentrationMeasurementCluster.js';
|
|
18
|
+
export * from './Pm25ConcentrationMeasurementCluster.js';
|
|
19
|
+
export * from './PowerTopologyCluster.js';
|
|
20
|
+
export * from './RadonConcentrationMeasurementCluster.js';
|
|
21
|
+
export * from './SmokeCoAlarmCluster.js';
|
|
22
|
+
export * from './TvocCluster.js';
|
|
23
|
+
//# sourceMappingURL=export.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/cluster/export.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kDAAkD,CAAC;AACjE,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qDAAqD,CAAC;AACpE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './AirQualityCluster.js';
|
|
2
|
+
export * from './BooleanStateConfigurationCluster.js';
|
|
3
|
+
export * from './CarbonDioxideConcentrationMeasurementCluster.js';
|
|
4
|
+
export * from './CarbonMonoxideConcentrationMeasurementCluster.js';
|
|
5
|
+
export * from './ConcentrationMeasurementCluster.js';
|
|
6
|
+
export * from './DeviceEnergyManagementCluster.js';
|
|
7
|
+
export * from './DeviceEnergyManagementModeCluster.js';
|
|
8
|
+
export * from './ElectricalEnergyMeasurementCluster.js';
|
|
9
|
+
export * from './ElectricalPowerMeasurementCluster.js';
|
|
10
|
+
export * from './FormaldehydeConcentrationMeasurementCluster.js';
|
|
11
|
+
export * from './MeasurementAccuracy.js';
|
|
12
|
+
export * from './MeasurementAccuracyRange.js';
|
|
13
|
+
export * from './MeasurementType.js';
|
|
14
|
+
export * from './NitrogenDioxideConcentrationMeasurementCluster.js';
|
|
15
|
+
export * from './OzoneConcentrationMeasurementCluster.js';
|
|
16
|
+
export * from './Pm10ConcentrationMeasurementCluster.js';
|
|
17
|
+
export * from './Pm1ConcentrationMeasurementCluster.js';
|
|
18
|
+
export * from './Pm25ConcentrationMeasurementCluster.js';
|
|
19
|
+
export * from './PowerTopologyCluster.js';
|
|
20
|
+
export * from './RadonConcentrationMeasurementCluster.js';
|
|
21
|
+
export * from './SmokeCoAlarmCluster.js';
|
|
22
|
+
export * from './TvocCluster.js';
|
|
23
|
+
//# sourceMappingURL=export.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.js","sourceRoot":"","sources":["../../src/cluster/export.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,mDAAmD,CAAC;AAClE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AACxD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kDAAkD,CAAC;AACjE,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,qDAAqD,CAAC;AACpE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,0CAA0C,CAAC;AACzD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -34,9 +34,6 @@ export * from './matterbridgePlatform.js';
|
|
|
34
34
|
export * from './matterbridgeAccessoryPlatform.js';
|
|
35
35
|
export * from './matterbridgeDynamicPlatform.js';
|
|
36
36
|
export * from './matterbridgeTypes.js';
|
|
37
|
-
export * from 'matter-history';
|
|
38
|
-
export * from './utils/utils.js';
|
|
39
|
-
export * from './utils/colorUtils.js';
|
|
40
37
|
export * from './cluster/AirQualityCluster.js';
|
|
41
38
|
export * from './cluster/BooleanStateConfigurationCluster.js';
|
|
42
39
|
export * from './cluster/CarbonDioxideConcentrationMeasurementCluster.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,8BAA8B,CAAC;AAItC,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AAUvC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,4DAA4D,CAAC;AAC3E,cAAc,8CAA8C,CAAC;AAC7D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,0DAA0D,CAAC;AACzE,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6DAA6D,CAAC;AAC5E,cAAc,mDAAmD,CAAC;AAClE,cAAc,kDAAkD,CAAC;AACjE,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,mCAAmC,CAAC;AAClD,cAAc,mDAAmD,CAAC;AAClE,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -36,9 +36,11 @@ export * from './matterbridgeAccessoryPlatform.js';
|
|
|
36
36
|
export * from './matterbridgeDynamicPlatform.js';
|
|
37
37
|
export * from './matterbridgeTypes.js';
|
|
38
38
|
// TODO Remove in august 2024
|
|
39
|
+
/*
|
|
39
40
|
export * from 'matter-history';
|
|
40
41
|
export * from './utils/utils.js';
|
|
41
42
|
export * from './utils/colorUtils.js';
|
|
43
|
+
*/
|
|
42
44
|
// TODO Refactor all plugins to import from matterbridge/cluster and remove in september 2024
|
|
43
45
|
export * from './cluster/AirQualityCluster.js';
|
|
44
46
|
export * from './cluster/BooleanStateConfigurationCluster.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,8BAA8B,CAAC;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,mBAAmB,CAA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