maxinminax / node-mihome

Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
MIT License
121 stars 35 forks source link

Changed login prozedure leads to: Error: Request error with status Unauthorized #45

Closed Pittini closed 2 years ago

Pittini commented 2 years ago

Since yesterday login is no more possible. It seems like Xiaomi has changed something to the login procedure. This is an urgency, pls fix as soon as possible.

See also: https://github.com/Pittini/iobroker-nodemihome/issues/56

Addition: Seem to be only at EU Servers

Siggi0904 commented 2 years ago

There is an adaption from py ty js from https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor/blob/master/token_extractor.py needed.

Pittini commented 2 years ago

Seems to be fixed by Xiaomi. Now again working as usual.

Siggi0904 commented 2 years ago

Should be changed in addition to the old access mode. Or a second way should be implemented.