Guestroom Occupancy Sensing Logic: Door, PIR and Timers
Q&A

Guestroom Occupancy Sensing Logic: Door, PIR and Timers

HOME > Q&A

Reliable guestroom occupancy detection combines a door contact with at least one motion or presence sensor, and treats the door as the only way in or out. Motion seen after the door closes latches the room as occupied until the door opens again; no motion within a verification window after the door closes marks it unoccupied. A motion timer on its own will switch off the air-conditioning on a sleeping guest.

This technical reference is written by Singapore-based AV and IPTV integrator Prestige Solutions for interior project managers, hotel engineers and consultants who specify or accept a smart room control system. It sets out the room states, the transitions between them, the timer values to start from, where sensors go, and the tests that prove the logic before handover. Timer and temperature figures are planning values as of 2026; the controller vendor's documentation and the hotel's own comfort standard decide the final settings.

Why is a motion timer alone not enough?

Because a passive infrared (PIR) sensor detects movement, not presence. It responds to a warm body moving across its detection zones, so a guest who is asleep, reading in bed or sitting at the desk produces little or no signal. A room that relies on "no motion for 20 minutes means empty" will make the wrong decision every night.

The opposite shortcut fails as well. A key card holder reports that a card is in the slot, not that a person is in the room, and a spare card left in place keeps an empty room fully powered. Door-plus-motion logic removes both errors because it only has to answer one question after each door closure: did anyone stay inside?

Which sensing technologies are used in guestrooms?

Four inputs cover almost every design: a door contact, PIR motion sensors, radar presence sensors, and the key card holder. Each answers a different question, and the logic should use each one only for what it can actually tell.

InputWhat it detectsStrengthKnown weakness
Door contact (magnetic reed switch)Entry door open or closedMarks every possible entry and exit; simple, low costMisaligned magnet or a door left ajar gives a permanent "open"
PIR motion sensorMovement of a warm body across detection zonesLow power, suits battery and wireless devices, no emissionBlind to still or sleeping occupants; needs line of sight
mmWave radar presence sensor (commonly 24 GHz or 60 GHz)Small movements, including breathingDetects a stationary personHigher power draw; can respond to curtains or fans moving, and may see through thin partitions
Key card holderA card is insertedGuest understands it; gives a clear "I am here" actionDoes not prove presence; basic types accept any card
Smart room control panel in a hotel guestroom
The wall panel shows the result of the occupancy logic; the door contact and ceiling sensor are the inputs that drive it.

What states should the room controller track?

Five states are enough for most hotels: unsold, sold-unoccupied, verifying, occupied and staff. The first two come from the property management system (PMS) room status; the others come from the sensors in the room. Keeping the commercial status and the physical status as separate inputs lets the same sensors produce different behaviour in a sold room and an unsold one.

StateEntered whenTypical room behaviourLeaves when
UnsoldPMS reports the room vacant or checked outDeep setback, lights and switched sockets off, humidity limit still enforcedPMS check-in, or door opens (staff entry)
Sold-unoccupiedVerification window ends with no motionModerate setback, lights off, curtains per hotel standardDoor opens
VerifyingDoor closesNo change to the room; the controller is countingMotion seen (to occupied) or window expires (to unoccupied)
OccupiedMotion seen while the door is closedGuest setpoint and scenes; nothing times outDoor opens (back to verifying after it closes)
StaffDoor opened with a staff card, or housekeeping status setWork lighting, guest setpoint untouchedStaff status cleared and door closes

The important property is in the "occupied" row: once motion is seen behind a closed door, the state is latched, because nobody can leave without opening the door. That single rule protects a sleeping guest.

How does the door-and-motion sequence work, step by step?

Every door closure starts a verification window, and the first motion event inside that window decides the outcome. The sequence below can be handed to a vendor as a functional description and checked line by line during commissioning.

  1. Door opens. The controller runs the welcome scene if the room was unoccupied, and cancels any latched state. While the door is open the room is treated as occupied.
  2. Door closes. The verification timer starts. Lighting and air-conditioning stay as they are.
  3. Motion detected during the window. The state latches to occupied. The timer is cancelled. No further motion is required.
  4. No motion by the end of the window. The state becomes sold-unoccupied. Lights go off after a short warning dim, and the thermostat moves to setback.
  5. Motion detected later with no door event. The controller returns to occupied immediately and logs the event, because it means the earlier decision was wrong (see the sleeping-guest case below).

What timer values are reasonable starting points?

Start from the values below and adjust after the mock-up room has been lived in for a few days. They are planning values as of 2026, not manufacturer specifications.

ParameterStarting rangeEffect of setting it too shortEffect of setting it too long
Verification window after door closes10 to 30 minutesGuest who lies down straight away is marked absentEmpty room runs at full comfort for longer
Sensor settle time after door closes5 to 15 seconds ignoredThe departing guest's last movement is counted as presenceA quick entry may be missed
Warning dim before lights off30 to 60 secondsLights cut without noticeNegligible
Door-ajar alarm3 to 5 minutesNuisance alarms during luggage deliveryConditioned air lost to the corridor
Unoccupied temperature setback2 to 4 °C above guest setpoint (cooling)Little savingSlow recovery and humidity rise

