block-goto-sleep

Use the interface to block the device going to sleep.

Request Mode

POST http://ip/mwapi/block-goto-sleep
{
    "goToSleep":1
}
Parameter Description
block Whether to block.
0: Not block.
1: Block. When Web UI is logged in and it is set as 1, the device will not go to sleep.

Response Body

{
  "status": 0,
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""