2019-10-18 14:54:44 +07:00
|
|
|
|
====================
|
|
|
|
|
Connect a Footswitch
|
|
|
|
|
====================
|
|
|
|
|
|
|
|
|
|
When working, it is always better to have your two hands available.
|
|
|
|
|
Using Odoo’s *IoT Box* and a footswitch will allow it.
|
|
|
|
|
|
2020-10-21 21:28:35 +07:00
|
|
|
|
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.
|
2019-10-18 14:54:44 +07:00
|
|
|
|
|
|
|
|
|
Connection
|
|
|
|
|
==========
|
|
|
|
|
|
|
|
|
|
Connecting the footswitch to the *IoT Box* is easy, you just have to
|
2020-10-21 21:28:35 +07:00
|
|
|
|
connect the two by cable.
|
2019-10-18 14:54:44 +07:00
|
|
|
|
|
|
|
|
|
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::
|
2020-01-08 17:06:27 +07:00
|
|
|
|
When you are on the work order screen, a status button indicates if you
|
|
|
|
|
are correctly connected to the footswitch.
|