In a tropical climate the setback has a second limit: humidity. Specify the unoccupied mode as a raised setpoint with a humidity ceiling, not as cooling switched off, and let the mechanical engineer set the figure.

Guestroom control interface showing lighting and climate scenes
Scenes and setpoints change with the room state, so a wrong occupancy decision is felt by the guest as a comfort fault.

Where should the sensors be placed?

Place sensors so that the bed, the desk and the bathroom are each seen by at least one of them, and so that none looks out through the entry door. Coverage gaps cause false "unoccupied" decisions; a sensor with a view of the corridor causes false "occupied" ones.

  • Bedroom ceiling sensor. Position it to cover the bed and the seating area, offset from the fan coil supply grille. Moving cold air across a PIR lens and swaying curtains in front of a radar sensor are both common sources of false triggers.
  • Bathroom sensor. A guest who walks straight into the shower after entering is the classic missed detection. A separate bathroom sensor, or a bathroom door contact, closes that gap. Check the sensor's ingress protection rating against its mounting position.
  • Entry vestibule. Mask or aim the sensor so that movement in the corridor is not seen while the door is open.
  • Suites and connecting rooms. Each corridor door needs its own contact, and two rooms joined by an open connecting door must be evaluated as one zone.
  • Door contact. Mount it at the top of the frame on the latch side where door sag has the least effect, and record the gap at which it changes state.

Which failure cases should the logic handle explicitly?

Five situations account for most occupancy complaints, and each has a defined response. Writing them into the specification turns site arguments into test cases.

CaseWhat goes wrongDesign response
Guest lies down immediately and does not moveNo motion in the window; room set back with a guest insideLonger window at night, radar presence sensor over the bed, or "do not disturb" and privacy latch treated as presence
Housekeeping props the door openRoom held in occupied state at guest setpointStaff state with its own setpoint; door-ajar timer
Door contact fails openRoom never leaves occupied; no savingServer report of rooms with no door-close event in 24 hours
Motion sensor fails silentEvery closure ends in "unoccupied"Server report of sold rooms with zero motion events in 24 hours; fall back to guest-setpoint mode
Pet, robot cleaner or curtain movementFalse occupied latchSensitivity and mounting adjustment; accept as the lower-risk error

The last row states a principle worth agreeing with the operator early: when the inputs disagree or a sensor is suspect, the room should fail towards "occupied". An empty room kept comfortable costs a little energy; an occupied room set back costs a complaint. How the same room behaves when it loses its server connection is covered in the failure mode reference for smart room control network loss.

Which tests prove the logic before handover?

Test the transitions, not just the devices. A sensor that lights its indicator when someone waves at it has not shown that the room will make the right decision at two in the morning.

TestMethodPass criterion
Enter and stayEnter, close door, move normallyOccupied latched within the settle time plus one sensor report
Still occupantAfter latching, lie still on the bed for longer than the verification windowNo change to lights or setpoint
LeaveExit and close door; wait out the windowWarning dim, then lights off and setback at the configured time, within the agreed tolerance
Bathroom entryEnter, go directly to the bathroom, close its doorOccupied latched
Two occupantsTwo people in; one leavesRoom returns to occupied after the door closes
Sensor removedDisconnect the motion sensor or remove its batteryFault reported; room falls back to guest-setpoint mode

Run the full table in the mock-up room and in every room type, then a reduced set on a sample of each floor. Sampling levels and defect classes are set out in the room-by-room commissioning checklist for smart room control. Record the final timer values per room type in the handover document. Related guestroom systems that share the same controller are listed on the Prestige Solutions home page.

Hotel guestroom with integrated room control equipment
The bed, desk and bathroom each need sensor coverage; the entry door needs a contact that is checked for alignment at handover.

FAQ

Can occupancy logic be added to a room that keeps its key card holder?

Yes. The card holder can stay as a guest-facing switch for lighting while the door contact and motion sensor decide the air-conditioning setback. The controller then ignores a card left in the slot once the verification window ends with no motion, which removes the spare-card workaround without changing guest habits.

Do in-room occupancy sensors record or identify guests?

PIR, ultrasonic and radar sensors of the type used for room control output a presence or motion signal, not an image, and do not identify a person. The event log does show when a room was entered and left, so access to that log should be limited to the engineering and security roles the hotel defines.

Should the occupancy state be shared with housekeeping?

It can be, as an indication and not a guarantee. A corridor indicator or housekeeping app showing "unoccupied" helps staff plan room attendance, but the logic can be wrong in the cases listed above, so staff procedure should still require knocking and announcing before entry.

Contact Prestige Solutions to review your site drawings and current operating pattern. Call +65 8010 2337 or +65 9825 8218, message us on WhatsApp (+65 8010 2337), or email sales@prestigesolutions.com.sg. You can also browse the full product range before the site walk.

Previous Article IPTV Set-Top Box vs Smart TV App: Deployment Compa Next This is the last article

Interested in Our Solutions?

Explore our full product range or speak with our technical team for a tailored consultation.