[IMP] IoT: edits to all IoT docs

closes odoo/documentation#4927

X-original-commit: e7457c992b
Signed-off-by: Zachary Straub (zst) <zst@odoo.com>
This commit is contained in:
Timothy Kukulka (tiku)
2023-02-24 19:22:49 +00:00
committed by tiku-odoo
parent 0df9068892
commit 1ed317ebd7
73 changed files with 707 additions and 460 deletions
@@ -1,45 +1,82 @@
================
Connect a Camera
Connect a camera
================
When using your *IoT Box* in Odoo, you could need to use a camera. As
it can be done in a few steps, this device is really easy to configure.
Then, you can use it in your manufacturing process and link it to a
control point. Doing so will allow you to take pictures when you reach
the chosen quality control point.
A camera can be connected to an :abbr:`IoT (Internet of Things)` box with an Odoo database in just a
few steps. Once a camera is connected to an :abbr:`IoT (Internet of Things)` box, it can be used in
a manufacturing process, or it can be linked to a quality control point/quality check. Doing so
allows for the taking of pictures when a chosen quality control point/check has been reached, or
when a specific key is pressed during manufacturing.
Connection
==========
To connect the camera to the *IoT Box*, simply connect the two by
cable.
To connect a camera to an :abbr:`IoT (Internet of Things)` box, simply connect the two via cable.
This is usually done with a :abbr:`USB (Universal Serial Bus)` cable of some sort.
If your camera is a `*supported
one* <https://www.odoo.com/page/iot-hardware>`__, there is no need to
set up anything as it will be detected as soon as it is connected.
If the camera is `supported <https://www.odoo.com/page/iot-hardware>`_, there is no need to set up
anything, as it'll be detected as soon as it's connected.
.. image:: camera/camera_01.png
.. image:: camera/camera-dropdown.png
:align: center
:alt: Camera recognized on the IoT box.
Link a Camera to a Quality Control Point
========================================
Link camera to quality control point in manufacturing process
=============================================================
With the Manufacturing app
--------------------------
In the :menuselection:`Quality app`, a device can be set up on a :guilabel:`Quality Control Point`.
To do that, navigate to the :menuselection:`Quality app --> Quality Control --> Control Points` and
open the desired :guilabel:`Control Point` that'll be linked to the camera.
In your *Quality app*, you can setup the device on a *Quality Control
Point*. Go to the *Control Points* menu, under *Quality Control*
and open the control point you want to link with the camera.
On the control point form, edit the control point by selecting the :guilabel:`Type` field, and
clicking on :guilabel:`Take a Picture` from the drop-down menu. Doing so reveals a field called
:guilabel:`Device`, wherein the attached *device* can be selected. :guilabel:`Save` the changes, if
required.
Now, you can edit the control point and select the device from the
dropdown list. Now, hit save.
.. image:: camera/camera_03.png
.. image:: camera/control-point-device.png
:align: center
:alt: Setting up the device on the quality control point.
Then, your camera can be used with the picked *Control Point*. During
the manufacturing process, reaching the *Quality Control Point* you
chose before will allow you to take a picture.
The camera is now useable with the selected quality control point. When the quality control point
is reached during the manufacturing process, the database prompts the operator to take a picture.
.. image:: camera/camera_04.png
.. image:: camera/serial-number-picture.png
:align: center
:alt: Graphic user interface of the device on the quality control point.
.. note::
Quality control points can also be accessed by navigating to :menuselection:`IoT App -->
Devices`. From here, select the device. There is a :guilabel:`Quality Control Points` tab, where
they can be added with the device.
.. tip::
On a quality check form, the :guilabel:`Type` of check can also be specified to :guilabel:`Take a
Picture`. Navigate to :menuselection:`Quality app --> Quality Control --> Quality Checks --> New`
to create a new quality check from the :guilabel:`Quality Checks` page.
.. seealso::
- :doc:`../../../inventory_and_mrp/manufacturing/quality_control/quality_control_points`
- :doc:`../../../inventory_and_mrp/manufacturing/quality_control/quality_alerts`
Link camera to a work center in the Manufacturing app
=====================================================
To link a camera to an action, it first needs to be configured on a work center. Navigate to
:menuselection:`Manufacturing app --> Configuration --> Work Centers`. Next, go to the desired
:guilabel:`Work Center` in which a camera will be used to reveal that specific work center's detail
form. From here, add the device in the :guilabel:`IoT Triggers` tab, in the :guilabel:`Device`
column, by clicking :guilabel:`Add a Line`.
Now, the camera device can be linked to the :guilabel:`Action` column drop-down option labeled
:guilabel:`Take a Picture`. A key can also be added to trigger the action.
.. important::
The first trigger listed is chosen first. The order of triggers matters, and they can be dragged
into any desired order.
.. note::
On the :guilabel:`Work Order` screen, a status graphic indicates whether the database is
correctly connected to the camera.
.. seealso::
:ref:`workcenter_iot`