-
Notifications
You must be signed in to change notification settings - Fork 179
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 perform commissioning of Controller (CON-1281) #1031
Comments
In general you don't commission controllers, you commission devices. You are trying to hook two controllers together. Controllers send commands, devices receive them. It would make more sense if your controller commissioned a light bulb, and Alexa commissioned the same light bulb and then you both controlled it. |
Thanks for this clarification. But in the rainmaker matter controller example, the readme says "The commissioning flow for Matter Controller would be the same as other Matter devices. The controller will get node NOC (Node Operational Certificate) during Matter commissioning process." |
@Shivi-6 The controller example in esp-matter is primarily a commissioner, like chip-tool and uses the test certificates. It is not a standalone controller that is tied to some fabric and also not a Matter end device.
This is, if the controller is a Matter end device too. Now, a controller can be controller only or a Matter end device + controller. The esp-rainmaker example demonstrates the latter. Did you try commissioning that example with Alexa? If yes, please upload (and not paste) the commissioning logs from bootup. Note that, once you commission, it will act as a standard Matter end device. But, for the controller functionality, it should be commissioned with your own fabric (for e.g. - ESP RainMaker - that understands it is a controller and grants the access privileges accordingly) |
@dhrishi This makes things a bit clear. |
@Shivi-6 can you please share the logs from the esp-matter controller? |
Hi @shubhamdp , logs of when the controller connects to Rainmaker?
|
@Shivi-6, in PS: You will have to connect the commissioner to the WiFi before starting the process and that can be done using |
@Shivi-6 Following the above comment should help you commission the end device successfully. Please give it a try and close the issue if it works |
I tried commissioning the end device but it shows "Timeout waiting for mDNS resolution."
|
@Shivi-6 are you still seeing the commissioning failure? If yes, can you please share the complete logs. Edit: If its working, can you please close the issue. |
Closing this now |
Describe the question/query that you have
After flashing and monitoring the controller example onto my esp32-wrover-e kit, I am trying to commission the controller and connect it to Alexa but the procedure in https://docs.espressif.com/projects/esp-matter/en/latest/esp32/developing.html#matter-controller is not clear. How do I commission the controller and the end devices?
Additional context
I tried the following :
matter esp controller pairing onnetwork 0x7283 20202021
but this is the response I get :
Done
> E (263002) chip[DIS]: Timeout waiting for mDNS resolution.
The text was updated successfully, but these errors were encountered: