diff --git a/Zigbee.md b/Zigbee.md index f5b78b76..89cb7434 100644 --- a/Zigbee.md +++ b/Zigbee.md @@ -326,6 +326,18 @@ ZIG: zigbee device ready, listening... ## Using Z2T +### Z2T Commands + +Here are the additional commands available when Zigbee is activated. Note: Zigbee will automatically boot the CC2530 device, configure it and wait for Zigbee messages. + + +|Command|Paramaters| +|---|---| +|ZigbeePermitJoin|Enables or disables pairing of new devices, see below.<BR><BR>Ex: `ZigbeePermitjoin 1` allows pairing of new devices for 1 minute| +|ZigbeeReset|Does a full reset and reconfiguration of the CC2530. Warning: you will need to re-pair all Zigbee devices<BR><BR>Ex: `ZigbeeReset 1`| +|ZigbeeStatus|Shows data collected from connected Zigbee devices, see examples below.<BR><BR>`ZigbeeStatus` shows the list of all Zigbee devices seen on the network until last boot, with their short address and friendly name.<BR>`ZigbeeStatus 1` adds Manufacturer ID and Model ID of each devices<BR>`ZigbeeStatus 2` adds list of endpoints of each device and the clusterIds supported in each endpoint.| +|ZigbeeZCLSend|Send a raw ZCL message to a Zigbee device. This is a low-level command, and requires to manually build the ZCL parameters. Most common usage will be provided as high-level functions.| + ### Z2T Status You can inspect the log output to determine whether Z2T started correctly. Z2T sends several `ZigbeeStatus` messages to inform the MQTT host about initialization: Ex: ```{"ZigbeeStatus":{"Status":1,"Message":"CC2530 booted","RestartReason":"Watchdog","MajorRel":2,"MinorRel":6}}```