Home Assistant Focus Mode Automation for Home Offices
A home office is one of the hardest rooms to automate with a normal motion sensor. During calls, writing, coding, editing, or deep work, a person may sit almost still. A PIR sensor can decide the room is empty and switch off lights, fans, or climate at exactly the wrong moment.
This guide builds a Home Assistant focus mode around true room presence, local MQTT, task lighting, compatible IR climate control, break logic, and predictable vacancy delays. It is designed for privacy-first home offices where automation should support work without becoming another interruption.

Why a Home Office Needs a Dedicated Focus Mode
A Home Assistant focus mode is a dedicated office state that keeps lighting, climate, and notifications stable while mmWave confirms someone is present. It distinguishes focused work, calls, short breaks, and true vacancy, so automations support concentration instead of switching devices at the wrong time.
Still-person presence
Keep the room active while someone is seated and barely moving during focused work.
Comfort without distraction
Coordinate light, temperature, fan, and compatible IR appliances without repeated manual control.
Staged energy saving
Separate a short coffee break from a real vacancy so automations do not fight the user.

PIR vs mmWave for Desk Presence
| Office behavior | Typical PIR sensor | mmWave presence sensor | Automation impact |
|---|---|---|---|
| Walking into the room | Usually reliable | Reliable | Both can trigger an arrival scene. |
| Sitting still on a call | May time out | Designed to detect subtle presence | mmWave helps prevent false light and climate shutdown. |
| Working at a desk | Depends on body movement | Better suited to micro-movement | Focus mode can stay active during long work sessions. |
| Short coffee break | Detects vacancy | Detects vacancy | Home Assistant should use a delay before shutdown. |
For a deeper technology comparison, read the PIR vs mmWave Motion Sensor Guide for Home Assistant.
Choose the Right LinknLink Device for the Office
| Device | Office role | Key differentiator | Product link |
|---|---|---|---|
| eMotion Air | Flexible desk or shelf presence | Battery-powered placement for offices where wiring is inconvenient. | View eMotion Air |
| eMotion Pro | Presence plus office appliance control | Direct WiFi + MQTT, no required hub, and a built-in IR emitter for compatible AC, fan, TV, or projector control. | View eMotion Pro |
| eMotion Ultra | Higher-precision office context | 60GHz mmWave sensing for rooms that need more detailed presence and environmental context. | View eMotion Ultra |
| eRemote HA | Dedicated local IR control | Home Assistant MQTT control for compatible AC, fan, TV, projector, and other IR appliances. | View eRemote HA |
| iSG Box SE | Compact Home Assistant gateway | Preinstalled Home Assistant for a local automation base. | View iSG Box SE |
Focus Mode State Design
Use a helper such as input_boolean.office_focus_mode or an input select with clear states. Avoid one large automation that tries to guess every situation.
| State | Presence logic | Lighting | Climate and devices |
|---|---|---|---|
| Arrival | Presence first detected | Turn on task light if lux is low | Restore normal office comfort scene |
| Focus | Presence remains active | Hold a stable task-light scene | Maintain quiet AC or fan settings |
| Call | Presence active plus manual call toggle | Keep face lighting stable | Suppress nonessential alerts and loud device changes |
| Short break | Vacant for less than 10 minutes | Dim rather than switch off | Keep climate unchanged |
| Gone | Vacant beyond the final delay | Turn off office lighting | Reduce AC, fan, media, and standby use |
Step-by-Step Home Assistant Blueprint
Create the focus mode helper
Add an input boolean or input select for Focus, Call, Break, and Off. A visible state makes troubleshooting easier than hidden logic.
Choose the presence entity
Use the mmWave presence entity that covers the desk and main chair. Avoid using the doorway as the only office signal.
Add light-level conditions
Only switch on task lighting when the room is dark enough. Use stable brightness and color temperature during focus sessions.
Add local climate or fan control
Use eMotion Pro's built-in IR emitter or eRemote HA for compatible AC and fan commands. Add a cooldown so the same IR command is not sent repeatedly.
Use two vacancy delays
A short delay can dim lights for a quick break. A longer delay can turn off lights and reduce climate or media usage after the office is clearly empty.
Keep manual override
If the user changes lighting or climate manually, pause automation for a defined period instead of immediately undoing that choice.
Example Automation Logic
Triggers: - office presence changes to detected - office presence clears for 5 minutes - office presence clears for 20 minutes - focus mode or call mode changes Conditions: - workday schedule is active - optional: office lux is below task-light threshold - optional: temperature is outside comfort range Actions: - arrival: turn on task light and restore focus scene - focus: hold lighting and quiet climate while presence remains active - call: suppress nonessential notifications and keep lighting stable - short break: dim lights, keep climate unchanged - long vacancy: turn off lights and reduce IR-controlled appliances
Local-first rule: keep the core office routine inside Home Assistant with local MQTT where supported. Focus lighting and comfort should not depend on a cloud service or subscription.

