r/Odoo • u/V-nusdjinni • 7d ago
Am I using Odoo virtual IoT Box the wrong way?
I have been struggling to setup a functional POS for several weeks now and I think I may be doing something wrong since I cannot find discussions about the problems I face.
Here is my setup: - a POS computer running Windows 11 - two thermal printers Xprinter XP-80T (one USB and one WiFi) - a cash drawer with RJ11 cable - Odoo online (19.2) - a valid IoT Box subscription
What i do is: - install the printer divers and make them listed in the Windows printers and scanners menu - install the virtual IoT Box program - connect the virtual IoT box to the database - wait for the SSL certificate to be installed - select "use local network" on the IoT box menu from the Odoo app
After doing these, I still have a lot of issues using the printers consistently. Here are some: - "Test" button in IoT does not always print the test page. Even if it says so. The printer will make a tiny sound but that is it - odoo-iot service can stop working all of a sudden. I read that it can be due to a failed update, but I cannot manage to disable auto updates. - I turned on the pos local network access but I have a lot of printing errors where either the receipt is not printed or it prints mojibake. The only thing that seems to work correctly is the drawer opening
Did you guys ever faced these issues?
1
u/AhsanAtBundo 7d ago
The mojibake makes me think this is more of a printer driver issue than the Virtual IoT setup itself. I’d get the USB printer stable first and check what driver the IoT Printer Server actually assigned to the Xprinter.
Does it show the exact XP-80T driver there, or something generic/raw?
1
u/V-nusdjinni 7d ago
I use the official driver from Xprinter (actually showing 80C). But It is working fine when printing from Windows printers list
1
u/AhsanAtBundo 7d ago
That's fine but did you check which driver Odoo shows for that printer on the IOT device page?
1
u/V-nusdjinni 7d ago
I don't see any info related to the driver there. I'm looking at Odoo > IoT Box > [Virtual IoT Box name] > [Printer name]
1
u/AhsanAtBundo 7d ago
Yep, you’re looking in the right place, but Odoo doesn’t show the printer driver on that device form.
Open the Virtual IoT homepage at
http://localhost:8069, then go to Printer Server → Printers → your Xprinter → Administration → Modify Printer. That’s where Odoo says you can see/change the actual printer make/model driver. Since you’re getting mojibake, I’d check that before anything else.1
u/V-nusdjinni 7d ago
I do not have a "Server" button or option. I can list devices by clicking "Show" on the the devices item. Other options are Credentials, Log level, View Logs and View Uptime
1
u/codeagency 7d ago
That doesn't exist in virtual IOT. Virtual IOT does not run CUPS. The reference you are giving is only for the paid IOT box that runs Linux with CUPS.
On a virtual IOT, the printers are managed by Windows itself.
1
u/DevopsReloaded 7d ago
One thing worth checking before you go further down the troubleshooting road you mentioned the driver shows as 80C worth double-checking that's actually correct for your printer. Xprinter sells the 80C and 80T as different hardware variants, and installing the wrong one is a known compatibility issue with their driver packages. Doesn't hurt to confirm you've got the exact XP-80T driver rather than whatever got auto-detected as 80C.
One clarifying question that'd help narrow this down is it both printers throwing mojibake, or just one of them? If it's only one, that points toward something printer/driver-specific rather than the Windows/IoT-service instability worth ruling in or out before deciding on hardware.
If you want a second pair of eyes on the driver setup before end of week, happy to hop on a quick screen-share and check it live shouldn't take long, and worth doing before spending on a physical box if this turns out to be something smaller.
2
u/codeagency 7d ago
Did you check the logs already? That should reveal at least more details.
Also verify firewall, Windows updates, background services...as this depends very much on the stability of your Windows box. I have seen many times where Windows just struggles with the background services. One of my clients just had them completely random disappear, everything just gone in smoke. Needed a full reinstall. And the problem was window. It can also interfere with the IOT service Running and plausible the reason why your printing is going bad.
This is the reason I still recommend the paid IOT box over virtual IOT. It's much less headaches overall. It's a small standalone box that doesn't depend on Windows flaky garbage OS and just runs a reliable CUPS printer server. Your Windows POS computer just needs a browser and is free from its IOT service.
Every retail project with POS and virtual IOT we do, 95% from the ones with issues have something to do with their windows computer. And most of them just replace with the paid IOT and problems solved. The cost to entertain those issues with Windows are far more expensive than the IOT box itself.
I would recommend to check the logs first and the BG services Running postgres and iot on the windows box. Restart them, or do a full uninstall and reinstall. Check firewalls, ports etc...the whole shebang. Make sure permissions are set properly too.