A guest-room sequence of operations is a state machine, not a wiring diagram. Define six occupancy states, assign one HVAC setpoint and one lighting scene to each, then write transition triggers with explicit delays. The template below is copy-ready: swap the point names for your BMS tags and keep the timing values as a starting baseline.
1. Start with states, not devices
The most common mistake is writing a sequence as a list of devices - "when the door opens, turn on the lights". That produces contradictions the first time two sensors disagree. Write the room as a state machine first, then map each state to outputs.
A guest room needs six states:
| State | Entry trigger | HVAC | Lighting | Notes |
|---|---|---|---|---|
| Vacant | No rental, no occupancy for 30 min | 26 °C cooling setback, fan auto | All off | Deep setback; curtain closed in high-solar façades |
| Pre-occupied | PMS check-in event | 24 °C, fan low | Welcome scene ~60 % | Pre-condition before the guest arrives; time out after 45 min if no presence |
| Occupied | Presence confirmed (door + PIR) | 24 °C, guest setpoint ±3 °C | Guest choice retained | Guest setpoint wins over the template |
| Sleep | 23:00-07:00 + no motion 20 min | 25 °C, fan low, no valve slam | All off, night light on DND | Never re-enable bright scenes on a motion blip |
| Away | No presence 15 min, door closed | 26 °C setback, fan auto | All off, controlled sockets off | Keep DND/MUR, connectivity and safe sockets live |
| Checkout | PMS checkout or housekeeping card | 27 °C, fan off | All off | Hand over to housekeeping; do not auto-release to Vacant until inspected |
2. Fix the transitions before the setpoints
Two rules do most of the work:
- Presence needs two sources. Door contact alone gives false "occupied" when a housekeeper props the door; PIR alone gives false "away" when a guest is reading in bed. Use
door_closed AND motion_seen_within_15minfor Occupied, and require both to be absent for 15 continuous minutes before entering Away. A mmWave presence sensor removes most of the PIR failure mode in sleeping guests. - Every setback needs a deadband and a delay. A 0.2 °C COV threshold on the room temperature will flood the BMS with updates and make the valve hunt. Use 0.5 °C COV with a 60 s polling interval for room points, and a 15 min away-delay so a guest stepping into the corridor does not trigger a full setback.
The tradeoff: aggressive setbacks save energy but generate complaints. On a 168-room property, moving the away setpoint from 26 °C to 28 °C cut fan-coil runtime noticeably in our commissioning logs, but the recovery to 24 °C took long enough that front-desk calls increased. 26 °C with a 15 min delay is the safer baseline; tighten only after you have a week of trend data.
3. Point list - the part people actually want to copy
Keep the point list flat and name the physical quantity, not the product. A minimal guest-room object for a BACnet or Modbus interface:
| Point | Type | Range / values | Notes |
|---|---|---|---|
RM_OCC_STATE | MSV | 0 Vacant / 1 Pre-occupied / 2 Occupied / 3 Sleep / 4 Away / 5 Checkout | Written by the room controller, read-only to BMS |
RM_DOOR | BI | 0 open / 1 closed | Debounce 500 ms; door contacts chatter |
RM_PRESENCE | BI | 0 / 1 | Door + motion fusion, or mmWave |
RM_TEMP_SP | AV | 21-28 °C | Guest override clamped to ±3 °C of 24 °C |
RM_TEMP | AI | °C | COV 0.5, poll 60 s |
RM_FAN_CMD | MSV | 0 auto / 1 low / 2 med / 3 high | Never command high in Sleep |
RM_VALVE | AO | 0-100 % | Ramp limit to avoid valve slam at night |
RM_SCENE | MSV | 0 off / 1 welcome / 2 work / 3 relax / 4 night | Scene recall must be idempotent |
RM_DND / RM_MUR | BI | 0 / 1 | Must survive Away and Checkout |
RM_PMS_LINK | BI | 0 / 1 | Expose link health; most "ghost" faults are PMS timeouts |
RS-485/Modbus sites: keep room points in one contiguous register block per room so a gateway can poll one range instead of 12 scattered reads. On a 200-room floor that is the difference between a 2 s and a 20 s refresh.
4. Commissioning checks that catch the real failures
- Sleep-state motion test: sit still for 25 min with the lights off. If a bright scene returns, the PIR timeout is shorter than the away-delay.
- PMS timeout test: disconnect the PMS link for 10 min. The room must hold its last state and raise
RM_PMS_LINK = 0, not fall back to Vacant and dump the guest's setpoint. - Door-chatter test: open and close the door 20 times in 30 s. Occupancy state must not flap.
- Checkout handover: a housekeeping card must not silently release the room to Vacant while a guest is still inside; require an explicit "inspected" flag.
- Trend one week before tuning: log state transitions, not just temperatures. Most energy overruns come from rooms oscillating between Occupied and Away.
5. What this document is not
A sequence of operations is a logic specification for the controls contractor and the BMS integrator. It does not cover device selection, bus topology, wiring practice or ETS commissioning - those are separate documents. It also does not replace the manufacturer's own sequence for packaged equipment; where a packaged unit has a fixed internal sequence, write the interface and the exceptions instead of duplicating it.