Windows virtual IoT¶
Untuk mulai menggunakan Windows virtual IoT:
Make sure all prerequisites are met.
Install the Windows virtual IoT on a Windows computer.
Hubungkan perangkat Anda ke Windows virtual IoT.
Prasyarat-Prasyarat¶
The following prerequisites must be met before setting up and using the Windows virtual IoT:
A valid IoT box subscription.
An updated and recent version of Windows (i.e., Windows 10 or Windows 11) installed on a Windows computer (laptop, desktop, or server).
Catatan
Perangkat MRP, termasuk kamera dan alat pengukuran, tidak kompatibel dengan Windows virtual IoT.
Dimungkinkan juga untuk membuat Windows Virtual Machine pada komputer MacOS/Linux. Namun, opsi ini tidak didukung oleh Odoo, dan tidak ada bantuan penyelesaian masalah yang akan diberikan.
Penting
Jangan pernah membuat Windows virtual IoT dapat diakses dari Internet publik. Sistem IoT dirancang untuk memberikan akses database ke perangkat di jaringan lokal. Mengeksposnya ke Internet publik akan menciptakan risiko keamanan.
Penginstalan¶
Untuk menginstal Windows virtual IoT pada komputer Windows:
Access Odoo's download page and download the Community edition of Odoo for Windows matching your database's version.
Buka file
.exeyang diunduh, izinkan aplikasi untuk membuat perubahan pada perangkat Anda, pilih bahasa, dan klik OK.Klik Next, kemudian I Agree untuk menerima syarat dan ketentuan dan melanjutkan.
Select Odoo IoT from the Select the type of install dropdown list. The following components should be selected: Odoo Server, Odoo IoT, Nginx WebServer, and Ghostscript interpreter.
Verifikasi bahwa Anda memiliki ruang yang diperlukan di komputer Anda dan klik Next.
Di Destination folder, masukkan C:\odoo dan klik Install.
Peringatan
Do not install Odoo's Windows virtual IoT in any Windows user directory, as this can cause issues with HTTPS certificate generation.
Once the installation is complete, click Next.
Siapkan GPL Ghostscript: Klik Next, setujui syarat dan ketentuan, klik Install, kemudian Finish.
Click Next, Next, and Finish to complete the setup. The IoT system's homepage automatically opens in a web browser with the URL
http://localhost:8069.Tip
If the web browser does not show anything, restart the Windows virtual IoT service.
Periksa bahwa Anda dapat mengakses homepage sistem IoT di browser web:
pada komputer Windows virtual IoT, dan
pada perangkat lain di jaringan yang sama dengan sistem IoT dengan menavigasi ke URL
http://xxx:8069(dimanaxxxadalah alamat IP sistem IoT).on another device on the same network as the IoT system by navigating to the URL
https://xxx(wherexxxis the IoT system's IP address) to test for HTTPS connection.Tip
Jika Anda tidak dapat mengakses homepage sistem IoT dari perangkat lain, buat aturan Windows Firewall untuk mengizinkan komunikasi melalui port
8069.
Konfigurasi Windows Firewall¶
Firewalls help keep devices secure but can sometimes block legitimate connections. If the Windows virtual IoT isn't accessible on the LAN, for example from another device, it could be due to a firewall blocking the connection. To prevent this issue, configure exceptions for network discovery in the OS or firewall settings.
Catatan
Jika perangkat lunak firewall pihak ketiga terpasang pada komputer Windows, rujuk dokumentasi perangkat lunak tersebut untuk mengonfigurasi pengecualian firewall.
To create a rule on Windows Defender and allow communication through port 8069, follow these
steps:
Cari
firewalldi menu mulai Windows dan pilih aplikasi Windows Defender Firewall with Advanced Security.Di bagian kiri jendela, pilih Inbound Rules.
Di bagian kanan jendela, di bawah Actions, klik New Rule.
Pada New Inbound Rule Wizard yang terbuka, pilih jenis aturan Port dan klik Next.
Pada halaman Protocols and Ports, pastikan TCP dan Specified local ports dipilih, masukkan berikut di bidang:
8069, 80, 443, dan klik Next.Catatan
Other ports may be necessary depending on your IoT devices. For example, for the Worldline payment terminal, add the
9050port.Pada halaman Action, pilih Allow the connection dan klik Next.
Pada halaman Profile, nonaktifkan jenis koneksi apa pun yang tidak berlaku untuk komputer Windows Anda dan klik Next.
Pada halaman Name, berikan Name (misalnya,
Odoo) dan, secara opsional, Description singkat, lalu klik Finish.
Lihat juga
Halaman beranda Windows virtual IoT¶
Untuk mengakses halaman beranda Windows virtual IoT, navigasikan ke URL http://localhost:8069 pada komputer Windows virtual IoT atau buka browser web dari komputer lain pada jaringan yang sama dengan sistem IoT dan navigasikan ke URL http://xxx:8069 (di mana xxx adalah alamat IP sistem IoT).
Once the Windows virtual IoT is connected to the Odoo database, its homepage can be accessed from Odoo by opening the IoT app and clicking the URL displayed on the IoT system's card.
Catatan
Pastikan Windows Firewall dikonfigurasi untuk mengizinkan akses.
Koneksi perangkat¶
Sebagian besar perangkat secara otomatis terhubung ke komputer Windows yang digunakan untuk Windows Virtual IoT melalui Windows Plug and Play (PnP). Namun, jika Windows tidak mengenali perangkat secara otomatis saat koneksi, administrator mungkin perlu memasang driver yang sesuai secara manual.
Tip
Setelah menghubungkan perangkat ke komputer, segarkan halaman beranda sistem IoT untuk memverifikasi bahwa perangkat terdaftar. Jika perangkat tidak muncul, muat ulang handler dari halaman beranda sistem IoT.
Restart Windows virtual IoT¶
To manually restart the Windows IoT server, search the Windows start menu for services and
select the Services app. Scroll down to the odoo-server-xxx service (where
xxx is the odoo version), right-click it, and select Start or Restart.
Hapus instalan Windows virtual IoT¶
Untuk menghapus instalan Windows virtual IoT, hapus instalan program Odoo pada komputer Windows Anda. Konfirmasi penghapusan instalan dan selesaikan langkah-langkah dalam dialog Odoo Uninstall.