The Matter Accessory Device, such as the lighting-app, is the actual Matter device that you will commission onto the Matter network and control using the Chip-Tool.
We have provided two ways to get the required image to flash the MAD. You can use one of the following options:
- Use the pre-built image file
- Build the image file from the '
connectedhomeip
' repository
All of the Matter Accessory Device image files are accessible through the Matter Artifacts Page. If you are using a pre-built image file, you can skip forward to Step #2: Flashing the MAD.
1. Clone the Silicon Labs Matter repository
You should have already cloned the Silicon Labs Matter GitHub repository and have the right branch as part of building an RCP image. If you have not, you can follow the directions below.
The Silicon Labs Matter repo is located in Github here: https://github.com/SiliconLabs/matter.
You must have Git installed on your local machine. To clone the repo use the following command:
$ git clone https://github.com/SiliconLabs/matter.git
Once you have cloned the repo, enter the repo and sync all the submodules with the following command:
$ cd matter
$ git submodule update --init --recursive
2. Build the Matter Accessory Device
The Matter Accessory Device (lighting-app) can be built out of this repo. Documentation on how to build and use the lighting-app Matter Accessory Device is provided in this README.md
Please note that you only need to build a single device for the demo such as the lighting-app. If you wish to build other examples such as the sleepy end device you are welcome to it is just not necessary for the demo.
The build process puts all image files in the following location:
<git location>/matter/out/<app name>/<board name>
For more information on how to flash your Silabs development platform consider the following instructions: How to Flash a Silicon Labs Device
Once your Matter Accessory Device has been flashed it should show a QR code on the LCD. If no QR Code is present it may be that you need to add a bootloader to your device.