project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.34k stars 1.97k forks source link

[Documentation] Guidelines to add customer clusters to a Matter-enabled device #26515

Open shansong99 opened 1 year ago

shansong99 commented 1 year ago

Documentation issues

Hi, I would like to check with Matter experts whether this is possible:

It'll be nice if there is a guideline document to show how to add such customer cluster in Matter.

Thanks for your help!

Platform

No response

Anything else?

No response

bzbarsky-apple commented 1 year ago

is it possible to add some "customer clusters" by myself into the Matter-enabled product

Yes, you can add manufacturer-specific clusters, as long as their cluster ids are in the appropriate range for your vendor id.

is it possible to add additional security controls on such customer cluster so that only phone APP with addtional certificaiton can access it

You mean outside of just the normal ACL setup?

shansong99 commented 1 year ago

is it possible to add some "customer clusters" by myself into the Matter-enabled product

Yes, you can add manufacturer-specific clusters, as long as their cluster ids are in the appropriate range for your vendor id.

is it possible to add additional security controls on such customer cluster so that only phone APP with addtional certificaiton can access it

You mean outside of just the normal ACL setup?

Yes, I mean out side of the normal ACL setup, is it possible to put addtiona constraints on a customer cluster so that only authorized app can access it.

bzbarsky-apple commented 1 year ago

There's nothing in Matter directly that will let you do that, since there's no way for the core Matter stack to know what "authorized app" means.

That said, the cluster commands themselves could require providing some sort of keys or whatnot.