@matter/create 0.12.0-alpha.0-20250118-678537a5f → 0.12.0-alpha.0-20250123-d77c02993
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.
|
@@ -315,7 +315,10 @@ server.lifecycle.commissioned.on(() => console.log("Server was initially commiss
|
|
|
315
315
|
server.lifecycle.decommissioned.on(() => console.log("Server was fully decommissioned successfully!"));
|
|
316
316
|
|
|
317
317
|
/** This event is triggered when the device went online. This means that it is discoverable in the network. */
|
|
318
|
-
server.lifecycle.online.on(() =>
|
|
318
|
+
server.lifecycle.online.on(() => {
|
|
319
|
+
console.log("Server is online");
|
|
320
|
+
console.log("Initial Fabrics when coming online", server.state.commissioning.fabrics);
|
|
321
|
+
});
|
|
319
322
|
|
|
320
323
|
/** This event is triggered when the device went offline. It is no longer discoverable or connectable in the network. */
|
|
321
324
|
server.lifecycle.offline.on(() => console.log("Server is offline"));
|
|
@@ -381,8 +384,6 @@ logEndpoint(EndpointServer.forEndpoint(server));
|
|
|
381
384
|
*/
|
|
382
385
|
await server.start();
|
|
383
386
|
|
|
384
|
-
console.log("Initial Fabrics", server.state.operationalCredentials.fabrics);
|
|
385
|
-
|
|
386
387
|
/**
|
|
387
388
|
* If the node is not commissioned already we display the QR code on console. The QR code is also logged
|
|
388
389
|
*/
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
{
|
|
6
6
|
"name": "controller",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@matter/main": "~0.12.0-alpha.0-
|
|
9
|
-
"@matter/nodejs-ble": "~0.12.0-alpha.0-
|
|
10
|
-
"@project-chip/matter.js": "~0.12.0-alpha.0-
|
|
8
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993",
|
|
9
|
+
"@matter/nodejs-ble": "~0.12.0-alpha.0-20250123-d77c02993",
|
|
10
|
+
"@project-chip/matter.js": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
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.12.0-alpha.0-
|
|
18
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
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.12.0-alpha.0-
|
|
26
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
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.12.0-alpha.0-
|
|
34
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
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.12.0-alpha.0-
|
|
42
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
43
43
|
},
|
|
44
44
|
"description": "Socket device that reports random Energy and Power measurements",
|
|
45
45
|
"entrypoint": "MeasuredSocketDevice.ts"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
{
|
|
48
48
|
"name": "device-multiple-onoff",
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@matter/main": "~0.12.0-alpha.0-
|
|
50
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
51
51
|
},
|
|
52
52
|
"description": "Multiple OnOff light/socket nodes in one process with a CLI command execution interface",
|
|
53
53
|
"entrypoint": "MultiDeviceNode.ts"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
{
|
|
56
56
|
"name": "device-onoff",
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@matter/main": "~0.12.0-alpha.0-
|
|
58
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
59
59
|
},
|
|
60
60
|
"description": "OnOff light/socket device with a CLI command execution interface",
|
|
61
61
|
"entrypoint": "DeviceNode.ts"
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
{
|
|
64
64
|
"name": "device-onoff-advanced",
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@matter/main": "~0.12.0-alpha.0-
|
|
67
|
-
"@matter/nodejs": "~0.12.0-alpha.0-
|
|
68
|
-
"@matter/nodejs-ble": "~0.12.0-alpha.0-
|
|
66
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993",
|
|
67
|
+
"@matter/nodejs": "~0.12.0-alpha.0-20250123-d77c02993",
|
|
68
|
+
"@matter/nodejs-ble": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
69
69
|
},
|
|
70
70
|
"description": "OnOff light/socket device with BLE support and advanced API usage",
|
|
71
71
|
"entrypoint": "DeviceNodeFull.ts"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
{
|
|
74
74
|
"name": "device-onoff-light",
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@matter/main": "~0.12.0-alpha.0-
|
|
76
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
77
77
|
},
|
|
78
78
|
"description": "OnOff light example which logs the state changes to the console",
|
|
79
79
|
"entrypoint": "LightDevice.ts"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
{
|
|
82
82
|
"name": "device-sensor",
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@matter/main": "~0.12.0-alpha.0-
|
|
84
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
85
85
|
},
|
|
86
86
|
"description": "Temperature/Humidity sensor with a CLI command interface to get the value",
|
|
87
87
|
"entrypoint": "SensorDeviceNode.ts"
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
{
|
|
90
90
|
"name": "device-simple",
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@matter/main": "~0.12.0-alpha.0-
|
|
92
|
+
"@matter/main": "~0.12.0-alpha.0-20250123-d77c02993"
|
|
93
93
|
},
|
|
94
94
|
"description": "A simple on/off device",
|
|
95
95
|
"entrypoint": "main.ts"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/create",
|
|
3
|
-
"version": "0.12.0-alpha.0-
|
|
3
|
+
"version": "0.12.0-alpha.0-20250123-d77c02993",
|
|
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.12.0-alpha.0-
|
|
35
|
+
"@matter/tools": "0.12.0-alpha.0-20250123-d77c02993",
|
|
36
36
|
"@types/node": "^22.10.1",
|
|
37
37
|
"@types/tar-stream": "^3.1.3"
|
|
38
38
|
},
|