-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
Mistake in instructions #185
Comments
Fixed |
I actually wrote this line. The doc at
https://python-miio.readthedocs.io/en/latest/vacuum.html#firmware-update
says "update-firmware" and I'm pretty sure I tested the line. I'll take
another look at it when I'm back home.
|
hypfer@Valor:~$ mirobo update_firmware Error: No such command "update_firmware". |
Hmm that is odd. After flashing now, I cannot access my robot on 192.168.8.1 either. |
I previously had Valetudo running fine by a few versions older instructions. But one day, the robot couldn't find it's dock and ran out of power. When it turned on again, it reflashed itself to stock. So now I am just trying to install Valetudo again. I just tried from the beginning again, by going step by step through the instructions. When I get to install python-miio I get a ton of errors ending in: I tried with sudo, and it didn't give me errors, so I assumed it worked. But I get this:
I do not really know where to go from here. Anyone that can point me in the right direction? |
I got no idea what this means, but it seems I needed to install these requirements: Currently trying to flash the robot again to see if it works. |
Updated succesfully, but 192.168.8.1 refused to connect :( |
Delete your build folder and start again from the beginning of the guide |
I just did. I will flash the SD card for the Raspberry clean and try again on a fresh Raspbian. Does it have something to do with the other open issue about unprovisioned robots not connecting? I could maybe do this first this time? |
AFAIK: The robot token can only be discovered if the robot is unprovisioned (or rooted or by extracting it from the xiaomi home app). I would suggest not to use If you are connected with multiple interfaces (e.g. via LAN to the internet and via WiFi to the robot) you may experience connection issues with miio. I guess is that the Multicast package is sent via the wrong interface. Do you have any indications that the newly flashed firmware is active? Can you connect via ssh? @Hypfer Could it be that 3bcfb5c triggers the rollback again? |
Wrt underscore vs. dashes in command names for mirobo, this depends on your click version (pallets/click#1123). The new click versions (7+) will use the dash instead of underscore. |
@rytilahti Thanks for the info! I guess python-miio should specify |
I couldn't connect via SSH. Trying to reflash now. However, now for some reason I cannot build the image. Doesn't seem to be my day :(
|
@imbaimbaimba I guess you are in the wrong folder. You should be in |
That worked. Couldn't see in the instructions that I had to go cd .. back to /rockrobo before creating image folder. :) |
I'm sure the instruction can be improved. I'm also kind of confused about the excessive use of
and it appears to be like a |
Now I'm getting |
Is your token only 20 chars long? This is strange. Try again to discover the robot and make sure you got the complete token. |
Pressed the wifi reset button again, then I got a new token that was 32 characters. Weird. |
192.168.8.1 refused to connect. |
The fingerprint of the robot changed. This should be normal. |
Yep, exactly what I did. Maybe it’s not rooted and just reverted to stock fw? |
With the stock fw there shouldn't be an opened ssh port. Try |
My keys are in ~/.ssh. A reboot handled it, then it asked for the passphrase I set, and I am now SSH'ed in. So it must be rooted, but just nothing on port 80? |
This could mean that the unprovisioned bug is still unsolved. Try to start valetudo manually via ssh: |
Just as you wrote, I also found Anything I need to know about going forward in relation to this? Will I keep loosing valetudo and have to start it myself? AFAIK the robot reboots every night. |
I'm not sure about the upstart problem. You could try to connect the robot to your WiFi (You can use valetudo for this). |
Well it did connect to my wifi but it seems broken :( |
Try to reboot the robot (and maybe ctrl+f5 in your browser). If this doesn't work open the developer console of the web browser and look for errors. |
Rebooting the robot took it back to AP mode. And valetudo did not start. SSH'ed in again, started it, and the web interface works. Then I typein my WI-FI information, it joins my wifi and I can connec to the IP but the same thing happens, just hanging. |
Tried ctrl + F5, different browsers, incognito, from mobile etc. Same thing. |
I'm not sure how to explain this behaviour, but maybe someone else. Otherwise I would suggest to wait for someone else with fresh ideas. |
Tried setting WiFi with mirobo configure-wifi once before going to bed. Unfortunately, same result. The thread you referenced could be the same I guess. In case it occurs for them during their nightly reset. My case is similar to one of the replies in the sense that my Roborock never seen the Xiaomi cloud either. Thank you for trying nevertheless. Let’s hope someone has more ideas. If nothing comes up, I guess I will just eat my pride and install the Xiaomi app and run it stock. My wife is nagging me all the time about the damn thing not working 🤯 |
For whatever reason, after a couple of days my robot woke up with Valetudo now working. Haven’t touched anything in between. So basically, robots that cannot be provisioned with Valetudo may actually work, but just need (a lot) of time to start working. |
Hi!
Took me ages to figure out why my vacuum wouldn't flash, as I kept getting "No such command" for update firmware. Turns out there is a typo in the instructions:
mirobo --ip 192.168.8.1 --token XXXXXXXXXXXXXXXX update-firmware image/output/v11_001768.fullos.pkg
Should be:
mirobo --ip 192.168.8.1 --token XXXXXXXXXXXXXXXX update_firmware image/output/v11_001768.fullos.pkg
For the other Linux newbies out there, it might help to fix this :)
The text was updated successfully, but these errors were encountered: