Zigbee

Michael Ingraham 2019-11-06 17:41:20 -05:00
parent 7b3f3d3b7e
commit b19b31ea5e
1 changed files with 11 additions and 0 deletions

@ -18,6 +18,7 @@
- [Displays](#displays)
- [Stepper Motors](#stepper-motors)
- [Blinds, Shutters and Roller Shades](#blinds-shutters-and-roller-shades)
- [Zigbee](#zigbee)
Tasmota provides three powerful man machine interfaces:<BR>**MQTT**, **web** and **serial**.
@ -556,3 +557,13 @@ ShutterSetClose\<x><a id="ShutterSetClose"></a>|Set the shutter closed position.
ShutterSetHalfway\<x><a id="ShutterSetHalfway"></a>| `0..100` *(default = `50`)*<BR>Define shutter half open position (in percent)
ShutterStop\<x><a id="ShutterStop"></a>|Disengage the relays to stop the shutter
See also| [`SetOption80`](#SetOption80) - Enable shutter support
### [Zigbee](Zigbee)
» v7.0.0.3
<a id="tb-zigbee">Command|Parameters
-|-
ZigbeePermitJoin<a id="ZigbeePermitJoin"></a>|Enables or disables pairing of new devices, see below.<BR><BR>`ZigbeePermitjoin 1` enables pairing for 60 seconds<BR>`ZigbeePermitJoin 99` enables pairing until next boot<BR>`ZigbeePermitJoin 0` disables pairing
ZigbeeReset<a id="ZigbeeReset"></a>|Does a factory reset and reconfiguration of the CC2530. Warning: you will need to re-pair all Zigbee devices<BR><BR>Ex: `ZigbeeReset 1`
ZigbeeStatus<a id="ZigbeeStatus"></a>|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.<BR>Ex: ```{"ZigbeeStatus":{"Status":1,"Message":"CC2530 booted","RestartReason":"Watchdog","MajorRel":2,"MinorRel":6}}```<BR><li>`Status` contains a numeric code about the status message<ul><li>`0`: initialization complete, **Z2T is running normally**</li><li>`1`: booting</li><li>`2`: resetting CC2530 configuration</li><li>`3`: starting Zigbee coordinator</li><li>`20`: disabling Permit Join</li><li>`21`: allowing Permit Join for 60 seconds</li><li>`22`: allowing Permit Join until next boot</li><li>`30`: Zigbee device connects or reconnects</li><li>`31`: Received Node Descriptor information for a Zigbee device</li><li>`32`: Received the list of active endpoints for a Zigbee device</li><li>`33`: Received the simple Descriptor with active ZCL clusters for a Zigbee device</li><li>`50`: reporting CC2530 firmware version</li><li>`51`: reporting CC2530 device information and associated devices</li><li>`98`: error, unsupported CC2530 firmware</li><li>`99`: general error, **Z2T was unable to start**</li></ul></li><li>`Message` (optional) a human-readable message</li><li>other fields depending on the message (e.g., Status=`50` or Status=`51`)</li>
ZigbeeZCLSend<a id="ZigbeeZCLSend"></a>|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.