Skip to main content

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

WebSocket monitor overview with Device setup, live summary cards, and active connections

ModuleSettings
Who uses itAnyone 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 changesDevice 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:

SituationUse instead
Add a network printer by IP address for the locationPrinters
Draw the kitchen, change routing, or manage stations in detailKitchen designer / Kitchen Stations
Reprint a kitchen ticket from the order floor flowRestaurant kitchen ticket reprint flows (when available on the order screen)
Configure Print Bridge Firebase / agent install for ITYour internal Print Bridge deployment guide (developer docs), not this merchant page

Typical scenarios​

  1. 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.
  2. 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.
  3. 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​

  • 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.

Print Bridge pairing code dialog with code, Copy code, and expiry countdown

Summary cards​

CardMeaning
Live connectionsTotal Socket.IO clients currently connected for this location across the Restaurant and KDS channels
Devices onlineHow many registered devices currently have an active socket, out of how many are registered
Recent jobsCount of recent document print jobs plus kitchen print jobs loaded on the page (latest batches, not all history forever)

Active connections​

Two channels:

LabelChannelTypical clients
Restaurant/restaurantPOS / PWA sessions, Print Bridge agents
KDS/kdsKitchen 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).

ColumnMeaning
NameDevice name (or Unnamed device)
TypeKDS or Print bridge (other types show as returned by the server)
Device IDTechnical identifier
RegisteredWhen the device was registered
Last seenRelative time when available (see Known UI note)
Socket IDLive session id, or Not connected
ActionsUnpair (trash)

Connect Web Printer dialog with USB, Serial / COM Port, and Bluetooth options

Region label: Document and kitchen print job history.

  1. Recent print jobs — document jobs (receipts, delivery tickets, Z reports, FEL invoices, and similar).
  2. Kitchen print jobs — thermal kitchen tickets per product / station.

Kitchen print jobs tab with Pending jobs, station COCINA, and Preview actions

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:

ControlPurposeRequired?Validations / rulesExample
Pair Print BridgeRequest a pairing code for the Print Bridge web UIPermission requiredNeeds business + location; code expires after a countdownCode X3EU-5JQ3, Expires in 590s
Copy codeCopy the pairing code—Clipboard permission of the browserPaste into Print Bridge → Config
Connect Web PrinterStart or manage browser printingPermission for new pairChrome/Edge desktop; pick USB, Serial, or BluetoothUSB cable to receipt printer
Transport (USB / Serial / Bluetooth)How the printer is attachedYes to connectOnly transports the browser supports are enabledSerial when USB drivers block WebUSB
Connect PrinterFinish Web Printer pairingAfter transport selectedDisabled until a transport is selected—
RefreshReload all sections——After restarting a bridge
PreviewShow ticket / receipt payload—Document preview loads job status; kitchen preview uses data already on the listCheck modifiers on a kitchen ticket
ReprintQueue another kitchen print for a failed jobKitchen config updateOnly Failed, non–test-print jobs; blocked while a live reprint is waitingReprint GOHAN at COCINA
UnpairRemove device registrationPrint device update (server)Confirm dialog; device stops receiving until paired againRemove 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:

StatusMeaning
PendingQueued, not finished
SentHanded to the print path / agent
PrintedMarked printed
FailedDid not complete; see Error details; kitchen jobs may allow Reprint

Step-by-step instructions​

How to open the monitor​

  1. Sign in and select the branch in the header.
  2. Open Settings → Websockets.
  3. 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​

  1. Click Refresh in the header card.
  2. 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.

  1. Click Pair Print Bridge.
  2. Wait for the Print Bridge Pairing Code dialog.
  3. Click Copy code (or note the code).
  4. In the Print Bridge web UI, open Config and enter the code before it expires (Expires in … s).
  5. Click Close on the FlowPOS dialog when pairing succeeds on the agent.
  6. 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.

  1. Click Connect Web Printer.
  2. Read any browser support notice if your device is unsupported (phones / tablets and Safari/Firefox are not supported).
  3. Select USB, Serial / COM Port, or Bluetooth.
  4. Click Connect Printer and complete the browser device picker.
  5. 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​

  1. Open Recent print jobs or Kitchen print jobs.
  2. Click Preview on the row.
  3. 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.

  1. Open Kitchen print jobs.
  2. Find the failed row.
  3. Click Reprint.
  4. Confirm the dialog that names the product and station (for example Reprint at COCINA?). Check paper first, as the dialog asks.
  5. 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​

  1. In Registered devices, click the trash Unpair control.
  2. Confirm Unpair this device? — It will stop receiving updates until it is paired again.
  3. 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/websockets sets helpPath to /settings/websocket-monitor and helpLabelKey to websocket.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​

ActionAllowed?Conditions or restrictions
View monitorYesMenu access + signed-in business/location
Refresh / Try againYes—
Pair Print BridgeConditionalPrintDevice × Update; button hidden if denied
Connect / Manage Web PrinterConditionalNew pair needs PrintDevice × Update; Manage if already registered on this browser
Preview jobsYesWhen jobs load
Reprint kitchen jobConditionalFailed, non-test; KitchenConfiguration × Update
Retry document jobNot availableNo document-job retry on this page
Unpair deviceConditionalServer requires PrintDevice × Update
Rename deviceNot availableNot on this page (other kitchen screens may support rename)
Edit / delete historical print jobsNot availableHistory is read-only
Change stock or salesNot availableMonitoring 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​

EffectWhen
Kitchen tickets reach station printersPrint Bridge / Web Printer / station printer path is online
Document receipts / delivery tickets printDocument print queue + connected print path
Device stops receivingAfter Unpair
New device can receiveAfter successful Pair / Connect
Inventory, purchases, AR/AP, GLNo 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​

  1. 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.
  2. 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.
  3. 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​

ProblemPossible causeRecommended solution
Page asks for business / locationNothing selected in the headerSelect business and location
Could not load connection statusNetwork or API errorTry again / Refresh; check connectivity
Could not load devices / print jobsSameTry again; confirm location
Pair button missingNo print-device update permissionAsk an owner or store manager
Pairing code expiredCountdown reached zeroOpen Pair Print Bridge again for a new code
Web Printer unsupported noticePhone/tablet or unsupported browserUse desktop Chrome/Edge, or Print Bridge on a PC
Connect Printer disabledNo transport selectedChoose USB, Serial, or Bluetooth
USB fails / Serial suggestedDriver blocked WebUSBUse Serial / COM Port or Print Bridge
Jobs stay PendingAgent offline, wrong location, no printerCheck Devices online, pair again, power printer
No ReprintNot failed, is test print, or no permissionFix printer first; ask a role with kitchen config update
Reprint waitingA reprint already pending/sentWait for it to print or fail; do not expect a second button yet
Column title shows raw “Last seen” with an unfilled placeholderLabel string used without filling the timeUse 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.