Overview
The Knowlix IoT module bridges your physical devices with your Knowlix workspace. Connect barcode scanners, receipt printers, label printers, payment terminals, cameras, scales, measurement instruments, customer displays, and foot pedals to extend system functionality into physical spaces like warehouses, manufacturing floors, and retail counters. Supported IoT system types:- IoT Box - a dedicated mini-computer with the Knowlix IoT software pre-installed, connects via Ethernet or Wi-Fi
- Windows Virtual IoT - the Knowlix IoT software installed on a Windows computer
Note: Manufacturing devices including cameras and measurement tools are not compatible with Windows Virtual IoT.An active IoT subscription is required for production use.
IoT Box Setup
Network Connection
Ethernet (recommended): Plug an Ethernet cable into the IoT box’s network port and connect the other end to your router. Attach the power supply. All devices on the network must be on the same subnet: the IoT box, connected devices, and the computer running Knowlix. Wi-Fi:- Connect the IoT box to power (no Ethernet cable attached).
- On your computer, go to Wi-Fi settings and connect to the network named
IoTBox-xxxxxxxxxxxx. - Your browser should automatically open the IoT box homepage. If not, navigate to
http://10.11.12.1. - Click Configure next to Internet Status.
- Select your Wi-Fi network, enter the password, and click Connect.
Security: Never expose the IoT box to the public internet. IoT systems are designed for local network use only.
IoT Box Homepage
Access the homepage by opening a browser on the same network and navigating to the IoT box’s IP address. Find the IP address by:- Connecting the box to an external monitor (IP displays on screen)
- Connecting a supported receipt printer (IP prints automatically)
- Checking your router’s connected device list
Windows Virtual IoT Setup
Prerequisites
- Active IoT subscription
- Windows 10 or Windows 11 computer (laptop, desktop, or server)
- MRP devices (cameras, measurement tools) are NOT supported
Installation
- Download the Knowlix Community edition for Windows matching your database version.
- Open the
.exefile and allow system changes. - Select Odoo IoT from the install type dropdown. Required components: Odoo Server, Odoo IoT, Nginx WebServer, and Ghostscript.
- Set the destination folder to
C:\odoo(avoid user directories). - Complete the installation wizard including GPL Ghostscript setup.
- The IoT homepage opens automatically at
http://localhost:8069.
http://[IoT-IP-address]:8069.
Windows Firewall Configuration
If other devices cannot reach the Windows virtual IoT, configure a firewall rule:- Open Windows Defender Firewall with Advanced Security.
- Select Inbound Rules and click New Rule.
- Select Port as the rule type.
- Enter ports
8069, 80, 443(add9050if using Worldline payment terminals). - Select Allow the connection.
- Apply to relevant network profiles and give the rule a descriptive name.
Windows Virtual IoT Management
Restart the service: Open Windows Services, findodoo-server-xxx, right-click and select Restart.
Uninstall: Use standard Windows program uninstallation. Confirm steps in the uninstall dialog.
Connecting the IoT System to Knowlix
Prerequisites
- IoT module installed in Knowlix
- IoT system connected to the network
- Computer accessing Knowlix on the same network as the IoT system
- Use a production Knowlix instance (staging environments may cause HTTPS certificate issues)
Method 1: Pairing Code
The pairing code displays for up to 5 minutes after the IoT system starts. IoT Box: Connect to an external monitor (code displays on screen) or printer (code prints automatically). Or access the IoT box homepage and look for the Pairing Code section. Windows Virtual IoT: Openhttp://localhost:8069 and scroll to the Pairing Code section.
Then in Knowlix:
- Open the IoT module and click Connect.
- Enter the pairing code in the dialog.
- Click Pair.
Method 2: Connection Token
- In Knowlix, open the IoT module and click Connect.
- Copy the Token shown in the dialog.
- Open the IoT system’s homepage.
- Click Configure in the Knowlix database connected section.
- Paste the token into the Server Token field and click Connect.
IoT System Card
Once connected, the IoT system appears as a card in the IoT module. Click the IP address on the card to open its homepage. Click the card itself to view the list of connected devices. Enable developer mode to see technical details including the system identifier, domain address, and image version. By default, device drivers update automatically each time the IoT system restarts. Disable this in the Technical Information tab on the IoT system form if manual driver control is needed.Updating the IoT System
IoT Box Image Update (Full Reinstall)
Required after upgrading your Knowlix database to a new major version.- Download and install balenaEtcher (or Raspberry Pi Imager).
- Remove the micro SD card from the IoT box and insert it into your computer.
- In balenaEtcher, click Flash from URL and enter the latest IoT box image URL.
- Select the SD card as the target and click Flash.
- Reinsert the SD card and power the IoT box.
IoT Box Core Code Update
Access the IoT box homepage, click the cogs icon, then Update. Click Update under IoT Box Update.Warning: Do not power off the IoT box during a core update. The process can take over 30 minutes and interruption may require a full image reinstall.
Windows Virtual IoT Update
Uninstall the current Windows virtual IoT program and reinstall the latest version.Driver Updates
To force a driver update without restarting:- Access the IoT system homepage and click the cogs icon.
- Click Update, then Force Drivers Update.
HTTPS Certificate
HTTPS is required for communication with payment terminals and some other network devices. The certificate is generated automatically when:- The IoT system is connected to a production Knowlix instance
- An active IoT subscription is in place
Common Certificate Errors
| Error Code | Cause | Resolution |
|---|---|---|
| ERR_IOT_HTTPS_CHECK_NO_SERVER | IoT not connected to Knowlix | Connect the IoT system to your database |
| ERR_IOT_HTTPS_CHECK_CERT_READ_EXCEPTION | Certificate file unreadable | Check file permissions on the IoT system |
| ERR_IOT_HTTPS_LOAD_NO_CREDENTIAL | Missing contract or database UUID | Check credential settings via the cogs button on the IoT homepage |
| ERR_IOT_HTTPS_LOAD_REQUEST_EXCEPTION | Network/internet connectivity issue | Check firewall, VPN, and internet access |
| ERR_IOT_HTTPS_LOAD_REQUEST_STATUS | Unexpected HTTP response | Check service status, open a support ticket with the status code |
| ERR_IOT_HTTPS_LOAD_REQUEST_NO_RESULT | Certificate refused by server | Verify IoT subscription and production instance requirements |
.odoo-iot.com URL, update DNS settings on affected devices to use a public DNS server (e.g., Google DNS 8.8.8.8).
Device Management
Connecting Devices
USB devices: Plug the device into the IoT box or Windows virtual IoT computer. Compatible devices are detected automatically. Refresh the IoT system homepage to confirm the device appears. Bluetooth devices: Activate Bluetooth on the device. The IoT system automatically discovers and connects to compatible devices.Printers
Supported printers connect via USB or network and appear automatically in the IoT Devices list (may take up to 2 minutes). Linking a printer to reports:- Go to IoT > Devices and open the printer.
- In the Printer Reports tab, click Add a line and select report types.
- Not detected: Access the IoT system homepage, click Show in the Devices section to verify. Add the printer manually via Printer Server if needed.
- Printing random characters: Manually select the correct driver in the Printer Server settings (Printers > select printer > Administration > Modify Printer).
- Appears multiple times: The CUPS auto-discovery feature creates duplicate entries for each driver variant. Select the entry that works and ignore others.
- Not recognized correctly: Open the device in IoT > Devices and set the Subtype to Receipt Printer, Label Printer, or Office Printer.
PrinterName__IMC_[params]__ (e.g., EPSON_TM_U220__IMC_LDV_SCALE80__) with appropriate density and scale parameters.
DYMO LabelWriter: Install the correct DYMO driver via Printer Server if labels print incorrectly. After updating the driver, add the printer again as a new entry to eliminate print delays.
Barcode Scanners
Most scanners connect via USB and are detected automatically. Common issues:- Characters don’t match the barcode: Go to IoT > Devices, open the scanner, and set the correct Keyboard Layout for your region.
- Nothing happens when scanning: Verify the scanner is configured to send an ENTER character (keycode 28) after each barcode.
- Detected as keyboard instead of scanner: Open the device in IoT > Devices and enable Is scanner.
- Characters scanned individually on mobile: Set the correct keyboard layout in the device settings.
Cameras
Connect cameras via USB cable. Compatible cameras are detected immediately. Linking a camera to a quality control point:- Navigate to Quality > Quality Control > Control Points.
- Open the control point and set the Type to Take a Picture.
- Select the connected camera in the Device field.
- Go to Manufacturing > Configuration > Work Centers.
- Open the work center and add the camera in the IoT Triggers tab.
- Set the Action to Take a Picture and optionally assign a keyboard trigger.
Scales
Connect scales via USB (using a serial-to-USB adapter if needed). Compatible scales are auto-detected. If not detected, reboot the IoT system and update drivers. After connection, configure the scale in POS settings. Mettler-Toledo Ariva S series: Requires the official Mettler USB-to-RJ45 cable (part number 72256236) and specific scale firmware configuration. Set the USB communication mode to USB Virtual COM ports (option 1) and the protocol to Mettler-Toledo 8217 (option 3) in the scale’s configuration menu.Measurement Tools
Connect measurement tools via USB or Bluetooth. Link them to quality control points by setting the control point Type to Measure and selecting the device. Tolerance ranges and norm values can be configured on the control point. Measured values update automatically during production without manual entry.Customer Displays
Connect screens via HDMI (IoT Box model 3) or micro-HDMI (IoT Box model 4, supports two screens). Connect screens before powering the IoT box. Showing POS orders:- Go to Point of Sale > Configuration > POS settings.
- Enable IoT Box and select the screen in the Customer Display field.
- The screen automatically updates as orders are modified.
Foot Pedals (Footswitches)
Connect footswitches via USB. Configure them on work centers:- Go to Manufacturing > Configuration > Work Centers.
- Add the footswitch in the IoT Triggers tab.
- Set the Action (e.g., Validate or Mark as Done) and an optional keyboard trigger.
SSH Access to IoT Box
SSH connections are available for IoT boxes only (not Windows virtual IoT). Use this feature only with trusted technical personnel. To enable SSH:- Open the IoT box homepage and click the cogs icon.
- Click Remote Debug.
- Click Generate and save the password immediately (it is not shown again after closing the dialog).
- Enter the authentication token from the connecting user.
- Click Enable Remote Debugging.
Troubleshooting
| Problem | Check |
|---|---|
| Pairing code not displayed | Internet connection, subscription status, code expiry (reboot to refresh) |
| IoT system connected but not visible in Knowlix | Wait a few minutes, then reboot the IoT system |
| IoT box reachable but won’t connect | Verify both are on the same network |
| Windows virtual IoT not accessible from other devices | Configure Windows Firewall rule for ports 8069, 80, 443 |
| IoT disconnects after Knowlix upgrade | Update IoT image to match the new Knowlix version |
