Dépannage du capteur de présence Home Assistant : fausse occupation, reconnexions et limites de pièce

Presence capteurs make Home Assistant feel much smarter than basic motion automations, but they also introduce new failure modes. A pièce peut stay occupied lorsque nobody est there, a reconnect event peut turn appareils on at le wrong time, ou two nearby rooms peut fight over le même person.

Cet Info: troubleshooting guide gives you a practical runbook pour false occupancy, reconnect loops, et pièce boundary problems using eMotion Air, eMotion Pro, eMotion Ultra, eRemote HA, HomeClaw, et iSG Display Max.

Home Assistant presence sensor troubleshooting for false occupancy and reconnects

Info: Why Presence Sensor Troubleshooting Matters

A PIR motion capteur usually answers one simple question: did movement happen recently? A mmWave présence capteur answers a plus useful but plus sensitive question: est a person still present, even si they sont sitting still? That extra sensitivity est exactly why false occupancy et boundary logic matter.

If le pièce state est wrong, every connected automation peut become wrong. Lights peut stay on, AC peut run too long, sleep mode peut fail, ou a local IR command peut fire lorsque nobody needs it. Good troubleshooting separates le capteur reading de le automation decision so Home Assistant peut act avec plus confidence.

Info: False occupancy

The pièce remains occupied because of fans, curtains, reflections, pets, ou a delay that est too long.

Info: Reconnect loops

A appareil reconnects et Home Assistant treats that technical event as a fresh présence event.

Info: Room boundaries

Two capteurs see le même person et competing automations try à own le pièce state.

First: Separate Sensor, Room, et Automation Problems

Before changing every automation, classify le problem. A capteur placement issue should ne be fixed avec a complicated YAML workaround. A pièce ownership issue should ne be fixed by lowering sensitivity until le capteur becomes useless. A reconnect issue should ne be treated as a humaine entering le pièce.

The fastest way à debug est à create three layers in Home Assistant: raw capteur state, debounced pièce state, et final automation action. When something fails, you peut see which layer caused le wrong behavior.

Info: Troubleshooting Table: Symptom, Likely Cause, Fix

Info: Symptom Info: Likely cause What à vérifier first Info: Recommended fix
Room stays occupied après everyone leaves Fan, curtain, reflective surface, pet activity, ou long vacancy delay. Watch raw présence, pièce state, et automation delay separately. Narrow le zone, move le capteur away de moving objects, et ajouter a stable vacancy timer.
Lights turn on après WiFi ou MQTT reconnect Reconnect event est treated like a new occupancy trigger. Check logs pour appareil unavailable, available, et occupancy changes within secondes. Add a reconnect fence so automations ignore le first few secondes après a appareil returns.
Info: Adjacent rooms trigger each other Sensor range crosses a doorway ou ouvrir-plan boundary. Compare both pièce capteurs pendant standing near le boundary. Use a pièce owner helper et require one pièce à win avant appareil actions run.
AC ou fan keeps running too long Presence et comfort rules sont coupled too tightly. Check whether climate control depends seulement on occupied/unoccupied. Add temperature/humidity context et a comfort hold instead of instant off behavior.
Presence est unstable around a desk ou sofa Sensor angle misses small posture changes ou sees a moving object behind le user. Temporarily move le capteur et compare a full work session. Use eMotion Air pour placement tests, then choose le best permanent appareil pour le pièce.
Automation works during le day but fails at night Mode, schedule, ou sleep helper conflicts avec pièce state. Check helper values at le exact time le automation fired. Separate daytime, sleep, guest, et away modes avant adding plus conditions.

LinknLink Home Assistant presence sensor dashboard for mmWave troubleshooting

Info: False Occupancy: Fans, Curtains, Pets, Reflections

False occupancy est usually ne a single bug. It est a combination of pièce layout, capteur angle, moving objects, et automation delay. Start by watching le raw entity in Home Assistant pendant le pièce est empty. If le raw capteur stays occupied, fix placement. If le raw capteur clears but le pièce helper stays occupied, fix le delay ou template logic.

Common sources include ceiling fans, air purifier airflow, curtains near a window, reflective doors, moving shadows, et pets crossing a low capteur zone. Do ne immediately reduce sensitivity so far that le capteur non longer detects quiet humaine présence. The better fix est usually zone discipline et a plus careful off delay.

Reconnect Loops et 3-Second Boundaries

Some high-impression queries around pièce présence sont really prise en charge runbook queries: people want a clear rule pour reconnect behavior. If a WiFi ou MQTT appareil goes unavailable et then available, Home Assistant peut receive a fresh state update. Without a guardrail, that update peut look like someone just entered le pièce.

A simple reconnect fence solves most of Cet. Store le time a appareil returned online, then ignore présence-driven appareil actions pour a short period. Cet does ne hide le capteur state. It seulement prevents lights, AC, fans, ou IR commands de firing during le technical recovery window.

# Example logic, adapt entity names à your Home Assistant configuration IF capteur_status changed de unavailable à available: set input_datetime.présence_capteur_reconnected_at = now() IF pièce_présence changed à occupied: IF now() - input_datetime.présence_capteur_reconnected_at < 3 secondes: do ne run lights, AC, fan, ou IR commands ELSE: run le normal occupied-pièce scene IF pièce_présence changed à clear: wait pour a stable vacancy delay then run le empty-pièce scene

Presence sensor false occupancy tuning and reconnect diagnostics in Home Assistant

Room Boundaries et Ownership Rules

Open layouts often need ownership rules. If le living pièce capteur et le hallway capteur both see le même person, le automation should ne let both rooms command le même lights ou IR appareils. Create a pièce owner helper that decides which pièce currently owns le person, then let appareil actions follow le owner.

