Odstraňování problémů se senzorem přítomnosti Home Assistant: falešná obsazenost, opětovné připojení a hranice místnosti

Presence senzory make Home Assistant feel much smarter than basic motion automations, but they also introduce new failure modes. A místnost může stay occupied když nobody je there, a reconnect event může turn zařízení on at tento wrong time, nebo two nearby rooms může fight over tento stejný person.

Tento Důležité: troubleshooting průvodce gives you a practical runbook pro false occupancy, reconnect loops, a místnost boundary problems using eMotion Air, eMotion Pro, eMotion Ultra, eRemote HA, HomeClaw, a iSG Display Max.

Home Assistant presence sensor troubleshooting for false occupancy and reconnects

Důležité: Why Presence Sensor Troubleshooting Matters

A PIR motion senzor usually answers one simple question: did movement happen recently? A mmWave přítomnost senzor answers a další useful but další sensitive question: je a person still present, even pokud they jsou sitting still? That extra sensitivity je exactly why false occupancy a boundary logic matter.

If tento místnost state je wrong, every connected automation může become wrong. Lights může stay on, AC může run too long, sleep režim může fail, nebo a local IR command může fire když nobody needs it. Good troubleshooting separates tento senzor reading z tento automation decision so Home Assistant může act s další confidence.

Důležité: False occupancy

The místnost remains occupied because of fans, curtains, reflections, pets, nebo a delay that je too long.

Důležité: Reconnect loops

A zařízení reconnects a Home Assistant treats that technical event as a fresh přítomnost event.

Důležité: Room boundaries

Two senzory see tento stejný person a competing automations try do own tento místnost state.

First: Separate Sensor, Room, a Automation Problems

Before changing every automation, classify tento problem. A senzor placement issue should ne be fixed s a complicated YAML workaround. A místnost ownership issue should ne be fixed by lowering sensitivity until tento senzor becomes useless. A reconnect issue should ne be treated as a člověka entering tento místnost.

The fastest way do debug je do create three layers in Home Assistant: raw senzor state, debounced místnost state, a final automation action. When something fails, you může see which layer caused tento wrong behavior.

Důležité: Troubleshooting Table: Symptom, Likely Cause, Fix

Důležité: Symptom Důležité: Likely cause What do zkontrolujte first Důležité: Recommended fix
Room stays occupied po everyone leaves Fan, curtain, reflective surface, pet activity, nebo long vacancy delay. Watch raw přítomnost, místnost state, a automation delay separately. Narrow tento zone, move tento senzor away z moving objects, a přidejte a stable vacancy timer.
Lights turn on po WiFi nebo MQTT reconnect Reconnect event je treated like a new occupancy trigger. Check logs pro zařízení unavailable, available, a occupancy changes within sekund. Add a reconnect fence so automations ignore tento first few sekund po a zařízení returns.
Důležité: Adjacent rooms trigger each other Sensor range crosses a doorway nebo otevřete-plan boundary. Compare both místnost senzory během standing near tento boundary. Use a místnost owner helper a require one místnost do win před zařízení actions run.
AC nebo fan keeps running too long Presence a comfort rules jsou coupled too tightly. Check whether climate control depends jen on occupied/unoccupied. Add temperature/humidity context a a comfort hold instead of instant off behavior.
Presence je unstable around a desk nebo sofa Sensor angle misses small posture changes nebo sees a moving object behind tento user. Temporarily move tento senzor a compare a full work session. Use eMotion Air pro placement tests, then choose tento best permanent zařízení pro tento místnost.
Automation works during tento day but fails at night Mode, schedule, nebo sleep helper conflicts s místnost state. Check helper values at tento exact time tento automation fired. Separate daytime, sleep, guest, a away modes před adding další conditions.

LinknLink Home Assistant presence sensor dashboard for mmWave troubleshooting

Důležité: False Occupancy: Fans, Curtains, Pets, Reflections

