フットスイッチを接続する¶
製造環境で作業を行う場合、作業者は常に両手が使える状態にあることが望ましいため、Odooの IoT Boxはフットスイッチを使用することで、これを実現します。
フットスイッチを使用すれば、作業者は足を使って画面を切り替えたり、操作を実行したりすることができます。これは、製造 アプリの作業区で数ステップで設定できます。
接続¶
IoT Boxにフットスイッチを接続するには、2つのデバイスをケーブルで接続します。通常、 USB ケーブルを使用して接続します。
If the footswitch is a supported device, there is no need to take further action, since it'll be automatically detected when connected.

Odoo 製造アプリでフットスイッチを作業区にリンクする¶
To link a footswitch to an action, it first needs to be configured on a work center. Navigate to Work Center in which the footswitch will be used, and add the device in the IoT Triggers tab, under the Device column, by selecting Add a Line. Doing so means the footswitch can be linked to an option in the Action column drop-down, and optionally, a key can be added to trigger it. An example of an Action in the Manufacturing app could be the Validate or Mark as Done buttons on a manufacturing work order.
. From here, go to the desired重要
Triggers are executed in the order they appear, with the first one taking priority. To reorder the triggers, click the (draggable) icon to the left of each trigger, and drag it to the desired position.
ちなみに
To identify the key assigned to each pedal, connect the footswitch to any computer and press the pedals as if typing. Usually, the pedals are mapped by default to the keyboard keys
a
,b
, andc
.The Work Order list includes a status indicator that shows whether the database is successfully connected to the footswitch.