matterbridge 2.1.0-dev.5 → 2.1.0-dev.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 CHANGED
@@ -21,7 +21,7 @@ For this reason there is no compatibility for old versions of the plugins.
21
21
  You need to update all plugins you use and Matterbridge in the same moment.
22
22
  I suggest to first update all plugins without restarting and then to update Matterbridge so when it restarts, all versions will be the latest.
23
23
 
24
- ## [2.1.0.dev.5] - 2025-01-29
24
+ ## [2.1.0.dev.6] - 2025-01-29
25
25
 
26
26
  ### Added
27
27
 
package/dist/frontend.js CHANGED
@@ -881,8 +881,8 @@ export class Frontend {
881
881
  attributes += `Speed: ${attributeValue} `;
882
882
  if (clusterName === 'occupancySensing' && attributeName === 'occupancy' && isValidObject(attributeValue, 1))
883
883
  attributes += `Occupancy: ${attributeValue.occupied} `;
884
- if (clusterName === 'illuminanceMeasurement' && attributeName === 'measuredValue')
885
- attributes += `Illuminance: ${attributeValue} `;
884
+ if (clusterName === 'illuminanceMeasurement' && attributeName === 'measuredValue' && isValidNumber(attributeValue))
885
+ attributes += `Illuminance: ${Math.round(Math.max(Math.pow(10, attributeValue / 10000), 0))} `;
886
886
  if (clusterName === 'airQuality' && attributeName === 'airQuality')
887
887
  attributes += `Air quality: ${attributeValue} `;
888
888
  if (clusterName === 'totalVolatileOrganicCompoundsConcentrationMeasurement' && attributeName === 'measuredValue')
@@ -0,0 +1 @@
1
+ export * from '@matter/node/behaviors';
@@ -0,0 +1 @@
1
+ export * from '@matter/types/clusters';
@@ -0,0 +1 @@
1
+ export * from '@matter/node/devices';
@@ -0,0 +1 @@
1
+ export { AggregatorEndpoint, ElectricalSensorEndpoint, PowerSourceEndpoint, BridgedNodeEndpoint, RootEndpoint, DeviceEnergyManagementEndpoint, OtaProviderEndpoint, OtaRequestorEndpoint } from '@matter/node/endpoints';
@@ -1,7 +1,3 @@
1
- export { SemanticNamespace, ClosureTag, CompassDirectionTag, CompassLocationTag, DirectionTag, ElectricalMeasurementTag, LaundryTag, LevelTag, LocationTag, NumberTag, PositionTag, PowerSourceTag, RefrigeratorTag, RoomAirConditionerTag, SwitchesTag, Endpoint, ClusterBehavior, Val, Behavior, ServerNode, LogLevel, LogFormat, } from '@matter/main';
2
- export { AggregatorEndpoint, PowerSourceEndpoint, ElectricalSensorEndpoint } from '@matter/node/endpoints';
3
- export * from '@matter/node/devices';
4
- export * from '@matter/node/behaviors';
5
- export * from '@matter/types/clusters';
6
- export { FabricAction, MdnsService, PaseClient, logEndpoint } from '@matter/main/protocol';
1
+ export * from '@matter/main';
2
+ export { SemanticNamespace, ClosureTag, CompassDirectionTag, CompassLocationTag, DirectionTag, ElectricalMeasurementTag, LaundryTag, LevelTag, LocationTag, NumberTag, PositionTag, PowerSourceTag, RefrigeratorTag, RoomAirConditionerTag, SwitchesTag, } from '@matter/main';
7
3
  export { AttributeElement, ClusterElement, ClusterModel, CommandElement, EventElement, FieldElement } from '@matter/main/model';
@@ -0,0 +1 @@
1
+ export * from '@matter/types';
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "2.1.0-dev.5",
3
+ "version": "2.1.0-dev.6",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge",
9
- "version": "2.1.0-dev.5",
9
+ "version": "2.1.0-dev.6",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@matter/main": "0.12.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "2.1.0-dev.5",
3
+ "version": "2.1.0-dev.6",
4
4
  "description": "Matterbridge plugin manager for Matter",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",
@@ -56,6 +56,26 @@
56
56
  "import": "./dist/matter/export.js",
57
57
  "types": "./dist/matter/export.d.ts"
58
58
  },
59
+ "./matter/devices": {
60
+ "import": "./dist/matter/devices.js",
61
+ "types": "./dist/matter/devices.d.ts"
62
+ },
63
+ "./matter/clusters": {
64
+ "import": "./dist/matter/clusters.js",
65
+ "types": "./dist/matter/clusters.d.ts"
66
+ },
67
+ "./matter/behaviors": {
68
+ "import": "./dist/matter/behaviors.js",
69
+ "types": "./dist/matter/behaviors.d.ts"
70
+ },
71
+ "./matter/endpoints": {
72
+ "import": "./dist/matter/endpoints.js",
73
+ "types": "./dist/matter/endpoints.d.ts"
74
+ },
75
+ "./matter/types": {
76
+ "import": "./dist/matter/types.js",
77
+ "types": "./dist/matter/types.d.ts"
78
+ },
59
79
  "./cluster": {
60
80
  "import": "./dist/cluster/export.js",
61
81
  "types": "./dist/cluster/export.d.ts"