Getting Started
Official Site
Getting Started
Official Site
  • Document description
  • Read before you start

  • Light application development guide

  • Mobile application development guide

  • Cloud live development guide

  • Desktop application development guide

  • Third party development guide

  • Message push development guide

  • IoT things data model

  • HTTP interface

    • Development specification
    • API privacy policy
    • Postman interface simulation call
    • accessToken: Get administrator token
    • API request example
    • Account docking
    • Push configuration
    • Cloud storage service
    • Equipment management

    • Device configurat

      • Device wifi configuration
        • wifiAround: WIFI information around the device
        • controlDeviceWifi: Control device connection hotspot
        • currentDeviceWifi: Device current connection hotspot information
      • Equipment dynamic inspection configuration
      • Device storage configuration
      • Device enable configuration
      • Device collection point configuration
      • Device cruise configuration
      • Device video screen configuration
      • Device recording configuration
      • Device Operation
      • Daylight saving time configuration
    • Video equipment

    • Device message
    • Device live broadcast
    • Device lock access
  • Reference documents

On this page
Function details
Request address
Minimum permissions required for sub-account token request
Incoming parameter description
Sample input
Return data field description
Sample output

WifiAround - WIFI Information Around the Device - Imou Open Platform

wifiAround: WIFI information around the device

Function details

Get WIFI information around the device.

Request address

https://openapi-[DataCenter].easy4ip.com/openapi/wifiAround

Minimum permissions required for sub-account token request

"Permission":"Config" "Resource":"dev:serial number"

Incoming parameter description

Parameter nameParameter typeRequired or notDefault valueLegal valueParameter description
tokenStringYesAdministrator or sub-account accessToken
deviceIdStringYesDevice serial number

Sample input

{
    "system":{
        "ver":"1.0",
        "appId":"lcdxxxxxxxxx",
        "sign":"bc818d06647ed18e0740babf9ae6b55d",
        "time":1603365887,
        "nonce":"a7cfc219-4883-4d3b-aa86-b9b1b4db4eb7"
    },
    "id":"37c233a4-84f3-4265-be99-78e4d3370bae",
    "params":{
        "deviceId":"TESTQWERXXXX",
        "token":"At_00000ad9e6e87f0142eb92e207aec46a"
    }
}

Return data field description

Field name Field type Field description
enable Boolean Whether wifi is turned on
wLan ssid String SSID, hotspot ID
bssid String BSS ID, usually a MAC address
linkStatus Integer Connection status, 0: not connected, 1: connecting, 2: connected
auth String Authentication mode: OPEN, WEP, WPA/WPA2 PSK, WPA/WPA2
intensity Integer Strength, 0 is the weakest, 5 is the strongest

Sample output

{
  "result":{
    "msg":"The operation was successful.",
        "code":"0",
        "data":{
            "wLan":[
                {
                    "linkStatus":2,
                    "intensity":5,
                    "auth":"WPA/WPA2 PSK",
                    "bssid":"12:34:56:78:90:12",
                    "ssid":"TP_DiamondC"
                },
                {
                    "linkStatus":0,
                    "intensity":5,
                    "auth":"OPEN",
                    "bssid":"11:34:56:78:90:12",
                    "ssid":"TP_PHEGDA"
                },
                {
                    "linkStatus":0,
                    "intensity":5,
                    "auth":"WPA/WPA2",
                    "bssid":"12:34:56:78:90:22",
                    "ssid":"TP_Lechnage"
                }
            ],
            "enable":true
        }
    },
    "id":"37c233a4-84f3-4265-be99-78e4d3370bae"
}
upgradeDevice: Device Upgrade
controlDeviceWifi: Control device connection hotspot