If I create customised cluster in Matter, how can I control that cluster by my own Android App?

124 views Asked by At

I have run thru the Matter documentation and going to create my own non-standard cluster for my own use case. After that, I need to find the way to control those cluster thru Android.

So my question would be. If I create customised cluster in Matter, how can I control that cluster by my own Android App?

I have tried to read thru the Android documentation, but cannot find any mentioning customised cluster access.

1

There are 1 answers

0
Khushbu Shah On

There is a little bit long procedure to add custom cluster support in Android Chip libraries.

You need to do some modifications in ChipTool (connectedhomep repo), rebuild chiptool libs and use those libs in your project.

Prepare xml file that has your cluster definition, and do modifications as per the given steps in this PR.

Previously there is no documentation for custom cluster support but now Google has added a document for adding support of manufacturer cluster. Here is a document : https://developers.home.google.com/matter/extensions/sample-mei-cluster#create_the_ms_source_code