matterbridge 1.3.5 → 1.3.6
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 +17 -0
- package/README.md +3 -1
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js +1 -1
- package/dist/cluster/ElectricalEnergyMeasurementCluster.js.map +1 -1
- package/dist/cluster/ElectricalPowerMeasurementCluster.js +10 -10
- package/dist/cluster/ElectricalPowerMeasurementCluster.js.map +1 -1
- package/dist/logger/export.d.ts.map +1 -0
- package/dist/logger/export.js.map +1 -0
- package/dist/matterbridge.d.ts +2 -1
- package/dist/matterbridge.d.ts.map +1 -1
- package/dist/matterbridge.js +157 -95
- package/dist/matterbridge.js.map +1 -1
- package/dist/matterbridgeDevice.js +4 -4
- package/package.json +24 -2
- package/dist/cluster/export.d.ts +0 -25
- package/dist/cluster/export.d.ts.map +0 -1
- package/dist/cluster/export.js +0 -25
- package/dist/cluster/export.js.map +0 -1
- package/dist/log/export.d.ts.map +0 -1
- package/dist/log/export.js.map +0 -1
- package/dist/utils/export.d.ts +0 -3
- package/dist/utils/export.d.ts.map +0 -1
- package/dist/utils/export.js +0 -3
- package/dist/utils/export.js.map +0 -1
- /package/dist/{log → logger}/export.d.ts +0 -0
- /package/dist/{log → logger}/export.js +0 -0
|
@@ -1003,7 +1003,7 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
|
|
|
1003
1003
|
measured: true,
|
|
1004
1004
|
minMeasuredValue: 0,
|
|
1005
1005
|
maxMeasuredValue: 0,
|
|
1006
|
-
accuracyRanges: [{ rangeMin: 0, rangeMax: 2 ** 62,
|
|
1006
|
+
accuracyRanges: [{ rangeMin: 0, rangeMax: 2 ** 62, fixedMin: 10, fixedMax: 10, fixedTypical: 0 }],
|
|
1007
1007
|
},
|
|
1008
1008
|
cumulativeEnergyImported: { energy },
|
|
1009
1009
|
cumulativeEnergyExported: null,
|
|
@@ -1026,21 +1026,21 @@ export class MatterbridgeDevice extends extendPublicHandlerMethods(Device) {
|
|
|
1026
1026
|
measured: true,
|
|
1027
1027
|
minMeasuredValue: 0,
|
|
1028
1028
|
maxMeasuredValue: 100,
|
|
1029
|
-
accuracyRanges: [{ rangeMin: 0, rangeMax: 2 ** 62,
|
|
1029
|
+
accuracyRanges: [{ rangeMin: 0, rangeMax: 2 ** 62, fixedMin: 10, fixedMax: 10, fixedTypical: 0 }],
|
|
1030
1030
|
},
|
|
1031
1031
|
{
|
|
1032
1032
|
measurementType: MeasurementType.ActiveCurrent,
|
|
1033
1033
|
measured: true,
|
|
1034
1034
|
minMeasuredValue: 0,
|
|
1035
1035
|
maxMeasuredValue: 100,
|
|
1036
|
-
accuracyRanges: [{ rangeMin: 0, rangeMax: 2 ** 62,
|
|
1036
|
+
accuracyRanges: [{ rangeMin: 0, rangeMax: 2 ** 62, fixedMin: 10, fixedMax: 10, fixedTypical: 0 }],
|
|
1037
1037
|
},
|
|
1038
1038
|
{
|
|
1039
1039
|
measurementType: MeasurementType.ActivePower,
|
|
1040
1040
|
measured: true,
|
|
1041
1041
|
minMeasuredValue: 0,
|
|
1042
1042
|
maxMeasuredValue: 100,
|
|
1043
|
-
accuracyRanges: [{ rangeMin: 0, rangeMax: 2 ** 62,
|
|
1043
|
+
accuracyRanges: [{ rangeMin: 0, rangeMax: 2 ** 62, fixedMin: 10, fixedMax: 10, fixedTypical: 0 }],
|
|
1044
1044
|
},
|
|
1045
1045
|
],
|
|
1046
1046
|
voltage: voltage,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "matterbridge",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
4
4
|
"description": "Matterbridge plugin manager for Matter",
|
|
5
5
|
"author": "https://github.com/Luligu",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,13 +39,35 @@
|
|
|
39
39
|
],
|
|
40
40
|
"type": "module",
|
|
41
41
|
"main": "dist/index.js",
|
|
42
|
-
"types": "dist/index.d.
|
|
42
|
+
"types": "dist/index.d.ts",
|
|
43
43
|
"bin": {
|
|
44
44
|
"matterbridge": "dist/cli.js"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=18.0.0"
|
|
48
48
|
},
|
|
49
|
+
"exports": {
|
|
50
|
+
".": {
|
|
51
|
+
"import": "./dist/index.js",
|
|
52
|
+
"types": "./dist/index.d.ts"
|
|
53
|
+
},
|
|
54
|
+
"./utils/*": {
|
|
55
|
+
"import": "./dist/utils/*.js",
|
|
56
|
+
"types": "./dist/utils/*.d.ts"
|
|
57
|
+
},
|
|
58
|
+
"./cluster/*": {
|
|
59
|
+
"import": "./dist/cluster/*.js",
|
|
60
|
+
"types": "./dist/cluster/*.d.ts"
|
|
61
|
+
},
|
|
62
|
+
"./logger": {
|
|
63
|
+
"import": "./dist/logger/export.js",
|
|
64
|
+
"types": "./dist/logger/export.d.ts"
|
|
65
|
+
},
|
|
66
|
+
"./storage": {
|
|
67
|
+
"import": "./dist/storage/export.js",
|
|
68
|
+
"types": "./dist/storage/export.d.ts"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
49
71
|
"scripts": {
|
|
50
72
|
"build": "tsc",
|
|
51
73
|
"watch": "tsc --watch",
|
package/dist/cluster/export.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export * from '../cluster/AirQualityCluster.js';
|
|
2
|
-
export * from '../cluster/BooleanStateConfigurationCluster.js';
|
|
3
|
-
export * from '../cluster/BridgedDeviceBasicInformationCluster.js';
|
|
4
|
-
export * from '../cluster/CarbonDioxideConcentrationMeasurementCluster.js';
|
|
5
|
-
export * from '../cluster/CarbonMonoxideConcentrationMeasurementCluster.js';
|
|
6
|
-
export * from '../cluster/ConcentrationMeasurementCluster.js';
|
|
7
|
-
export * from '../cluster/DeviceEnergyManagementCluster.js';
|
|
8
|
-
export * from '../cluster/DeviceEnergyManagementModeCluster.js';
|
|
9
|
-
export * from '../cluster/ElectricalEnergyMeasurementCluster.js';
|
|
10
|
-
export * from '../cluster/ElectricalPowerMeasurementCluster.js';
|
|
11
|
-
export * from '../cluster/FanControlCluster.js';
|
|
12
|
-
export * from '../cluster/FormaldehydeConcentrationMeasurementCluster.js';
|
|
13
|
-
export * from '../cluster/MeasurementAccuracy.js';
|
|
14
|
-
export * from '../cluster/MeasurementAccuracyRange.js';
|
|
15
|
-
export * from '../cluster/MeasurementType.js';
|
|
16
|
-
export * from '../cluster/NitrogenDioxideConcentrationMeasurementCluster.js';
|
|
17
|
-
export * from '../cluster/OzoneConcentrationMeasurementCluster.js';
|
|
18
|
-
export * from '../cluster/Pm10ConcentrationMeasurementCluster.js';
|
|
19
|
-
export * from '../cluster/Pm1ConcentrationMeasurementCluster.js';
|
|
20
|
-
export * from '../cluster/Pm25ConcentrationMeasurementCluster.js';
|
|
21
|
-
export * from '../cluster/PowerTopologyCluster.js';
|
|
22
|
-
export * from '../cluster/RadonConcentrationMeasurementCluster.js';
|
|
23
|
-
export * from '../cluster/SmokeCoAlarmCluster.js';
|
|
24
|
-
export * from '../cluster/TvocCluster.js';
|
|
25
|
-
//# sourceMappingURL=export.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/cluster/export.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oDAAoD,CAAC;AACnE,cAAc,4DAA4D,CAAC;AAC3E,cAAc,6DAA6D,CAAC;AAC5E,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,iDAAiD,CAAC;AAChE,cAAc,iCAAiC,CAAC;AAChD,cAAc,2DAA2D,CAAC;AAC1E,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8DAA8D,CAAC;AAC7E,cAAc,oDAAoD,CAAC;AACnE,cAAc,mDAAmD,CAAC;AAClE,cAAc,kDAAkD,CAAC;AACjE,cAAc,mDAAmD,CAAC;AAClE,cAAc,oCAAoC,CAAC;AACnD,cAAc,oDAAoD,CAAC;AACnE,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC"}
|
package/dist/cluster/export.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export * from '../cluster/AirQualityCluster.js';
|
|
2
|
-
export * from '../cluster/BooleanStateConfigurationCluster.js';
|
|
3
|
-
export * from '../cluster/BridgedDeviceBasicInformationCluster.js'; // Already defined in matter.js
|
|
4
|
-
export * from '../cluster/CarbonDioxideConcentrationMeasurementCluster.js';
|
|
5
|
-
export * from '../cluster/CarbonMonoxideConcentrationMeasurementCluster.js';
|
|
6
|
-
export * from '../cluster/ConcentrationMeasurementCluster.js';
|
|
7
|
-
export * from '../cluster/DeviceEnergyManagementCluster.js';
|
|
8
|
-
export * from '../cluster/DeviceEnergyManagementModeCluster.js';
|
|
9
|
-
export * from '../cluster/ElectricalEnergyMeasurementCluster.js';
|
|
10
|
-
export * from '../cluster/ElectricalPowerMeasurementCluster.js';
|
|
11
|
-
export * from '../cluster/FanControlCluster.js'; // Already defined in matter.js like rev. 2
|
|
12
|
-
export * from '../cluster/FormaldehydeConcentrationMeasurementCluster.js';
|
|
13
|
-
export * from '../cluster/MeasurementAccuracy.js';
|
|
14
|
-
export * from '../cluster/MeasurementAccuracyRange.js';
|
|
15
|
-
export * from '../cluster/MeasurementType.js';
|
|
16
|
-
export * from '../cluster/NitrogenDioxideConcentrationMeasurementCluster.js';
|
|
17
|
-
export * from '../cluster/OzoneConcentrationMeasurementCluster.js';
|
|
18
|
-
export * from '../cluster/Pm10ConcentrationMeasurementCluster.js';
|
|
19
|
-
export * from '../cluster/Pm1ConcentrationMeasurementCluster.js';
|
|
20
|
-
export * from '../cluster/Pm25ConcentrationMeasurementCluster.js';
|
|
21
|
-
export * from '../cluster/PowerTopologyCluster.js';
|
|
22
|
-
export * from '../cluster/RadonConcentrationMeasurementCluster.js';
|
|
23
|
-
export * from '../cluster/SmokeCoAlarmCluster.js';
|
|
24
|
-
export * from '../cluster/TvocCluster.js';
|
|
25
|
-
//# sourceMappingURL=export.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export.js","sourceRoot":"","sources":["../../src/cluster/export.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oDAAoD,CAAC,CAAC,+BAA+B;AACnG,cAAc,4DAA4D,CAAC;AAC3E,cAAc,6DAA6D,CAAC;AAC5E,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,kDAAkD,CAAC;AACjE,cAAc,iDAAiD,CAAC;AAChE,cAAc,iCAAiC,CAAC,CAAC,2CAA2C;AAC5F,cAAc,2DAA2D,CAAC;AAC1E,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,8DAA8D,CAAC;AAC7E,cAAc,oDAAoD,CAAC;AACnE,cAAc,mDAAmD,CAAC;AAClE,cAAc,kDAAkD,CAAC;AACjE,cAAc,mDAAmD,CAAC;AAClE,cAAc,oCAAoC,CAAC;AACnD,cAAc,oDAAoD,CAAC;AACnE,cAAc,mCAAmC,CAAC;AAClD,cAAc,2BAA2B,CAAC"}
|
package/dist/log/export.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/log/export.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
package/dist/log/export.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export.js","sourceRoot":"","sources":["../../src/log/export.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
package/dist/utils/export.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../src/utils/export.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
package/dist/utils/export.js
DELETED
package/dist/utils/export.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"export.js","sourceRoot":"","sources":["../../src/utils/export.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC"}
|
|
File without changes
|
|
File without changes
|