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

Add a troubleshooting entry for vacuum timeouts #463

Merged
merged 1 commit into from
Jan 21, 2019
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
17 changes: 17 additions & 0 deletions docs/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,20 @@ If you're in control of the router in between, then you have one more chance to
.. note::

Read more about `Network address translation on Wikipedia <https://en.wikipedia.org/wiki/Network_address_translation>`_.


Intermittent connection issues, timeouts (Xiaomi Vacuum)
--------------------------------------------------------

Blocking the network access from vacuums is known to cause connectivity problems, presenting themselves as connection timeouts (discussed in `this github issue </~https://github.com/rytilahti/python-miio/issues/92>`_):

.. code-block:: text

mirobo.device.DeviceException: Unable to discover the device x.x.x.x

The root cause lies in the software running on the device, which will hang when it is unable to receive responses.
The connectivity will get restored by device's internal watchdog restarting the service (``miio_client``).

.. hint::

If you want to keep your device out from the Internet, use REJECT instead of DROP in your firewall confinguration.