मानक · Matter डिवाइस कमीशनिंग

Matter डिवाइस कमीशनिंग QR कोड

जब आप किसी smart light bulb, smart plug, contact sensor, या door lock के पीछे के QR को स्कैन करते हैं जो Matter support करता है, तो आप एक cryptographic commissioning flow शुरू करते हैं।

Matter QR inspect करें → सभी मानक →

मानक क्या है

Matter Connectivity Standards Alliance (CSA) द्वारा प्रकाशित है, जो पहले Zigbee Alliance था। 2022 में लॉन्च हुआ।

Pairing-QR format Matter Core Specification, "Onboarding Payload" section का हिस्सा है। तीन equivalent formats हैं:

तीनों एक ही fields को एक ही trust model के साथ encode करते हैं — commissioning perspective से ये interchangeable हैं।

QR के अंदर वास्तव में क्या है

MT: prefix के बाद Base38 payload एक packed binary structure में decode होता है। अनिवार्य fields:

संस्करण (3 बिट्स)

वर्तमान डिवाइस के लिए हमेशा 0। भविष्य के protocol संशोधनों के लिए reserved।

विक्रेता ID (16 बिट्स)

Manufacturer के लिए CSA-assigned identifier। हर member organization को एक unique vendor ID मिलता है; 0xFFF10xFFF4 test IDs हैं — वास्तविक उत्पादों में नहीं दिखने चाहिए।

उत्पाद ID (16 बिट्स)

Manufacturer-assigned identifier विशिष्ट model के लिए। Vendor ID के साथ, यह CSA रजिस्ट्री में device class को अद्वितीय रूप से पहचानता है।

कस्टम फ़्लो (2 बिट्स)

0 = मानक commissioning (बस pair करें), 1 = user-action required (जैसे एक बटन दबाएं), 2 = manufacturer-specific custom flow।

डिस्कवरी क्षमताएँ (8 बिट्स)

एक bitmask जिससे डिवाइस uncommissioned state में discover किया जा सकता है: BLE (सबसे सामान्य), on-network, Wi-Fi, thread।

डिस्क्रिमिनेटर (12 बिट्स)

एक short identifier जिसे डिवाइस discovery के दौरान advertise करता है ताकि आपका hub सही uncommissioned डिवाइस चुन सके जब कई एक साथ हों।

पासकोड (27 बिट्स)

PASE handshake में उपयोग किया जाने वाला shared secret। फ़ोन डिवाइस को साबित करता है कि उसके पास यह passcode है; डिवाइस इसे स्वीकार करता है और commissioning जारी रखता है।

TLV extension (वैकल्पिक, variable)

वैकल्पिक fields payload को device serial number, rendezvous info, और अन्य manufacturer-specific डेटा के साथ extend कर सकती हैं।

Commissioning handshake (passcode design क्यों मायने रखता है)

Matter की commissioning flow PASE → CASE है:

  1. Discovery। आपका फ़ोन BLE scans broadcast करता है (या local Wi-Fi पर सुनता है); uncommissioned डिवाइस अपना discriminator advertise करता है।
  2. PASE, Password-Authenticated Session Establishment। फ़ोन और डिवाइस एक SPAKE2+ key exchange चलाते हैं QR के passcode का उपयोग करके।
  3. Attestation। डिवाइस एक Device Attestation Certificate (DAC) पेश करता है जो CSA-approved Product Attestation Authority द्वारा हस्ताक्षरित है।
  4. Network credentials। आपका hub डिवाइस को operational network credentials पास करता है (Wi-Fi passphrase, Thread dataset)।
  5. CASE, Certificate-Authenticated Session Establishment। आपका fabric डिवाइस को एक operational node certificate जारी करता है।

मुख्य property: QR passcode short-lived authentication है, long-term identity नहीं। Commissioning के बाद, डिवाइस एक operational certificate से चलता है, passcode से नहीं।

Threat model: unpaired डिवाइस के QR की फ़ोटो

Matter के लिए अद्वितीय, QR commissioning से पहले operationally meaningful है। दूसरी categories से तुलना:

Real-world scenarios जहां यह मायने रखता है:

बचाव: डिवाइस को unbox करते ही commission करें (window बंद करता है), फिर sticker को छीलकर नष्ट करें।

हमारा स्कैनर आपको क्या दिखाता है

Matter QR (इमेज, paste, या कैमरा) को हमारे स्कैनर में डालें। Verdict दिखाता है:

हम आपके hub पर phone home नहीं करते या commissioning attempt नहीं करते। Decode local है; केवल metadata ही report होता है।

किसी अपरिचित Matter डिवाइस को commission करने से पहले

संबंधित

Matter onboarding QR inspect करें

QR डालें (इमेज, paste, या कैमरा)। Verdict vendor, product, discriminator, capabilities, और passcode दिखाता है।

स्कैनर खोलें →