Skip to main content
Version: 1.0

Zigbee

The Zigbee component handles Zigbee connectivity services of a device. The Zigbee component uses Zigbee as RPC namespace. It handles the Zigbee services of a device and provides the minimal component interface:

note

For sending ZCL commands directly to Zigbee devices on the network, see Zigbee Through-RPC.

Methods​

Zigbee.SetConfig​

Parameters:

PropertyTypeDescription

config

object

Configuration that the method takes

Find more about the config properties in config section

Zigbee.GetConfig​

Find the Zigbee.GetConfig response properties in config section

Zigbee.GetStatus​

Find more about the status response properties in status section

Zigbee.StartNetworkSteering​

This method triggers network steering.

Request​

This method takes no parameters.

Response​

This method returns no attributes.

Configuration​

The configuration of the Zigbee component allows enabling or disabling the Zigbee connectivity.

Properties:

PropertyTypeDescription

enable

boolean

True if Zigbee connectivity is enabled, false otherwise

Status​

The status of the Zigbee component contains information about the state of the Zigbee connection of the device.

Properties:

PropertyTypeDescription

network_state

string

Status of the connection. Range of values: disabled, initializing, steering, joined, failed

Zigbee.SetConfig example​

http://192.168.33.1/rpc/Zigbee.SetConfig?config={"enable":false}

Response

{
"restart_required": true
}

Zigbee.GetConfig example​

http://192.168.33.1/rpc/Zigbee.GetConfig

Response

{
"enable": true
}

Zigbee.GetStatus example​

http://192.168.33.1/rpc/Zigbee.GetStatus

Response

{
"network_state": "joined"
}

Zigbee.StartNetworkSteering example​

http://192.168.33.1/rpc/Zigbee.StartNetworkSteering

Response

null