Important
matter.js as library, along with all related tools (such as the Shell app) and examples, is not certified by the Connectivity Standards Alliance (CSA). They are provided solely to demonstrate the capabilities of our solution and to support testing and development. Using matter.js does not certify your product — Connectivity Standards Alliance membership and product certification are required to release official Matter devices. For more details, see A note on certification.
This example shows how to build a simple Air quality Sensor device with temperature, humidity, PMx and TVOC measurements. It just defines initial static values, so it won't change over time.
For general documentation about the CLI parameters or environment variables that can be used for matter.js please refer to the Examples README.
Execute the following command in the examples root directory
npm run matter-air-quality-sensor