V
8  
Tags
There are no tags for this page.
Attachments
Dobrica Pavlinušić's random unstructured stuff
Xiaomi Tower Fan 2

Problem

After first install with official Android app it broke account so hard, that web login to xiaomi just reloaded page in loop, and fan dissipated from Android app.

wifi reset

power + m button for 7 seconds.

token

I created local xiaomi account, which is useful, since you need password for this tool to work.

https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor

dpavlin@nuc:/nuc/Xiaomi-cloud-tokens-extractor$ git remote -v
origin	https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor (fetch)
origin	https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor (push)

dpavlin@nuc:/nuc/Xiaomi-cloud-tokens-extractor$ . venv/bin/activate

(venv) dpavlin@nuc:/nuc/Xiaomi-cloud-tokens-extractor$ python token_extractor.py


   ---------
   NAME:     Xiaomi Smart Tower Fan 2
   ID:       897218688
   MAC:      AC:8C:46:C9:2C:B4
   IP:       192.168.3.120
   TOKEN:    REDACTED
   MODEL:    xiaomi.fan.p45
   ---------


code

https://github.com/rytilahti/python-miio/issues/1544 - doesn't seem to login into xiaomi cloud for me

home assistant

https://github.com/syssi/xiaomi_fan/issues/282 - doesn't support my model

2025-07-29 09:23:06.378 ERROR (MainThread) [custom_components.xiaomi_miio_fan.fan] Unsupported device found! Please create an issue at https://github.com/syssi/xiaomi_fan/issues and provide the following data: xiaomi.fan.p45

https://github.com/XiaoMi/ha_xiaomi_home - doesn't work for me

Finally, Xiaomi Miot Auto works.

https://github.com/syssi/xiaomi_fan/issues/214

https://github.com/al-one/hass-xiaomi-miot

no need to patch local home assistant installation.

teardown video

https://www.youtube.com/watch?v=8GoeoD_eyvk


 

Upload Files

Click "Browse" to find the file you want to upload. When you click "Upload file" your file will be uploaded and added to the list of attachments for this page.

Maximum file size: 50MB

 
 
 
File Name Author Date Uploaded Size

Save Page As

Enter a meaningful and distinctive title for your page.

Page Title:

Tip: You'll be able to find this page later by using the title you choose.

Page Already Exists

There is already a page named XXX. Would you like to:

Save with a different name:

Save the page with the name "XXX"

Append your text to the bottom of the existing page named: "XXX"

Upload Files

Click "Browse" to find the file you want to upload. When you click "Add file" this file will be added to the list of attachments for this page, and uploaded when you save the page.

 
 
 
Add Tags

Enter a tag and click "Add tag". The tag will be saved when you save the page.

Tag: 

Suggestions: