Skip to content

Commit

Permalink
Merge pull request #24 from mfucci/add-chip-tool-doc
Browse files Browse the repository at this point in the history
Add instructions to test with chip-tool
  • Loading branch information
jdesai61 authored Sep 2, 2022
2 parents 8534fbc + 1c068e1 commit 8402568
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,33 @@ new MatterServer()

It should work with any Matter-compatible home automation app when Matter will be released.

For now, you can control it with Matter test app: https://github.com/project-chip/connectedhomeip/tree/master/src/android/CHIPTest
### chip-tool

Compile chip-tool from [project-chip](https://github.com/project-chip/connectedhomeip/tree/c438b8945e26a84f68ba3608de202e4b939a9080/examples/chip-tool)

**Provisioning the device**:

```
chip-tool pairing onnetwork 222 20202021
```

**Controlling the device**:

```
chip-tool onoff toggle 222 1
```

**Clearing the data**:

```
chip-tool pairing unpair 222
and/or
chip-tool storage clear-all
```

### Android mobile app

You can also control it with Matter test app: https://github.com/project-chip/connectedhomeip/tree/master/src/android/CHIPTest
You can find a compiled apk in /matter-test-apk in this repository.

**Provisioning the device**: click "provision with WiFi" > "Input Device address" > type IP address of the machine running node-matter
Expand Down

0 comments on commit 8402568

Please sign in to comment.