matterbridge 3.2.4-dev-20250830-5c48452 → 3.2.5-dev-20250831-218c05f

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
@@ -8,18 +8,35 @@ If you like this project and find it useful, please consider giving it a star on
8
8
  <img src="bmc-button.svg" alt="Buy me a coffee" width="120">
9
9
  </a>
10
10
 
11
- ## [3.2.4] - 2025-08-29
11
+ ## [3.2.5] - 2025-09-01
12
12
 
13
13
  ### Added
14
14
 
15
- - [platform]: Added clearEntitySelect() to Platform.
15
+ - [refrigerator]: Added RefrigeratorAlarm cluster.
16
16
 
17
17
  ### Changed
18
18
 
19
19
  - [package]: Updated dependencies.
20
+ - [devContainer]: Updated devContainer with repository name for the container.
20
21
 
21
22
  ### Fixed
22
23
 
24
+ - [refrigerator]: Fix device type
25
+
26
+ <a href="https://www.buymeacoffee.com/luligugithub">
27
+ <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
28
+ </a>
29
+
30
+ ## [3.2.4] - 2025-08-29
31
+
32
+ ### Added
33
+
34
+ - [platform]: Added clearEntitySelect() to Platform.
35
+
36
+ ### Changed
37
+
38
+ - [package]: Updated dependencies.
39
+
23
40
  <a href="https://www.buymeacoffee.com/luligugithub">
24
41
  <img src="bmc-button.svg" alt="Buy me a coffee" width="80">
25
42
  </a>
@@ -1,13 +1,14 @@
1
1
  import { ModeBase } from '@matter/main/clusters/mode-base';
2
- import { RefrigeratorAndTemperatureControlledCabinetModeServer } from '@matter/main/behaviors/refrigerator-and-temperature-controlled-cabinet-mode';
3
2
  import { RefrigeratorAndTemperatureControlledCabinetMode } from '@matter/main/clusters/refrigerator-and-temperature-controlled-cabinet-mode';
4
- import { oven, powerSource, temperatureControlledCabinetCooler } from '../matterbridgeDeviceTypes.js';
3
+ import { RefrigeratorAndTemperatureControlledCabinetModeServer } from '@matter/main/behaviors/refrigerator-and-temperature-controlled-cabinet-mode';
4
+ import { RefrigeratorAlarmServer } from '@matter/main/behaviors/refrigerator-alarm';
5
+ import { powerSource, refrigerator, temperatureControlledCabinetCooler } from '../matterbridgeDeviceTypes.js';
5
6
  import { MatterbridgeEndpoint } from '../matterbridgeEndpoint.js';
6
7
  import { MatterbridgeServer } from '../matterbridgeBehaviors.js';
7
8
  import { createLevelTemperatureControlClusterServer } from './temperatureControl.js';
8
9
  export class Refrigerator extends MatterbridgeEndpoint {
9
10
  constructor(name, serial) {
10
- super([oven, powerSource], { uniqueStorageKey: `${name.replaceAll(' ', '')}-${serial.replaceAll(' ', '')}` }, true);
11
+ super([refrigerator, powerSource], { uniqueStorageKey: `${name.replaceAll(' ', '')}-${serial.replaceAll(' ', '')}` }, true);
11
12
  this.createDefaultIdentifyClusterServer();
12
13
  this.createDefaultBasicInformationClusterServer(name, serial, 0xfff1, 'Matterbridge', 0x8000, 'Refrigerator');
13
14
  this.createDefaultPowerSourceWiredClusterServer();
@@ -23,6 +24,7 @@ export class Refrigerator extends MatterbridgeEndpoint {
23
24
  cabinet.createDefaultIdentifyClusterServer();
24
25
  createLevelTemperatureControlClusterServer(cabinet, selectedTemperatureLevel, supportedTemperatureLevels);
25
26
  this.createDefaultRefrigeratorAndTemperatureControlledCabinetModeClusterServer(cabinet, currentMode, supportedModes);
27
+ this.createDefaultRefrigeratorAlarmClusterServer(cabinet, false);
26
28
  cabinet.createDefaultTemperatureMeasurementClusterServer(currentTemperature);
27
29
  return cabinet;
28
30
  }
@@ -33,6 +35,14 @@ export class Refrigerator extends MatterbridgeEndpoint {
33
35
  });
34
36
  return endpoint;
35
37
  }
38
+ createDefaultRefrigeratorAlarmClusterServer(endpoint, doorOpen = false) {
39
+ endpoint.behaviors.require(RefrigeratorAlarmServer, {
40
+ mask: { doorOpen: true },
41
+ supported: { doorOpen: true },
42
+ state: { doorOpen },
43
+ });
44
+ return endpoint;
45
+ }
36
46
  }
37
47
  export class MatterbridgeRefrigeratorAndTemperatureControlledCabinetModeServer extends RefrigeratorAndTemperatureControlledCabinetModeServer {
38
48
  initialize() {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "3.2.4-dev-20250830-5c48452",
3
+ "version": "3.2.5-dev-20250831-218c05f",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "matterbridge",
9
- "version": "3.2.4-dev-20250830-5c48452",
9
+ "version": "3.2.5-dev-20250831-218c05f",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@matter/main": "0.15.3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matterbridge",
3
- "version": "3.2.4-dev-20250830-5c48452",
3
+ "version": "3.2.5-dev-20250831-218c05f",
4
4
  "description": "Matterbridge plugin manager for Matter",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",