Commissioning devices
12 min Read in this browser
You will be able to
- Commission a Matter over Thread device with the Companion app
- Work through a failed commissioning
Commissioning is Matter's word for adding a device. It happens in two halves:
- Over Bluetooth: the installer's phone uses the setup code to open a secure session with the device, and hands it the Thread (or Wi-Fi) credentials.
- Over IP: the device joins the network, and Home Assistant's Matter Server finishes the job over IPv6: through a Thread border router for a Thread device, directly over the home network for a Wi-Fi one.
That split tells you where to look when it fails: if the Bluetooth half succeeds and the app then hangs on "Setting up...", the problem is on the IP side.
Before you start
- Capture every setup code. Each device has a Matter QR code and a numeric code, usually 11 digits (21 on some devices), on the device and often on the box or a card. Photograph them before mounting anything: a code behind a wall plate or inside a lock is gone.
- The Companion app uses the Internal URL. Even on the home Wi-Fi it can stick to the remote URL: in the app, Settings → Companion app → the server → Connect via must show the Internal URL.
- Thread credentials are synced to the phone (Companion app on Android; "Send credentials to phone" on the Thread page on iPhone).
- Bluetooth on, and on Android, the app's Location permission set to "Allow all the time".
- Phone on the same network as the hub (the 2.4 GHz SSID for Wi-Fi devices), within a metre or two of the device, with a border router nearby for Thread devices.
Commissioning
- In the Companion app: Settings → Connectivity → Matter → Add device, then "No, it's new" for a new device.
- Scan the QR code, or type the numeric code.
- Wait: the app connects over Bluetooth, passes the credentials, and the device joins and appears in Home Assistant.
- Rename it by room and function straight away.
Most devices accept commissioning for a few minutes (typically 3 to 15) after they are first powered. Locks and other security devices don't open that window on their own: use the button or sequence in their manual. If the window has closed, power-cycle the device or use its pairing button.
If it fails
Work down the list, in this order:
- Phone: Internal URL, Bluetooth, permissions; sync the Thread credentials again.
- Network: IPv6 on the hub and the network, same VLAN, multicast.
- Hub: Matter Server running; one Thread network, preferred.
- Device: if it is still on a controller you can't open a pairing window from, remove it there if possible, factory-reset it, and try again close to a border router.
Commissioning
Adding a Matter device to a controller, usually by scanning its QR code or typing its pairing code.
Matter
A standard for smart home devices to work with any controller, on the local network. It runs over Wi-Fi, Ethernet or Thread.
Thread
A low-power IPv6 mesh network for small devices, on the same 2.4 GHz radio channels as Zigbee. Matter devices often use it.
IPv6
The newer version of IP, with much longer addresses. Thread devices use it, so it must be on in the local network, even when the internet provider doesn't offer it.
Thread Border Router
A device that connects a Thread mesh to the home network: the Hub with its Thread radio, or devices such as a HomePod mini or a Nest Hub.
Companion app
Home Assistant's own app for iPhone and Android: the homeowner's controls and notifications, and, with location on, how the home knows who is in.
SSID
The name of a Wi-Fi network, as phones list it. One access point can broadcast several, such as a main and a guest network.
VLAN
A virtual LAN: a separate network carried on the same cables and switches, kept apart from the others by the router and its firewall rules. Used to keep cameras or guests off the home network.
Multicast
Traffic sent to every device that listens for it, rather than to one address. Device discovery relies on it, and some routers and mesh Wi-Fi systems block or thin it out.
Go further on selorahomes.com
What you read is saved in this browser only. Sign in to keep it in your account, take the quizzes and get certified.
This lesson by Selora Homes is licensed CC BY 4.0 : share and adapt it, even commercially, crediting Selora Homes with a link. Photos by others keep their own licences, as credited.