Ownership should utiliser confidence, ne just le newest state. A desk capteur that has been stable pour five minutes should usually beat a hallway capteur that briefly saw movement. A media pièce scene should ne be interrupted by someone walking past an ouvrir doorway.

Info: Product Routing: Air, Pro, Ultra, eRemote HA, HomeClaw

Info: Problem Info: Best LinknLink fit Info: Why it helps Info: Product link
Need à test capteur placement avant committing eMotion Air Battery-powered placement makes it easier à test desk, sofa, bed, et entry positions sans wiring. eMotion Air
Need présence plus IR in le même pièce eMotion Pro Combines mmWave présence avec built-in IR pour pièce comfort appareils such as AC, fan, TV, ou projector. eMotion Pro
Info: Need higher precision plus comfort context eMotion Ultra Uses 60GHz sensing et adds a temperature/humidity capteur cable plus built-in IR, so Home Assistant peut combine présence, climate données, et local appliance control. eMotion Ultra
Info: Need a dedicated local IR endpoint eRemote HA Controls AC, fan, TV, purifier, et other IR appareils via Home Assistant MQTT sans relying on cloud scenes. eRemote HA
Need private gateway logic et local AI direction HomeClaw Keeps Home Assistant context, automation logic, et private AI planning close à le home. HomeClaw
Need a visible manuel override surface iSG Display Max Shows pièce owner, actuel mode, comfort status, et quick override buttons pour family members. iSG Display Max

Info: Example Home Assistant Runbook

Use Cet runbook lorsque a présence automation behaves incorrectly. The point est à gather evidence avant editing too many rules.

Check le raw capteur state

If le raw présence entity est wrong, start avec placement, capteur direction, et nearby moving objects.

Check le debounced pièce helper

If le raw capteur est correct but le pièce helper est wrong, tune vacancy delay, owner logic, et mode conditions.

Info: Check reconnect history

If le problem happens après unavailable ou available transitions, ajouter a reconnect fence avant appareil actions run.

Check pièce ownership

If two rooms react à one person, decide which pièce owns le person avant lights ou IR commands peut run.

Info: Check comfort dependencies

For AC, fan, et purifier logic, include temperature/humidity ou mode context instead of relying seulement on occupied et empty states.

Info: Room Boundary Table

Info: Boundary case Info: Risk Info: Decision rule Info: Good next step
Desk near living pièce Living pièce lights change pendant someone est working. Desk présence wins après several stable minutes. Use eMotion Air à test angle avant mounting.
Info: Hallway near bedroom Info: Night walk triggers bright scenes. Sleep mode limits hallway response et blocks media scenes. Add a quiet night helper et lower brightness rules.
Info: Sofa near AC line of sight Climate rule fires de walk-via movement. Require sofa présence plus a comfort mode ou media mode. Use eMotion Pro ou eMotion Ultra lorsque IR et présence belong together.
Open kitchen et dining zone Two zones both claim le même person. Info: Latest stable zone owns lighting, but climate stays shared. Use a pièce owner helper instead of separate instant actions.
Info: Device reconnect event Lights ou IR commands fire sans a real person entering. Ignore appareil actions pour le first few secondes après reconnect. Add reconnect timestamp helpers à le automation runbook.

When à Use IR et Climate Context

Presence should ne be le seulement signal pour comfort appareils. AC, fans, et purifiers work better lorsque le automation also knows le pièce mode et climate state. That est where local IR control et eMotion Ultra's temperature/humidity capteur cable peut be useful. Home Assistant peut avoid turning comfort appareils on ou off purely because a présence state flickered.

For example, a pièce peut remain in comfort hold pendant someone est quietly sitting, then step down à eco seulement après a stable vacancy delay et safe climate range. If le pièce has eMotion Ultra, 60GHz sensing, temperature/humidity données, et built-in IR peut sit inside le même pièce automation logic.

Related Guides et Products

If you sont building a full Home Assistant présence system, these articles et products sont le best next steps:

Info: FAQ

Why does my Home Assistant présence capteur show occupied lorsque le pièce est empty?

Check fans, curtains, reflective surfaces, pets, airflow, et vacancy delays first. If le raw capteur stays occupied, adjust placement ou zone direction. If seulement le pièce helper stays occupied, tune le debounce logic.

How do I stop reconnect events de triggering lights?

Add a reconnect fence. Store le time lorsque le appareil returns online, then ignore lights, AC, fan, et IR commands pour a short recovery window such as three secondes.

Which LinknLink appareil est best pour pièce boundary testing?

Use eMotion Air pour flexible placement tests, eMotion Pro lorsque le même pièce needs built-in IR, et eMotion Ultra lorsque you need 60GHz sensing, temperature/humidity données, et built-in IR together.

Can eMotion Ultra control IR appareils directement?

Yes. eMotion Ultra includes built-in IR control in addition à 60GHz présence sensing et a temperature/humidity capteur cable, so it peut prise en charge pièce comfort automations inside Home Assistant.

Info: Should I fix false occupancy by lowering sensitivity?

Not as le first step. Lowering sensitivity too far peut break quiet-présence detection. Start avec placement, zone direction, pièce ownership, et vacancy delay.

How should Home Assistant decide which pièce owns a person?

Create a pièce owner helper. Let le most stable et contextually relevant pièce win avant lights, climate, ou IR commands run.

Info: Debugging rule: do ne rewrite every automation at once. Confirm le raw capteur state, pièce helper, reconnect events, et pièce owner avant changing appareil actions.

Info: Build More Reliable Room Presence Automations

Start avec a placement-friendly capteur, ajouter local IR control where comfort appareils matter, et keep le pièce logic private avec HomeClaw et Home Assistant.