This guide explains how to commission Thread devices to your DIY Thread Border Router network.
Commissioning is the process of securely adding a Thread device to your Thread network. This involves authenticating the device and providing it with the network credentials needed to join.
Before commissioning devices:
- Ensure your Thread Border Router is running and has formed a Thread network
- Verify the device you want to commission supports Thread
- Have the device ready in its commissioning mode (refer to device documentation)
There are several ways to commission devices to your Thread network:
Many Thread devices provide a QR code that contains the commissioning information:
- Access the OTBR web interface at
http://<raspberry-pi-ip>:80 - Click on "Commissioner"
- Select "QR Code" method
- Scan the QR code on your Thread device
- The device should join the network automatically
If a QR code is not available:
- Access the OTBR web interface
- Click on "Commissioner"
- Select "Manual" method
- Enter the device information:
- Device EUI64 (MAC address)
- Joining credential (usually printed on the device or in documentation)
- Device passphrase (if required)
- Click "Start" to begin commissioning
- Put your device in commissioning mode (usually by pressing a button)
For Thread 1.2+ devices that support on-mesh commissioning:
- Put the device in commissioning mode
- The device will automatically discover the Thread Border Router
- Follow the manufacturer's instructions to complete commissioning
Some Thread devices can be commissioned using manufacturer-specific mobile apps:
- Install the manufacturer's app on your smartphone
- Connect your smartphone to the same Wi-Fi network as your Thread Border Router
- Follow the in-app instructions to commission the device
- The app will communicate with your Thread Border Router during the process
To verify a device has successfully joined your Thread network:
- Check the OTBR web interface under "Topology"
- The new device should appear in the list
- You can also verify using the OpenThread CLI:
docker-compose exec otbr ot-ctl
> neighbor tableThe device should appear in the neighbor table if it's within direct radio range of the Border Router.
If a device fails to commission:
- Ensure the device is in commissioning mode
- Verify you're using the correct credentials
- Check that the device is within Thread radio range
- Some devices may need to be reset to factory defaults before commissioning
- Check the Thread Border Router logs for errors:
docker-compose logs otbrTo view all devices on your Thread network:
- Access the OTBR web interface
- Click on "Topology"
- All connected devices will be displayed
To remove a device from your Thread network:
- Reset the device to factory defaults (refer to device documentation)
- If necessary, you can reset the entire Thread network through the OTBR web interface under "Form" > "Reset"
- Network Management
- Monitoring Guide
- Troubleshooting This guide explains how to add (commission) Thread devices to your Thread network.
Commissioning is the process of securely adding a new device to your Thread network by providing it with the necessary credentials. Thread supports multiple commissioning methods:
- QR Code: Scanning a QR code with credentials
- On-device Button: Using physical buttons for commissioning
- Thread Commissioning App: Using a mobile app
- A running Thread Border Router (see Getting Started)
- A Thread-enabled device to commission
Many Thread devices provide a QR code that contains the necessary commissioning information:
- Get the QR code from your Thread device (usually on a label)
- Use a Thread commissioning app on your smartphone
- Scan the QR code
- Select your Thread network
- The app will securely add the device to your network
The OpenThread Border Router supports direct commissioning:
- Put your Thread device in commissioning mode (usually by pressing a button)
- Go to the OTBR web interface at
http://<raspberry-pi-ip> - Navigate to the "Commissioner" section
- Enter the device's commissioning credentials (usually a PIN code)
- Click "Start" to begin commissioning
- The Border Router will securely add the device to your network
For mobile devices, you can use a Thread commissioning app:
- Download a Thread commissioning app (e.g., OpenThread Commissioner)
- Connect to your Thread Border Router
- Follow the app's instructions to commission the device
After commissioning, verify the device has joined your Thread network:
- Go to the OTBR web interface
- Navigate to the "Topology" section
- Your newly commissioned device should appear in the list
Alternatively, check via the REST API:
curl http://<raspberry-pi-ip>:8080/api/devicesIf the device doesn't appear in your network after commissioning:
- Ensure the device is powered on
- Try resetting the device and commissioning again
- Check that the device supports the Thread version used by your Border Router
- Verify the device is within radio range of a Thread Router
Common commissioning errors include:
| Error | Solution |
|---|---|
| Invalid Credentials | Double-check the PIN code or credentials |
| Timeout | Move the device closer to the Border Router |
| Already Commissioned | Reset the device first |
| Commissioner Not Started | Restart the commissioning process |
Different Thread devices have different capabilities:
- Full Thread Device (FTD): Can act as a Router, extending your mesh network
- Minimal Thread Device (MTD): Connects as an End Device, often battery-powered
- Sleepy End Device (SED): Special MTD that sleeps to conserve power
Knowing your device type helps understand its behavior in your network.
- Network Management - Manage your Thread network
- Troubleshooting - Solve common Thread network issues