Optional
discoveryType: NodeDiscoveryTypeOptional
noForcedConnection: booleanOptional
storedAttributeData: DecodedAttributeReportValue<any>[]Readonly
eventsEmitted when an attribute value changes. If the oldValue is undefined then no former value was known.
Emitted when the node is decommissioned.
Emitted when an event is triggered.
Emitted when the node is initialized from local data. These data usually are stale, but you can still already use the node to interact with the device. If no local data are available this event will be emitted together with the initializedFromRemote event.
Emitted when the node is fully initialized from remote and all attributes and events are subscribed. This event can also be awaited if code needs to be blocked until the node is fully initialized.
Emitted when the state of the node changes.
Emitted when the structure of the node changes (Endpoints got added or also removed).
Readonly
nodeGet a cluster client from the root endpoint. This is mainly used internally and not needed to be called by the user.
EndpointNumber to get the cluster from
ClusterClient to get or undefined if not existing
Get a cluster server from the root endpoint. This is mainly used internally and not needed to be called by the user.
EndpointNumber to get the cluster from
ClusterServer to get or undefined if not existing
Returns the functional devices/endpoints (those below the Root Endpoint) known for this node.
Request the current InteractionClient for custom special case interactions with the device. Usually the ClusterClients of the Devices of the node should be used instead.
Get a cluster client from the root endpoint. This is mainly used internally and not needed to be called by the user.
ClusterClient to get or undefined if not existing
Get a cluster server from the root endpoint. This is mainly used internally and not needed to be called by the user.
ClusterServer to get or undefined if not existing
Make sure to not request a new Interaction client multiple times in parallel.
Optional
discoveryType: NodeDiscoveryTypeMethod to log the structure of this node with all endpoint and clusters.
Optional
options: EndpointLoggingOptionsOpens an Enhanced Commissioning Window (uses a generated random Passcode) with the device.
Force a reconnection to the device. This method is mainly used internally to reconnect after the active session was closed or the device went offline and was detected as being online again.
Optional
connectOptions: CommissioningControllerNodeOptionsSubscribe to all attributes and events of the device. Unless setting the Controller property autoSubscribe to false this is executed automatically. Alternatively you can manually subscribe by calling this method.
Optional
options: { Optional
attributeOptional
eventOptional
ignoreStatic
createOptional
discoveryType: NodeDiscoveryTypeOptional
noForcedConnection: booleanOptional
storedAttributeData: DecodedAttributeReportValue<any>[]
Class to represents one node that is paired/commissioned with the matter.js Controller. Instances are returned by the CommissioningController on commissioning or when connecting.