@matter/examples 0.12.6-alpha.0-20250304-03716637c → 0.13.0-alpha.0-20250304-d4a7592a4
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/README.md +1 -1
- package/package.json +5 -5
- package/src/device-bridge-onoff/README.md +1 -1
- package/src/device-composed-onoff/README.md +1 -1
- package/src/device-composed-wc-light/README.md +1 -1
- package/src/device-measuring-socket/README.md +1 -1
- package/src/device-multiple-onoff/README.md +1 -1
- package/src/device-onoff/README.md +1 -1
- package/src/device-onoff-advanced/README.md +1 -1
- package/src/device-onoff-light/README.md +1 -1
- package/src/device-sensor/README.md +1 -1
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ Some command line parameters, for example those used to set the level of logging
|
|
|
55
55
|
### Common CLI parameter for all examples
|
|
56
56
|
The following CLI parameters are the same for all examples:
|
|
57
57
|
|
|
58
|
-
* -clearstorage: the storage location will be reset on start of the process. The
|
|
58
|
+
* -clearstorage: the storage location will be reset on start of the process. The storage location is set via parameter "-store" (see concrete examples below)
|
|
59
59
|
* -loglevel: the log level to use (default: debug, possible values: fatal, error, warn, info, debug)
|
|
60
60
|
* -logformat: the log format to use (default: ansi (if executed in a shell/tty), else plain, possible values: ansi, plain, html)
|
|
61
61
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matter/examples",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0-alpha.0-20250304-d4a7592a4",
|
|
4
4
|
"description": "Matter.js examples and reference implementations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iot",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"matter-controller": "dist/esm/controller/ControllerNode.js"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@matter/main": "0.
|
|
56
|
-
"@matter/nodejs": "0.
|
|
57
|
-
"@matter/tools": "0.
|
|
55
|
+
"@matter/main": "0.13.0-alpha.0-20250304-d4a7592a4",
|
|
56
|
+
"@matter/nodejs": "0.13.0-alpha.0-20250304-d4a7592a4",
|
|
57
|
+
"@matter/tools": "0.13.0-alpha.0-20250304-d4a7592a4",
|
|
58
58
|
"esbuild": "^0.25.0"
|
|
59
59
|
},
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"@matter/nodejs-ble": "0.
|
|
61
|
+
"@matter/nodejs-ble": "0.13.0-alpha.0-20250304-d4a7592a4"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=18.0.0"
|
|
@@ -6,7 +6,7 @@ A Bridge is used to expose multiple devices at once.
|
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
-
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../README.md#cli-usage).
|
|
9
|
+
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../examples/README.md#cli-usage).
|
|
10
10
|
|
|
11
11
|
The usage and parameter are comparable to above, but the bridge adds support for multiple types and on/off commands:
|
|
12
12
|
|
|
@@ -6,7 +6,7 @@ A composed device is one device with multiple different device types combined. T
|
|
|
6
6
|
|
|
7
7
|
### Usage
|
|
8
8
|
|
|
9
|
-
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../README.md#cli-usage).
|
|
9
|
+
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../examples/README.md#cli-usage).
|
|
10
10
|
|
|
11
11
|
The parameters are like with the bridge but with an added "-type light/socket" parameter to define the type of the composed device itself.
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@ This example implements the Window Covering cluster server logic and also overri
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
|
-
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../README.md#cli-usage).
|
|
7
|
+
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../examples/README.md#cli-usage).
|
|
8
8
|
|
|
9
9
|
Execute the following command in the examples root directory
|
|
10
10
|
|
|
@@ -5,7 +5,7 @@ This example shows how to run a simple socket device that also includes a power
|
|
|
5
5
|
|
|
6
6
|
## Usage
|
|
7
7
|
|
|
8
|
-
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../README.md#cli-usage).
|
|
8
|
+
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../examples/README.md#cli-usage).
|
|
9
9
|
|
|
10
10
|
Execute the following command in the examples root directory
|
|
11
11
|
|
|
@@ -6,7 +6,7 @@ matter.js also allows it to start multiple devices in one process. With this esp
|
|
|
6
6
|
|
|
7
7
|
## Usage
|
|
8
8
|
|
|
9
|
-
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../README.md#cli-usage).
|
|
9
|
+
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../examples/README.md#cli-usage).
|
|
10
10
|
|
|
11
11
|
The parameters are like with the composed device or bridge.
|
|
12
12
|
|
|
@@ -4,7 +4,7 @@ This example shows how to build a simple minimalistic DeviceNode with just one s
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
|
-
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../README.md#cli-usage).
|
|
7
|
+
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../examples/README.md#cli-usage).
|
|
8
8
|
|
|
9
9
|
To run from the build files:
|
|
10
10
|
|
|
@@ -9,7 +9,7 @@ This example shows how to build a simple Device node with just one socket or lig
|
|
|
9
9
|
|
|
10
10
|
## Usage
|
|
11
11
|
|
|
12
|
-
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../README.md#cli-usage).
|
|
12
|
+
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../examples/README.md#cli-usage).
|
|
13
13
|
|
|
14
14
|
The CLI parameter are else documented at the [Device Node Readme](../device-onoff/README.md).
|
|
15
15
|
|
|
@@ -4,7 +4,7 @@ This example shows how to run a Light device which is not configurable via CLI a
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
|
-
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../README.md#cli-usage).
|
|
7
|
+
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../examples/README.md#cli-usage).
|
|
8
8
|
|
|
9
9
|
Execute the following command in the examples root directory
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@ This example shows how to build a simple Sensor device with a temperature (defau
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
|
-
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../README.md#cli-usage).
|
|
7
|
+
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the [Examples README](../../../examples/README.md#cli-usage).
|
|
8
8
|
|
|
9
9
|
Execute the following command in the examples root directory
|
|
10
10
|
|