Home Assistant Bedroom Sleep Mode with Presence, Temperature and IR Control

Home Assistant Bedroom Sleep Mode with Presence, Temperature and IR Control

A good bedroom automation should not just turn lights off. It should understand whether someone is still in the room, whether the AC should keep running, whether the air feels dry, and whether the TV or fan should be controlled through IR or RF. That is where Home Assistant becomes more useful than a simple app scene.

This guide shows how to build a local bedroom sleep mode with HomeClaw, eMotion Air, eMotion Pro, eMotion Ultra, eRemote HA, eHome HA, ZG-808Z, and iSG Display Max.

Home Assistant smart home automation guide with LinknLink devices

Why Bedroom Sleep Mode Needs More Than a Motion Sensor

Traditional motion sensors are usually too blunt for sleep mode. They detect movement, not quiet occupancy. A person can be reading, resting, nursing a baby, watching TV, or already asleep. If the automation only checks motion, it may turn off lights too early or keep appliances running too long.

Presence confidence

mmWave presence helps the room know that someone is still there even when movement is small.

Climate context

Temperature and humidity help decide whether to adjust AC, fan, purifier, or humidifier behavior.

Local control

IR, RF, Zigbee, and Home Assistant logic keep the bedroom routine fast and private.

The goal is not to make one giant automation. The goal is to split sleep mode into a few predictable stages that are easy to test and safe to override.

Recommended LinknLink Stack for Bedroom Automations

A bedroom is a mixed-control room. Lights may be Zigbee or WiFi. AC and TV often use IR. Curtains or shades may use RF. Presence needs to be quiet and stable. A local Home Assistant gateway ties those signals together.

Layer Recommended device Role in sleep mode Why it matters at night
Gateway HomeClaw Runs Home Assistant, local scenes, and private room logic. Keeps sleep mode local and avoids cloud delay when someone is already in bed.
Presence eMotion Air Battery-powered mmWave placement for bedsides, rental rooms, or flexible layouts. Useful when the best sensor location has no outlet.
Presence plus IR eMotion Pro Presence sensing plus built-in IR for AC, TV, fan, or projector scenes. Reduces the number of visible devices in the bedroom.
60GHz precision eMotion Ultra 60GHz mmWave sensing, built-in IR, and temperature/humidity data cable support. Best fit when sleep mode needs presence confidence and room comfort context together.
IR control eRemote HA Sends local IR commands to AC, TV, fan, purifier, or heater. Lets Home Assistant control appliances that do not have native integrations.
RF control eHome HA Controls compatible RF shades, remotes, switches, and legacy RF devices. Good for privacy shades or RF bedside devices.
Zigbee input ZG-808Z Connects Zigbee buttons, contact sensors, plugs, and low-power inputs. Adds bedside buttons and contact conditions without cloud routines.

Design Sleep Mode as a Sequence, Not a Switch

A bedroom routine should feel calm. Instead of one button that instantly shuts down everything, use a sequence that gives people time to settle. This makes the routine safer for families, guests, and anyone who might still be moving around.

Stage 1: wind down

Dim lights, reduce screen brightness, set dashboard mode, and start the sleep scene timer.

Stage 2: comfort check

Read temperature and humidity context, then decide whether AC, fan, or purifier commands should run.

Stage 3: quiet presence

Use mmWave presence confidence to avoid shutting off essentials while someone is still awake but still.

Stage 4: final shutdown

Turn off nonessential devices, send IR power commands, close compatible RF shades, and leave only night-safe lighting.

LinknLink local smart home automation setup for Home Assistant

Presence Sensor Choice: Air vs Pro vs Ultra for Bedrooms

Bedrooms are not all the same. A rental bedroom, a home office bedroom, a child bedroom, and a media bedroom need different sensor choices. The table below maps common bedroom problems to LinknLink devices.

Bedroom problem Best fit Reason Suggested internal link
No good power outlet near the bed eMotion Air Battery placement makes it easier to test the best sensing angle before committing to a fixed location. Air vs Pro vs Ultra buying guide
AC or TV must be controlled by IR eMotion Pro or eRemote HA Built-in IR or a dedicated IR hub lets Home Assistant run appliance commands from a scene. Remote control guide
Need temperature and humidity context eMotion Ultra eMotion Ultra combines 60GHz mmWave, IR, and temperature/humidity data cable context for richer bedroom logic. Presence temperature IR guide
Need local Home Assistant gateway HomeClaw HomeClaw keeps the automation local and can coordinate scenes, dashboard controls, and privacy-focused AI logic. HomeClaw gateway guide

Example Automation: Sleep Button with Presence and IR

A bedside button can start the routine, but the button should not decide everything. Home Assistant should check the mode, presence, and comfort state before sending final commands.

Trigger:
  - Zigbee button single press

Conditions:
  - bedroom mode is not "guest"
  - presence sensor reports occupied
  - current time is after evening threshold

Actions:
  - dim bedroom lights
  - send AC sleep mode command through eRemote HA or eMotion IR
  - close compatible RF shades through eHome HA
  - start 20 minute quiet-presence timer
  - if presence remains active, keep night light available
  - if no presence is detected, shut down media devices

