Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 819 Bytes

http_api_eng.md

File metadata and controls

24 lines (14 loc) · 819 Bytes

Description of HTTP API commands

You can interact with the gateway using the HTTP API commands. GET and POST messages are supported.

The following are examples of available commands:

/api/zigbee/devices Gets a list of zigbee network devices.

/api/zigbee/remove?dev=XXX - Remove a XXX device from the zigbee network

/api/zigbee/rename?old=XXX&new=YYY Renaming a device on a zigbee network

/api/zigbee/join?duration = 255 & target = XXX Controls the pairing mode duration 0 to turn off, values ​​greater than 0 indicate the waiting period in seconds, target allows pairing on the contact router. all parameters are optional

/api/log?action=X Logging mode control, where X can take the following values:

action=setLevel & value = 1

action=getBuffer

action=getLevel