Skip to content

Latest commit

 

History

History
74 lines (64 loc) · 2.98 KB

miIO-info.md

File metadata and controls

74 lines (64 loc) · 2.98 KB

Mi IO Generic - Info

Gets device and network details.

Get Info

Command

Key Value Comment
method "miIO.info"
id id Random integer which is returned in the response used to link request and response.

Example

{
    "method": "miIO.info",
    "id": 7840
}

Response

Key Example Description
partner_id 40 Unknown where this is used for
id 7840 Returned ID from request
code 0 Unknown where this is used for
message ok
result Response to the command
hw_ver Linux
fw_ver 3.3.6_003061 Full firmware version
ap Wifi details
ssid mylocalwifi wifi ssid
bssid F2:9F:C2:AA:AA:AA wifi basestation
rssi -63 wifi signal strenght
netif __ Network details
localIp 192.168.9.199 Ip for the MiIO device
mask 255.255.255.0 net mask
gw 192.168.9.1 gateway
model rockrobo.vacuum.v1 Type of MiIO device
mac 28:6C:07:AA:AA:AA Device MAC address
token 4474746a612345678905612345678900 Token for this device
life 62848 life in minutes?

Example

{
    "partner_id": "",
    "id": 7840,
    "code": 0,
    "message": "ok",
    "result": {
        "hw_ver": "Linux",
        "fw_ver": "3.3.6_003061",
        "ap": {
            "ssid": "mylocalwifi",
            "bssid": "F2:9F:C2:AA:AA:AA",
            "rssi": -63
        },
        "netif": {
            "localIp": "192.168.9.199",
            "mask": "255.255.255.0",
            "gw": "192.168.9.1"
        },
        "model": "rockrobo.vacuum.v1",
        "mac": "28:6C:07:AA:AA:AA",
        "token": "4474746a612345678905612345678900",
        "life": 62848
    }
}