-
Notifications
You must be signed in to change notification settings - Fork 354
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 cloudless Gen 2 Vacuum #162
Comments
By looking at the miio log on the vaccum itself, I found out that calls by this library cause the following messages:
But only on the first try after a reboot.
The log of a mirobo connection looks like this:
|
By changing network.js#L305 to "get_status" it seems to send a useful answer according to the miio.log on the device. Also, since the mirobo utility doesn't seem to keep track of the request id in a permanent storage, I guess that the last ID is somewhere inside the handshake? |
I was wrong. Apparently, python-mirobo does save the last msg id in some temporary file. |
Okay so the I'd suggest providing a possibility to manually specify the device type. |
I am having the same issue with a Gen 1. |
@Hypfer I have opened a PR that fixed this issue for me. Could you maybe try the branch and check if the vacuum V2 issue is fixed by this aswell? Thanks! |
Works 👍 |
Also adding my comment from the linked PR here, in case you are running dummycloud the info works fine:
|
I for one do not want to use dummycloud. The last time I checked it needed internet access (ntp servers and stuff). My vacuum does not have internet access so it would not work in my case I think. |
I'm having trouble connecting to my Gen 2 Xiaomi vacuum which is not connected to the xiaomi cloud.
I've followed this guide to set it up.
This library gets a timeout and returns
Could not connect to device, token might be wrong
However, using the same token everything works well using the python mirobo utility found here.
miio version is the latest git master.
robot version is v11_001228
The text was updated successfully, but these errors were encountered: