bwp91 / homebridge-meross

Homebridge plugin to integrate Meross devices into HomeKit.
MIT License
194 stars 32 forks source link

Plugin (suddenly) has a problem logging in to the API #565

Open johannfenech opened 5 months ago

johannfenech commented 5 months ago

What issue do you have? Noticed that the meross plugs (mostly MSS210 and 310) are not working in homebridge. The plugs show in the accesories list, but cannot be controlled. They work well from the native meross app, so not a connectivity issue.

Details of your setup.

10.3.0 - No, the issue started yesterday, and I am not aware of any updates (unless there were some ubuntu unattended upgrades I do not know of)

Please paste any relevant logs below.

[2/6/2024, 8:01:15 AM] [Meross] Disabling cloud client as access token is invalid - check your credentials in the plugin config at default.getDevices (file:///var/lib/homebridge/node_modules/homebridge-meross/lib/connection/http.js:227:17).
[2/6/2024, 8:01:15 AM] [Meross] ***** Disabling plugin. *****
[2/6/2024, 8:01:15 AM] [Meross] ***** Neither of username and password nor user key has been configured, or there was an issue obtaining cloud devices. *****

The account has 2FA enabled, and works well on the native app (Used to work in the plugin too until yesterday at some point). I have changed the password just in case, to no avail.

Since it seems no one else is having this issue, would not exclude some issue on my end. The Homebridge also has other plugins for other brands installed, and they are able to communicate with their respective api's.

Please let me know if any more info is required, and above all thank you.

johannfenech commented 5 months ago

For what its worth, I have disabled 2FA on my account, and it now seems to work

jrkmtf commented 4 months ago

I had the same issue and disabling 2FA also worked. Seems to be an issue w 2FA specifically.

RateThePaladin commented 3 months ago

Same problem here - disabling 2FA did fix the issue, but I would much prefer to have it enabled for security purposes

designgears commented 3 weeks ago

Probably the same issue, but I didn't have 2fa enabled, but enabling and disabling it fixed it.