Two kinds of room status

StatusRecordsDirection
Occupancy: is a guest checked inCheck-in GI, checkout GO, change/room move GCOPERA → third party
Cleaning and service: dirty, clean, DND, make up roomRoom status REBoth (per hotel configuration)

Room control that only cares about occupancy needs guest records alone; cleaning robots and housekeeping systems also need RE. See guest records and room status records.

Steps

  1. Connect and handshake: after the TCP connection, send LS and LD, then declare every record and field you need with LR, for example LR|RIGI|FLRNG#GNGAGD|. OPERA won’t send records you didn’t declare. See link control records.
  2. Initialise: after the handshake send DR for a database resync; OPERA sends current in-house guests and room status between DS…DE, the starting point for your local state.
  3. Handle live events: update local state by room; on a room move handle both the old room and the new one; separate sharers by reservation so a partial checkout doesn’t clear the whole room.
  4. Send status back (optional): when your system changes cleaning status, send an RE record, if housekeeping agrees.
  5. Keep alive and reconnect: send LA when idle; treat a missing LA from the other side as link loss, reconnect, handshake again and resync with DR.

Common problems

  • Events lost during an outage: FIAS doesn’t replay events from while the link was down; the post-reconnect DR fills the gap. Test recovery after a link drop before go-live, not just live events.
  • Night audit: OPERA sends NS / NE markers during night audit; handle status changes in that window per hotel procedure. See database sync and night audit.
  • Room number format: local room numbers must match OPERA exactly, including leading zeros and building prefixes.