diff --git a/docs/assets/apollo-mmwave-zone-list.png b/docs/assets/apollo-mmwave-zone-list.png index 23d82fe9bd..361a2aafa4 100644 Binary files a/docs/assets/apollo-mmwave-zone-list.png and b/docs/assets/apollo-mmwave-zone-list.png differ diff --git a/docs/assets/apollo-mmwave-zone-map-armed.png b/docs/assets/apollo-mmwave-zone-map-armed.png new file mode 100644 index 0000000000..4f8c75e729 Binary files /dev/null and b/docs/assets/apollo-mmwave-zone-map-armed.png differ diff --git a/docs/assets/apollo-mmwave-zone-map-draw-poster.jpg b/docs/assets/apollo-mmwave-zone-map-draw-poster.jpg index 49b142c4b1..d9ac8eef9c 100644 Binary files a/docs/assets/apollo-mmwave-zone-map-draw-poster.jpg and b/docs/assets/apollo-mmwave-zone-map-draw-poster.jpg differ diff --git a/docs/assets/apollo-mmwave-zone-map-draw.mp4 b/docs/assets/apollo-mmwave-zone-map-draw.mp4 index d90475eb94..4534a2c517 100644 Binary files a/docs/assets/apollo-mmwave-zone-map-draw.mp4 and b/docs/assets/apollo-mmwave-zone-map-draw.mp4 differ diff --git a/docs/assets/apollo-mmwave-zone-map-empty.png b/docs/assets/apollo-mmwave-zone-map-empty.png index 7b92caa65e..b102081e58 100644 Binary files a/docs/assets/apollo-mmwave-zone-map-empty.png and b/docs/assets/apollo-mmwave-zone-map-empty.png differ diff --git a/docs/assets/apollo-mmwave-zone-map-expand-poster.jpg b/docs/assets/apollo-mmwave-zone-map-expand-poster.jpg index cebc214ef0..cd90303617 100644 Binary files a/docs/assets/apollo-mmwave-zone-map-expand-poster.jpg and b/docs/assets/apollo-mmwave-zone-map-expand-poster.jpg differ diff --git a/docs/assets/apollo-mmwave-zone-map-expand.mp4 b/docs/assets/apollo-mmwave-zone-map-expand.mp4 index 3a53204715..2f9257a9cf 100644 Binary files a/docs/assets/apollo-mmwave-zone-map-expand.mp4 and b/docs/assets/apollo-mmwave-zone-map-expand.mp4 differ diff --git a/docs/assets/apollo-mmwave-zone-map-expanded-phone-strip.png b/docs/assets/apollo-mmwave-zone-map-expanded-phone-strip.png new file mode 100644 index 0000000000..bcce9b5ffc Binary files /dev/null and b/docs/assets/apollo-mmwave-zone-map-expanded-phone-strip.png differ diff --git a/docs/assets/apollo-mmwave-zone-map-expanded-phone.png b/docs/assets/apollo-mmwave-zone-map-expanded-phone.png deleted file mode 100644 index 7f63b5eb92..0000000000 Binary files a/docs/assets/apollo-mmwave-zone-map-expanded-phone.png and /dev/null differ diff --git a/docs/assets/apollo-mmwave-zone-map-labels.png b/docs/assets/apollo-mmwave-zone-map-labels.png new file mode 100644 index 0000000000..b103ea1817 Binary files /dev/null and b/docs/assets/apollo-mmwave-zone-map-labels.png differ diff --git a/docs/assets/apollo-mmwave-zone-map-redraw-poster.jpg b/docs/assets/apollo-mmwave-zone-map-redraw-poster.jpg new file mode 100644 index 0000000000..c6ea380649 Binary files /dev/null and b/docs/assets/apollo-mmwave-zone-map-redraw-poster.jpg differ diff --git a/docs/assets/apollo-mmwave-zone-map-redraw.mp4 b/docs/assets/apollo-mmwave-zone-map-redraw.mp4 new file mode 100644 index 0000000000..2cc3b9c3bc Binary files /dev/null and b/docs/assets/apollo-mmwave-zone-map-redraw.mp4 differ diff --git a/docs/assets/apollo-mmwave-zone-map-walk-poster.jpg b/docs/assets/apollo-mmwave-zone-map-walk-poster.jpg index f95bb7e8a0..2d987f1a20 100644 Binary files a/docs/assets/apollo-mmwave-zone-map-walk-poster.jpg and b/docs/assets/apollo-mmwave-zone-map-walk-poster.jpg differ diff --git a/docs/assets/apollo-mmwave-zone-map-walk.mp4 b/docs/assets/apollo-mmwave-zone-map-walk.mp4 index cfd4a3556f..24798c37ec 100644 Binary files a/docs/assets/apollo-mmwave-zone-map-walk.mp4 and b/docs/assets/apollo-mmwave-zone-map-walk.mp4 differ diff --git a/docs/assets/apollo-mmwave-zone-map-zoom-poster.png b/docs/assets/apollo-mmwave-zone-map-zoom-poster.png index 28a720f79b..11731acdb3 100644 Binary files a/docs/assets/apollo-mmwave-zone-map-zoom-poster.png and b/docs/assets/apollo-mmwave-zone-map-zoom-poster.png differ diff --git a/docs/assets/apollo-mmwave-zone-map-zoom.mp4 b/docs/assets/apollo-mmwave-zone-map-zoom.mp4 index 48329751d7..ffbbcf1b6b 100644 Binary files a/docs/assets/apollo-mmwave-zone-map-zoom.mp4 and b/docs/assets/apollo-mmwave-zone-map-zoom.mp4 differ diff --git a/docs/assets/apollo-mmwave-zone-map.png b/docs/assets/apollo-mmwave-zone-map.png index 7fb43f61ce..42dcc6d915 100644 Binary files a/docs/assets/apollo-mmwave-zone-map.png and b/docs/assets/apollo-mmwave-zone-map.png differ diff --git a/docs/assets/apollo-mmwave-zone-restore.png b/docs/assets/apollo-mmwave-zone-restore.png new file mode 100644 index 0000000000..9199866302 Binary files /dev/null and b/docs/assets/apollo-mmwave-zone-restore.png differ diff --git a/docs/products/general/setup/apollo-mmwave-dashboard-setup.md b/docs/products/general/setup/apollo-mmwave-dashboard-setup.md index 8dde44b21e..e2cd48aca6 100644 --- a/docs/products/general/setup/apollo-mmwave-dashboard-setup.md +++ b/docs/products/general/setup/apollo-mmwave-dashboard-setup.md @@ -132,7 +132,7 @@ An MTR-1 tab is built around the zone map, with everything for its LD2450 radar - **Start here** lists three steps (fix anything the Radar setup card flags, set **Cone rotation** under **Map settings** on the zone map, then press **Add zone** under the map, draw the zone, and walk into it), says which presence sensor to use in automations, and links to your sensor's own page. - **Radar setup** checks **Zone Type** and **Multi Target Tracking**, the two radar settings that decide whether the map can show people, and fixes them when you press its button. **Zone Type** should be **Disabled**, because the zone map replaces the radar's own built-in zones. -- The zone map, titled with your sensor's name, shows the radar's view, a cone 120 degrees wide and about 6 m (20 ft) out, with a numbered dot for each target the LD2450 is tracking, and fills in each zone while someone is in it. It's in feet or meters to match Home Assistant, and the **m / ft** switch on the map changes it. A pencil button in the lower left opens the drawing tools, and the lower right holds the unit switch and the undo and lock buttons, with the zoom buttons (−, +, and **Fit**) above them. Under the grid are the **Coverage** button (on a phone or tablet, with **🚶 Mark corners by walking** before it for administrators), the **Zones** panel, and a collapsed **Map settings** section. **Zones** holds **Add zone**, a button for each zone, and an editor for the zone you pick, with its name, size, **Type**, **Hold** time, and **Delete zone**. **Map settings** holds the cone rotation slider with the hint to mount the sensor first, **Flip the map left to right (display only)**, **Movement history** (for administrators), and **Clear all shapes**. The expand button in the map's top-right corner (**Expand map**) gives the map the whole window when the card feels cramped. +- The zone map, titled with your sensor's name, shows the radar's view, a cone 120 degrees wide and about 6 m (20 ft) out, with a numbered dot for each target the LD2450 is tracking, and fills in each zone while someone is in it. It's in feet or meters to match Home Assistant, and the **m / ft** switch on the map changes it. A pencil button in the lower left opens the drawing tools, and the lower right holds the unit switch and the undo and lock buttons, with the zoom buttons (−, +, and **Fit**) above them. Under the grid are the **Coverage** button (on a phone or tablet, with **🚶 Mark corners by walking** before it for administrators), the **Zones** panel, and a collapsed **Map settings** section. **Zones** holds **Add zone**, a button for each zone, and an editor for the zone you pick, with its name, size, **Type**, **Hold** time, **Draw shape** (**Redraw shape** once the zone has a shape), which gets the map ready to draw that zone, and **Delete zone**. **Map settings** holds the cone rotation slider with the hint to mount the sensor first, **Flip the map left to right (display only)**, **Movement history** (for administrators), and **Clear all shapes**. **Expand** in the map's top-right corner (the icon alone on a phone) gives the map the whole window when the card feels cramped. - **Zone presence**, **LD2450 Live**, and **Occupancy History** show each zone's presence sensor, what the radar reports right now, and the last 24 hours. **LD2450 Presence**, the first row of **LD2450 Live** and a line in **Occupancy History**, is on while the radar sees anyone anywhere in its view, whether or not they're in a zone. - **LD2450 Controls**, the radar's built-in zones (only while Zone Type isn't **Disabled**), and the **Device** card end the tab. @@ -278,6 +278,17 @@ On updates from Apollo mmWave 2.4.0 or later, the cards tell you when one of the The version numbers are the ones on your system. Only one card on the page shows the notice, and it goes away once the page and Home Assistant run the same version. Cards from earlier releases have no such check, so on the update to 2.4.0 itself, no notice doesn't mean the page runs the new cards: do the steps above anyway. +### Updating to Apollo mmWave 2.4.1 + +2.4.1 changes the zone map of R PRO-1 and MTR-1 tabs, and nothing on the radar. After the restart and a reload, check these if they apply to you: + +- **One zone habit changes.** A drag on an unlocked map no longer redraws the picked zone on its own. Press **Redraw shape** in the zone's editor (**Draw shape** for a zone with no shape yet), or ✎ beside its button, and a banner on the map names the zone your drag draws, such as **Drawing Couch**. **Add zone** still goes straight to drawing its new zone. Until you press it, one finger on the map scrolls the page. [Draw a zone](apollo-mmwave-dashboard.md#draw-a-zone) shows the steps. +- **A shape can come back.** After each shape saves, the message offers **Undo**, and the zone's editor keeps **Restore previous shape**, which works after a reload or from another device. A shape you changed before the update has no previous shape kept, so **Restore previous shape** shows up after a zone's next shape change. [Undo a shape change](apollo-mmwave-dashboard.md#undo-a-shape-change) has the details. +- **The map looks a little different.** While you edit on an unlocked map, a picked zone that has a shape is bright with a dot on each corner and the other zones fade, zone names move apart where zones overlap, and the expand button reads **Expand** where the map has room. [Pick a zone in the Zones panel](apollo-mmwave-dashboard.md#pick-a-zone-in-the-zones-panel) covers it. +- **A card still looks like 2.4.0.** Reload it as [Load the new cards](#load-the-new-cards) shows. Until the page runs the 2.4.1 cards, the **Radar setup** card shows **Apollo mmWave was updated to 2.4.1, but this page still runs 2.4.0.** with a **Reload** button. +- **Dashboard resources managed in YAML.** Replace both `?v=` addresses with the ones the log warning lists (see [An Apollo card shows an error after an update](#an-apollo-card-shows-an-error-after-an-update)). +- **Going back to 2.4.0.** Nothing needs restoring: 2.4.0 ignores the previous shape Apollo mmWave keeps for each zone, and drops it the next time it changes that zone's shape. Under 2.4.0 a drag on an unlocked map redraws the picked zone again. + ### Updating to Apollo mmWave 2.4.0 After the restart and a reload, the zone map fills in each zone while someone is in it and numbers the dots, zooms in up to 8 times, and snaps the corners you draw to round values, and administrators get new tools: walking a zone's corners, ignore zones, hold times, a left-to-right flip, and movement history. The expand button in the map's top-right corner gives the map the whole window. Your zones move out of **Configure → Zones** into a **Zones** panel right under the map, with **Add zone**, a button for each zone, and an editor for the zone you pick. **Configure** is now **Map settings**, at the bottom of the card. Nothing changes on its own: every zone stays a detect zone with no hold, the map isn't flipped, and movement history stays off until an administrator turns it on. A dashboard you took control of gets these too, because they're part of the card. [Draw zones on the R PRO-1 and MTR-1](apollo-mmwave-dashboard.md#draw-zones-on-the-r-pro-1-and-mtr-1) covers them. diff --git a/docs/products/general/setup/apollo-mmwave-dashboard.md b/docs/products/general/setup/apollo-mmwave-dashboard.md index b482c98778..1f73ea9d69 100644 --- a/docs/products/general/setup/apollo-mmwave-dashboard.md +++ b/docs/products/general/setup/apollo-mmwave-dashboard.md @@ -9,7 +9,16 @@ The Apollo mmWave dashboard puts every setting your radar has on one screen, wit Every tab starts with a **Start here** card that lists your sensor's first steps in order, and this guide follows the same order: check the **Radar setup** card, calibrate, set how far the radar looks and how long presence stays on, then fine-tune by hand. If you only do one thing today, press **Calibrate with empty room** and leave the room: [Calibrate with an empty room](#calibrate-with-an-empty-room) shows what to expect. On an MTR-1, or an R PRO-1 without the LD2412, go straight to the [eight steps to your first zone](#draw-zones-on-the-r-pro-1-and-mtr-1). -!!! info "What's new in 2.4.0" +!!! info "What's new in 2.4.1" + + 2.4.1 is about the zone map of R PRO-1 and MTR-1 tabs, after feedback from people who draw zones on a phone and on a large monitor. + + - **Draw shape first.** A drag on the map draws only after you press **Draw shape** (**Redraw shape** once the zone has a shape) in the zone's editor, or ✎ beside its button. A banner on the map names the zone it draws, such as **Drawing Couch**, with **Cancel**: [Draw a zone](#draw-a-zone). **Add zone** does this for you, so a new zone is still one press and one drag. + - **Undo that survives a reload.** After each shape saves, the message offers **Undo**, and the zone's editor keeps **Restore previous shape**, which still works after the page reloads or from another device: [Undo a shape change](#undo-a-shape-change). + - **You can see which zone you picked.** While you edit on an unlocked map, a picked zone that has a shape is drawn bright with a dot on each corner and the others fade, and zone names move apart where zones overlap: [Pick a zone in the Zones panel](#pick-a-zone-in-the-zones-panel). + - **Expand is easier to find.** The button in the map's top-right corner reads **Expand** where the map has room, and on a phone held upright a strip of zone buttons stays under the expanded map: [Expand the map](#expand-the-map). + +??? info "What's new in 2.4.0" Most of 2.4.0 is on the zone map of R PRO-1 and MTR-1 tabs, and the [eight zone steps](#draw-zones-on-the-r-pro-1-and-mtr-1) walk you through it. @@ -29,7 +38,7 @@ Here's the **Start here** card on an MSR-1. On an MTR-1, or an R PRO-1 without t !!! note "Before you start" - The Apollo mmWave integration is installed and its **Apollo mmWave** dashboard is in your Home Assistant sidebar. If it isn't, sign in as an administrator (from Apollo mmWave 2.2.6, the dashboard is for administrators only unless you unticked that box), or follow the [Apollo mmWave dashboard setup guide](apollo-mmwave-dashboard-setup.md) to add it. - - This guide shows Apollo mmWave 2.4.0. On an older version some cards look different, so [update it](apollo-mmwave-dashboard-setup.md#upgrade-from-an-older-setup) first. If a card this guide describes isn't on your tab, see [If your dashboard is missing cards](apollo-mmwave-dashboard-setup.md#if-your-dashboard-is-missing-cards). + - This guide shows Apollo mmWave 2.4.1. On an older version some cards look different, so [update it](apollo-mmwave-dashboard-setup.md#upgrade-from-an-older-setup) first. If a card this guide describes isn't on your tab, see [If your dashboard is missing cards](apollo-mmwave-dashboard-setup.md#if-your-dashboard-is-missing-cards). - Your radar is online in Home Assistant through ESPHome. - Your sensor is mounted where it will stay. A calibration, and the zones you draw, describe the room from the sensor's position, so moving the sensor later means calibrating again or redrawing your zones. - A calibration needs the room empty for about a minute and a half: people and pets out, robot vacuum docked. @@ -284,7 +293,7 @@ Your first zone takes eight steps. The sections below follow them in order, each 1. **Install Apollo mmWave and open its dashboard.** The [setup guide](apollo-mmwave-dashboard-setup.md) covers both, and your sensor's tab holds the zone map. 2. **Fix anything the Radar setup card flags.** Its button sets the radar up for the map: [Check the LD2450's Radar setup card](#check-the-ld2450s-radar-setup-card). 3. **Set Cone rotation** so the map faces the way the sensor does: [Match the map to how the sensor is mounted](#match-the-map-to-how-the-sensor-is-mounted). -4. **Add a zone and draw it** over the spot it covers: [Add a zone](#add-a-zone), then [Draw a zone](#draw-a-zone). +4. **Add a zone and draw it** over the spot it covers. **Add zone** gets the map ready to draw the new zone, and a banner on the map names it: [Add a zone](#add-a-zone), then [Draw a zone](#draw-a-zone). Drew it wrong? [Undo a shape change](#undo-a-shape-change) puts the old shape back. 5. **Name the zone, and choose Detect or Ignore and a hold time** in its editor under the map: [Pick a zone in the Zones panel](#pick-a-zone-in-the-zones-panel), [Rename a zone](#rename-a-zone), and [Ignore a spot or hold a zone](#ignore-a-spot-or-hold-a-zone). 6. **Walk into the zone to check that it works.** It lights up on the map while you're in it: [Read the map](#read-the-map), then [Use the zone sensors](#use-the-zone-sensors) in your automations. 7. **Expand the map** whenever the card feels cramped: [Expand the map](#expand-the-map). @@ -292,15 +301,15 @@ Your first zone takes eight steps. The sections below follow them in order, each The **Start here** card on an MTR-1, or on an R PRO-1 without the optional LD2412, lists steps 2, 3, 4, and 6 in short. After the steps come the map's other tools: [zoom](#zoom-in-and-move-the-map), [the lock](#lock-and-unlock), [marking corners by walking](#mark-corners-by-walking), [deleting zones](#clear-or-delete-a-zone), and [movement history](#replay-movement-history). -The zone map card shows your radar's name and the area the radar can see: a view cone 120 degrees wide and about 6 m (20 ft) out, with a caption at its edge such as **Radar range 6 m (20 ft), 120°**, and a numbered dot for each person it tracks. The map fits that area, turned the way you set **Cone rotation**, plus any zone you drew outside it. Buttons sit in the bottom corners of the grid, with the zoom buttons above the ones on the right, and the expand button sits in its top-right corner (see [Expand the map](#expand-the-map)). Underneath are: +The zone map card shows your radar's name and the area the radar can see: a view cone 120 degrees wide and about 6 m (20 ft) out, with a caption at its edge such as **Radar range 6 m (20 ft), 120°**, and a numbered dot for each person it tracks. The map fits that area, turned the way you set **Cone rotation**, plus any zone you drew outside it. Buttons sit in the bottom corners of the grid, with the zoom buttons above the ones on the right, and **Expand** sits in its top-right corner (see [Expand the map](#expand-the-map)). Underneath are: - The **Coverage** button, and for administrators **History** once movement history is on, and **🚶 Mark corners by walking** before it on a phone or tablet. -- The **Zones** panel, which is always open. It holds **Add zone**, a button for each zone, and an editor for the zone you picked: its name, size, **Type**, **Hold**, whether someone is in it right now, how to draw it, and **Delete zone** (see [Pick a zone in the Zones panel](#pick-a-zone-in-the-zones-panel)). +- The **Zones** panel, which is always open. It holds **Add zone**, a button for each zone, and an editor for the zone you picked: its name, size, **Type**, **Hold**, whether someone is in it right now, how to draw it with **Draw shape** or **Redraw shape**, and **Delete zone** (see [Pick a zone in the Zones panel](#pick-a-zone-in-the-zones-panel)). - **Map settings**, a collapsed section at the bottom of the card, with **Cone rotation**, the left-to-right flip, **Movement history**, and **Clear all shapes**. On the Apollo mmWave dashboard the zone map's section is two columns wide, so on a computer the map is about twice as wide as the cards beside it. On a phone it fills the screen's one column as before. The map is never taller than the window less about 200 px, so the page around it stays in view. In a wide, short window it gets narrower instead and sits in the middle of the card, though that limit never makes it shorter than 240 px, so a phone on its side still gets a map. -![The zone map for an R PRO-1 named R PRO-1 Server Rack, in feet: the radar's view cone fills the grid from -16 ft to 16 ft across, with the caption Radar range 20 ft (6 m), 120°, and a rectangle named Zone 1 at the sensor, a circle named Zone 2, and a polygon named Zone 3, each with a pale fill and a dashed outline because nobody is in it. The expand button sits in the map's top-right corner. Along the bottom of the grid are the ✎ button, the m / ft switch with ft selected, the dimmed ↶ undo button, and the Locked button, with the zoom buttons above those on the right: a dimmed minus, + and Fit. Under the grid are the Coverage button and the Zones panel: the Zones heading with the Add zone button, a button for each zone with its color dot, Zone 1 selected, and Zone 1's editor, edged in red, with the Name box reading Zone 1, Size 6 ft 7 in × 3 ft 3 in, the Type list at Detect and the Hold list at Off, the hint Detect: its presence sensor turns on while someone is inside. Hold keeps it on for a while after someone inside goes still and the radar loses them., Now Nobody is in this zone, the note The map is locked, so drawing is off. Unlock it to draw this zone or change its shape. with an Unlock button, and a Delete zone button. The collapsed Map settings section ends the card](/assets/apollo-mmwave-zone-map.png) +![The zone map for an R PRO-1 named R PRO-1 Server Rack, in feet: the radar's view cone fills the grid from -16 ft to 16 ft across, with the caption Radar range 20 ft (6 m), 120°, and a rectangle named Zone 1 at the sensor, a circle named Zone 2, and a polygon named Zone 3, each with a pale fill and a dashed outline because nobody is in it. Expand, with its icon, sits in the map's top-right corner. Along the bottom of the grid are the ✎ button, the m / ft switch with ft selected, the dimmed ↶ undo button, and the Locked button, with the zoom buttons above those on the right: a dimmed minus, + and Fit. Under the grid are the Coverage button and the Zones panel: the Zones heading with the Add zone button, a button for each zone with its color dot, Zone 1 selected, and Zone 1's editor, edged in red, with the Name box reading Zone 1, Size 6 ft 7 in × 3 ft 3 in, the Type list at Detect and the Hold list at Off, the hint Detect: its presence sensor turns on while someone is inside. Hold keeps it on for a while after someone inside goes still and the radar loses them., Now Nobody is in this zone, the note The map is locked, so drawing is off. Unlock it to draw this zone or change its shape. with an Unlock button, and a Delete zone button. The collapsed Map settings section ends the card](/assets/apollo-mmwave-zone-map.png) The map is in feet when Home Assistant uses US customary units (**Settings → System → General**), and in meters otherwise. The **m / ft** switch in the bottom-right corner of the map changes it. When an administrator presses it, the choice is saved for that radar, so everyone who opens its map sees that unit. Anyone else changes only their own view, until they reload the page. Zones are stored in millimeters either way, so switching units never moves a zone. The switch changes only the map, never the radar's Target X and Y sensors (see [Target X and Y units](#target-x-and-y-units)). @@ -334,22 +343,35 @@ The flip mirrors the whole map, zones and dots alike, for everyone who opens it. The **Zones** panel sits right under the map, below **Coverage**. A radar with no zones yet reads **No zones yet. Press Add zone, then drag on the map to draw it.**, with the reminder about **Cone rotation** under it, and a press on its map shows **Press Add zone under the map first.** -![The zone map for an R PRO-1 named R PRO-1 Living Room with no zones yet, in feet and unlocked: the radar's view cone with the caption Radar range 20 ft (6 m), 120°, the expand button in the map's top-right corner, the Coverage button under the grid, then the Zones heading with the Add zone button, the line No zones yet. Press Add zone, then drag on the map to draw it., the hint Is the sensor turned, or mounted in a corner? Set Cone rotation under Map settings first., and the collapsed Map settings section at the bottom of the card](/assets/apollo-mmwave-zone-map-empty.png) +![The zone map for an R PRO-1 named R PRO-1 Living Room with no zones yet, in feet and unlocked: the radar's view cone with the caption Radar range 20 ft (6 m), 120°, dots 1 and 2, Expand with its icon in the map's top-right corner, the Coverage button under the grid, then the Zones heading with the Add zone button, the line No zones yet. Press Add zone, then drag on the map to draw it., the hint Is the sensor turned, or mounted in a corner? Set Cone rotation under Map settings first., and the collapsed Map settings section at the bottom of the card](/assets/apollo-mmwave-zone-map-empty.png) -Press **Add zone** beside the **Zones** heading. The new zone is named **Zone 1** (then Zone 2, and so on), gets its own button under the heading, and is picked and ready to draw. Its sensors are created right away. The map holds up to 32 zones: after that, **Add zone** is grayed out and the panel reads **The map holds up to 32 zones. Delete one to add another.** +Press **Add zone** beside the **Zones** heading. The new zone is named **Zone 1** (then Zone 2, and so on), gets its own button under the heading, and is picked, with the map ready to draw it: a banner in the map's top-left corner reads **Drawing Zone 1**, with **Cancel**, and the zone's editor says how to draw it. Its sensors are created right away. On a locked map, **Add zone** adds the zone without the banner, and **Unlock** in its editor unlocks the map and gets it ready to draw. The map holds up to 32 zones: after that, **Add zone** is grayed out and the panel reads **The map holds up to 32 zones. Delete one to add another.** ### Draw a zone -You draw each zone on the grid as a rectangle, ellipse, or polygon, or mark its corners by walking them (see [Mark corners by walking](#mark-corners-by-walking)). +You draw each zone on the grid as a rectangle, ellipse, or polygon, or mark its corners by walking them (see [Mark corners by walking](#mark-corners-by-walking)). A drag on the map draws only after you say which zone it draws, so a drag that starts while the wrong zone is picked can't replace that zone's shape. + +1. Pick the zone with its button under **Zones**, or tap it on the map. A zone you added a moment ago is picked already. If the lock button in the map's bottom-right corner reads **Locked**, press it to unlock the map (see [Lock and unlock](#lock-and-unlock)). A radar with no zones yet starts unlocked. +2. Press **Draw shape** in the zone's editor (**Redraw shape** once the zone has a shape), or ✎ joined to its button (**Draw Couch** or **Redraw Couch** for a zone named Couch). **Add zone** does this for its new zone, so a zone you added a moment ago is ready already. A banner in the map's top-left corner, clear of the radar's view, names the zone, such as **Drawing Couch**, with **Cancel** at its left end. The editor's button now reads **Cancel drawing**, ✎ turns into ✕, and if the map was partly off the screen, it scrolls into view. If the zone has a shape, it's drawn bright with a dot on each corner, and the other zones fade: -1. Pick the zone with its button under **Zones**. A zone you added a moment ago is picked already. If the lock button in the map's bottom-right corner reads **Locked**, press it to unlock the map (see [Lock and unlock](#lock-and-unlock)). A radar with no zones yet starts unlocked. -2. Press ✎ (**Drawing modes**) in the bottom-left corner and pick a shape: ▭ (**Rectangle**), ◯ (**Ellipse**), or ⬠ (**Polygon**). The zone's editor says how to draw in the mode you picked. The map starts on **Rectangle** each time the page loads. -3. For a rectangle or ellipse, drag across the grid and let go to save. A tap without a drag draws nothing, and a tap on another zone picks that zone. -4. For a polygon, click each corner, then double-click or press ✓ (**Finish polygon**) to save. A polygon can have up to 32 points. ↺ (**Undo last point**) or **Backspace** removes the last point, and **Esc** cancels the shape. + ![The zone map for an R PRO-1 named R PRO-1 Living Room, in feet and unlocked, ready to draw the Couch zone: the banner Drawing Couch, with a Cancel button at its left end, in the map's top-left corner, the Couch zone bright blue and dashed with a dot on each corner, and dot 1 a little outside its left edge. The Desk zone with dot 2 in it, the Doorway zone, and the Fan (ignored) zone are faint, with their names grayed. Expand sits in the map's top-right corner. Under the map are the Coverage button and the Zones heading with the Add zone button, above the Desk, Couch, Doorway, and Fan buttons, with Couch picked and ✕ (Cancel drawing) joined to it](/assets/apollo-mmwave-zone-map-armed.png) + +3. To draw an ellipse or a polygon, press ✎ (**Drawing modes**) in the bottom-left corner and pick a shape: ▭ (**Rectangle**), ◯ (**Ellipse**), or ⬠ (**Polygon**). The zone's editor says how to draw in the mode you picked. The map starts on **Rectangle** each time the page loads. +4. For a rectangle or ellipse, drag across the grid and let go to save. A tap without a drag draws nothing, and a tap on another zone picks that zone. +5. For a polygon, click each corner, then double-click or press ✓ (**Finish polygon**) to save. A polygon can have up to 32 points. ↺ (**Undo last point**) or **Backspace** removes the last point, and **Esc** drops the shape and stops drawing. + +The shape saves, the banner goes away, and a message names the zone with an **Undo** button: **Zone 1 drawn** for a zone's first shape, or **Couch redrawn** for a new one (see [Undo a shape change](#undo-a-shape-change)). Drawing ends with the shape, so the next drag draws nothing until you press **Redraw shape** again. To stop without a change, press **Cancel** in the banner, **Cancel drawing**, ✕, or **Esc**. Picking another zone, locking the map, **🚶 Mark corners by walking**, **History**, and **Delete zone** stop drawing too. Here's a first zone on a radar with no zones yet, from **Add zone** to the saved rectangle: - + + +Until you press **Draw shape** or **Redraw shape**, nothing you do on an unlocked map draws: + +- One finger on a phone or tablet scrolls the page, and two fingers zoom and move the map. +- A press on another zone picks it. +- A press anywhere else, on the picked zone too, says how to start, such as **To redraw Couch, press Redraw shape first.**, or **To draw Couch, press Draw shape first.** for a zone with no shape yet. +- With a mouse, a Shift-drag or a middle-button drag moves a zoomed map. Corners snap to round values, about a tenth of the space between the grid lines you see: 10 cm at 1 m lines, 2 in at 2 ft lines, and finer as you zoom in, down to 1 cm or 1 in. So a corner lands on a round number instead of somewhere between two lines. Hold **Alt** (**Option** on a Mac) to place a corner exactly where the pointer is, even partway through a drag. Corners you mark by walking never snap. @@ -357,24 +379,49 @@ While you draw, a readout above the pointer shows the size the zone will get, wi Finishing a polygon that can't be saved shows why: **A polygon needs at least 3 different points.** With no zone selected, it shows **Select a zone first.** -Drawing a new shape for a zone replaces its old one. Made a mistake? ↶ (**Undo last zone change**) in the bottom-right corner puts the last change back. Drawing works with touch too, so you can draw zones from a phone or tablet. Zoom in first for a small zone, such as a chair (see [Zoom in and move the map](#zoom-in-and-move-the-map)). If a second finger touches the screen before the first has moved, the two fingers zoom the map instead: a rectangle or ellipse you had started is dropped, and a polygon keeps the corners you already placed. With a mouse, a Shift-drag or a middle-button drag moves the map, so neither draws or places a corner. +Drawing a new shape for a zone replaces its old one, and **Undo** in the message puts the old one back. Drawing works with touch too, so you can draw zones from a phone or tablet. Zoom in first for a small zone, such as a chair (see [Zoom in and move the map](#zoom-in-and-move-the-map)). If a second finger touches the screen before the first has moved, the two fingers zoom the map instead: a rectangle or ellipse you had started is dropped, and a polygon keeps the corners you already placed. With a mouse, a Shift-drag or a middle-button drag moves the map, so neither draws or places a corner. + +Here the Couch zone gets a new shape: ✎ beside its button gets the map ready to draw Couch, a drag around dot 1 draws it, and **Undo** in the message **Couch redrawn** puts the old shape back: + + + +### Undo a shape change + +Drew over the wrong zone, or don't like the new shape? There are three ways back, and the last one still works after the page reloads: + +- **Undo in the message.** After each shape saves, whether you dragged it, finished a polygon, finished marking corners by walking, or pressed **Clear all shapes**, the message says what changed, such as **Couch redrawn**, **Zone 2 drawn**, or **All shapes cleared**, and offers **Undo** for 10 seconds. **Undo** puts the old shape back and says **Undid the change to Couch** or **Undid Clear all shapes**. Home Assistant shows the message at the bottom of the screen, and the [expanded map](#expand-the-map) shows it at the bottom of the window. +- **↶ on the map.** ↶ (**Undo last zone change**) in the map's bottom-right corner does the same for the last shape change made on this page, until you undo it or change another shape. It's grayed out while there's nothing to undo. +- **Restore previous shape.** Apollo mmWave keeps the shape each zone had before its last shape change in Home Assistant, along with when it was replaced. While the zone had a shape before that change, its editor shows **Restore previous shape** under the zone's size, with when, such as **Replaced 5 min ago**. It works after the page reloads, after the Home Assistant app comes back from the background, and from another phone or computer. It swaps the two shapes and says **Previous shape of Couch restored**, with **Undo**, and pressed again, it swaps them back. Each zone keeps one previous shape, so the next change to its shape replaces it. After **Clear all shapes**, each zone's editor offers its old shape back. + +![The Zones panel under the zone map with the Couch zone picked: the Zones heading with the Add zone button, the Desk, Couch, Doorway, and Fan buttons with ✎ joined to Couch, and the Couch zone's editor, titled Zone 2 and edged in blue: the Name box reading Couch, Size 4 ft 3 in × 7 ft 10 in, a Restore previous shape button with Replaced 5 min ago beside it, the Type list at Detect and the Hold list at 5 min, the Detect hint, Now Nobody is in this zone, the drawing hint Press Redraw shape, then drag on the map to give this zone a new rectangle. ✎ on the map offers an ellipse or a polygon. A tap on a zone on the map picks it. Expand, at the map's top right, fills the window with the map., a Redraw shape button, and a Delete zone button](/assets/apollo-mmwave-zone-restore.png) + +If a zone's shape changed somewhere else in the meantime, in another browser or with the `apollo_mmwave.update_zone` action, the card leaves it as it is and says so. It does the same when the shape Home Assistant kept is no longer the one this card would bring back, for example after another phone redrew the zone and then undid that. The message reads **Couch was changed in the meantime, so it was not undone.** or **Couch was changed in the meantime, so nothing was restored.** An **Undo** of **Clear all shapes** still puts the other zones back. + +**Undo**, ↶, and **Restore previous shape** are for administrators, on an unlocked map. On a locked map, ↶ and **Restore previous shape** are dimmed, and a press says **Unlock the map to undo a shape change.** or **Unlock the map to restore a shape.** A new name, **Type**, or **Hold** isn't a shape change, so it keeps the previous shape. Nothing brings back a deleted zone. ### Pick a zone in the Zones panel -Each zone has a button under the **Zones** heading, with a dot in the zone's color on the map. The dot is hollow while the zone isn't drawn yet, and gray and hatched for an ignore zone. The picked zone's button has a colored ring around it. Press a zone's button to pick it. You can also tap the zone on the map: on a locked map, and in Rectangle or Ellipse mode on an unlocked one, a tap picks the zone under it, the smallest one where zones overlap. When the card opens, the first zone is picked. While the map is unlocked, the picked zone's outline is thicker. +Each zone has a button under the **Zones** heading, with a dot in the zone's color on the map. The dot is hollow while the zone isn't drawn yet, and gray and hatched for an ignore zone. The picked zone's button has a colored ring around it, and for an administrator on an unlocked map, ✎ joined to it (**Draw Couch** or **Redraw Couch**), which gets the map ready to draw that zone. Press a zone's button to pick it. You can also tap the zone on the map: a tap picks the zone under it, the smallest one where zones overlap, on a locked map, on an unlocked one until you press **Draw shape** or **Redraw shape**, and in Rectangle or Ellipse mode while you draw. When the card opens, the first zone is picked. + +While you edit on an unlocked map, a picked zone that has a shape is drawn bright, with a thicker outline and a dot on each corner, and the other zones fade to faint outlines with paler names, so you can see which zone a drag would draw. A locked map, and the map of a user who isn't an administrator, draw every zone alike. + +Where zones overlap or one sits inside another, their names move apart so no name covers another. The smaller zone's name is placed first, and a name that would cover another moves to the top or bottom inside its zone, then right above or below it, a size smaller if it must, then out beside the zone, as close as there is room, with a line to it. No name is hidden to make room, and names keep clear of the buttons, the banner, and the notes on the map (**Radar offline** and a replay's time). A zone drawn smaller than about 20 by 14 px still shows no name, so zoom in to see it: + +![The zone map for an R PRO-1 named R PRO-1 Living Room, in feet and locked, with zones inside other zones, all pale and dashed, and no two names overlapping. The large Living room rectangle has its name along its top edge. Inside it on the left, the Couch zone's name sits at the top of the Couch, clear of Couch, middle seat, which is centered on the smaller seat zone and runs past its sides. On the right, Rug is written near the top of the Rug ellipse, above Coffee table, centered on the coffee table zone inside it. Dot 1 is outside every zone. Under the map are the Coverage button and the Zones heading with the Add zone button, above the Living room, Couch, Couch, middle seat, Rug, and Coffee table buttons, with Living room picked](/assets/apollo-mmwave-zone-map-labels.png) The picked zone's editor sits under the buttons, with the zone's number as its heading, such as **Zone 2**: - **Name**. Type a new name and press Enter (see [Rename a zone](#rename-a-zone)). - The zone's size, such as **Size 2.4 m × 1.8 m**, or **Not drawn yet**. +- **Restore previous shape**, with when the zone's shape was replaced, such as **Replaced 5 min ago**, while Apollo mmWave keeps an earlier shape for the zone (see [Undo a shape change](#undo-a-shape-change)). - **Type** and **Hold**, with a line under them that says what they do for this zone (see [Ignore a spot or hold a zone](#ignore-a-spot-or-hold-a-zone)). - **Now**, what the zone's presence sensor reads right now: **Someone is in this zone**, **On, held for someone who went still**, **Nobody is in this zone**, or **Radar offline**. An ignore zone reads **Never turns on, since it ignores targets**, a zone with no shape **Turns on once the zone is drawn**, and a zone whose sensor isn't there yet **No presence sensor yet**. -- How to draw the zone in the drawing mode you picked with ✎, such as **Drag on the map to draw this zone as a rectangle. ✎ on the map offers an ellipse or a polygon. A tap on another zone picks it.** While the map is locked, the lock note and its **Unlock** button take its place. +- How to draw the zone in the drawing mode you picked with ✎, above **Draw shape** (**Redraw shape** once the zone has a shape), such as **Press Redraw shape, then drag on the map to give this zone a new rectangle. ✎ on the map offers an ellipse or a polygon. A tap on a zone on the map picks it.** Where the map can expand, it ends with **Expand, at the map's top right, fills the window with the map.** While you draw, it reads **Drag on the map to draw this zone as a rectangle. Cancel drawing or Esc stops without a change.**, above **Cancel drawing**. While the map is locked, the lock note and its **Unlock** button take its place. - **Delete zone** (see [Clear or delete a zone](#clear-or-delete-a-zone)). -A name, a **Type**, or a **Hold** saves on its own, with no **Save** button. Beside the zone's heading the card shows **Saving...**, then **Saved**. A shape you draw shows a message with the zone's name instead, such as **Couch saved**. +A name, a **Type**, or a **Hold** saves on its own, with no **Save** button. Beside the zone's heading the card shows **Saving...**, then **Saved**. A shape you draw shows a message with the zone's name and **Undo** instead, such as **Couch redrawn**. -![The Zones panel under the zone map: the Zones heading with the Add zone button, then the Desk, Couch, Doorway, and Fan buttons, each with its zone's color dot and Fan's hatched, with Couch selected, and the Couch zone's editor, titled Zone 2 and edged in blue: the Name box reading Couch, Size 4 ft 3 in × 7 ft 10 in, the Type list at Detect and the Hold list at 5 min, the hint Detect: its presence sensor turns on while someone is inside. Hold keeps it on for a while after someone inside goes still and the radar loses them., Now Nobody is in this zone, the drawing hint To change its shape, drag on the map to draw this zone as a rectangle. ✎ on the map offers an ellipse or a polygon. A tap on another zone picks it., and a Delete zone button](/assets/apollo-mmwave-zone-list.png) +![The Zones panel under the zone map: the Zones heading with the Add zone button, then the Desk, Couch, Doorway, and Fan buttons, each with its zone's color dot and Fan's hatched, with Couch picked and ✎ joined to it, and the Couch zone's editor, titled Zone 2 and edged in blue: the Name box reading Couch, Size 4 ft 3 in × 7 ft 10 in, the Type list at Detect and the Hold list at 5 min, the hint Detect: its presence sensor turns on while someone is inside. Hold keeps it on for a while after someone inside goes still and the radar loses them., Now Nobody is in this zone, the drawing hint Press Redraw shape, then drag on the map to give this zone a new rectangle. ✎ on the map offers an ellipse or a polygon. A tap on a zone on the map picks it. Expand, at the map's top right, fills the window with the map., a Redraw shape button, and a Delete zone button](/assets/apollo-mmwave-zone-list.png) ### Rename a zone @@ -442,6 +489,7 @@ Walk into the zone you drew to check that it works: it fills in on the map while - **Numbered dots.** Each target the radar tracks is a dot with its number, so dot 2 is **Target 2** on the **LD2450 Live** card. A number belongs to the radar's target slot, not to a person: when two people cross, the radar can swap their numbers. A moving dot leaves a trail that fades over about 3 seconds. - **Zones that light up.** A zone fills in with a stronger color and a solid outline while its presence sensor is on, and goes back to a pale fill with a dashed outline when it's off. Each zone keeps its own color, the same as the dot on its button under **Zones**. While a zone holds for someone the radar lost, its label ends in **(held)** (see [Ignore a spot or hold a zone](#ignore-a-spot-or-hold-a-zone)). +- **The picked zone.** While you edit on an unlocked map, a picked zone that has a shape is bright with a dot on each corner, and the other zones are faint outlines that don't fill in, even with someone inside. Lock the map to watch every zone light up again (see [Lock and unlock](#lock-and-unlock)). - **Ignore zones.** An ignore zone is hatched in gray with a dashed outline, and its label ends in **(ignored)**. A target inside one is a hollow gray ring with a gray number. - **Radar offline.** While the radar is offline, the zones turn gray with short dashes, and **Radar offline** shows in the top-left corner (see [Zone presence reads unavailable](#zone-presence-reads-unavailable)). @@ -483,18 +531,22 @@ Where the trigger must see someone leave, such as for a notification or a counte ### Expand the map -When the card feels cramped, give the map the whole window: press the expand button (**Expand map**) in the map's top-right corner, under the distance labels. Its tooltip reads **Expand the map to fill the window. Press Esc to return.** The map fills the browser or app window, and everything under it in the card moves beside it: **Coverage**, the **Zones** panel with the picked zone's editor, and **Map settings**. Draw, pick, rename, and delete zones there as you do in the card. +When the card feels cramped, give the map the whole window: press **Expand** in the map's top-right corner, under the distance labels. Where the map is at least 480 px wide, as on a computer, the button shows the word **Expand** beside its icon. On a narrower map, such as on a phone, it's the icon alone, and screen readers call it **Expand map** either way. Its tooltip reads **Expand the map to fill the window. Press Esc to return.** The line at the bottom of **Map settings** and the zone's drawing hint end with where to find it: **Expand, at the map's top right, fills the window with the map.** - +The map fills the browser or app window, and everything under it in the card moves beside it: **Coverage**, the **Zones** panel with the picked zone's editor, and **Map settings**. Draw, pick, rename, and delete zones there as you do in the card. + + - **Layout.** In a wide window, the panel sits beside the map and takes 30% of the width. On a phone held upright, it sits under the map instead and scrolls on its own, and the map is never narrower than it was in the card. In a short window, such as a small phone held sideways, the panel stays beside the map so the zone buttons and the editor have room, even where the map is then narrower than in the card. +- **Zone buttons on a phone held upright.** Where the panel sits under the map, a strip of zone buttons stays pinned under the map, and the buttons in the **Zones** panel hide meanwhile. For an administrator on an unlocked map, ✎ sits beside the picked one, so you can see and switch the zone, and start drawing it, without scrolling down to the panel. +- **Messages.** Home Assistant's own messages would sit behind the expanded map, so the card shows them in a bar at the bottom of the window, under the panel where the panel sits beside the map, with **Undo** after a shape saves (see [Undo a shape change](#undo-a-shape-change)). - **Nothing is lost.** Your zoom, the picked zone, an unfinished polygon, a walk or a replay in progress, **Coverage**, whether **Map settings** is open, and text you're typing stay as they were when the map expands and when it closes. Only a rectangle or an ellipse you're dragging at that moment is dropped. - **A finer grid on a large screen.** Where the expanded map is wider than the card's 800 px drawing, as on a large monitor, it's drawn as wide as it shows, up to 1600 px, so its grid lines and the snap can get finer, while labels and lines keep their size. On a phone, and in feet on most laptop and 1080p screens, they stay as in the card. -- **Getting back.** Press × before the radar's name (**Close expanded map**), the same corner button, Esc, or Back in a browser, the Android app, or Chrome for Android. In the iPhone and iPad app, press ×. If you're in the middle of something, Esc first undoes it: it puts back a zone name you were changing, drops an unfinished polygon's corners, or closes a **Delete zone** or **Clear all shapes** question. The next Esc closes the map. +- **Getting back.** Press × before the radar's name (**Close expanded map**), the same corner button, Esc, or Back in a browser, the Android app, or Chrome for Android. In the iPhone and iPad app, press ×. If you're in the middle of something, Esc first undoes it: it puts back a zone name you were changing, drops an unfinished polygon's corners, stops drawing (the **Drawing Couch** banner), or closes a **Delete zone** or **Clear all shapes** question. The next Esc closes the map. -Here's the same map expanded on a phone held upright, with the panel under the map: +Here's a map expanded on a phone held upright, ready to draw Couch, with the strip of zone buttons under the map and the panel under that: -![The same zone map expanded on a phone held upright: × and the title R PRO-1 Living Room at the top, then the map across the screen's width with the collapse button in its top-right corner and the Armchair zone filled in around dot 3, and under the map the 🚶 Mark corners by walking and Coverage buttons, the Zones heading with the Add zone button, the Desk, Couch, Doorway, Fan, and Armchair buttons with Armchair picked, and the top of the Armchair zone's editor: Zone 5, the Name box reading Armchair, Size 3 ft 8 in × 5 ft, and the Type and Hold lists at Detect and Off](/assets/apollo-mmwave-zone-map-expanded-phone.png){ .phone-media } +![The zone map expanded on a phone held upright while it's ready to draw the Couch zone: × and the title R PRO-1 Living Room at the top, then the map across the screen's width with the banner Drawing Couch, its Cancel button first, in the map's top-left corner, the collapse button in the top-right corner, the Couch zone bright with a dot on each corner, and the Desk, Doorway, and Fan (ignored) zones faint. Right under the map, a strip of zone buttons reads Desk, Couch with ✕ (Cancel drawing) joined to it, Doorway, and Fan. Below it are the 🚶 Mark corners by walking and Coverage buttons, the Zones heading with the Add zone button and no zone buttons under it, and the Couch zone's editor: Zone 2, the Name box reading Couch, Size 4 ft 3 in × 7 ft 10 in, Restore previous shape with Replaced 3 h ago beside it, and the Type and Hold lists at Detect and 5 min](/assets/apollo-mmwave-zone-map-expanded-phone-strip.png){ .phone-media } The expand button isn't on a view-only map, in the card editor's preview, on a dashboard in edit mode, or on a map shown in a pop-up. Showing another radar on the card, or switching it to view only, closes the expanded map. @@ -522,12 +574,12 @@ To go back to inches, open the sensor on the radar's device page, open its setti The map shows the radar's whole view, about 12 m (40 ft) across, so on a laptop or a phone each meter gets little room. Zoom in to draw or check a zone up close. The zoom controls are the row in the bottom-right corner of the map, above the **m / ft** switch: − (**Zoom out**), + (**Zoom in**), and **Fit**. While the map is zoomed in, a readout such as **2x** sits before them. - + - **Buttons.** + and − zoom in and out around the middle of the view, about 1.4 times a press (the square root of 2), from 1x, the whole map, to 8x. At 8x, a map 12 m (40 ft) across shows 1.5 m (5 ft). - **Fit** zooms to the zones you drew, with a margin of a tenth of their longer side and at least 30 cm (1 ft). Its tooltip says what the next press does: **Fit the zones in view**, or **Show the whole map** once the zones fill the view or when there are none, which goes back to 1x. With no zones and the map at 1x, it's grayed out. - **Mouse or trackpad.** Hold **Ctrl** (**Cmd** on a Mac) and scroll over the map to zoom in or out around the pointer. A trackpad pinch over the map does the same in Chrome, Edge, and Firefox. A scroll without Ctrl or Cmd still scrolls the page. To move the zoomed map, drag it with **Shift** held, or with the middle mouse button. -- **Phone or tablet.** Pinch with two fingers to zoom, and drag with two fingers to move the map. Two fingers work on every map: locked or unlocked, while you mark corners by walking, and with no zone selected. One finger works as before. +- **Phone or tablet.** Pinch with two fingers to zoom, and drag with two fingers to move the map. Two fingers work on every map: locked or unlocked, while you mark corners by walking, and with no zone selected. One finger draws once you press **Draw shape** or **Redraw shape**, and scrolls the page otherwise. Zoomed in, the grid draws finer lines, down to 10 cm in meters and 3 in (a quarter of a foot) in feet, and keeps its distance labels on the screen. Hover over the readout for a reminder of how to move the map: **Move the map by dragging with Shift held, with the middle mouse button, or with two fingers.** @@ -542,23 +594,26 @@ The bottom-right corner has a lock toggle that reads **Unlocked** (🔓) or **Lo - A tap on a zone picks it. Drawing anywhere else, or pressing 🚶 (**Mark corners by walking**), outlines **Locked** and shows **Unlock the map to draw zones.** - The **Cone rotation** slider under **Map settings** is gray, and a scroll that starts on it scrolls the page. A tap or drag on it outlines **Locked** and shows **Cone rotation is locked. Press Locked on the map to change it.** - **Clear all shapes** under **Map settings** is dimmed and clears nothing: it outlines **Locked** and shows **Unlock the map to clear zones.** -- **Add zone**, a zone's **Name**, **Type**, and **Hold**, **Delete zone**, and ↶ (**Undo last zone change**) still work. Instead of how to draw, the zone's editor reads **The map is locked, so drawing is off. Unlock it to draw this zone or change its shape.**, and its **Unlock** button unlocks the map, as **Locked** does. +- **Draw shape**, **Redraw shape**, and ✎ beside the picked zone's button are hidden, and locking the map while it's ready to draw stops drawing. Instead of how to draw, the zone's editor reads **The map is locked, so drawing is off. Unlock it to draw this zone or change its shape.**, and its **Unlock** button unlocks the map, as **Locked** does. For a zone with no shape yet, it also gets the map ready to draw that zone. +- ↶ (**Undo last zone change**) and **Restore previous shape** are dimmed. A press shows **Unlock the map to undo a shape change.** or **Unlock the map to restore a shape.** +- **Add zone**, a zone's **Name**, **Type**, and **Hold**, and **Delete zone** still work. A zone you add on a locked map waits for **Unlock** before it's ready to draw. +- Every zone is drawn alike, with no faded zones, so you can watch them all light up. -On a phone or tablet, a one-finger swipe that starts on a locked map scrolls the page. A tap on a zone picks it, and a tap anywhere else on the map shows the reminder. Two fingers zoom and move the map whether it's locked or not (see [Zoom in and move the map](#zoom-in-and-move-the-map)). An unlocked map takes every one-finger touch for drawing while a zone is selected. Scroll with your finger outside the grid then, for example on the radar's name above it or on the **Zones** panel under it. Keep the map on **Locked** when you're not drawing: on an unlocked map, a swipe across the grid can draw a new shape for the selected zone and replace its old one. For a phone or a wall tablet where nobody draws zones, a view-only zone map has no drawing tools at all and always lets the page scroll (see [Use your own layout](apollo-mmwave-dashboard-setup.md#use-your-own-layout)). +On a phone or tablet, a one-finger swipe that starts on a locked map scrolls the page. A tap on a zone picks it, and a tap anywhere else on the map shows the reminder. Two fingers zoom and move the map whether it's locked or not (see [Zoom in and move the map](#zoom-in-and-move-the-map)). From Apollo mmWave 2.4.1, a one-finger swipe scrolls the page on an unlocked map too, until you press **Draw shape** or **Redraw shape**, so a swipe across the grid can't replace a zone's shape by accident. While the map is ready to draw, it takes every one-finger touch for drawing that zone: scroll with your finger outside the grid then, for example on the radar's name above it or on the **Zones** panel under it. For a phone or a wall tablet where nobody draws zones, a view-only zone map has no drawing tools at all and always lets the page scroll (see [Use your own layout](apollo-mmwave-dashboard-setup.md#use-your-own-layout)). -From Apollo mmWave 2.2.6, only administrators can save zone changes. Other users still see the zones and their presence sensors, and a change they try to make shows a **Could not save** message. From 2.4.0 the card tells them up front: in the zone's editor, **Name**, **Type**, and **Hold** are grayed out, with **Only an administrator can change these.** under them, and the flip under **Map settings** is grayed out too. They get no **Add zone**, **Delete zone**, **Clear all shapes**, 🚶 button, or movement history. On a radar with no zones, the panel tells them **No zones yet. An administrator can add them.** +From Apollo mmWave 2.2.6, only administrators can save zone changes. Other users still see the zones and their presence sensors. From 2.4.0 the card tells them up front: in the zone's editor, **Name**, **Type**, and **Hold** are grayed out, with **Only an administrator can change these.** under them, and the flip under **Map settings** is grayed out too. They get no **Add zone**, **Draw shape**, **Restore previous shape**, **Delete zone**, **Clear all shapes**, 🚶 button, or movement history, and from 2.4.1 the map never draws for them, so a swipe on it scrolls the page. On a radar with no zones, the panel tells them **No zones yet. An administrator can add them.** ### Mark corners by walking Can't tell where the couch ends on the map? Mark the zone's corners with your own position: stand in each corner of the area while the radar tracks you, and the card turns your corners into the zone's shape. Take a phone or tablet with the dashboard open, and be the only person in the radar's view. Like drawing, it's for administrators, on an unlocked map. 1. Unlock the map and pick the zone with its button under **Zones**. -2. Press ✎ (**Drawing modes**), then 🚶 (**Mark corners by walking**). On a phone or tablet, you can press **🚶 Mark corners by walking** under the map instead, before **Coverage**. A panel opens under the map with a hint, **Corner here**, **Undo corner**, **Finish**, and **Cancel**, and the zone's editor reads **Marking this zone's corners by walking. Follow the steps under the map.** +2. Press ✎ (**Drawing modes**), then 🚶 (**Mark corners by walking**). On a phone or tablet, you can press **🚶 Mark corners by walking** under the map instead, before **Coverage**. A panel opens under the map with a hint, **Corner here**, **Undo corner**, **Finish**, and **Cancel**, a banner in the map's top-left corner names the zone, such as **Marking Couch by walking**, with **Cancel**, and the zone's editor reads **Marking this zone's corners by walking. Follow the steps under the map.** You don't press **Draw shape** first: the corners always go to the picked zone. 3. Stand still in one corner of the area for about 3 seconds and press **Corner here**. The corner is where the radar placed you, on average, over the last 1.5 seconds, and the radar updates your position about once a second, so a corner pressed sooner can land short of where you stand. 4. Walk along the edge to the next corner, stand still for about 3 seconds, and press **Corner here** again. Go around the zone in order, not across it. The map numbers each corner and draws a dashed preview of the shape with its size. -5. Press **Finish**. Two corners make a rectangle, with the two as opposite corners, and three or more make a polygon of up to 32 corners. The zone saves like one you drew, and the card confirms it with the zone's name, such as **Couch saved**. +5. Press **Finish**. Two corners make a rectangle, with the two as opposite corners, and three or more make a polygon of up to 32 corners. The zone saves like one you drew, and the message names it with **Undo**, such as **Couch drawn** (see [Undo a shape change](#undo-a-shape-change)). - + The hint tells you what to do next, and **Corner here** stays grayed out until exactly one person is on the map. Until then the hint reads **Nobody is on the map. Walk into the radar's view.** or **More than one target is on the map. Only the person marking corners should be in view. If you are alone, a fan or curtain may be moving: add an ignore zone over it.** Targets inside ignore zones don't count. The card also refuses a corner that would spoil the shape, and keeps the ones you marked: @@ -570,11 +625,11 @@ With no zone selected, **Finish** shows **Select a zone first.** and keeps your ### Clear or delete a zone -To remove a zone completely, along with its sensors, pick it and press **Delete zone** at the bottom of its editor. The card asks first. For a zone named Couch it reads **Delete Couch? Its sensors leave Home Assistant, so automations that use them stop working. This cannot be undone.** Press **Delete** to delete it, or **Keep it** (or **Esc**) to keep it. ↶ doesn't bring a deleted zone back. **Delete zone** works whether the map is locked or not. +To remove a zone completely, along with its sensors, pick it and press **Delete zone** at the bottom of its editor. The card asks first. For a zone named Couch it reads **Delete Couch? Its sensors leave Home Assistant, so automations that use them stop working. This cannot be undone.** Press **Delete** to delete it, or **Keep it** (or **Esc**) to keep it. Neither **Undo** nor **Restore previous shape** brings a deleted zone back. **Delete zone** works whether the map is locked or not. -To clear the shapes of every zone and keep the zones, open **Map settings** and press **Clear all shapes**. It's there while any zone has a shape, and it asks first: **Clear every zone's shape? The zones keep their names, types and hold times, and ↶ on the map brings the shapes back.** Press **Clear shapes** to clear them, and the card shows **All shapes cleared**, or press **Keep them**. On a locked map it's dimmed and clears nothing: it shows **Unlock the map to clear zones.** +To clear the shapes of every zone and keep the zones, open **Map settings** and press **Clear all shapes**. It's there while any zone has a shape, and it asks first: **Clear every zone's shape? The zones keep their names, types and hold times, and ↶ on the map or Restore previous shape in each zone brings the shapes back.** Press **Clear shapes** to clear them, and the card shows **All shapes cleared** with **Undo**, or press **Keep them**. On a locked map it's dimmed and clears nothing: it shows **Unlock the map to clear zones.** -No button clears a single zone's shape. To change one, draw the new shape over it, which replaces the old one. A double-click on a zone's button doesn't clear it either. +No button clears a single zone's shape. To change one, press **Redraw shape** and draw the new shape, which replaces the old one. A double-click on a zone's button doesn't clear it either. **Add zone** takes the lowest zone number that's free, so a zone you add after deleting one can get the deleted zone's number. From Apollo mmWave 2.4.0, it starts with fresh sensor names: names Apollo mmWave gave the old zone, such as **Zone 1 presence - Couch**, are cleared, and a name you typed in the sensor's settings stays. Home Assistant gives the new zone's sensors the old ones' entity IDs, though, such as `binary_sensor.couch_presence` if you had changed it, and Apollo mmWave can't prevent that. An automation written for the deleted zone then follows the new one, so check those automations. @@ -586,7 +641,7 @@ Movement history lets an administrator play back where the radar tracked people 2. Press **History** under the map. The **Movement history** panel opens on the last hour. 3. Press **Play**, or drag the slider to any moment. **1x**, **10x**, and **60x** set the speed, **1 h**, **6 h**, and **24 h** change the range, and the small chart above the slider shows when the radar saw people. -During a replay, the map's top-right corner reads **Replay** and the time, such as **Replay 2:14:05 PM**. Each target is a numbered dot with a short trail, and a zone fills in while a replayed dot is inside it. **Heatmap** paints where people spent their time over the whole range, so a spot where someone sat outweighs one they walked through. The panel reminds you: **Zones are drawn with their current shapes, rotation and flip.** A zone you redrew today lights up by its new shape. **Back to live** closes the panel. A range with nothing in it reads **No movement recorded in this range yet.** +During a replay, the map's top-right corner reads **Replay** and the time, such as **Replay 2:14:05 PM**. Each target is a numbered dot with a short trail, and a zone fills in while a replayed dot is inside it. **Heatmap** paints where people spent their time over the whole range, so a spot where someone sat outweighs one they walked through. The panel reminds you: **Zones are drawn with their current shapes, rotation and flip.** A zone you redrew today lights up by its new shape. **Back to live** closes the panel. Opening **History** stops drawing, and pressing **Draw shape** or **Redraw shape** closes the replay. A range with nothing in it reads **No movement recorded in this range yet.** @@ -758,6 +813,16 @@ If the chart instead reads **Radar unavailable** and **Waiting for the device to They're in the **Zones** panel right under the map. Press the zone's button there, or tap the zone on the map, and its editor opens under the buttons (see [Pick a zone in the Zones panel](#pick-a-zone-in-the-zones-panel)). **Cone rotation**, the flip, **Movement history**, and **Clear all shapes** are under **Map settings** at the bottom of the card. If the map shows a **Configure** section instead, with the zones inside it, the page still runs cards from an earlier release: reload it as [Load the new cards](apollo-mmwave-dashboard-setup.md#load-the-new-cards) shows. +### A drag on the map draws nothing + +From Apollo mmWave 2.4.1, a drag draws only after you say which zone it draws. Pick the zone, press **Redraw shape** in its editor (**Draw shape** for a zone with no shape yet) or ✎ beside its button, and drag once the banner, such as **Drawing Couch**, shows on the map. Until then, a press on the map says **To redraw Couch, press Redraw shape first.** If the button in the map's bottom-right corner reads **Locked**, press it first (see [Lock and unlock](#lock-and-unlock)). Drawing ends with each shape, so press **Redraw shape** again for the next one. Only administrators can draw. + +### A shape went to the wrong zone + +Press **Undo** in the message that names the zone, ↶ on the map, or **Restore previous shape** in that zone's editor, which also works after the page reloads (see [Undo a shape change](#undo-a-shape-change)). Then pick the zone you meant and press **Redraw shape** (**Draw shape** if it has no shape yet). The banner on the map names the zone your next drag draws. + +If the zone that got the shape had none before, its editor has no **Restore previous shape**, and **Undo** and ↶ don't survive a reload. After one, nothing in the card clears that zone's shape alone: draw the shape it should have with **Redraw shape**, delete the zone if you don't need it, or clear its shape with the `apollo_mmwave.update_zone` action and `shape: none`, which keeps its name, **Type**, and **Hold**. + ### The zone map shows nobody, or only one person Start with the LD2450's **Radar setup** card, right above the map. diff --git a/docs/products/mtr1/setup/apollo-mmwave-dashboard.md b/docs/products/mtr1/setup/apollo-mmwave-dashboard.md index 35b61307c6..07b0aacd88 100644 --- a/docs/products/mtr1/setup/apollo-mmwave-dashboard.md +++ b/docs/products/mtr1/setup/apollo-mmwave-dashboard.md @@ -5,6 +5,6 @@ description: Draw occupancy zones for your Apollo MTR-1 over the radar's live ta # Draw MTR-1 zones with the Apollo mmWave dashboard -On an Apollo MTR-1, the dashboard tab is built around the zone map, so [Draw zones on the R PRO-1 and MTR-1](#draw-zones-on-the-r-pro-1-and-mtr-1) is the section you need: its eight steps take you from a new sensor to a zone that lights up when you walk into it. Its troubleshooting starts at [The zone map shows nobody, or only one person](#the-zone-map-shows-nobody-or-only-one-person). The calibration and tuning sections are for the Apollo MSR-1, MSR-2, and R PRO-1. +On an Apollo MTR-1, the dashboard tab is built around the zone map, so [Draw zones on the R PRO-1 and MTR-1](#draw-zones-on-the-r-pro-1-and-mtr-1) is the section you need: its eight steps take you from a new sensor to a zone that lights up when you walk into it. Its troubleshooting starts at [Can't find a zone's name, Type, or Hold](#cant-find-a-zones-name-type-or-hold), and [The zone map shows nobody, or only one person](#the-zone-map-shows-nobody-or-only-one-person) covers a map with no dots. The calibration and tuning sections are for the Apollo MSR-1, MSR-2, and R PRO-1. --8<-- "products/general/setup/apollo-mmwave-dashboard.md:7:"