Odoo에 IoT 시스템 연결하기

전제 조건

IoT 시스템을 Odoo 데이터베이스에 연결하려면 다음 전제 조건이 충족되어야 합니다.

  • 사물 인터넷(IoT) 앱을 반드시 설치 해야 합니다.

  • IoT 시스템이 네트워크에 연결되어 있어야 합니다.

  • Odoo에 연결하는 컴퓨터는 IoT 시스템과 동일한 네트워크에 연결되어 있어야 합니다.

참고

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).

접속

The IoT system can be connected to the Odoo database using a pairing code or a connection token.

페어링 코드를 통한 연결

참고

  • 페어링 코드는 IoT 시스템이 시작된 후 최대 5분 동안 표시됩니다. 코드가 더 이상 표시되지 않으면 IoT 박스를 재부팅하거나 Windows 가상 IoT 서비스 다시 시작 으로 페어링 코드를 다시 표시합니다. 또는 연결 토큰 을 사용하여 IoT 시스템을 데이터베이스에 연결합니다.

  • The pairing code is not displayed if the IoT system is already connected to a database (e.g., a test database).

  1. IoT 시스템 페어링 코드를 검색합니다.

    Connect the IoT box to an external monitor or printer. If the IoT box was already plugged prior to this, reboot it by unplugging it for a few seconds and replugging it.

    • External monitor: The pairing code should be displayed on the screen a few minutes after rebooting the IoT box.

    • 프린터: 페어링 코드가 자동으로 인쇄됩니다.

    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.

  2. Odoo에서 IoT 앱을 열고 연결 을 클릭합니다.

  3. IoT 박스 연결 팝업이 열리면 페어링 코드 를 입력합니다.

  4. 페어 를 클릭합니다.

연결 토큰을 사용한 연결

  1. Odoo에서 IoT 앱을 열고 연결 을 클릭합니다.

  2. IoT 박스 연결하기 팝업에서 토큰 을 복사합니다.

  3. IoT 박스 또는 Windows 가상 IoT 홈페이지에 액세스합니다.

  4. Odoo 데이터베이스 연결됨 섹션에서 환경설정 을 클릭합니다.

  5. 토큰을 서버 토큰 필드에 붙여넣고 연결 을 클릭합니다.

IoT 시스템 양식

IoT 시스템이 Odoo 데이터베이스에 연결되면 IoT 앱에 카드로 표시됩니다. 카드에 있는 IP 주소를 클릭하면 IoT 박스 또는 Windows 가상 IoT 홈페이지에 접속할 수 있습니다. 카드를 클릭하면 IoT 시스템에 연결된 장치 목록에 액세스할 수 있습니다.

Enable the developer mode to access the IoT system’s Technical Information, such as its Identifier, Domain address, and Image version.

참고

By default, drivers are automatically updated every time the IoT system is restarted. To disable automatic updates, uncheck the Automatic drivers update option.

문제 해결

페어링 코드가 표시되지 않거나 작동하지 않습니다.

다음과 같은 상황에서는 페어링 코드 가 표시되지 않거나 인쇄가 되지 않을 수 있습니다.

  • IoT 시스템이 인터넷에 연결되어 있지 않습니다.

  • IoT 시스템이 이미 Odoo 데이터베이스에 연결되어 있습니다.

  • The pairing code display time has expired. Reboot the IoT box or restart the Windows virtual IoT service to display the pairing code again.

  • IoT 시스템의 이미지 버전이 너무 오래되어 업데이트 해야 합니다.

IoT 시스템은 연결되었지만 데이터베이스에 표시되지 않음

The IoT system might take a few minutes to restart when it connects to a database. If it still does not appear after a few minutes:

IoT 박스가 Odoo 데이터베이스에 연결되었으나 접근할 수 없음

Verify that the IoT system and the computer running the Odoo database are connected to the same network.

Windows 가상 IoT 홈페이지는 다른 장치에서 액세스할 수 없습니다.

Windows 방화벽 환경설정 를 확인하세요.

Odoo 업그레이드 후 데이터베이스에서 IoT 시스템 연결이 끊어졌습니다.

Update the IoT system’s image by flashing the IoT box’s card or uninstalling the Windows virtual IoT program and reinstalling the latest package for Windows matching your database’s version.