Send Signal Detection Instruction

Last Updated on : 2024-07-01 06:57:15

Send signal detection instructions to the specified Wi-Fi and Zigbee devices, so that the devices report the current signal value to the cloud.

API address

POST: /v2.0/cloud/thing/signal/detection/issue

Request parameter

Description of body

Parameter nameTypeINRequiredDescription
device_idStringbodytrueThe device ID.
device_typeStringbodytrueThe type of device. Valid values:
  • WiFi: Wi-Fi device
  • zigbee: Zigbee device

Return parameter

Parameter nameTypeDescription
resultBooleanIndicates whether the operation is successful. Valid values:
  • true: success
  • false: failure

Request example

POST: /v2.0/cloud/thing/signal/detection/issue
{
  "device_id": "vdevo163815529739***",
  "device_type": "WiFi"
}

Return example

{
    "tid": "b8a2b49abbbc11eda71e169efc83a172",
    "result": true,
    "t": 1678065474602,
    "success": true
}

Error code

For more information, see error code.