2018-09-20 16:37:02 +02:00
|
|
|
===================================
|
|
|
|
|
Connect an IoT Box to your database
|
|
|
|
|
===================================
|
|
|
|
|
|
|
|
|
|
Install the Internet of Things (IoT) App on your Odoo Database.
|
|
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect01.png
|
2018-09-20 16:37:02 +02:00
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
Go in the IoT App and click on Connect on the IoT Boxes page.
|
|
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect02.png
|
2018-09-20 16:37:02 +02:00
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
Follow the steps to connect your IoT Box.
|
|
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect03.png
|
2018-09-20 16:37:02 +02:00
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
Ethernet Connection
|
2023-02-13 15:50:13 +00:00
|
|
|
===================
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2023-02-13 15:50:13 +00:00
|
|
|
#. Connect to the IoT Box all the devices that have to be connected with
|
2018-09-20 16:37:02 +02:00
|
|
|
cables (ethernet, usb devices, etc.).
|
|
|
|
|
|
2023-02-13 15:50:13 +00:00
|
|
|
#. Power on the IoT Box.
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2023-02-13 15:50:13 +00:00
|
|
|
#. Read the Pairing Code from a screen or a receipt printer connected to the IoT Box.
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect04.png
|
2020-06-30 13:54:24 +02:00
|
|
|
|
2023-02-13 15:50:13 +00:00
|
|
|
#. Input the Pairing Code and click on the Pair button.
|
2020-06-30 13:54:24 +02:00
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
Recent changes in modern web browsers forced us to modify the connection wizard.
|
|
|
|
|
If your screen is different from the screenshots, make sure that the
|
|
|
|
|
``iot_pairing`` module is installed.
|
2018-09-20 16:37:02 +02:00
|
|
|
|
|
|
|
|
WiFi Connection
|
2023-02-13 15:50:13 +00:00
|
|
|
===============
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2023-02-13 15:50:13 +00:00
|
|
|
#. Power on the IoT Box
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2023-02-13 15:50:13 +00:00
|
|
|
#. Copy the token
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect05.png
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2023-02-13 15:50:13 +00:00
|
|
|
#. Connect to the IoT Box WiFi Network (make sure there is no ethernet
|
2018-09-20 16:37:02 +02:00
|
|
|
cable plugged in your computer).
|
|
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect06.png
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2023-02-13 15:50:13 +00:00
|
|
|
#. You will be redirected to the IoT Box Homepage (if it doesn't work,
|
2018-09-20 16:37:02 +02:00
|
|
|
connect to the IP address of the box). Give a name to your IoT Box (not
|
|
|
|
|
required) and paste the token, then click on next.
|
|
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect07.png
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2020-06-30 13:54:24 +02:00
|
|
|
.. tip::
|
|
|
|
|
If you are on Runbot, do not forget to add the -all or -base in the
|
|
|
|
|
token (e.g. this token
|
|
|
|
|
**http://375228-saas-11-5-iot-f3f920.runbot16.odoo.com\|4957098401**
|
|
|
|
|
should become
|
|
|
|
|
**http://375228-saas-11-5-iot-f3f920-all.runbot16.odoo.com\|4957098401**).
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2023-02-13 15:50:13 +00:00
|
|
|
#. Choose the WiFi network you want to connect with (enter the password
|
2018-09-20 16:37:02 +02:00
|
|
|
if there is one) and click on Submit. Wait a few seconds before being
|
|
|
|
|
redirected to your database.
|
|
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect08.png
|
2018-09-20 16:37:02 +02:00
|
|
|
|
|
|
|
|
You should now see the IoT Box.
|
|
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect09.png
|
2018-09-20 16:37:02 +02:00
|
|
|
:align: center
|
|
|
|
|
|
|
|
|
|
IoT Box Schema
|
2023-02-13 15:50:13 +00:00
|
|
|
==============
|
2018-09-20 16:37:02 +02:00
|
|
|
|
2022-05-20 09:58:14 +00:00
|
|
|
.. image:: connect/connect10.png
|
2018-09-20 16:37:02 +02:00
|
|
|
:align: center
|