Control Device

Last Updated on : 2023-06-20 15:36:28download

Issue standard instructions to control equipment

API address

POST: /v1.0/devices/{device_id}/commands

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritruedevice id

Description of body

Parameter nameTypeINRequiredDescription
commandsString trueissue commands

Return parameter

Parameter nameTypeDescription

Request example

POST: /v1.0/devices/vdevo*****/commands
  "commands": [
      "code": "switch_led",
      "value": true
      "code": "bright",
      "value": 30

Return example


Error code

For more information, see error code.