Skip to content

Zones ​

Zones are areas you draw on the floor plan yourself, smaller than a room or across rooms: the couch, the desk, the front door, the kids' play corner. They work like rooms: each has sensors, and automations can react when someone enters or leaves one.

Zones need located phones and watches or mmWave target tracking sensors to know who is in them.

Drawing Zones ​

Zones are drawn in Home Assistant, not in the app, on the Zones tab of the Immersive Home dashboard. It shows your floor plan from above, with the tracked devices on it.

  1. Click Draw zone and drag a rectangle on the plan.
  2. Type a name for the zone in the list on the right.
  3. Change its shape:
    • Move: drag the zone.
    • Move a corner: drag the corner.
    • Add a corner: drag the dot in the middle of a side.
    • Remove a corner: right-click it.
  4. Delete: select the zone and click Delete zone, or press the Delete key.

The Zones tab with a zone drawn in the bedroom: its corners and side dots to change the shape, and in the list its name and the phone that is in it

Changes are saved right away. The turn button turns the plan, so it matches how you picture your home. The list shows who is in each zone.

Zones are stored in Home Assistant, separately from the home the headsets share: changing your rooms in the app doesn't change them. A zone stays where you drew it, so redraw it if you move a room in the app.

The 2D floor plan card shows zones too, filled while someone is in them.

Zone Sensors and Events ​

Every zone becomes a device, named like the zone, with two sensors:

  • Occupancy (binary_sensor.couch_occupancy): on while someone is in the zone.
  • People (sensor.couch_people): how many people are in it. Its people attribute lists who.

Who counts works like in rooms: every tracked phone, watch or tag, once per person, and the people an mmWave target tracking sensor (LD2450) sees as Someone. A new zone's device gets the area of the room around its middle. Renaming the zone renames its device; deleting the zone deletes its device.

The Room sensor of every tracked device lists the zones the device is in in its zones attribute.

Events ​

When a tracked device enters or leaves a zone, the integration fires an immersive_home_zone_entered or immersive_home_zone_left event:

Field
zone_idThe zone's id.
zoneThe zone's name.
device_idThe Home Assistant id of the tracked device.
nameThe tracked device's name.
personThe person the device belongs to, or null.
yaml
triggers:
  - trigger: event
    event_type: immersive_home_zone_entered
    event_data:
      zone: Couch
      person: Nils
actions:
  - action: scene.turn_on
    target:
      entity_id: scene.movie_time

People only an mmWave sensor sees fire no events, they have no lasting identity. Use the zone's Occupancy sensor for them.

How Small Can a Zone Be? ​

Phones and watches are only located to 1–2 m with Bluetooth. A device is counted in a zone once most of its likely positions are inside, so a zone smaller than about 2 × 2 m (the page warns below 4 m²) rarely sees one.

For a couch or a desk, use an mmWave target tracking sensor (LD2450) covering it: it locates people to about 10 cm, and pulls a tracked device's position there when it sees its owner. See mmWave Sensors.