-
Notifications
You must be signed in to change notification settings - Fork 21
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
Cannot login #13
Comments
Basically what I eventually need to achive just for my each device get information whether it is currently online (or when it was online recently) from my python script. Is it possible? |
Version 0.6 changed how the cli works and I've forgotten to update the documentation.
Your example would be:
or if you want the debug output:
I'll update the documentation asap. |
Thanks. Tried this command It asked for username then password. I provided both but then received error: |
I cannot reproduce that error running Python 3.11.0 and micloud 0.6 installed by pip. |
What basically is username for xiaomi? Will email work? |
Yes email should work. Also check if you are effected by issue #6 |
It seems on the login step 2 server returned unexpected json content.
But it expects to have json attributes |
Seems to be a similar problem, did you try going to the "notificationUrl" in a browser as described in issue #6 ? |
Yes, but the content in the page is different. I do verification and getting "ok" on web page but still login from python code does not work for me. |
The installed version is 0.6
Trying commmand line from the example:
!micloud -d -u '<Email Login>' --country 'cn' --pretty
The output:
Error: no such option: -u
The code:
The most recent command returns such error:
ERROR:root:Cannot execute request. service token or userId missing. Make sure to login.
Just for information: I am running the code in Google Colab
The text was updated successfully, but these errors were encountered: