mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 13:56:53 +00:00
Add BlueStacks method for retrieving device token (#6861)
* Add BlueStacks method for retrieving device token * Minor changes
This commit is contained in:
parent
e083f627e0
commit
68f51fb366
@ -29,7 +29,7 @@ Currently supported services are:
|
|||||||
Please follow [Retrieving the Access Token](/components/vacuum.xiaomi_miio/#retrieving-the-access-token) to retrieve the API token used in
|
Please follow [Retrieving the Access Token](/components/vacuum.xiaomi_miio/#retrieving-the-access-token) to retrieve the API token used in
|
||||||
`configuration.yaml`.
|
`configuration.yaml`.
|
||||||
|
|
||||||
## {% linkable_title Configuring the Platform %}
|
## {% linkable_title Configuration %}
|
||||||
|
|
||||||
To add a vacuum to your installation, add the following to `configuration.yaml`:
|
To add a vacuum to your installation, add the following to `configuration.yaml`:
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ vacuum:
|
|||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
host:
|
host:
|
||||||
description: The IP of your robot.
|
description: The IP address of your robot.
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
token:
|
token:
|
||||||
@ -258,3 +258,10 @@ To fetch the token follow these instructions depending on your mobile phone plat
|
|||||||
12. Copy the returned 32-digit hexadecimal string to your clipboard.
|
12. Copy the returned 32-digit hexadecimal string to your clipboard.
|
||||||
13. Open `Terminal` and execute this command: `echo '0: <YOUR HEXADECIMAL STRING>' | xxd -r -p | openssl enc -d -aes-128-ecb -nopad -nosalt -K 00000000000000000000000000000000`
|
13. Open `Terminal` and execute this command: `echo '0: <YOUR HEXADECIMAL STRING>' | xxd -r -p | openssl enc -d -aes-128-ecb -nopad -nosalt -K 00000000000000000000000000000000`
|
||||||
14. Use the resulting string as your token.
|
14. Use the resulting string as your token.
|
||||||
|
|
||||||
|
#### {% linkable_title Bluestacks %}
|
||||||
|
|
||||||
|
1. Configure the robot with the Mi-Home app.
|
||||||
|
2. Install [BlueStacks](https://www.bluestacks.com).
|
||||||
|
3. Set up the Mi-Home app 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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user