This command gets device and network details. It seems to be generic/applicable to all Xiaomi devices
Key | Value | Comment |
---|---|---|
method | miIO.info |
|
id | [Integer] | is returned in the response used to link the send message to the response. |
'method': 'miIO.info', 'id': 7840
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? |
{"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}}
}