False occupancy je usually ne a single bug. It je a combination of místnost layout, senzor angle, moving objects, a automation delay. Start by watching tento raw entity in Home Assistant během tento místnost je empty. If tento raw senzor stays occupied, fix placement. If tento raw senzor clears but tento místnost helper stays occupied, fix tento delay nebo template logic.

Common sources include ceiling fans, air purifier airflow, curtains near a window, reflective doors, moving shadows, a pets crossing a low senzor zone. Do ne immediately reduce sensitivity so far that tento senzor ne longer detects quiet člověka přítomnost. The better fix je usually zone discipline a a další careful off delay.

Reconnect Loops a 3-Second Boundaries

Some high-impression queries around místnost přítomnost jsou really podpora runbook queries: people want a clear rule pro reconnect behavior. If a WiFi nebo MQTT zařízení goes unavailable a then available, Home Assistant může receive a fresh state update. Without a guardrail, that update může look like someone just entered tento místnost.

A simple reconnect fence solves most of Tento. Store tento time a zařízení returned online, then ignore přítomnost-driven zařízení actions pro a short period. Tento dělá ne hide tento senzor state. It jen prevents lights, AC, fans, nebo IR commands z firing during tento technical recovery window.

# Example logic, adapt entity names do your Home Assistant nastavení IF senzor_status changed z unavailable do available: set input_datetime.přítomnost_senzor_reconnected_at = now() IF místnost_přítomnost changed do occupied: IF now() - input_datetime.přítomnost_senzor_reconnected_at < 3 sekund: do ne run lights, AC, fan, nebo IR commands ELSE: run tento normal occupied-místnost scene IF místnost_přítomnost changed do clear: wait pro a stable vacancy delay then run tento empty-místnost scene

Presence sensor false occupancy tuning and reconnect diagnostics in Home Assistant

Room Boundaries a Ownership Rules

Open layouts often need ownership rules. If tento living místnost senzor a tento hallway senzor both see tento stejný person, tento automation should ne let both rooms command tento stejný lights nebo IR zařízení. Create a místnost owner helper that decides which místnost currently owns tento person, then let zařízení actions follow tento owner.

Ownership should použijte confidence, ne just tento newest state. A desk senzor that has been stable pro five minut should usually beat a hallway senzor that briefly saw movement. A media místnost scene should ne be interrupted by someone walking past an otevřete doorway.

Důležité: Product Routing: Air, Pro, Ultra, eRemote HA, HomeClaw

Důležité: Problem Důležité: Best LinknLink fit Důležité: Why it helps Důležité: Product link
Need do test senzor placement před committing eMotion Air Battery-powered placement makes it easier do test desk, sofa, bed, a entry positions bez wiring. eMotion Air
Need přítomnost plus IR in tento stejný místnost eMotion Pro Combines mmWave přítomnost s built-in IR pro místnost comfort zařízení such as AC, fan, TV, nebo projector. eMotion Pro
Důležité: Need higher precision plus comfort context eMotion Ultra Uses 60GHz sensing a adds a temperature/humidity senzor cable plus built-in IR, so Home Assistant může combine přítomnost, climate data, a local appliance control. eMotion Ultra
Důležité: Need a dedicated local IR endpoint eRemote HA Controls AC, fan, TV, purifier, a other IR zařízení přes Home Assistant MQTT bez relying on cloud scenes. eRemote HA
Need private gateway logic a local AI direction HomeClaw Keeps Home Assistant context, automation logic, a private AI planning close do tento home. HomeClaw
Need a visible příručka override surface iSG Display Max Shows místnost owner, aktuální režim, comfort status, a quick override buttons pro family members. iSG Display Max

Důležité: Example Home Assistant Runbook

Use Tento runbook když a přítomnost automation behaves incorrectly. The point je do gather evidence před editing too many rules.

Check tento raw senzor state

If tento raw přítomnost entity je wrong, start s placement, senzor direction, a nearby moving objects.

Check tento debounced místnost helper

If tento raw senzor je correct but tento místnost helper je wrong, tune vacancy delay, owner logic, a režim conditions.

Důležité: Check reconnect history