This pattern is intentionally simple. You can add more conditions later, but the first version should be easy to debug. If a family member cannot explain the routine, it is probably too complicated.

eMotion Ultra 60GHz mmWave presence sensor for high precision Home Assistant presence detection product image 6

Temperature and Humidity Logic for Better Sleep

Temperature and humidity are not just dashboard numbers. They can prevent over-cooling, reduce dry air, and keep sleep mode from turning into a rigid appliance timer. eMotion Ultra is useful here because it can add 60GHz presence, built-in IR, and temperature/humidity data cable context to the same bedroom decision path.

Condition Home Assistant decision LinknLink output Why it helps
Room is warm and occupied Start AC sleep mode or fan mode. IR command through eRemote HA, eMotion Pro, or eMotion Ultra. Comfort improves without requiring a phone app at night.
Room is cool and occupied Skip AC, keep only low light or fan off. Presence condition prevents unnecessary cooling. Reduces energy waste and avoids waking people up.
Air is dry Run humidifier if connected, or show dashboard reminder. Dashboard card on iSG Display Max or Home Assistant. Turns sensor data into a useful household signal.
No presence after timer Turn off IR appliances and lights. IR/RF/local scene shutdown. Prevents devices from running in an empty room.

Home Assistant guide showing local control and automation scenes

IR and RF Devices to Include in a Bedroom Routine

Many bedroom appliances do not support native Home Assistant integrations. IR and RF bridges are the practical way to make them part of a local scene. The important rule is to keep appliance commands predictable and reversible.

Device type Control path Sleep mode action Fallback
AC IR through eRemote HA, eMotion Pro, or eMotion Ultra Set sleep temperature, fan speed, or power state. Dashboard button for manual override.
TV or projector IR through eRemote HA or eMotion built-in IR Power off after quiet-presence timer. Delay shutdown if presence still active and media mode is on.
Fan IR or smart plug depending on model Reduce speed after sleep mode starts. Only turn off when room is empty.
Shades or curtains RF through eHome HA or native integration Close at sleep start, open at wake mode. Manual scene button on dashboard.

Dashboard Controls for Family and Guests

Good automations still need a visible override. A room dashboard can show sleep mode, climate state, presence confidence, IR command status, and a manual "cancel sleep" button. This is where iSG Display Max or a Home Assistant dashboard becomes useful.

  • Show the active bedroom mode: normal, wind down, sleep, guest, or cleaning.
  • Show whether Home Assistant sees presence as active, idle, or empty.
  • Expose manual AC, TV, fan, and shade controls for guests.
  • Add a one-tap reset button that returns the room to normal mode.

For a broader room dashboard pattern, read the LinknLink App Room Dashboard Guide.

Troubleshooting Sleep Mode Automations

If the bedroom scene feels unreliable, debug one layer at a time. Start with the trigger, then the presence state, then the appliance output. Do not rewrite the whole automation until you know which layer is failing.

Symptom Likely cause Fix Related guide
Button press does nothing Zigbee event not reaching Home Assistant. Check ZG-808Z placement, Zigbee2MQTT logs, and device interview state. ZG-808Z troubleshooting guide
Lights turn off while someone is still in bed Presence timeout too short or sensor angle is wrong. Increase timeout, reposition sensor, or use eMotion Ultra for stronger room context. Presence troubleshooting guide
AC does not respond IR code, angle, or appliance mode is wrong. Retest IR commands and place the IR emitter where the appliance can receive it. Best IR blasters guide
Scene is too aggressive Too many actions run at once. Split sleep mode into staged scenes and add manual dashboard overrides. Button automation guide

Related Guides and Hot Products

Use these pages to extend the sleep mode blueprint into a full local bedroom automation system.

Build a calmer bedroom automation

Start with presence, then add temperature and humidity context, then add IR or RF appliance control. Keep the first version simple, local, and easy to override.

FAQ

What is the best presence sensor for Home Assistant bedroom sleep mode?

Use eMotion Air for flexible battery placement, eMotion Pro when the bedroom needs built-in IR, or eMotion Ultra when you want 60GHz presence sensing, IR control, and temperature and humidity context in one room workflow.

Can Home Assistant control a bedroom AC or fan with IR during sleep mode?

Yes. Use eRemote HA, eMotion Pro, or eMotion Ultra to send local IR commands from Home Assistant scenes, then combine those commands with presence and temperature conditions.

Why use temperature and humidity data in a sleep automation?

Temperature and humidity context helps Home Assistant decide whether to adjust AC, fan, purifier, or humidifier settings instead of running the same scene every night.

Should a sleep mode automation turn everything off immediately?

No. A better sleep mode uses staged actions: dim lights first, adjust climate next, wait for presence confidence, then shut down screens and nonessential devices.

Can HomeClaw run local bedroom automations without cloud routines?

Yes. HomeClaw can run Home Assistant locally and coordinate presence, IR, RF, Zigbee, and dashboard logic without depending on cloud app routines.