This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create a custom cluster for Matter device and how to use the Simple Metering cluster

Hello,

I would like to know if it is possible to create a custom cluster for a custom Matter device using the ZAP tool (https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_matter_creating_accessory.html). In that case, how would be the simplest way to create it.

Furthermore, I'm using the CHIP Tool as Matter controller. This tool only proposes a pre defined list of clusters, it means that if I create a custom cluster, I have to modify the source file of the CHIP Tool to be able to use this custom cluster ? 

Another thing that I noticed, it is that the cluster Simple Metering (ID : 0x0702) it is not proposed by the ZAP Tool and by the CHIP Tool. How could it be possible to use this cluster ?

I'm using the nRF5340 DK board, the nRF SDK v1.9.99-dev and the CHIP Tool chip-tool-linux_aarch64.zip (https://github.com/nrfconnect/sdk-connectedhomeip/releases/tag/v1.9.99-matter-dev1).

  • Hi, 

    Do you want to create a new cluster for some internal testing purposes or are going to contribute it to the community? I mean that in Matter we are only able to use clusters that were agreed upon by the community and described in the Matter specification. Of course, you may create some custom cluster for your purposes, but it will not be the part of Matter specification and any official Matter controller will not support it.

    Regards,
    Amanda

Related