set-switch-action

Use the interface to simulate key events of the swap button.

Request Mode

POST http://ip/mwapi/set-switch-action
{
  "action": 0,
}
Parameter Description
action 0~4, corresponding to the buttons on the devices

Response Body

{
  "status": 0,
}
Name Description
status 0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values.
action Key events (0 - 4)

results matching ""

    No results matching ""

    results matching ""

      No results matching ""