merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
394 stars 63 forks source link

MiCloud Two-Factor Issue #296

Closed JacopoBassan closed 2 years ago

JacopoBassan commented 2 years ago

Hi,

I was trying to install and configure the homebridge-miot plugin to use with my Xiaomi Vacuum 1C Robot but it fails at the very first "Discover all devices via MiCloud" step since my account is set up with 2FA. The plugin seems to support it using the open link in a browser from the same public IP, but in the error notice it doesn't give me the link it's talking about, neither there nor thru the console, or am I the one missing where it should be?

Can you help me? Thanks!

Schermata 2022-07-05 alle 11 53 06
merdok commented 2 years ago

Oh, you are right! Going to fix that in the next update! Thanks for letting me know!

merdok commented 2 years ago

Should be fixed in version 1.2.4

JacopoBassan commented 2 years ago

Thanks I've updated it and now the link is there, I got the ok response from the 2FA link but then it doesn't work anyway. Opened the link in a browser on a computer on the same network as Homebridge, any tips? Thanks!

merdok commented 2 years ago

I unfortunately do not have 2fa enabled so I cannot test myself, but you eventually could try to open the link in the same page, since maybe some cookies are set?