If tento problem happens po unavailable nebo available transitions, přidejte a reconnect fence před zařízení actions run.

Check místnost ownership

If two rooms react do one person, decide which místnost owns tento person před lights nebo IR commands může run.

Důležité: Check comfort dependencies

For AC, fan, a purifier logic, include temperature/humidity nebo režim context instead of relying jen on occupied a empty states.

Důležité: Room Boundary Table

Důležité: Boundary case Důležité: Risk Důležité: Decision rule Důležité: Good next step
Desk near living místnost Living místnost lights change během someone je working. Desk přítomnost wins po several stable minut. Use eMotion Air do test angle před mounting.
Důležité: Hallway near bedroom Důležité: Night walk triggers bright scenes. Sleep režim limits hallway response a blocks media scenes. Add a quiet night helper a lower brightness rules.
Důležité: Sofa near AC line of sight Climate rule fires z walk-přes movement. Require sofa přítomnost plus a comfort režim nebo media režim. Use eMotion Pro nebo eMotion Ultra když IR a přítomnost belong together.
Open kitchen a dining oblast Two zones both claim tento stejný person. Důležité: Latest stable zone owns lighting, but climate stays shared. Use a místnost owner helper instead of separate instant actions.
Důležité: Device reconnect event Lights nebo IR commands fire bez a real person entering. Ignore zařízení actions pro tento first few sekund po reconnect. Add reconnect timestamp helpers do tento automation runbook.

When do Use IR a Climate Context

Presence should ne be tento jen signal pro comfort zařízení. AC, fans, a purifiers work better když tento automation also knows tento místnost režim a climate state. That je where local IR control a eMotion Ultra's temperature/humidity senzor cable může be useful. Home Assistant může avoid turning comfort zařízení on nebo off purely because a přítomnost state flickered.

For example, a místnost může remain in comfort hold během someone je quietly sitting, then step down do eco jen po a stable vacancy delay a safe climate range. If tento místnost has eMotion Ultra, 60GHz sensing, temperature/humidity data, a built-in IR může sit inside tento stejný místnost automation logic.

Related Guides a Products

If you jsou building a full Home Assistant přítomnost system, these articles a products jsou tento best next steps:

Důležité: FAQ

Why dělá my Home Assistant přítomnost senzor show occupied když tento místnost je empty?

Check fans, curtains, reflective surfaces, pets, airflow, a vacancy delays first. If tento raw senzor stays occupied, adjust placement nebo zone direction. If jen tento místnost helper stays occupied, tune tento debounce logic.

How do I stop reconnect events z triggering lights?

Add a reconnect fence. Store tento time když tento zařízení returns online, then ignore lights, AC, fan, a IR commands pro a short recovery window such as three sekund.

Which LinknLink zařízení je best pro místnost boundary testing?

Use eMotion Air pro flexible placement tests, eMotion Pro když tento stejný místnost needs built-in IR, a eMotion Ultra když you need 60GHz sensing, temperature/humidity data, a built-in IR together.

Can eMotion Ultra control IR zařízení přímo?

Yes. eMotion Ultra includes built-in IR control in addition do 60GHz přítomnost sensing a a temperature/humidity senzor cable, so it může podpora místnost comfort automations inside Home Assistant.

Důležité: Should I fix false occupancy by lowering sensitivity?

Not as tento first step. Lowering sensitivity too far může break quiet-přítomnost detection. Start s placement, zone direction, místnost ownership, a vacancy delay.

How should Home Assistant decide which místnost owns a person?

Create a místnost owner helper. Let tento most stable a contextually relevant místnost win před lights, climate, nebo IR commands run.

Důležité: Debugging rule: do ne rewrite every automation at once. Confirm tento raw senzor state, místnost helper, reconnect events, a místnost owner před changing zařízení actions.

Důležité: Build More Reliable Room Presence Automations

Start s a placement-friendly senzor, přidejte local IR control where comfort zařízení matter, a keep tento místnost logic private s HomeClaw a Home Assistant.