mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Added new details (#11204)
* Added new details Details are based on my recent setup experience with the new Roborock S4. * Removed whitespace
This commit is contained in:
parent
4e9d459aec
commit
0959f3d184
@ -208,11 +208,13 @@ The following table shows the units of measurement for each attribute:
|
|||||||
|
|
||||||
As per Version 5.4.49 the Android Mi Home app stores the token readable in the log files. It can easily be retrieved in the folder Smarthome on in the Android device. Just open the text file inside the Smarthome/logs folder and search for the token.
|
As per Version 5.4.49 the Android Mi Home app stores the token readable in the log files. It can easily be retrieved in the folder Smarthome on in the Android device. Just open the text file inside the Smarthome/logs folder and search for the token.
|
||||||
<br/> <br/>
|
<br/> <br/>
|
||||||
The iPhone app still stores the token in the SQLite db as of v4.10.2 (Dec 22, 2018).
|
The iPhone app still stores the token in the SQLite db as of v4.23.4 (Nov 17, 2019).
|
||||||
<br/> <br/>
|
<br/> <br/>
|
||||||
This token (32 hexadecimal characters) is required for the Xiaomi Mi Robot Vacuum, Mi Robot 2 (Roborock) Vacuum, Xiaomi Philips Lights and Xiaomi IR Remote. The Xiaomi Gateway uses another security method and requires a `key` (16 alphanumeric chars), which can be obtained
|
After resetting the WiFi settings of the Xiaomi robot vacuum, a new Access Token will be generated and therefore these instructions need to be followed again.
|
||||||
easily via a hidden menu item at the Mi-Home app or using the `miio` command line tool.
|
<br/> <br/>
|
||||||
|
These instructions are written for the Mi Home app - not for the new RoboRock app.
|
||||||
|
<br/> <br/>
|
||||||
|
This token (32 hexadecimal characters) is required for the Xiaomi Mi Robot Vacuum, Mi Robot 2 (Roborock) Vacuum, Xiaomi Philips Lights and Xiaomi IR Remote. The Xiaomi Gateway uses another security method and requires a `key` (16 alphanumeric chars), which can be obtained easily via a hidden menu item at the Mi-Home app or using the `miio` command line tool.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
### Miio command line tool
|
### Miio command line tool
|
||||||
@ -252,7 +254,7 @@ The information output is:
|
|||||||
|
|
||||||
To fetch the token follow these instructions depending on your mobile phone platform.
|
To fetch the token follow these instructions depending on your mobile phone platform.
|
||||||
|
|
||||||
1. Configure the robot with [Mi Home version 5.0.30](https://www.apkmirror.com/apk/xiaomi-inc/mihome/mihome-5-0-30-release/).
|
1. Configure the robot with [Mi Home version 5.0.30](https://www.apkmirror.com/apk/xiaomi-inc/mihome/mihome-5-0-30-release/). Make sure to select the correct region, as Xiaomi uses different product names for different geographical areas.
|
||||||
2. Download and extract the [MiToolKit.zip](https://github.com/ultrara1n/MiToolkit/releases).
|
2. Download and extract the [MiToolKit.zip](https://github.com/ultrara1n/MiToolkit/releases).
|
||||||
3. Enable developer mode and USB debugging on the Android phone and plug it into the computer.
|
3. Enable developer mode and USB debugging on the Android phone and plug it into the computer.
|
||||||
4. Change the MiToolKit language to English if you need to.
|
4. Change the MiToolKit language to English if you need to.
|
||||||
@ -280,7 +282,7 @@ source /srv/homeassistant/bin/activate
|
|||||||
|
|
||||||
To fetch the token follow these instructions depending on your mobile phone platform.
|
To fetch the token follow these instructions depending on your mobile phone platform.
|
||||||
|
|
||||||
1. Configure the robot with [Mi Home version 5.0.30](https://www.apkmirror.com/apk/xiaomi-inc/mihome/mihome-5-0-30-release/).
|
1. Configure the robot with [Mi Home version 5.0.30](https://www.apkmirror.com/apk/xiaomi-inc/mihome/mihome-5-0-30-release/). Make sure to select the correct region, as Xiaomi uses different product names for different geographical areas.
|
||||||
2. Enable developer mode, USB debugging and plug the Android phone into the computer.
|
2. Enable developer mode, USB debugging and plug the Android phone into the computer.
|
||||||
3. Get ADB by running `apt-get install android-tools-adb` or `apt-get install adb`.
|
3. Get ADB by running `apt-get install android-tools-adb` or `apt-get install adb`.
|
||||||
4. `adb devices` should list your device. Consult the ADB manual if necessary.
|
4. `adb devices` should list your device. Consult the ADB manual if necessary.
|
||||||
@ -315,7 +317,7 @@ source /srv/homeassistant/bin/activate
|
|||||||
|
|
||||||
To fetch the token follow these instructions depending on your mobile phone platform.
|
To fetch the token follow these instructions depending on your mobile phone platform.
|
||||||
|
|
||||||
1. Configure the robot with [Mi Home version 5.0.30](https://www.apkmirror.com/apk/xiaomi-inc/mihome/mihome-5-0-30-release/).
|
1. Configure the robot with [Mi Home version 5.0.30](https://www.apkmirror.com/apk/xiaomi-inc/mihome/mihome-5-0-30-release/). Make sure to select the correct region, as Xiaomi uses different product names for different geographical areas.
|
||||||
2. Enable developer mode, USB debugging and root permission only for ADB on the Android phone and plug it into the computer.
|
2. Enable developer mode, USB debugging and root permission only for ADB on the Android phone and plug it into the computer.
|
||||||
3. Get ADB (e.g, using `apt-get install android-tools-adb`).
|
3. Get ADB (e.g, using `apt-get install android-tools-adb`).
|
||||||
4. The command `adb devices` should list your device.
|
4. The command `adb devices` should list your device.
|
||||||
@ -328,12 +330,12 @@ To fetch the token follow these instructions depending on your mobile phone plat
|
|||||||
|
|
||||||
### iOS
|
### iOS
|
||||||
|
|
||||||
1. Configure the robot with the Mi Home app.
|
1. Configure the robot with the Mi Home app. Make sure to select the correct region, as Xiaomi uses different product names for different geographical areas. Note that the new RoboRock app is currently not supported for this method.
|
||||||
2. Using iTunes, create an unencrypted backup of your iPhone.
|
2. Using iTunes, create an unencrypted backup of your iPhone.
|
||||||
3. Install [iBackup Viewer](https://www.imactools.com/iphonebackupviewer/), open it, and open your backup.
|
3. Install [iBackup Viewer](https://www.imactools.com/iphonebackupviewer/), open it, and open your backup.
|
||||||
4. Open the "Raw Data" module.
|
4. Open the "Raw Data" module.
|
||||||
5. Navigate to `com.xiaomi.mihome`.
|
5. Navigate to `com.xiaomi.mihome`.
|
||||||
6. Search for a file that looks like this: `123456789_mihome.sqlite` (Note: `_mihome.sqlite` is *not* the correct file).
|
6. Search for a file that looks like this: `123456789_mihome.sqlite` (Note: `_mihome.sqlite` is *not* the correct file. Most likely, you will find this file in the `Documents` folder.)
|
||||||
7. Save this file to your filesystem.
|
7. Save this file to your filesystem.
|
||||||
8. Install [DB Browser for SQLite](https://sqlitebrowser.org/).
|
8. Install [DB Browser for SQLite](https://sqlitebrowser.org/).
|
||||||
9. Open DB Browser and load the `.sqlite` file you saved from your backup.
|
9. Open DB Browser and load the `.sqlite` file you saved from your backup.
|
||||||
@ -351,7 +353,7 @@ To fetch the token follow these instructions depending on your mobile phone plat
|
|||||||
|
|
||||||
### Bluestacks
|
### Bluestacks
|
||||||
|
|
||||||
1. Configure the robot with the Mi-Home app.
|
1. Configure the robot with the Mi-Home app. Make sure to select the correct region, as Xiaomi uses different product names for different geographical areas. Note that the new RoboRock app is currently not supported for this method.
|
||||||
2. Install [BlueStacks](https://www.bluestacks.com).
|
2. Install [BlueStacks](https://www.bluestacks.com).
|
||||||
3. Set up [Mi Home version 5.0.30](https://www.apkmirror.com/apk/xiaomi-inc/mihome/mihome-5-0-30-release/) in BlueStacks and login to synchronize devices.
|
3. Set up [Mi Home version 5.0.30](https://www.apkmirror.com/apk/xiaomi-inc/mihome/mihome-5-0-30-release/) in BlueStacks and login to synchronize devices.
|
||||||
4. Use [BlueStacks Tweaker](https://forum.xda-developers.com/general/general/bluestacks-tweaker-2-tool-modifing-t3622681) to access the filesystem and retrieve the token.
|
4. Use [BlueStacks Tweaker](https://forum.xda-developers.com/general/general/bluestacks-tweaker-2-tool-modifing-t3622681) to access the filesystem and retrieve the token.
|
||||||
@ -372,7 +374,7 @@ Software Required:
|
|||||||
- [Android Backup Extractor](https://sourceforge.net/projects/adbextractor/)
|
- [Android Backup Extractor](https://sourceforge.net/projects/adbextractor/)
|
||||||
- [SQLite Browser](https://sqlitebrowser.org/)
|
- [SQLite Browser](https://sqlitebrowser.org/)
|
||||||
1. Install an old Version of MiHome (e.g. Mi Home version 5.0.30) on your Android-Device
|
1. Install an old Version of MiHome (e.g. Mi Home version 5.0.30) on your Android-Device
|
||||||
2. Open MiHome, log-in and add your devices
|
2. Open MiHome, log-in and add your devices. Make sure to select the correct region, as Xiaomi uses different product names for different geographical areas.
|
||||||
3. Enable USB-Debugging on your Android
|
3. Enable USB-Debugging on your Android
|
||||||
4. Create a backup from your MiHome App, by using adb
|
4. Create a backup from your MiHome App, by using adb
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user