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

Update commands in manual #398

Merged
merged 1 commit into from
Oct 31, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/vacuum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Cleaning history

::

$ mirobo cleaning_history
$ mirobo cleaning-history
Total clean count: 43
Clean #0: 2017-03-05 19:09:40-2017-03-05 19:09:50 (complete: False, unknown: 0)
Area cleaned: 0.0 m²
Expand Down Expand Up @@ -147,13 +147,13 @@ There are two ways to install install sound packs:

::

mirobo install_sound my_sounds.pkg
mirobo install-sound my_sounds.pkg

2. Install from an URL, in which case you need to pass the md5 hash of the file as a second parameter.

::

mirobo install_sound http://10.10.20.1:8000/my_sounds.pkg b50cfea27e52ebd5f46038ac7b9330c8
mirobo install-sound http://10.10.20.1:8000/my_sounds.pkg b50cfea27e52ebd5f46038ac7b9330c8

`--sid` can be used to select the sound ID (SID) for the new file,
using an existing SID will overwrite the old.
Expand Down Expand Up @@ -186,7 +186,7 @@ and updating from an URL requires you to pass the md5 hash of the file.

::

mirobo update_firmware v11_003094.pkg
mirobo update-firmware v11_003094.pkg


DND functionality
Expand Down Expand Up @@ -215,14 +215,14 @@ To enable:

::

mirobo carpet_mode 1 (or any other true-value, such as 'true')
mirobo carpet-mode 1 (or any other true-value, such as 'true')


To disable:

::

mirobo carpet_mode 0
mirobo carpet-mode 0


Raw commands
Expand All @@ -234,13 +234,13 @@ It is also possible to run raw commands, which can be useful

::

mirobo raw_command app_start
mirobo raw-command app_start

or with parameters (same as above dnd on):

::

mirobo raw_command set_dnd_timer '[22,0,6,0]'
mirobo raw-command set_dnd_timer '[22,0,6,0]'

The input is passed as it is to the device as the `params` value,
so it is also possible to pass dicts.
Expand Down