Skip to content

Commit 99fafa7

Browse files
committed
Add minimize mmwave logbook spam tutorial
1 parent d2d75f1 commit 99fafa7

1 file changed

Lines changed: 61 additions & 0 deletions

File tree

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: How to minimize logbook spam
3+
description: How to minimize the logbook spam on your Apollo mmWave sensors
4+
---
5+
# Minimize Logbook Spam
6+
7+
Apollo mmWave sensors report frequently by design, which can cause internal radar entities like target direction, target count, and zone occupancy to flood your Home Assistant logbook. Adding a `logbook.exclude` block to your `configuration.yaml` tells Home Assistant to stop recording those entities.
8+
9+
!!! info "Home Assistant Logbook Documentation"
10+
11+
For more details on logbook filtering, see the [Home Assistant Logbook integration docs](https://www.home-assistant.io/integrations/logbook/).
12+
13+
1\. Open your Home Assistant `configuration.yaml` file.
14+
15+
2\. Select your sensor below and copy the snippet, then paste it into `configuration.yaml`.
16+
17+
=== "MSR-1 / MSR-2"
18+
19+
```yaml
20+
logbook:
21+
exclude:
22+
entity_globs:
23+
# LD2410
24+
- binary_sensor.*radar_moving_target
25+
- binary_sensor.*radar_still_target
26+
- binary_sensor.*radar_zone*occupancy
27+
```
28+
29+
=== "MTR-1"
30+
31+
```yaml
32+
logbook:
33+
exclude:
34+
entity_globs:
35+
# LD2450
36+
- binary_sensor.*ld2450_*
37+
- sensor.*target_*_direction*
38+
- sensor.*target_count*
39+
```
40+
41+
=== "R-PRO-1"
42+
43+
```yaml
44+
logbook:
45+
exclude:
46+
entity_globs:
47+
# LD2450
48+
- binary_sensor.*ld2450_*
49+
- sensor.*target_*_direction*
50+
- sensor.*target_count*
51+
# LD2412
52+
- binary_sensor.*ld2412_*
53+
```
54+
55+
!!! warning "If you already have a `logbook:` section"
56+
57+
Do not add a second `logbook:` key. Merge the `exclude.entity_globs` list into your existing section.
58+
59+
3\. Save `configuration.yaml` and restart Home Assistant (**Settings → System → Restart**).
60+
61+
4\. Open the **Logbook** in Home Assistant to confirm the noisy entities no longer appear.

0 commit comments

Comments
 (0)