- Direct mode (default) — Each terminal talks directly to Odoo via HTTP polling and an outbox queue. No additional infrastructure needed.
- Hub mode (opt-in) — Terminals connect via WebSocket to a local Node.js hub that coordinates all activity and acts as the sole gateway to Odoo.
Package structure
Enable hub mode
1
Deploy the hub server
See deployment for Raspberry Pi, Docker, and systemd setup.
2
Configure Odoo
Set these fields on the shared POS config:
nu_hub_enabled=Truenu_hub_url=ws://<hub-ip>:8766(or leave blank for mDNS discovery)
3
Verify
Terminals pick up the config on next bootstrap and connect via WebSocket. Open the hub dashboard at
http://<hub-ip>:8766/ to confirm.