Build Procedure For Matter + AWS#
The following components are common for all apps and should be modified in the corresponding application-specific .slcp file.
How to Add the Matter + AWS Component#
To add the Matter + AWS component, modify the corresponding application-specific .slcp file.
- id: matter_aws
from: matterTo enable the component in Simplicity Studio, add the following components.
Go to Software components, search for
Matter_Wifi. Click on Settings symbol beside Matter Wi-fi component in the left panel and enable IPV4 configuration.



In Software Components, search for
awsand install the Matter AWS component.Next, select the dependencies for the Matter AWS component.




How to Add the Matter + AWS Server, Client, Cluster Details.#
Update the definitions for the server ID, client ID and cluster in
MatterAwsConfig.h: - Update the AWS server name at#define MATTER_AWS_SERVER_HOST "". - Update the client ID at#define MATTER_AWS_CLIENT_ID "". - Update the cluster information at#define ZCL_USING_THERMOSTAT_CLUSTER_SERVER.
Building Matter + AWS Application#
After you finish modifying the .slcp project file as described above, refresh the
matter-extensionin Simplicity Studio.On the Launcher tab, select Preferences.


Expand the Simplicity Studio section, and click the SDKs tab.


Expand Simplicity SDK, and click Refresh in the side menu.


Build the Matter + AWS application using Simplicity Studio as described in
Compile using new/different certificates#
Two devices should not use the same client ID. Use a different client ID for your second connection.
While using AWS, update the following information:
Add your AWS certificates in file
examples/platform/silabs/matter_aws/matter_aws_interface/include/MatterAwsNvmCert.hProvide the AWS Root CA key (https://www.amazontrust.com/repository/AmazonRootCA3.pem)
Provide
device_certificateanddevice_keywith your device certificate and device key. For more details, refer to [OpenSSL Device Certificate Creation] (./openssl-certificate-creation.md)
Add your AWS server and client ID information to the
examples/platform/silabs/matter_aws/matter_aws_interface/include/MatterAwsConfig.hfile.Provide
MATTER_AWS_SERVER_HOSTwith your AWS Server name.Provide
MATTER_AWS_CLIENT_IDwith your device/thing ID.Provide
ZCL_USING_THERMOSTAT_CLUSTER_SERVERwith the cluster details.
The preferred certificate type to use in the application is ECDSA.
AWS RootCA used in this PoC is https://www.amazontrust.com/repository/AmazonRootCA3.pem