Lighting Rules That Do Not Interrupt Work
Office lighting should be stable. Rapid brightness changes and frequent scene switching create distraction. Use one task-light scene for focus, one softer scene for calls, and one dim state for short breaks.
- Use lux as a condition, not as the only trigger.
- Keep brightness fixed during focus mode unless the user changes it.
- Do not turn lights off on the first vacancy event.
- Pause automatic changes after a manual switch or dashboard action.

Local IR Climate Control for Focus Sessions
A comfortable office may still depend on an infrared AC, fan, or heater. eMotion Pro combines presence sensing with a built-in IR emitter, while eRemote HA is useful when the room already has a sensor and needs dedicated local IR control.
Use conservative rules. Send a comfort command when focus mode begins and temperature is outside range. Do not send IR commands every time the sensor updates. For a fuller implementation, see the Home Assistant AC automation guide with IR blaster and presence sensors.
Break Reminders Without Surveillance
Presence data can support healthy breaks without cameras. Home Assistant can measure how long focus mode has remained active and show a gentle dashboard reminder after a chosen interval. The automation does not need video, microphone recording, or cloud analytics.
- Start a focus timer when office presence and focus mode are both active.
- Pause the timer when the office becomes vacant.
- Show a local notification or dashboard reminder after 50 to 90 minutes.
- Reset the timer after a real break rather than a brief walk away.
Office Placement Checklist
- Cover the chair and desk. The main work position matters more than the doorway.
- Avoid fans and moving curtains. Moving objects can complicate mmWave tuning.
- Test before permanent mounting. eMotion Air supports flexible battery-powered placement for early testing.
- Keep IR line of sight clear. If the device controls AC or a fan, confirm the emitter can reach it.
- Tune vacancy delay before adding more rules. Correct presence logic is more important than a large automation.
For more placement detail, read the 60GHz mmWave sensor placement guide and the battery-powered presence sensor guide.
Connect Focus Mode to a Complete Local Stack
Use iSG Box SE as a compact Home Assistant gateway, or iSG Display Max when the office also needs a visible dashboard. The iSG Home Assistant add-ons guide explains how MQTT, device bridges, and local services fit together.
For a wider room-by-room framework, read the Home Assistant room automation blueprint and the local control smart home guide.
FAQ
How do I create a Home Assistant focus mode for a home office?
Create a focus mode helper, use mmWave presence as the office occupancy signal, and connect task lighting, climate, notifications, and a safe vacancy delay to that mode.
Why is mmWave better than PIR for an office?
Office users often sit still during calls, writing, or coding. mmWave sensing can detect subtle presence that a PIR motion sensor may miss.
Can Home Assistant control office AC and fans locally?
Yes. Use eMotion Pro for presence plus built-in IR control, or eRemote HA for dedicated local IR control through Home Assistant MQTT.
Which LinknLink presence sensor fits a home office?
Choose eMotion Air for flexible battery placement, eMotion Pro for direct WiFi and MQTT plus built-in IR, or eMotion Ultra for higher-precision 60GHz sensing.
Should focus mode turn everything off when I leave?
Use staged delays. Dim lights for a short break, then turn off lighting and reduce appliances only after the office is clearly vacant.
Do not over-automate the office. A focus mode should reduce interruptions. If it changes lights, climate, or notifications too often, simplify the state logic before adding more devices.
Build a Home Office That Stays in Focus
Start with a reliable presence signal, one stable lighting scene, one comfort rule, and a two-stage vacancy routine. Expand only after the first week feels predictable.