Skip to content

Commit

Permalink
Update Zigbee.md (tasmota#798)
Browse files Browse the repository at this point in the history
* Update Zigbee.md

Added one example of sending Zigbee Commands thru MQTT

* Update Zigbee.md

Co-authored-by: blakadder <[email protected]>
  • Loading branch information
virtorgan and blakadder authored Oct 9, 2021
1 parent ab2fe55 commit ebebbb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/Zigbee.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,10 @@ The format of the command is following:

If the device has been correctly paired and its endpoints recorded by Z2T, you shouldn't need to specify a target endpoint. You can use an option `"endpoint":<endpoint>` parameter if Z2T can't find the correct endpoint or if you want to change from the default endpoint.

!!! example "MQTT command example"
Topic = `cmnd/ZigbeeGateway/ZbSend`<BR>
Payload = `{"Device":"0x1234","Send":{"Power":0}}` or `{"Device":"0x1234","Write":{"Power":0}}`

### Low-level Commands

There is a special syntax if you want to send arbitrary commands:
Expand Down

0 comments on commit ebebbb2

Please sign in to comment.