WebSocket monitor
WebSocket monitor is a live diagnostics screen for the branch selected in the header. It shows who is connected right now, which kitchen screens and Print Bridge devices are registered, and the latest document and kitchen print jobs. From the same header you can pair a Print Bridge or connect a Web Printer for this location.
Settings → Websockets. Open WebSocket monitor

| Module | Settings |
| Who uses it | Anyone who can open Settings → Websockets (menu visibility is broad). Pairing, connecting a Web Printer, unpairing a device, and reprinting a failed kitchen job need extra permissions (see Before you begin). |
| What it changes | Device pairing and unpairing, Web Printer session on this browser, and kitchen Reprint of a failed job. It does not change stock, sales totals, or accounting by itself. |
Purpose and when to use it
Use this page when you need to:
- Confirm that staff POS sessions or kitchen screens are connected for this branch.
- See whether a KDS screen or Print Bridge is registered and currently online.
- Check why a receipt, delivery ticket, or kitchen ticket did not print.
- Preview the payload of a recent print job without sending it again.
- Pair a Print Bridge agent or connect a Web Printer in this browser.
- Reprint a failed kitchen ticket (when you have permission).
Use another path instead when:
| Situation | Use instead |
|---|---|
| Add a network printer by IP address for the location | Printers |
| Draw the kitchen, change routing, or manage stations in detail | Kitchen designer / Kitchen Stations |
| Reprint a kitchen ticket from the order floor flow | Restaurant kitchen ticket reprint flows (when available on the order screen) |
| Configure Print Bridge Firebase / agent install for IT | Your internal Print Bridge deployment guide (developer docs), not this merchant page |
Typical scenarios
- Service starts. A manager opens the monitor, checks Live connections and Devices online, and pairs a Print Bridge if the kitchen printer agent is new.
- Ticket stuck. Kitchen says a dish never printed. Open Kitchen print jobs, find the product and station, check Status and Error details, then Preview or Reprint if it failed.
- Receipt not printing. Open Recent print jobs, find the sale or delivery ticket, check status, and confirm a bridge or Web Printer is connected.
Before you begin
- Select the correct business and location in the header. Everything on this page is scoped to the active location (devices and jobs for that branch).
- The page needs a signed-in session with an active location. Without them, it asks you to select a business and location first.
- Menu access: Settings → Websockets appears for many roles (including default). Seeing the menu does not mean every action will succeed.
- Pair Print Bridge and Connect Web Printer (new pairing) require
permission to update print devices (
PrintDevice× Update). In practice this is available to owners, administrators, and store managers (and equivalent grants). Without it, the Pair button is hidden; Connect may still open Manage if this browser already has a Web Printer registered. - Unpair on a device row is enforced on the server with the same print-device update permission. The trash control may still appear; without permission the server refuses the change.
- Reprint on a failed kitchen job requires permission to update kitchen
configuration (
KitchenConfiguration× Update). Without it, Reprint is not offered. - Some connection details (staff email / user id) are only shown in full when you have kitchen-configuration update permission; other users see a generic staff label.
Open this Help Center article from the book control in the authenticated header (same place on every screen). When you are on Websockets, that control opens this page.
Understanding the screen
Header
- Title: WebSocket monitor, with an Auto-refreshing badge while live connection status is loading or polling.
- Description: Live connection counts, registered devices, and recent print jobs for this location. Values refresh automatically every few seconds.
- Location badge: the active branch name (for example ZONA 14).
- Device setup
- Pair Print Bridge — creates a short-lived pairing code for the Print Bridge agent.
- Connect Web Printer — opens the browser Web Printer flow (or Manage Web Printer if this browser already has one).
- Refresh — reloads connections, devices, stations, and both print-job lists immediately.

