-
Notifications
You must be signed in to change notification settings - Fork 166
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
Enable to add esp32c6 to Google home (CON-1228) #987
Comments
My first guess would be something is wrong with your certificates. This is what I use for testing....
|
When the Espressif people wake up they should be able to point you at detailed instructions. If you compile and run the demos without modifying them, they should work. |
@jonsmirl I really appreciate you trying to help. |
@mukeshbauskar This isn't required. Is there a specific reason why this is done? Ideally, the commissioning process involves onboarding the device to the Wi-Fi (IP) network too. |
@mukeshbauskar If you are using chip-tool and did not connect the device to Wi-Fi, you should use |
@dhrishi I tried that. ([Here] (https://github.com/user-attachments/files/16038662/matter.txt) |
You need to open a commissioning window from chip-tool and get the pairing code.
|
@jonsmirl @dhrishi I am using mac os to flash the dev kit. I found that before I do anything I need to install the developer profile for chip tool to work. So I cleaned my repo and installed everything again. Then tried pairing using Then I got attached output. |
@mukeshbauskar Can you please also upload the device side logs? The chip-tool logs indicate that it was unable to find the device on the operational (IP) network. Can you verify if you can ping the device from the host machine running the chip-tool. Additionally, you can also find the device using |
@dhrishi Here is the link to complete output of building and flashing. If you are looking for something, please let me know how to generate those logs. |
@dhrishi Can we please have conference call to go over the problem, if that helps. Please let me know your availability. |
Please share the device (ESP32) side console logs. Also, did you get a chance to try this out -
|
@dhrishi Can you please let me how to get those logs. Do you mean output of idf.py set-target esp32c6 or Also I tried pinging it using (ping ) but did not get any response. But on the router side I could see that the device is connected and IP address was assigned. |
idf.py monitor I use:
|
@jonsmirl Thanks. I should monitor while I am trying to add it to Google Home, right?? |
yes, always use that command. That command will keep the log in the file matter.log and also show it on the screen. |
I will get you the complete log by end of the day. One more question, my port looks like /dev/cu.usbserial.1450. Does that look right? Or I am using wrong port. |
I am on Linux, you are on a Mac. You need to use the correct port from your system. |
It is waiting for a BLE connection. Does not show you trying to connect to it in the log. Run the Apple Home or Google Home app and scan this QR code. |
@mukeshbauskar The ESP32 console log here does not correspond to the chip-tool side logs you've been sharing before. As @jonsmirl mentioned the current log shows that the ESP32 is not being discovered by the commissioner phone app or chip-tool. Please use the QR code / manual code from the link above. |
Your device's IP is 192.168.50.172. Is it on the same network as the Google Home device? I don't see the Google Home device connecting to it. |
@jonsmirl Yes, it is on the same network. Steps I take on Google Home side.
|
Here's a copy of my log with a successful pair of my device. My device is more complex so ignore all of the extra endpoints when comparing. |
Hi @mukeshbauskar, Which hub are you using? Nest Hub 2nd generation, Nest Hub Max, etc.? |
@VaishaliAvhale we have Nest mini. And trying to pair from android device. |
@mukeshbauskar
|
I am doing exactly what you mentioned. And I have attached logs with previously. Here are the those logs. And your logs link is pointing to this issue itself. |
@mukeshbauskar sorry it's my bad here is the logs: |
@VaishaliAvhale Can you please let me know the exact commands you execute on your system and steps your perform to pair it with Google home. |
1.path-to-esp-matter/example/light$ rm -rf build sdkconfig sdkconfig.old managed_components/ dependencies.lock ---clean build light example |
@VaishaliAvhale how are you connecting the esp32c6 to the wifi network. I thought I am suppose to use following command for that. |
@mukeshbauskar You either use the host-based chip-tool or Google Home setup. The Matter commissioning process involves providing IP (Wi-Fi) connectivity to the ESP32-C6, so you do not need to do it explicitly. |
Explain fabrics, he may not know the ecosystems can't see each other. |
And to communicate the wifi details to esp32c6, the commission device needs blue tooth connectivity with esp32c6, right? |
That's right. But it is all a part of the Matter protocol. You just need to start the process by scanning the QR code through Google Home app and the rest should just happen. |
@jonsmirl I might be diverging here. I have Nest mini and esp32c6. And this is my first matter device. Now when I am trying to commission esp32c6, I am adding a node to my matter fabric which does not have nodes yet. |
@dhrishi I will cleanup my system and try this again... |
@jonsmirl @dhrishi @VaishaliAvhale I found following the issues.
Thank you for all your help and guidance. I have another issue opened for zigbee. It will be big help if you could let me know what am I doing wrong. |
Describe the bug
While adding esp32c6 to Google as matter device I am getting error saying
Unable to add Accessory( You may need to restart your accessory before you can add it to your home)
Both devices are on same 2.4GHz network.
I tried enabling IGMP on AP.
Environment
Any additional details
...
The text was updated successfully, but these errors were encountered: