Adding the IoT Box to Odoo
Our IoT Box is connected to the local network and ready to be used with Odoo. In this recipe, we will connect the IoT Box with the Odoo instance.
Getting ready
Make sure the IoT Box is on and that you have connected the IoT Box to the same Wi-Fi network as the computer with the Odoo instance.
There are a few things you need to take care of; otherwise, the IoT Box will not be added to Odoo:
- If you are testing the IoT Box in a local instance, you will need to use
http://192.168.*.*:8069
(your local IP) instead ofhttp://localhost:8069
. If you use localhost, the IoT Box will not be added to your Odoo instance. - You need to connect the IoT Box with the same Wi-Fi/Ethernet network as the computer on which the Odoo instance is being used. Otherwise, the IoT Box will not be added to your Odoo instance.
- If your Odoo instance is running with multiple databases, IoT Box will not auto-connect with the Odoo instance. Use the
--db-filter
option...