Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate QR code for matter devices ? Is there any tool to generate QR code image ? (CON-579) #476

Closed
aggaddam opened this issue Jun 21, 2023 · 2 comments

Comments

@aggaddam
Copy link

aggaddam commented Jun 21, 2023

I want to generate a QR code for the matter device. By default, all the device's discriminator values are 3840. I am overwriting default nsv data partition with the factory partition data with discriminator value 3001. I also want to generate a QR code along with the new factory partition with discriminator value 3001. Is there a tool we can use to generate QR code ?

Generating factory partition table with Discriminator 3001

cd esp-idf
source export.sh

cd esp-matter
source export.sh

The script generates factory_partition.bin.
python3 connectedhomeip/connectedhomeip/scripts/tools/generate_esp32_chip_factory_bin.py -d 3001

Flash it on the device.
esptool.py -p (PORT) write_flash 0x10000 factory_partition.bin

Here is the info that I want to generate QR code image

Version:             0
Vendor ID:           65521
ProductID:           32768
Custom flow:         0        (STANDARD)
Discovery Bitmask:   0x02     (BLE)
Long discriminator:  3001 
Passcode:            20202021
@github-actions github-actions bot changed the title How to generate QR code for matter devices ? Is there any tool to generate QR code image ? How to generate QR code for matter devices ? Is there any tool to generate QR code image ? (CON-579) Jun 21, 2023
@shubhamdp
Copy link
Contributor

We already documented this in the FAQ...

https://docs.espressif.com/projects/esp-matter/en/latest/esp32/faq.html#a1-10-how-to-generate-matter-onboarding-codes-qr-code-and-manual-pairing-code

@shubhamdp
Copy link
Contributor

@aggaddam Can you please close the issue, if above comment answered you question!

@dhrishi dhrishi closed this as completed Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants