Add a matter device (new node) to HA server without HA app(Android and Web)

Is it possible to add a Matter device(or a new node) to the home assistant server(Python Matter server) without the HA app or the home assistant admin portal? like REST API, or websocket, or adding a YAML script, or some other ways?

And, is it possible to do the following activities via REST API/ websocket API even if I am using Home Assistant OS?

control the device (on/off, brightness control, etc.)
commission matter device
Create/remove Run automation.
create/remove and trigger the scene
and all the activities which is available from Home Assistant

Review this post, which outlines how to commission a Matter device using the Python Matter Server admin dashboard instead of HA. If you are trying to do this programmatically, review the documentation for the Python Matter Server websockets API that HA is using for underlying communication.

You can review the developer documentation for the REST APi and websockets API for what can be done outside the HA interface. Whether you’re using HAOS is not relevant, as all versions have access to the same external APIs.

1 Like