Tuning distance gates to remove radar false triggers

Most radar false triggers are real reflections from a fan, a curtain or a neighbouring room arriving in a gate left at its default threshold.

This guide collects the installation and interference conditions published by the radar vendors and the ESPHome gate-energy documentation. We have not bench tested any device, and every number below is a documented default rather than a measured optimum.

What a gate is

A presence radar splits range into fixed slices and reports the moving and still energy in each one. The LD2450 publishes a 0.75 m distance resolution. The ESPHome LD2410 component exposes per-gate energy in engineering mode, for nine gates numbered 0 to 8.

The firmware compares gate energy with a threshold, then applies a no-person delay before clearing occupancy. Sensitivity, gate thresholds and that delay are three separate controls, and changing one does not adjust the others.

The defaults you are overriding

The ESPHome LD2410 component documents the factory thresholds it starts from:

Gate Default move threshold Default still threshold
0 50 0
1 50 0
2 40 40
3 30 40
4 20 30
5 15 30
6 15 20
7 15 20
8 15 20

Three properties of that table matter more than the numbers:

The same component documents the two limits that bound the useful range: the maximum move and still distance gates accept values from 2 to 8 and default to 8, and each gate threshold accepts a value from 0 to 100. The light threshold is a separate 0 to 255 setting with a default of 128.

Take three readings before changing anything

Set the gate thresholds between the second and third readings, and cap the maximum gate at the room boundary. Changing a global sensitivity value instead of the gate thresholds usually just moves the false trigger to another distance.

Move one gate at a time

The procedure that converges fastest is deliberately boring:

  1. Enable engineering mode so per-gate energy is visible.
  2. Record the energy in every gate for the three readings above.
  3. Find the gate that rises in the empty-room-with-fan reading. That is the interference.
  4. Raise that gate's threshold above the interference energy and below the person's energy.
  5. Re-read the fan case and the person case, then stop.

The configuration shape is the same in all cases, with one entry per gate:

number:
  - platform: ld2410
    max_move_distance_gate:
      name: Max move gate
    max_still_distance_gate:
      name: Max still gate
    g4:
      move_threshold:
        name: Gate 4 move threshold
      still_threshold:
        name: Gate 4 still threshold

A 24 GHz module pointed at a ceiling fan is the textbook case: the fan sits in one or two gates, the person sits in others, and the fix is local rather than global.

Interference the vendors list explicitly

Seeed lists multiple radars installed too close together, glass, thin wooden boards and vibrating mounting locations. Hi-Link notes that the module can work inside a plastic enclosure without an opening, which is a statement about housings and not permission to point the radar through a wall.

Fans, air-conditioning outlets and moving curtains are the recurring false-trigger sources across presence modules. Treat them as part of the installation rather than as a firmware defect.

One further source is easy to miss: a mount that moves. A bracket that flexes in a draught produces a moving target in the near gates, and no threshold change fixes a vibrating sensor.

Mounting geometry is a tuning input

Recheck every threshold after moving a module. A new orientation changes which gates see which surfaces, so a configuration that was clean on a wall can be noisy on a ceiling.

Verify with a repeatable pair of cases

Two cases are enough to prove a change:

A tuning session is finished when the first case stays clear and the second still triggers, across several minutes rather than one attempt. If either case fails intermittently, the threshold sits inside the noise band and needs to move.

Record the firmware version with the final thresholds. A module firmware update can change the default table, and a set of numbers without a version is not reproducible.

What tuning cannot fix

Tuning cannot create angular resolution on a 1T1R module, cannot make a moving-target tracker report a stationary person, and cannot turn a fall or breathing output into a diagnostic measurement. Choose the right output type first, then tune.

Related reading