-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
install_sound on gen2 not working #168
Comments
Unfortunately the error codes are unknown at the moment, nor anyone has confirmed whether this works on gen2 (actually no one has reported even if it works, I have just tested that it works on my vacuum). Anyway, seeing that you are not seeing download progress at all, I would look first into your web-server's logs to see if it ever tries to fetch that edit: I did some experimentation, error 2 is download error (when I shut down the server during it's downloading it), error 3 is checksum (md5) error, rest are still unknown. |
I get this in my webserver log: So looks like the error is with the vacuum right? I know at least another guy who got this working on his gen1. So maybe gen2 is the villain. |
Ok, may very well be that there's something else we need to pay attention to for gen2 devices, unfortunately I have no answer for this at the moment. |
Could you re-try this with the current git version? The previous server did not send a content-length header as part of the response, which caused problems with firmware update status messages, maybe they check for that differently also for the gen2. |
Would love to. Will let you know tomorrow! |
Unfortunately still the same error message for me :( |
https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/install_sound.md defining the |
I can only find the install_sound() method (which doesn't have a parameter for sver). How do I use dnld_install_sound? :) |
Potentially interesting for this #348 (comment) . |
I've tried to get this working but without success. I get the following message when trying to upload my pack:
$ mirobo install_sound http://192.168.0.122:80/image-server/es.pkg d41d8cd98f00b204e9800998ecf8427e 1005
Installing from http://192.168.0.122:80/image-server/es.pkg (md5: d41d8cd98f00b204e9800998ecf8427e) for id 1005
<SoundInstallStatus sid: None (state: SoundInstallState.Unknown, error: 0) - progress: 0>
<SoundInstallStatus sid: 1005 (state: SoundInstallState.Downloading, error: 0) - progress: 0>
<SoundInstallStatus sid: 1005 (state: SoundInstallState.Installing, error: 0) - progress: 0>
Error during installation: 4
Is it confirmed this does not work on gen2 or could it be I've done something wrong?
Thanks for the awesome work btw!!
/BerraKode
The text was updated successfully, but these errors were encountered: