Code Monkey home page Code Monkey logo

Comments (5)

rytilahti avatar rytilahti commented on August 19, 2024

Duplicate of #77.

from dustcloud.

hs06 avatar hs06 commented on August 19, 2024

Nope, no duplicate - different issue, same solution.
Fixed in python-miio 0.3.7. I had 0.3.6 (which was installed by pipenv install requests).

Manually installed from here: https://pypi.python.org/pypi/python-miio/0.3.7

Succeeded in uploading the firmware (built from v11_003132). However the vacuum told me "Failed to install firmware, switching to old firmware". Any idea how to debug this? Any return code/console etc.?

from dustcloud.

dervitti avatar dervitti commented on August 19, 2024

Succeeded in uploading the firmware. However the vacuum told me "Failed to install firmware, installing old firmware".

please double-check that you gave the robot the right md5 that fits to the image respectively the right image (/output)

from dustcloud.

hs06 avatar hs06 commented on August 19, 2024

Thanks for the hint. I double checked: The md5 is correct.

$ cat output/v11_003132.md5 
MD5 (output/v11_003132.pkg) = 2b09a63580640d3917bfffdbd043e1e9
$ md5 output/v11_003132.pkg 
MD5 (output/v11_003132.pkg) = 2b09a63580640d3917bfffdbd043e1e9

and my launch-strings was
$ mirobo --ip=192.168.8.1 --token=121739554e694d7a525749397745394a raw_command miIO.ota '{"mode":"normal", "install":"1", "app_url":"http://192.168.8.75:8000/v11_003132.pkg", "file_md5":"2b09a63580640d3917bfffdbd043e1e9","proc":"dnld install"}'

I also tried it with the flashtool -- same story.

However, I did build the image in the folder
dustcloud/devices/xiaomi.vacuum/firmwarebuilder as the xiaomi.vacuum.gen1/firmwarebuilder was empty.

I built it on MacOSX with osxfuse. Might try to build the pkg on a Linux machine...

from dustcloud.

hs06 avatar hs06 commented on August 19, 2024

Indeed, the image built under a standard Linux worked! Don’t ask me why the Mac built didn’t work. I would regard the Mac build as broken for the time being. Best! Hendrik

from dustcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.