Summary cards
| Card | Meaning |
|---|---|
| Live connections | Total Socket.IO clients currently connected for this location across the Restaurant and KDS channels |
| Devices online | How many registered devices currently have an active socket, out of how many are registered |
| Recent jobs | Count of recent document print jobs plus kitchen print jobs loaded on the page (latest batches, not all history forever) |
Active connections
Two channels:
| Label | Channel | Typical clients |
|---|---|---|
| Restaurant | /restaurant | POS / PWA sessions, Print Bridge agents |
| KDS | /kds | Kitchen display screens |
Each connected client can show identity (user or device), station when known, device id, and socket id. If nobody is connected: No clients connected on this namespace.
If the status request fails: Could not load connection status. Use Try again or Refresh.
Registered devices
Kitchen and bridge devices registered for this location (the on-screen caption says “for this business”; the list itself is filtered by the active location).
| Column | Meaning |
|---|---|
| Name | Device name (or Unnamed device) |
| Type | KDS or Print bridge (other types show as returned by the server) |
| Device ID | Technical identifier |
| Registered | When the device was registered |
| Last seen | Relative time when available (see Known UI note) |
| Socket ID | Live session id, or Not connected |
| Actions | Unpair (trash) |

Print job tabs
Region label: Document and kitchen print job history.
- Recent print jobs — document jobs (receipts, delivery tickets, Z reports, FEL invoices, and similar).
- Kitchen print jobs — thermal kitchen tickets per product / station.

