Odoo에 IoT 시스템 연결하기¶
전제 조건¶
IoT 시스템을 Odoo 데이터베이스에 연결하려면 다음 전제 조건이 충족되어야 합니다.
사물 인터넷(IoT) 앱을 반드시 설치 해야 합니다.
IoT 시스템이 네트워크에 연결되어 있어야 합니다.
The device connecting to Odoo must be on the same network as the IoT system.
참고
It is recommended to connect the IoT system to a production instance, as other types of environments may cause issues (e.g., with HTTPS certificate generation).
더 보기:
연결¶
To connect the IoT system to an Odoo database, open the IoT app and click Connect.
The browser then scans the network to which the computer is connected for available IoT systems. If an IoT system is detected, it is connected automatically. If multiple IoT systems are found, select the appropriate one in the popup that opens, then click Connect. If no IoT system is detected automatically, try connecting it to the database using a pairing code or a connection token.
팁
The IoT system’s name is composed of either the IoT box or the Windows computer’s motherboard serial number, followed by its pairing code.
페어링 코드를 통한 연결¶
참고
The pairing code is valid for up to 2 hours after the IoT system powers on. If the code is no longer valid, restart the IoT box or restart the Windows virtual IoT service to display another pairing code. Alternatively, connect the IoT system to the database using a connection token.
The pairing code is not displayed if the IoT system is already connected to a database (e.g., a test database). If necessary, disconnect the IoT system from the database.
IoT 시스템 페어링 코드를 검색합니다:
Connect the IoT box to an external monitor or a USB printer. If the IoT box was already plugged prior to this, restart it.
External monitor: The pairing code will be displayed on the screen after (re)starting the IoT box.
USB 연결 프린터: 페어링 코드가 자동으로 인쇄됩니다.
팁
If no external monitor or printer is connected to the IoT box, access the IoT box’s homepage; the code is displayed in the Pairing Code section.
On the computer with the Windows virtual IoT installed, open the IoT system’s homepage in a web browser by navigating to the URL
http://localhost:8069. Then, scroll to the Pairing Code section.Odoo에서 IoT 앱을 열고 연결 을 클릭합니다.
In the Searching for an IoT Box popup that opens, click Use Pairing Code.
페어링 코드 를 입력한 후 연결 을 클릭합니다.
연결 토큰을 사용한 연결¶
Odoo에서 IoT 앱을 열고 연결 을 클릭합니다.
In the Searching for an IoT Box popup that opens, click Offline pairing.
In the Pair an IoT Box offline popup that opens, copy the Token.
IoT 박스 또는 Windows 가상 IoT 홈페이지에 액세스합니다.
Odoo 데이터베이스 연결됨 섹션에서 환경설정 을 클릭합니다.
토큰을 서버 토큰 필드에 붙여넣고 연결 을 클릭합니다.
참고
IoT 시스템이 데이터베이스에 연결되면:
If the Point of Sale app is installed, a popup appears to select the POS the IoT system should be associated with.
If using an IoT box, wait a few minutes for it to update before using the connected devices.
The IoT system automatically requests an HTTPS certificate and its homepage is updated to a new HTTPS URL ending with
.odoo-iot.comwhen it becomes available.
더 보기:
IoT 시스템 양식¶
Once the IoT system is connected to the Odoo database, it is displayed as a card in the IoT app. Click the card to access the IoT system’s form, which allows to access the IoT box’s or Windows virtual IoT’s homepage and view the list of devices connected to the IoT system.
팁
Enable the developer mode to access the IoT system’s Technical Information, such as its Domain Address, Image Version, and SSL Certificate End Date. By default, drivers are automatically updated every time the IoT system is restarted. To disable automatic updates, uncheck the Automatic drivers update option.
IoT 시스템을 데이터베이스에서 연결 해제¶
To disconnect the IoT system from a database, follow these steps:
Open the IoT app and click the relevant IoT system’s card.
(활동) 아이콘을 클릭하고 삭제 를 선택합니다.
HTTPS 보안 인증서¶
HTTPS is the secure, encrypted version of HTTP. It uses TLS (previously SSL) certificates to authenticate the server and protect the data exchanged between a browser and a website. Some network devices, such as payment terminals, require a valid HTTPS certificate to communicate with the IoT system; without it, they cannot interact properly.
참고
In this documentation and throughout Odoo, the term HTTPS certificate refers to a valid SSL certificate that allows an HTTPS connection.
When the IoT system is (re-)started and connected to a database, it automatically downloads the HTTPS certificate if the database meets the following eligibility criteria:
The database must be a production instance. The database instance should not be a copy, a duplicate, a staging, or a development environment.
반드시 Odoo를 구독 중이어야 합니다 (진행 중 상태).
인증서가 수신된 경우:
The IoT system’s homepage address is updated to a new HTTPS URL ending with
.odoo-iot.com.The HTTPS certificate banner displays the certificate’s validity period. To view this information, click the (cogs) button at the top-right of the IoT system’s homepage.
더 보기: