New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect to Meross account #186
Comments
Hello @ayoward , |
I also have this problem - same error message "unable to connect". My instance of Home Assistant can communicate with https://iot.meross.com/v1/Auth/Login as seen here: Anything I can try to make this work? |
Hello, I've checked the meross_lan code in search of clues and I have to admit the 'unable to connect' error is raised on any error, I've also seen that now, if you enter wrong credentials, the actual flow implementation just 'works' by returning an empty key with no error warning to the user so I'm going to try refactor the code a bit trying to add more detailed informations on the error. |
Hello @squaredcircle, |
Hey @krahabb, |
Awww.. |
HI guys, Not sure if this is helpful or not. I had a " character in my original password for meross which broke the api call. Once the password was changed not to contain that character it was fine. |
Just checked - my password also contains multiple symbols, including a " character. |
Hello @aaronschriever , that could explain the issue. I'll check if the password encoding needs some extra care when using these characters EDIT: |
I had an ! (exclamation mark) in my password. It failed to log in to the cloud unless I changed my password to not have it. |
Hello @bossloper , |
Hello @cpighin, |
Hallo krahabb, thanks for replying ... NO, my Meross password consists only of lowercase and uppercase letters and numbers :( |
I'm in the process to update the login flow in order to better report the error codes from the server so to have a better understanding of what went wrong. The reasons for failures might range from incorrect pwd/login to server unavailability or even 'too many requests'... |
Well, so I just have to wait for a new version of Meross LAN and try the integration again, counting on the possibility of reporting a more precise error message? |
It's hard to say...since I don't have the big picture of how many users are actually using meross_lan. I guess some in the like of 1 every 10 has few issues actively reported |
thanks |
This was my previous password: changing it to something simpler (and shorter) made the integration work. |
Hello @andrelung, |
Sorry, I've only tested the version which is available in HACS |
Hi, same problem, more specific error: |
Hello, I had the same problem as you. I simply deactivated 2-factor authentication with the application and it worked. |
Hello,
I have recently installed Home Assistant so am fairly new to this, but I like to think I am IT literate (I have managed to make a career out of it) however, I am struggling with getting Home Assistant/Meross LAN to connect to my account for the device key.
I bought a Meross Smart WiFi Surge Protector specifically because of the Home Assistant integration and while I have successfully attached it to the WiFi, set up a Meross account on the app and linked the device, installed Meross LAN via HACS, but when it comes to the configuration, which rightly or wrongly I set as Cloud Retrieval (not sure how to change that now, but that's another issue) it is asking for my credentials for Device Key Retrieval which when I put them in, it fails every time.
Does anyone know what I am doing wrong? I know the credentials are correct as I have them stored in my password vault.
Any help would be greatly appreciated.
Thanks,
Andrew
The text was updated successfully, but these errors were encountered: