Skip to content
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

mirobo vacuum sound volume control #159

Closed
alexdom opened this issue Jan 19, 2018 · 2 comments
Closed

mirobo vacuum sound volume control #159

alexdom opened this issue Jan 19, 2018 · 2 comments

Comments

@alexdom
Copy link

alexdom commented Jan 19, 2018

For Mi Robo Vacuum; is it possible to control a sound volume or turn it off? Is there an implementation for that with using of raw command option? Is it possible to know the list of raw commands?

@rytilahti
Copy link
Owner

I wasn't able to find out how exactly it is supposed to work, but one can pass a parameter '[number]' or 'number' to get_sound_volume. There seems to be no set_sound_volume.

Getting to know the raw commands is not so straightforward, it requires either capturing the traffic from the app to the robot like described here https://github.com/aholstenson/miio/blob/master/docs/protocol.md or reverse engineering the application/robot itself.

@alexdom
Copy link
Author

alexdom commented Jan 19, 2018

I tried set_sound_volume, no luck. Then I tried sound_volume, and it seems to go through, but the volume is not changed:
$ mirobo raw_command sound_volume 5
Sending cmd sound_volume with params 5
0
$ mirobo raw_command get_sound_volume
Sending cmd get_sound_volume with params []
[90]
$ mirobo raw_command sound_volume 20
Sending cmd sound_volume with params 20
0
$ mirobo raw_command get_sound_volume
Sending cmd get_sound_volume with params []
[90]

rytilahti added a commit that referenced this issue Jan 19, 2018
mirobo sound shows current settings
mirobo sound <volume> changes volume, where volume is 0-100
passing --test will give a test voice from the vacuum for testing sound levels

Fixes #159
rytilahti added a commit that referenced this issue Jan 20, 2018
mirobo sound shows current settings
mirobo sound <volume> changes volume, where volume is 0-100
passing --test will give a test voice from the vacuum for testing sound levels

Fixes #159
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants