Version (3 bits)
Always 0 for current devices. Reserved for future protocol revisions.
Standards · Matter device commissioning
When you scan the QR on the back of a smart light bulb, smart plug, contact sensor, or door lock that carries the Matter logo, your phone runs through a five-step handshake that adds the device to your home. The QR carries everything your hub needs to find that specific device — vendor, model, a per-device discriminator, and a one-time pairing passcode — plus a list of how the device can be reached on the air (BLE, Wi-Fi, Thread). Here's what's encoded, what it leaks, and why the QR matters in a way Wi-Fi QRs don't.
Matter is published by the Connectivity Standards Alliance (CSA), formerly the Zigbee Alliance, with founding backing from Apple, Google, Amazon, Samsung, Comcast, and a long list of device makers. Matter 1.0 shipped in October 2022; Matter 1.4 is current as of early 2026, with cameras, energy management, EV chargers, and water-management devices added since 1.0. The specification covers application-layer protocol, security, commissioning, and the QR onboarding format.
The pairing-QR format is part of the Matter Core Specification, "Onboarding Payload" section. There are three forms of the same payload:
MT: followed by a Base38-encoded blob. This is what most apps prefer because it's faster.All three encode the same fields with the same trust model — they're interchangeable from a commissioning perspective.
The Base38 payload after the MT: prefix decodes to a packed binary structure. The mandatory fields:
Always 0 for current devices. Reserved for future protocol revisions.
CSA-assigned identifier for the manufacturer. Every member organization gets a unique vendor ID; 0xFFF1–0xFFF4 are reserved for test / development. Our scanner resolves the vendor ID against the CSA registry where known.
Manufacturer-assigned identifier for the specific model. Combined with the vendor ID, it uniquely identifies a SKU (e.g. "Eve Energy 2nd gen").
0 = standard commissioning (just pair it), 1 = user-action required (e.g. press a button on the device first), 2 = custom flow (manufacturer-specific setup steps). Determines what UI your hub app shows.
A bitmask of how the device can be discovered in its uncommissioned state: BLE (most common), on-network IP (already on your Wi-Fi or Ethernet — rare for consumer kit), Soft-AP (device hosts a temporary Wi-Fi network), Wi-Fi PAF (Public Action Frame discovery, newer).
A short identifier the device advertises during discovery so your hub can pick the right uncommissioned device when several are in BLE range. Not secret — it's the "this is the one I just unboxed" signal.
The shared secret used in the PASE handshake. The phone proves to the device that it has this passcode without sending it over the air in plaintext. Once commissioning completes, the passcode is no longer useful. Range: 1 to 99,999,998 (some values forbidden by spec to avoid trivially-guessable codes like 11111111).
Optional fields can extend the payload with the device serial number, rendezvous info, and other manufacturer-specified attributes. Most consumer devices skip this.
Matter's commissioning flow is PASE → CASE:
The key property: the QR passcode is short-lived authentication, not long-term identity. Once a device is commissioned, throw the QR sticker in a drawer (or peel and shred). Re-commissioning requires either physical access to factory-reset the device, OR cooperation from the existing fabric to issue an updated commissioning window.
Unique to Matter — the QR is operationally meaningful BEFORE commissioning. Compare to other categories:
Real-world scenarios where this matters:
Defense: commission the device as soon as you unbox it (closes the window), then peel and shred the sticker. For devices already deployed in shared / public spaces, ensure the device is commissioned to a fabric, which prevents fresh pairing without a factory reset.
Drop a Matter QR (image, paste, or camera) into our scanner. The verdict shows:
We do NOT phone home to your hub or attempt commissioning. The decode is local; only the metadata reaches our server for the safety classification.
0xFFF1–0xFFF4) because real CSA membership costs money. Our scanner flags test vendor IDs.Drop the QR (image, paste, or camera). Verdict shows vendor, product, discriminator, capabilities, and a masked passcode. We don't talk to your hub or attempt to commission — the decode is local and the metadata is the only thing that reaches the safety classifier.