Z2T commands

Michael Ingraham 2019-11-12 16:21:07 -05:00
parent 86e7c88f39
commit 3cf29bf51d
1 changed files with 1 additions and 1 deletions

@ -567,6 +567,6 @@ ZigbeePermitJoin<a id="ZigbeePermitJoin"></a>|Sets new device pairing mode<BR>`0
ZigbeeProbe<a id="ZigbeeProbe"></a>|Probe a Zigbee device to get additional information including its IEEEaddress, vendor and model names, endpoints, and supported clusters per endpoint.<BR>`<shortaddr>` (e.g., `0x1234`)<BR>A device probe is performed automatically when a new Zigbee device connects.<BR>A probe may be needed after a Tasmota reboot.<BR>Battery powered Zigbee devices can generally not be probed because they are in sleep mode most of the time.
ZigbeeRead<a id="ZigbeeRead"></a>|Read Zigbee device attributes<BR>`{ "Device":"<shortaddr>", "Endpoint":"<endpoint>", "Cluster":"<cluster>", "Read":[<attrlist>] }`<BR>&emsp;`<shortaddr>` the short address of the Zigbee device on the network.<BR>&emsp;`<endpoint>` the target endpoint on the device ([identifying endpoints](Zigbee-Operation#identifying-target-device-endpoints))<BR>&emsp;`<cluster>` the cluster number of the attributes<BR>&emsp;`<attrlist>` requested attributes array<BR><BR>Ex: `ZigbeeRead { "device":"0x69CF", "endpoint":"0x03", "cluster":"0x0006", "read":["0x0000"] }`
ZigbeeReset<a id="ZigbeeReset"></a>|`1` = perform a factory reset and reconfiguration of the CC2530 chip.<BR>**You will need to re-pair all Zigbee devices**
ZigbeeSend<a id="ZigbeeSend"></a>|`{ "Device":"<shortaddr>", "Endpoint":"<endpoint>", "Send":{"<sendcmd>":<sendparam>} }`<BR>&emsp;`<shortaddr>` the short address of the Zigbee device on the network.<BR>&emsp;`<endpoint>` the target endpoint on the device ([identifying endpoints](Zigbee-Operation#identifying-target-device-endpoints))<BR>&emsp;`"<sendcmd>":<sendparam>` the actual command and parameters to send (see below)<BR>Note: Use [`ZigbeeZCLSend`](#ZigbeeZCLSend) to send a raw form low-level message<BR><BR>Ex: `ZigbeeSend { "Device":"0x1234", "Endpoint":"0x03", "Send":{"Power":"on"} }`
ZigbeeSend<a id="ZigbeeSend"></a>|`{ "Device":"<shortaddr>", "Endpoint":"<endpoint>", "Send":{"<sendcmd>":<sendparam>} }`<BR>&emsp;`<shortaddr>` the short address of the Zigbee device on the network.<BR>&emsp;`<endpoint>` the target endpoint on the device ([identifying endpoints](Zigbee-Operation#identifying-target-device-endpoints))<BR>&emsp;`"<sendcmd>":<sendparam>` the command and parameters to send ([Zigbee Device Commands](Zigbee-Operation#supported-zigbee-device-commands))<BR>Note: Use [`ZigbeeZCLSend`](#ZigbeeZCLSend) to send a raw form low-level message<BR><BR>Ex: `ZigbeeSend { "Device":"0x1234", "Endpoint":"0x03", "Send":{"Power":"on"} }`
ZigbeeStatus\<x><a id="ZigbeeStatus"></a>|Display Zigbee devices seen on the network since boot<BR>`<device>` (optional) = device number (enumerated beginning with 1)<BR>` ` = all devices<BR>This command provides three levels of increasing detail according to `<x>`<BR>`ZigbeeStatus1` Display Short Address, and Friendly Name<BR>`ZigbeeStatus2` Also include Manufacturer ID and Model ID<BR>`ZigbeeStatus3` Also include a list of endpoints and the clusterIds supported by each endpoint<BR>Ex: `ZigbeeStatus3 1` requests all details for device number 1<BR><BR>The information requested may exceed the maximum result size allowed by Tasmota. In this case, the output will be truncated. To get all of the desired information, request results for a specific device individually.
ZigbeeZCLSend<a id="ZigbeeZCLSend"></a>|:warning: :warning: :warning: **Do not use unless you know _exactly_ what you are doing.** :warning: :warning: :warning:<BR>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.