These commands appear to be shared amngs all(?) Xiaomi Mi Io devices.
Key | Value | Comment |
---|---|---|
method | miIO.wifi_assoc_state |
|
id | [Integer] | is returned in the response used to link the send message to the response. |
'method': 'miIO.wifi_assoc_state', 'id': 7840
Key | Example | Description |
---|---|---|
id |
37 | Returned ID from request |
code |
0 | Unknown where this is used for |
message |
ok | |
result |
Response to the command | |
state |
ONLINE | |
auth_fail_count |
0 | Authentication failed |
conn_success_count |
1 | connection success count |
conn_fail_count |
0 | connection fail count |
dhcp_fail_count |
0 | dhcp request failed count |
{ "id":37,
"code":0,
"message":"ok",
"result": {"state":"ONLINE",
"auth_fail_count":0,
"conn_success_count":1,
"conn_fail_count":0,
"dhcp_fail_count":0}
}
Key | Value | Comment |
---|---|---|
method | miIO.ota |
|
id | [Integer] | is returned in the response used to link the send message to the response. |
miIO.ota '{"mode":"normal", "install":"1", "app_url":"http://IP/v11_#version#.pkg", "file_md5":"#md5#","proc":"dnld install"}'