@matter/create 0.13.0-alpha.0-20250327-8b06e5a79 → 0.13.0-alpha.0-20250329-cd36948da

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.
@@ -16,7 +16,7 @@ import { WindowCoveringDevice } from "@matter/main/devices/window-covering";
16
16
  * Our example device, the Excelsior 1000 EZ-Nite™, is a roller shade with an illuminated valance.
17
17
  */
18
18
 
19
- const LiftingWindowCoveringServer = WindowCoveringServer.with("Lift", "AbsolutePosition", "PositionAwareLift");
19
+ const LiftingWindowCoveringServer = WindowCoveringServer.with("Lift", "PositionAwareLift");
20
20
 
21
21
  /**
22
22
  * Implementation of the Matter WindowCovering cluster for the shade motor.
@@ -36,7 +36,7 @@ import {
36
36
  singleton,
37
37
  } from "@matter/main";
38
38
  import { OnOffServer } from "@matter/main/behaviors";
39
- import { GeneralDiagnostics, NetworkCommissioning } from "@matter/main/clusters";
39
+ import { GeneralDiagnostics, NetworkCommissioning, OnOff } from "@matter/main/clusters";
40
40
  import { OnOffLightDevice, OnOffPlugInUnitDevice } from "@matter/main/devices";
41
41
  import { RootRequirements } from "@matter/main/endpoints";
42
42
  import { Ble, FabricAction, logEndpoint } from "@matter/main/protocol";
@@ -139,7 +139,7 @@ await deviceStorage.set({
139
139
 
140
140
  // Matter exposes functionality in groups called "clusters". For this example device we override the matter.js "On/Off"
141
141
  // cluster implementation to print status to the console.
142
- class OnOffShellExecServer extends OnOffServer {
142
+ class OnOffShellExecServer extends OnOffServer.with(OnOff.Feature.Lighting) {
143
143
  // Intercept the "on" command to the Matter On/Off cluster to print a log message.
144
144
  override async on() {
145
145
  executeCommand("on");
@@ -5,9 +5,9 @@
5
5
  {
6
6
  "name": "controller",
7
7
  "dependencies": {
8
- "@matter/main": "~0.13.0-alpha.0-20250327-8b06e5a79",
9
- "@matter/nodejs-ble": "~0.13.0-alpha.0-20250327-8b06e5a79",
10
- "@project-chip/matter.js": "~0.13.0-alpha.0-20250327-8b06e5a79"
8
+ "@matter/main": "~0.13.0-alpha.0-20250329-cd36948da",
9
+ "@matter/nodejs-ble": "~0.13.0-alpha.0-20250329-cd36948da",
10
+ "@project-chip/matter.js": "~0.13.0-alpha.0-20250329-cd36948da"
11
11
  },
12
12
  "description": "Controller example to commission and connect devices",
13
13
  "entrypoint": "ControllerNode.ts"
@@ -15,7 +15,7 @@
15
15
  {
16
16
  "name": "device-bridge-onoff",
17
17
  "dependencies": {
18
- "@matter/main": "~0.13.0-alpha.0-20250327-8b06e5a79"
18
+ "@matter/main": "~0.13.0-alpha.0-20250329-cd36948da"
19
19
  },
20
20
  "description": "Bridge for multiple OnOff light/sockets with a CLI command execution interface",
21
21
  "entrypoint": "BridgedDevicesNode.ts"
@@ -23,7 +23,7 @@
23
23
  {
24
24
  "name": "device-composed-onoff",
25
25
  "dependencies": {
26
- "@matter/main": "~0.13.0-alpha.0-20250327-8b06e5a79"
26
+ "@matter/main": "~0.13.0-alpha.0-20250329-cd36948da"
27
27
  },
28
28
  "description": "Composed device for multiple OnOff light/sockets with a CLI command execution interface",
29
29
  "entrypoint": "ComposedDeviceNode.ts"
@@ -31,7 +31,7 @@
31
31
  {
32
32
  "name": "device-composed-wc-light",
33
33
  "dependencies": {
34
- "@matter/main": "~0.13.0-alpha.0-20250327-8b06e5a79"
34
+ "@matter/main": "~0.13.0-alpha.0-20250329-cd36948da"
35
35
  },
36
36
  "description": "Composed device with Window covering and a light endpoint that logs changes",
37
37
  "entrypoint": "IlluminatedRollerShade.ts"
@@ -39,7 +39,7 @@
39
39
  {
40
40
  "name": "device-measuring-socket",
41
41
  "dependencies": {
42
- "@matter/main": "~0.13.0-alpha.0-20250327-8b06e5a79"
42
+ "@matter/main": "~0.13.0-alpha.0-20250329-cd36948da"
43
43
  },
44
44
  "description": "Socket device that reports random Energy and Power measurements",
45
45
  "entrypoint": "MeasuredSocketDevice.ts"
@@ -59,9 +59,9 @@
59
59
  {
60
60
  "name": "device-onoff-advanced",
61
61
  "dependencies": {
62
- "@matter/nodejs": "~0.13.0-alpha.0-20250327-8b06e5a79",
63
- "@matter/nodejs-ble": "~0.13.0-alpha.0-20250327-8b06e5a79",
64
- "@matter/main": "~0.13.0-alpha.0-20250327-8b06e5a79"
62
+ "@matter/nodejs": "~0.13.0-alpha.0-20250329-cd36948da",
63
+ "@matter/nodejs-ble": "~0.13.0-alpha.0-20250329-cd36948da",
64
+ "@matter/main": "~0.13.0-alpha.0-20250329-cd36948da"
65
65
  },
66
66
  "description": "OnOff light/socket device with BLE support and advanced API usage",
67
67
  "entrypoint": "DeviceNodeFull.ts"
@@ -69,7 +69,7 @@
69
69
  {
70
70
  "name": "device-onoff-light",
71
71
  "dependencies": {
72
- "@matter/main": "~0.13.0-alpha.0-20250327-8b06e5a79"
72
+ "@matter/main": "~0.13.0-alpha.0-20250329-cd36948da"
73
73
  },
74
74
  "description": "OnOff light example which logs the state changes to the console",
75
75
  "entrypoint": "LightDevice.ts"
@@ -77,7 +77,7 @@
77
77
  {
78
78
  "name": "device-sensor",
79
79
  "dependencies": {
80
- "@matter/main": "~0.13.0-alpha.0-20250327-8b06e5a79"
80
+ "@matter/main": "~0.13.0-alpha.0-20250329-cd36948da"
81
81
  },
82
82
  "description": "Temperature/Humidity sensor with a CLI command interface to get the value",
83
83
  "entrypoint": "SensorDeviceNode.ts"
@@ -85,7 +85,7 @@
85
85
  {
86
86
  "name": "device-simple",
87
87
  "dependencies": {
88
- "@matter/main": "~0.13.0-alpha.0-20250327-8b06e5a79"
88
+ "@matter/main": "~0.13.0-alpha.0-20250329-cd36948da"
89
89
  },
90
90
  "description": "A simple on/off device",
91
91
  "entrypoint": "main.ts"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matter/create",
3
- "version": "0.13.0-alpha.0-20250327-8b06e5a79",
3
+ "version": "0.13.0-alpha.0-20250329-cd36948da",
4
4
  "description": "Matter.js skeleton project generator",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "homepage": "https://github.com/project-chip/matter.js#readme",
34
34
  "devDependencies": {
35
- "@matter/tools": "0.13.0-alpha.0-20250327-8b06e5a79",
35
+ "@matter/tools": "0.13.0-alpha.0-20250329-cd36948da",
36
36
  "@types/node": "^22.13.12",
37
37
  "@types/tar-stream": "^3.1.3"
38
38
  },