Code Monkey home page Code Monkey logo

Comments (13)

MeisterTR avatar MeisterTR commented on August 19, 2024 2

you can change the sound with this command:
dnld_install_sound {"md5":"#MD5#","sid":1005,"url":"http://#PFAD_DES_SERVERS#/deutsch.pkg"}

from dustcloud.

trananhtuan avatar trananhtuan commented on August 19, 2024 1

Sorry for digging back an old thread but how can I create sound.pkg file?

from dustcloud.

fvollmer avatar fvollmer commented on August 19, 2024

According to https://github.com/marcelrv/XiaomiRobotVacuumProtocol there is a dnld_install_sound command. I don't know how to use it, but you should be able to use tcpdump on the robot at port 54322 to sniff the official app. I think @Flole998 has already worked out how the command works (for his app https://xiaomi.flole.de/).
Another approach is to just copy them via scp.

from dustcloud.

dgiese avatar dgiese commented on August 19, 2024

Just replace the files in /opt/rockrobo/resources/sounds/prc

from dustcloud.

CODeRUS avatar CODeRUS commented on August 19, 2024

on my vacuum changing files in /opt/rockrobo/resources/sounds/prc have no effect. should change /mnt/data/rockrobo/sounds/

from dustcloud.

linuxlurak avatar linuxlurak commented on August 19, 2024

you could even upload the sound files with scp:
scp /path/to/sound/files/* root@robovac-ip:/opt/rockrobo/resources/sounds/prc

from dustcloud.

dgiese avatar dgiese commented on August 19, 2024

/opt/rockrobo/resources/sounds/prc is the correct path if you did not change the language to english over the Mi Home App. Here you replace the original Chinese voice with your desired voice. The folder /mnt/data/rockrobo/sounds/ is just for downloaded sounds. As we can change the firmware, the /opt/.... folder is the better one ;)

from dustcloud.

CODeRUS avatar CODeRUS commented on August 19, 2024

so, if sounds exists in /mnt/data/rockrobo/sounds/ it will be used? then downloaded sounds should be wiped.

from dustcloud.

w00dst0ck avatar w00dst0ck commented on August 19, 2024

you can change the sound with this command: dnld_install_sound {"md5":"#MD5#","sid":1005,"url":"http://#PFAD_DES_SERVERS#/deutsch.pkg"}

Anyone tested this with mirobo raw?
I would only use a german soundpack without rooting my vacuum.

from dustcloud.

CODeRUS avatar CODeRUS commented on August 19, 2024

Anyone tested this with mirobo raw?

yes and it works fine

from dustcloud.

rytilahti avatar rytilahti commented on August 19, 2024

Just in case someone comes looking up this topic at some later point, after rytilahti/python-miio#153 gets merged installing a sound with python-miio works by simply calling mirobo install_sound mysound.pkg (assuming a fairly generic network setup and unblocked access from the vacuum to the host where the command is executed).

from dustcloud.

Fietspomp86 avatar Fietspomp86 commented on August 19, 2024

Sorry for digging back an old thread but how can I create sound.pkg file?

I just use the Mirobo 1.1.0 software to directly upload to the vacuum, this is quite easy to do.

from dustcloud.

trananhtuan avatar trananhtuan commented on August 19, 2024

That works for me too. Thank you.

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.