-
Notifications
You must be signed in to change notification settings - Fork 172
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
Google Home: commissioning mutliple devices fails (CON-1511) #1242
Comments
You have to go into the Google Home console and enable the test device IDs for your account. |
I assume this is needed for every user (Google Account) that wants to commission the devices. Is there a way to build a test device that is commissionable by any user account? |
I don't believe there is a way to make the test ids work in a Google account other than by enabling them in the console. |
You have to join CHIP and get a company ID assigned to make this work for all Google accounts. I suspect this has to do with OTA updates. If products are using the same test IDs and someone sends an OTA update ... that OTA is going to go to all of those devices and it is not going to match some of them. Registering is used to sort that out. |
I see the logic. Contrarily, how does one reconcile the fact that commissioning just one test device works while with multiple it does not. Surely, even with just one device commissioned, you would face the same OTA update problem. |
I can commission any number of devices using the test ids on Google. I think you also have to register the device types? I set this up long ago an forgot how it works. |
I added VID and PID of light example code to Google Home Console, and now the behaviour is different: I see my selected product image during commissioning. When commissioning the second device, it replaces the first. Still unable to use more than 1 device at a time. |
@mzakharocsc I am assuming both the devices, being test/development devices, have the exact same onboarding payload (QR code). Please check the the page https://developers.home.google.com/matter/integration/pair - Warning, Pairing restrictions and Troubleshooting pairing sections should help. |
This warning is when trying to commissiong mutliple devices at the same time. I am commissioning one at a time, and have tried setting up multiple QR codes too by giving each device unique descriminator, no luck. |
It doesn't matter if they all use the same QR code. I have a dozen devices commissioned on the same code. Make sure your have entered the right test VID/PID in the google console for the QR code you are using. I am also loading the corresponding test attestation certificates into my devices. There is only an attestation certificate for FFF2/8001 so that is what I use for testing.
When you make changes in Google console there is a long lag (several hours) until they activate. |
Added fff2/8001 device to Google console. Removed the old 0xfff1/8000 device. waited 2.5 hours. Flashed output of mfg-tool to factory partition. Performed commissioning using the new QR code. Commissioning process displayed the new device logo set by the google console. However, there was no change in the outcome from the original posted behaviour. |
Your Google Home device might be confused. Try factory resetting it. I had to do that several times to get old data out of mine. |
I found this question on Google support forums: Unfortunately, nothing I have tried has helped so far. |
My Google Home device is enabled for beta testing. It is possible that it is running code you don't have. You can request to join testing, but it requires manual approval by Google. |
I am trying to commission 2
light
matter example loaded boards with Google Home. First device commissioning always succeeds. While commissioning the second, commissioning fails and the first device gets removed from the Google Home as well. I am unable to have 2 devices connected to Google Home at the same time.I have tried giving each device a unique descriminator, while commissioning to Google Home, but this did not help.
Commissioning and connecting both devices works fine with chip-tool and Home Assistant.
Any insight on why this is happening with Google Home only is greatly appreciated.
Light example built using IDF 5.2.3 and v1.4 branch of esp-matter-sdk a6da273 . Commisssioning using GHA version 3.27.1.6
The text was updated successfully, but these errors were encountered: