Skip to content

Commit 5f21046

Browse files
authored
Add Manual pairing code in README (#963)
1 parent fdd57ef commit 5f21046

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ Inform the controller about the Thread credentials it needs to use when commissi
167167
Commission a new device. For WiFi or Thread based devices, the credentials need to be set upfront, otherwise, commissioning will fail. Supports both QR-code syntax (MT:...) and manual pairing code as string.
168168
The controller will use bluetooth for the commissioning of wireless devices. If the machine running the Python Matter Server controller lacks Bluetooth support, commissioning will only work for devices already connected to the network (by cable or another controller).
169169

170+
Matter QR-code
170171
```json
171172
{
172173
"message_id": "2",
@@ -177,6 +178,18 @@ The controller will use bluetooth for the commissioning of wireless devices. If
177178
}
178179
```
179180

181+
Manual pairing code
182+
```
183+
{
184+
"message_id": "2",
185+
"command": "commission_with_code",
186+
"args": {
187+
"code": "35325335079",
188+
"network_only": true
189+
}
190+
}
191+
```
192+
180193
**Open Commissioning window**
181194
Open a commissioning window to commission a device present on this controller to another.
182195
Returns code to use as discriminator.

0 commit comments

Comments
 (0)