documentation/iot/devices/footswitch.rst
Antoine Prieëls d00e0bd870
[FIX] iot: Update and fix IoT documentation (#776)
Some of the explanations were wrong/outdated.
We also add a troubleshooting guide with most
common problems.
2020-10-22 14:32:59 +02:00

42 lines
1.4 KiB
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

====================
Connect a Footswitch
====================
When working, it is always better to have your two hands available.
Using Odoos *IoT Box* and a footswitch will allow it.
In fact, you will be able to go from one screen to another and perform
actions by using your foot and the footswitch. Really convenient, it
can be configured in a few steps.
Connection
==========
Connecting the footswitch to the *IoT Box* is easy, you just have to
connect the two by cable.
If your footswitch is a `supported
one <https://www.odoo.com/page/iot-hardware>`__, there is no need to
set up anything since it will be automatically detected when connected.
.. image:: media/footswitch_01.png
:align: center
Link a Footswitch to a Workcenter
=================================
To link the footswitch to an action, it needs to be configured on a
workcenter. Go to the workcenter you want to use the footswitch in and
add the device in the *IoT Triggers* tab. Then, you can link it to an
action and also add a key to trigger it.
.. image:: media/footswitch_03.png
:align: center
Note that the one that is first in the list will be chosen. So, the
order matters! In the picture above, using the footswitch will, for
example, automatically skip the current part of the process you work on.
.. note::
When you are on the work order screen, a status button indicates if you
are correctly connected to the footswitch.