talira

matter.js

A TypeScript implementation of the Matter smart home protocol, for devices, bridges and controllers

open sourceApache-2.0free

matter.js is an open source TypeScript and JavaScript implementation of the whole Matter protocol, the local smart home standard from the Connectivity Standards Alliance. Developers use it to build Matter devices, bridges and controllers for OS-based IoT products, with typings generated for every Matter cluster. Its base packages are pure JavaScript; Node.js packages add networking and Bluetooth LE commissioning, and a Matter Shell controls devices from the command line. It isn't certified by the Connectivity Standards Alliance: a product built on it still needs CSA membership and certification to be released as a Matter device.

Problems it solves

  • build a Matter smart home device or bridge in Node.js
  • control Matter devices from my own JavaScript code
  • test Matter devices from the command line without a vendor app

Features

  • complete Matter protocol: controller, device and commissioning
  • typings for every Matter cluster, generated from the specification
  • Bluetooth LE commissioning on Node.js
  • Matter Shell CLI to control devices
  • project templates with npm init @matter

Limitations

  • Not certified by the Connectivity Standards Alliance: releasing a Matter product built on it needs CSA membership and your own certification1