Xiaomi Miio - Log In not working (same for other Xiaomi services)
The problem
Suddenly Dreame integration started reporting to reauth my account but even after successful authentification the problem persists. I am also unable to pair any new devices with any Xiaomi integration. One of those is also Xiaomi Miio.
Does not seem that the core version is important - worked fine for a few days even with the latest update.
What version of Home Assistant Core has the issue?
core-2025.4.3
What was the last working version of Home Assistant Core?
core-2025.4.3
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Xiaomi Miio
Link to integration documentation on our website
https://www.home-assistant.io/integrations/xiaomi_miio
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
Tried restarting, changing Xiaomi password, nickname, ... I am able to Log-in to Xiaomi account from mi.com or Xiaomi android app without any problem.
Hey there @rytilahti, @syssi, @starkillerog, mind taking a look at this issue as it has been labeled with an integration (xiaomi_miio) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of xiaomi_miio can trigger bot actions by commenting:
@home-assistant closeCloses the issue.@home-assistant rename Awesome new titleRenames the issue.@home-assistant reopenReopen the issue.@home-assistant unassign xiaomi_miioRemoves the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-informationAdd a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-informationRemove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
xiaomi_miio documentation xiaomi_miio source (message by IssueLinks)
I've got same issue
I can't solve it either
Same issue here. It was working previously .
Same problem
Xiaomi Miot Auto integration solved this issue
Xiaomi Miot Auto integration solved this issue
Thanks for a pointless downvoting but Xiaomi Miot Auto did solve the issue with 2FA verification. Same thing should be done for this integration - ability to write down 2FA code during Login phase.
Same issue. It saves the preview login, but if try to login again, always fails. The same with the xiaomi_cloud_map_extractor.
Same issue.
Same issue.
It's already been three months since this issue was reported. Could someone please take a look and help move it forward?
It's already been three months since this issue was reported. Could someone please take a look and help move it forward?
@syssi @rytilahti @starkillerOG @felix63 @adjscent
If this is due to the 2fa, maybe this is related: https://github.com/Squachen/micloud/pull/19? I haven't had any Xiaomi devices for years, and I don't have currently free time to investigate, but I can try to help with reviews if needed.
Same issue. This intergration is dead without succesful login.
EDIT: This custom HACS intergation works: https://github.com/XiaoMi/ha_xiaomi_home
So team HA is ignoring this issue?
Yes, this integration is dead. No maintainers.