-
Notifications
You must be signed in to change notification settings - Fork 10
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
Unable to pair with Google Home #140
Comments
From Wireshark, the issue might be that node-matter doesn't support IPv6 yet. |
Have you added the matter device in Google Home Developer Console? I'm not 100% certain, but it is implied that test vendor/product IDs will only show up if you do this.
(implies that any device that hasn't passed certification will not work)
(implies that Google Home will download the developer console configuration on reboot) https://developers.home.google.com/codelabs/matter-device-virtual#2 |
I did not added up in Google Home Developer Console. The troubles I have:
@andyearnshaw : if you have some time, can you try compiling CHIP lighting app and pair it with your phone (Android or iOs)? |
Regarding the "Add a Matter Device" going missing. You can get it back by opening the camera app, focusing on the node-matter QR code and then pressing the "Tap to Set Up" button that appears. This will go through the same sequence as usual from Google home. Then the button will also appear as it previously did in the Google Home setup. At least until Google pushes another update. Unfortunately, the setup still fails with a lot of debug messages on screen. |
Thanks for the tip! |
In the Android logs, there is an error : "Commissioning failed with state Failure obtaining credentials." I now added the VID and PID in Google Home Developer Console but that didn't fix the issue. The failure seems to be because of a Timeout rather then test credentials missing, I think... @andyearnshaw @JimBuzbee : where you able to pair CHIP lightning app or a virtual device? |
I'm a novice at this and have only tried to pair with Google Home and with the Android Alexa app. I've not been successful with either. Here's the output when trying to pair with Alexa: 2022-11-4 19:39:17.534 INFO Device [email protected] QR Code URL: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:-24J0AFN00KA0648G00 2022-11-4 19:40:35.763 DEBUG MessageExchange onMessageReceived id:0/39861/53639255 t:0/32 reqAck:true payload: 15300120142ff9b9b17dab4a8cc9ce35d10a0ac6d479a041e74a285d06b92f000849a6d125024d11240300280418 |
Thanks for testing! Were you able to get the config giving by Andy working? I think I am stuck at the point where Google Home is expecting credentials to be provisioned in the dev console in all my configurations... |
Just cloned main and tried to pair using Android Google home and Android Amazon Alexa. See similar quick failure with Google, but different behavior with Alexa (Log below). Seems to take quite a while and then eventually fails with a message in the app of "Is this device set up for control with another assistant or app?" If I say yes, it asks for the 11 digit setup code, but then fails again. If I say no, it just tries and fails again. 2022-11-5 10:41:24.219 INFO Device [email protected] QR Code URL: https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT:-24J0AFN00KA0648G00 |
Hi Jim, Looks like you are able to go further in the pairing flow than me! Can you help me reproduce your configuration so I can debug from there? I will need those info:
Thanks!
|
Marco - To be clear, the long debug output is not from my Google Home. It's from the Amazon Alexa app running on Android when I try and add the node-matter "device". I've tried both Google Home and Alexa. I think I get similar behavior to you on Google Home. |
Sorry, I missed that part... Can you create a new bug "Pairing with Alexa not working" with your logs above so I can work on it in parallel? Thanks!
|
Apologies, I'm temporarily without a personal computer so am unable to contribute at present. |
Google just pushed an update (com.google.android.gms.home [v224915000]) so things are working much better. I will probably have node-matter pairing with Android by the end of the week. |
Seems like it was easier than I thought. After fixing one bug and adding the implementation for one additional cluster, I am now able to pair node-matter from Google Home: branch add-android-support It appears as "offline" so I cannot operate it after pairing, but I think this is due to a misconfiguration of my Nest Speaker: I will investigate this tomorrow. |
I can now pair but there is some issues to control it after pairing. So I need to:
|
I take csare about first todo today |
@mfucci Verified for the existing clusters ... only the onoff attrible of onoff is "reportable" for now (BUT the specs do not contain this, but the chip XML file does, so it is already in our code as comment "reportable: true". Filed it as docs bug project-chip/connectedhomeip#24300 |
@mfucci @Apollon77 Just to be clear: the "reportable" quality (P) in the spec is Zigbee-only. In Matter, the behavior is as follows:
It's not sounding to me, based on the comments above, that node-matter is implementing that behavior so far... |
Ahh ... ok then I think we misunderstood that ... Thank you! @mfucci I will have a look but I did not discovered "changes omitted" so far in any of our defined-out clusters ... |
@bzbarsky-apple : thanks for clarifying the expected behavior! However chunking is not implemented either, and reporting all attributes in one message probably goes beyond the max length. I will work on adding this mechanism then. Alexa and Home Assistant only subscribe to onoff attribute so don't trigger this issue. |
Chunking implemented! It was actually easier than I thought: #176 node-matter is now working with Android!!!!! |
btw: do we know if Google home on ios also works? Else I can also test that later |
Steps to reproduce:
The text was updated successfully, but these errors were encountered: