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

Matter Controller discovery of commissioned devices (CON-1484) #1216

Open
pavel808 opened this issue Dec 19, 2024 · 1 comment
Open

Matter Controller discovery of commissioned devices (CON-1484) #1216

pavel808 opened this issue Dec 19, 2024 · 1 comment

Comments

@pavel808
Copy link

Is there currently a way for the Matter Controller Client to be able to discover all of the commissioned devices for that controller when requested? The equivalent of using ./chip-tool discover

The matter_controller_client has a DeviceCommissioner and DeviceController class but I can't find any public APIs within these for this. Only discovery of advertising commissionable devices?

My use case is basically to send my Matter Controller Client application a message via MQTT at any time which should then discover and list the currently commissioned devices for that controller.

@github-actions github-actions bot changed the title Matter Controller discovery of commissioned devices Matter Controller discovery of commissioned devices (CON-1484) Dec 19, 2024
@wqx6
Copy link
Contributor

wqx6 commented Dec 23, 2024

Normally the controller gets the device's node id from cloud and then establish secure session with the device use that node id.

But Matter provide APIs to browse operational nodes and a console command which uses those APIs. You can try it with the console command matter dns browse operational _I{compressed_fabric_id}. Note that the compressed fabric id is the controller's fabric ID.

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

2 participants