Auto-refresh: connection status and kitchen history about every 10 seconds; document history about every 15 seconds. Devices and stations reload on Refresh (and after pairing / unpair), not on the same short poll.
Field-by-field reference
This page is mostly read-only monitoring. Editable / actionable controls:
| Control | Purpose | Required? | Validations / rules | Example |
|---|---|---|---|---|
| Pair Print Bridge | Request a pairing code for the Print Bridge web UI | Permission required | Needs business + location; code expires after a countdown | Code X3EU-5JQ3, Expires in 590s |
| Copy code | Copy the pairing code | — | Clipboard permission of the browser | Paste into Print Bridge → Config |
| Connect Web Printer | Start or manage browser printing | Permission for new pair | Chrome/Edge desktop; pick USB, Serial, or Bluetooth | USB cable to receipt printer |
| Transport (USB / Serial / Bluetooth) | How the printer is attached | Yes to connect | Only transports the browser supports are enabled | Serial when USB drivers block WebUSB |
| Connect Printer | Finish Web Printer pairing | After transport selected | Disabled until a transport is selected | — |
| Refresh | Reload all sections | — | — | After restarting a bridge |
| Preview | Show ticket / receipt payload | — | Document preview loads job status; kitchen preview uses data already on the list | Check modifiers on a kitchen ticket |
| Reprint | Queue another kitchen print for a failed job | Kitchen config update | Only Failed, non–test-print jobs; blocked while a live reprint is waiting | Reprint GOHAN at COCINA |
| Unpair | Remove device registration | Print device update (server) | Confirm dialog; device stops receiving until paired again | Remove an old KDS Display |
Document job types you may see include Sale receipt, Order receipt, FEL invoice, Delivery ticket, and Z report. Other kinds may appear with a plain label derived from the system name.
Statuses shared by document and kitchen jobs:
| Status | Meaning |
|---|---|
| Pending | Queued, not finished |
| Sent | Handed to the print path / agent |
| Printed | Marked printed |
| Failed | Did not complete; see Error details; kitchen jobs may allow Reprint |
Step-by-step instructions
How to open the monitor
- Sign in and select the branch in the header.
- Open Settings → Websockets.
- Confirm the location badge matches the branch you are troubleshooting.
Expected result: Summary cards, connections, devices, and print tabs load for that location.
How to refresh data
- Click Refresh in the header card.
- Or, on an error banner, click Try again.
Expected result: Connections, devices, stations, and both job lists reload.
How to pair a Print Bridge
Objective: Register a Print Bridge agent for this location so kitchen / document jobs can print through it.
Prerequisites: Print-device update permission; Print Bridge agent UI available on the computer next to the printer.
- Click Pair Print Bridge.
- Wait for the Print Bridge Pairing Code dialog.
- Click Copy code (or note the code).
- In the Print Bridge web UI, open Config and enter the code before it expires (Expires in … s).
- Click Close on the FlowPOS dialog when pairing succeeds on the agent.
- Click Refresh and confirm the device appears under Registered devices and later shows a live Socket ID when connected.
Warnings: The code is short-lived. Do not share it outside your staff. If generation fails, use Retry in the dialog (when shown) or close and open Pair Print Bridge again.
How to connect a Web Printer
Objective: Print from this Chrome or Edge tab while it stays open.
Prerequisites: Desktop Chrome or Edge; print-device update permission for a new pair; printer attached by USB, serial/COM, or Bluetooth.
- Click Connect Web Printer.
- Read any browser support notice if your device is unsupported (phones / tablets and Safari/Firefox are not supported).
- Select USB, Serial / COM Port, or Bluetooth.
- Click Connect Printer and complete the browser device picker.
- Keep the tab open while you need printing (Keep this browser tab open to receive print jobs after success).
If the button says Manage Web Printer, the dialog opens the manage panel instead (disconnect, test print, QR test print, unpair — as offered there).
How to preview a print job
- Open Recent print jobs or Kitchen print jobs.
- Click Preview on the row.
- Review the payload, then close the dialog.
Document preview loads the job from the server. Kitchen preview builds the ticket from the history already shown (no extra send).
How to reprint a failed kitchen ticket
Objective: Send the failed kitchen line to the station printer again.
Prerequisites: Kitchen configuration update permission; job status Failed; not a test print; station printer available.
- Open Kitchen print jobs.
- Find the failed row.
- Click Reprint.
- Confirm the dialog that names the product and station (for example Reprint at COCINA?). Check paper first, as the dialog asks.
- Click Reprint.
Expected result: Toast Reprint sent to the kitchen printer. A new job row is created; the failed row stays as history. If a reprint is already pending or sent, the row shows Reprint waiting instead of another Reprint button.
Errors: Could not reprint — check paper, printer power, station assignment, and that the order line is still valid (voided lines and cancelled orders are refused by the server).
How to unpair a device
- In Registered devices, click the trash Unpair control.
- Confirm Unpair this device? — It will stop receiving updates until it is paired again.
- Click Unpair.
Expected result: The device disappears from the list after refresh. Pair again when needed.
Warning: Unpairing during service can stop kitchen tickets or KDS updates for that device until it is paired again. There is no undo other than pairing again.
In-app discovery
- Route
/settings/websocketssetshelpPathto/settings/websocket-monitorandhelpLabelKeytowebsocket.monitor.help. - The authenticated header book control opens this article (EN / ES twin).
- No extra help chip was added on the page itself.
What users can and cannot do
| Action | Allowed? | Conditions or restrictions |
|---|---|---|
| View monitor | Yes | Menu access + signed-in business/location |
| Refresh / Try again | Yes | — |
| Pair Print Bridge | Conditional | PrintDevice × Update; button hidden if denied |
| Connect / Manage Web Printer | Conditional | New pair needs PrintDevice × Update; Manage if already registered on this browser |
| Preview jobs | Yes | When jobs load |
| Reprint kitchen job | Conditional | Failed, non-test; KitchenConfiguration × Update |
| Retry document job | Not available | No document-job retry on this page |
| Unpair device | Conditional | Server requires PrintDevice × Update |
| Rename device | Not available | Not on this page (other kitchen screens may support rename) |
| Edit / delete historical print jobs | Not available | History is read-only |
| Change stock or sales | Not available | Monitoring and print delivery only |
Record statuses and lifecycle
stateDiagram-v2
[*] --> Pending: Job created
Pending --> Sent: Handed to printer path
Sent --> Printed: Device reports printed
Pending --> Failed: Error
Sent --> Failed: Error
Failed --> Pending: Reprint creates new job
- Reprint does not rewrite the failed row; it creates a new pending job linked as a reprint.
- Test print kitchen rows are labeled Test print and cannot be reprinted from this screen.
Effects on other modules
| Effect | When |
|---|---|
| Kitchen tickets reach station printers | Print Bridge / Web Printer / station printer path is online |
| Document receipts / delivery tickets print | Document print queue + connected print path |
| Device stops receiving | After Unpair |
| New device can receive | After successful Pair / Connect |
| Inventory, purchases, AR/AP, GL | No direct change from this page |
Live Socket.IO events can refresh job lists when new print jobs arrive while you stay on the page.
Practical examples
- Everyday. Before lunch, the manager opens Websockets, sees 1 live connection and Devices online 1 of 2, then leaves the Print Bridge tab running next to the kitchen printer.
- Complex. Delivery tickets stay Pending. Recent print jobs shows many Delivery ticket rows. The team pairs Print Bridge again and keeps the agent online; new tickets move to Printed.
- Mistake. Unpairing the only Print Bridge during dinner. Kitchen jobs pile up as Pending / Failed. Pair again with a fresh code and Reprint only the failed kitchen lines that still need paper.
Common errors and troubleshooting
| Problem | Possible cause | Recommended solution |
|---|---|---|
| Page asks for business / location | Nothing selected in the header | Select business and location |
| Could not load connection status | Network or API error | Try again / Refresh; check connectivity |
| Could not load devices / print jobs | Same | Try again; confirm location |
| Pair button missing | No print-device update permission | Ask an owner or store manager |
| Pairing code expired | Countdown reached zero | Open Pair Print Bridge again for a new code |
| Web Printer unsupported notice | Phone/tablet or unsupported browser | Use desktop Chrome/Edge, or Print Bridge on a PC |
| Connect Printer disabled | No transport selected | Choose USB, Serial, or Bluetooth |
| USB fails / Serial suggested | Driver blocked WebUSB | Use Serial / COM Port or Print Bridge |
| Jobs stay Pending | Agent offline, wrong location, no printer | Check Devices online, pair again, power printer |
| No Reprint | Not failed, is test print, or no permission | Fix printer first; ask a role with kitchen config update |
| Reprint waiting | A reprint already pending/sent | Wait for it to print or fail; do not expect a second button yet |
| Column title shows raw “Last seen” with an unfilled placeholder | Label string used without filling the time | Use Registered / socket status; see known UI note |
Known UI note
The devices table reuses a kitchen label string that includes an unfilled
when placeholder as the column title. Relative “last seen” values still
appear in the cells when the server provides a timestamp. This is a display
quirk, not a separate “last seen” feature.
Best practices
- Open the monitor on the same branch that is having the printing problem.
- Keep Print Bridge or the Web Printer tab online during service.
- Prefer Preview before Reprint so you confirm station and product.
- Do not unpair devices mid-service unless you are replacing them.
- Use Printers for stable network IP printers; use this page for live status, bridge pairing, and job history.
- Treat pairing codes like temporary passwords.
Frequently asked questions
Where do I open this Help Center page from the app?
Use the book control in the authenticated header while you are on
Settings → Websockets.
Does “Auto-refreshing” update everything?
Connections and print histories poll automatically. Device and station lists
update mainly when you Refresh, pair, or unpair.
Why do I see my email under Restaurant connections?
That is your (or a coworker’s) live POS / PWA session on the /restaurant
channel for this location.
Can I delete old print jobs from here?
No. The lists are recent history only.
Is Reprint the same as sending the whole order again?
No. It queues another kitchen print for that failed line to the same station
rules the server allows.
Websockets vs Printers?
Printers stores network/device printer configuration. WebSocket monitor
shows live sockets, registered KDS/bridge devices, job queues, and pairing
shortcuts.
Who can pair devices?
Roles with print-device update permission (typically owners, administrators,
store managers). The server enforces this even if a control is visible.
Why are kitchen jobs Pending for days?
Often the print agent was offline or the printer unreachable. Fix connectivity,
then Reprint only what still needs paper.
Related features and documentation
- Printers — register and test location printers by address
- Kitchen designer — stations, screens, routing
- Reprint a kitchen ticket — order-side reprint guidance when that flow applies
- Settings overview