core icon indicating copy to clipboard operation
core copied to clipboard

Xiaomi Miio - Log In not working (same for other Xiaomi services)

Open rosicenko opened this issue 8 months ago • 8 comments

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.

Image

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.

rosicenko avatar Apr 21 '25 19:04 rosicenko

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 close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign xiaomi_miio Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove 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)

home-assistant[bot] avatar Apr 21 '25 19:04 home-assistant[bot]

I've got same issue

FerrumLogic avatar Apr 24 '25 09:04 FerrumLogic

I can't solve it either

qkddn49 avatar Apr 25 '25 23:04 qkddn49

Same issue here. It was working previously .

adjscent avatar Apr 27 '25 05:04 adjscent

Same problem

juanboris avatar Apr 29 '25 15:04 juanboris

Xiaomi Miot Auto integration solved this issue

rosicenko avatar Apr 29 '25 20:04 rosicenko

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.

rosicenko avatar May 10 '25 10:05 rosicenko

Same issue. It saves the preview login, but if try to login again, always fails. The same with the xiaomi_cloud_map_extractor.

granda1987 avatar May 12 '25 13:05 granda1987

Same issue.

felix63 avatar Jun 28 '25 09:06 felix63

Same issue.

oncefalse avatar Jul 25 '25 17:07 oncefalse

It's already been three months since this issue was reported. Could someone please take a look and help move it forward?

oncefalse avatar Jul 25 '25 17:07 oncefalse

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

oncefalse avatar Jul 25 '25 17:07 oncefalse

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.

rytilahti avatar Jul 25 '25 17:07 rytilahti

Same issue. This intergration is dead without succesful login.

EDIT: This custom HACS intergation works: https://github.com/XiaoMi/ha_xiaomi_home

panther7 avatar Aug 26 '25 16:08 panther7

So team HA is ignoring this issue?

MichaelZiggo avatar Oct 21 '25 17:10 MichaelZiggo

Yes, this integration is dead. No maintainers.

panther7 avatar Oct 21 '25 18:10 panther7