e3fee2cf46
Prior to this commit, the Odoo documentation was mainly split between
two repositories: odoo/odoo/doc and odoo/documentation-user. Some bits
of documentation were also hosted elsewhere (e.g., wiki, upgrade, ...).
This was causing several problems among which:
- The theme, config, Makefile, and similar technical resources had to
be duplicated. This resulted in inconsistent layout, features, and
build environments from one documentation to another.
- Some pages did not fit either documentation as they were relevant
for both users and developers. Some were relevant to neither of the
two (e.g., DB management).
- Cross-doc references had to be absolute links and they broke often.
- Merging large image files in the developer documentation would bloat
the odoo/odoo repository. Some contributions had to be lightened to
avoid merging too many images (e.g., Odoo development tutorials).
- Long-time contributors to the user documentation were chilly about
going through the merging process of the developer documentation
because of the runbot, mergebot, `odoo-dev` repository, etc.
- Some contributors would look for the developer documentation in the
`odoo/documentation-user` repository.
- Community issues about the user documentation were submitted on the
`odoo/odoo` repository and vice-versa.
Merging all documentations in one repository will allow us to have one
place, one theme, one work process, and one set of tools (build
environment, ...) for all of the Odoo docs.
As this is a good opportunity to revamp the layout of the documentation,
a brand new theme replaces the old one. It features a new way to
navigate the documentation, centered on the idea of always letting the
reader know what is the context (enclosing section, child pages, page
structure ...) of the page they are reading. The previous theme would
quickly confuse readers as they navigated the documentation and followed
cross-application links.
The chance is also taken to get rid of all the technical dangling parts,
performance issues, and left-overs. Except for some page-specific JS
scripts, the Odoo theme Sphinx extension is re-written from scratch
based on the latest Sphinx release to benefit from the improvements and
ease future contributions.
task-2351938
task-2352371
task-2205684
task-2352544
Closes #945
82 lines
2.1 KiB
ReStructuredText
82 lines
2.1 KiB
ReStructuredText
===================================
|
|
Connect an IoT Box to your database
|
|
===================================
|
|
|
|
Install the Internet of Things (IoT) App on your Odoo Database.
|
|
|
|
.. image:: media/connect01.png
|
|
:align: center
|
|
|
|
Go in the IoT App and click on Connect on the IoT Boxes page.
|
|
|
|
.. image:: media/connect02.png
|
|
:align: center
|
|
|
|
Follow the steps to connect your IoT Box.
|
|
|
|
.. image:: media/connect03.png
|
|
:align: center
|
|
|
|
Ethernet Connection
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
1. Connect to the IoT Box all the devices that have to be connected with
|
|
cables (ethernet, usb devices, etc.).
|
|
|
|
2. Power on the IoT Box.
|
|
|
|
3. Read the Pairing Code from a screen or a receipt printer connected to the IoT Box.
|
|
|
|
.. image:: media/connect04.png
|
|
|
|
4. Input the Pairing Code and click on the Pair button.
|
|
|
|
.. 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.
|
|
|
|
WiFi Connection
|
|
~~~~~~~~~~~~~~~
|
|
|
|
1. Power on the IoT Box
|
|
|
|
2. Copy the token
|
|
|
|
.. image:: media/connect05.png
|
|
|
|
3. Connect to the IoT Box WiFi Network (make sure there is no ethernet
|
|
cable plugged in your computer).
|
|
|
|
.. image:: media/connect06.png
|
|
|
|
4. You will be redirected to the IoT Box Homepage (if it doesn't work,
|
|
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.
|
|
|
|
.. image:: media/connect07.png
|
|
|
|
.. 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**).
|
|
|
|
5. Choose the WiFi network you want to connect with (enter the password
|
|
if there is one) and click on Submit. Wait a few seconds before being
|
|
redirected to your database.
|
|
|
|
.. image:: media/connect08.png
|
|
|
|
You should now see the IoT Box.
|
|
|
|
.. image:: media/connect09.png
|
|
:align: center
|
|
|
|
IoT Box Schema
|
|
~~~~~~~~~~~~~~
|
|
|
|
.. image:: media/connect10.png
|
|
:align: center
|