@matter/create 0.12.0-alpha.0-20250116-1917244e0 → 0.12.0-alpha.0-20250121-0ab1b29a1
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.
|
@@ -28,7 +28,7 @@ if (environment.vars.get("ble")) {
|
|
|
28
28
|
Ble.get = singleton(
|
|
29
29
|
() =>
|
|
30
30
|
new NodeJsBle({
|
|
31
|
-
hciId: environment.vars.number("ble
|
|
31
|
+
hciId: environment.vars.number("ble.hci.id"),
|
|
32
32
|
}),
|
|
33
33
|
);
|
|
34
34
|
}
|
|
@@ -101,10 +101,10 @@ class ControllerNode {
|
|
|
101
101
|
let ble = false;
|
|
102
102
|
if (environment.vars.get("ble")) {
|
|
103
103
|
ble = true;
|
|
104
|
-
const wifiSsid = environment.vars.string("ble
|
|
105
|
-
const wifiCredentials = environment.vars.string("ble
|
|
106
|
-
const threadNetworkName = environment.vars.string("ble
|
|
107
|
-
const threadOperationalDataset = environment.vars.string("ble
|
|
104
|
+
const wifiSsid = environment.vars.string("ble.wifi.ssid");
|
|
105
|
+
const wifiCredentials = environment.vars.string("ble.wifi.credentials");
|
|
106
|
+
const threadNetworkName = environment.vars.string("ble.thread.networkname");
|
|
107
|
+
const threadOperationalDataset = environment.vars.string("ble.thread.operationaldataset");
|
|
108
108
|
if (wifiSsid !== undefined && wifiCredentials !== undefined) {
|
|
109
109
|
logger.info(`Registering Commissioning over BLE with WiFi: ${wifiSsid}`);
|
|
110
110
|
commissioningOptions.wifiNetwork = {
|
|
@@ -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-20250121-0ab1b29a1",
|
|
9
|
+
"@matter/nodejs-ble": "~0.12.0-alpha.0-20250121-0ab1b29a1",
|
|
10
|
+
"@project-chip/matter.js": "~0.12.0-alpha.0-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1",
|
|
67
|
+
"@matter/nodejs": "~0.12.0-alpha.0-20250121-0ab1b29a1",
|
|
68
|
+
"@matter/nodejs-ble": "~0.12.0-alpha.0-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1"
|
|
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-20250121-0ab1b29a1",
|
|
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-20250121-0ab1b29a1",
|
|
36
36
|
"@types/node": "^22.10.1",
|
|
37
37
|
"@types/tar-stream": "^3.1.3"
|
|
38
38
|
},
|