You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Added instructions for magisk based root
AFAIK Magisk does not integrate with Android to provide an option for shell over adb. However it does allow you to escalate privileges once in a shell.
* Minor changes
`set_fan_speed`and `send_command`), the `xiaomi` platform introduces specific
56
-
services to access the remote control mode of the robot. These are:
52
+
In addition to all of the services provided by the `vacuum` component (`turn_on`, `turn_off`, `start_pause`, `stop`, `return_to_home`, `locate`, `set_fan_speed` and `send_command`), the `xiaomi` platform introduces specific services to access the remote control mode of the robot. These are:
57
53
58
54
- `xiaomi_remote_control_start`
59
55
- `xiaomi_remote_control_stop`
@@ -62,8 +58,7 @@ services to access the remote control mode of the robot. These are:
62
58
63
59
### {% linkable_title Service `vacuum/xiaomi_remote_control_start` %}
64
60
65
-
Start the remote control mode of the robot. You can then move it with
66
-
`remote_control_move`; when done, call `remote_control_stop`.
61
+
Start the remote control mode of the robot. You can then move it with `remote_control_move`; when done, call `remote_control_stop`.
67
62
68
63
| Service data attribute | Optional | Description |
@@ -103,9 +97,8 @@ Enter remote control mode, make one move, stop, and exit remote control mode.
103
97
104
98
## {% linkable_title Attributes %}
105
99
106
-
In addition to [all of the attributes provided by the `vacuum` component](https://home-assistant.io/components/vacuum/#attributes),
107
-
(`battery_icon`, `cleaned_area`, `fan_speed`, `fan_speed_list`, `status`, and
108
-
`params`), the `xiaomi` platform introduces specific attributes. These are:
100
+
In addition to [all of the attributes provided by the `vacuum` component](/components/vacuum/#attributes),
101
+
(`battery_icon`, `cleaned_area`, `fan_speed`, `fan_speed_list`, `status`, and `params`), the `xiaomi` platform introduces specific attributes. These are:
109
102
110
103
- `cleaning_time`
111
104
- `do_not_disturb`
@@ -236,7 +229,7 @@ To fetch the token follow these instructions depending on your mobile phone plat
236
229
3. Get ADB f.e. `apt-get install android-tools-adb`
237
230
4. `adb devices` should list your device
238
231
5. `adb root` (does work for development builds only: ones with `ro.debuggable=1`)
239
-
6. `adb shell`
232
+
6. `adb shell` (for those using Magisk based root the previous command won't work. After entering a shell, type `su` to enter the root shell)
240
233
7. `echo "select name,localIP,token from devicerecord;" | sqlite3 /data/data/com.xiaomi.smarthome/databases/miio2.db` returns a list of all registered devices including IP address and token.
0 commit comments