LW IT Solutions logo LW IT Solutions logo LW IT Solutions
« Blog Overview /Smart Home / Presence Detection 2.0: mmWave Radars (LD2410/LD2450) in...
Read this article in other languages:

Presence Detection 2.0: mmWave Radars (LD2410/LD2450) in Lighting Automation

Part 3 of 6 in the series Home Assistant without the cloud

Presence Detection 2.0: mmWave Radars (LD2410/LD2450) in Lighting Automation
Contents
  1. Presence Detection 2.0: mmWave Radars (LD2410/LD2450) in Lighting Automation
  2. 1. The Architectural Limitations of PIR Sensors
  3. 2. The mmWave Advantage: Micro-Motion and Coordinate Tracking
  4. 3. Designing Zero-Dead-Zone Lighting Automations
  5. Summary
  6. Questions and answers
  7. Sources

Presence Detection 2.0: mmWave Radars (LD2410/LD2450) in Lighting Automation

Traditional lighting automations in residential and commercial environments often suffer from reliability issues caused by Passive Infrared (PIR) sensor limitations. Because PIR modules detect rapid changes in infrared radiation across spatial zones, static occupants experiencing minimal physical displacement—such as individuals reading or working at a desk—frequently trigger false-negative occupancy states, causing lights to switch off unexpectedly. Implementing 24 GHz millimeter-wave (mmWave) radars like the Hi-Link LD2410 and LD2450 eliminates these “dead zones” by measuring micro-motions and respiration patterns via Doppler frequency shifts and Frequency Modulated Continuous Wave (FMCW) radar principles.

1. The Architectural Limitations of PIR Sensors

PIR sensors operate by focusing ambient infrared energy onto a pyroelectric sensor using a faceted Fresnel lens. This passive detection mechanism presents inherent mechanical and thermal disadvantages:

  • Thermal Blindness: During warmer seasons when ambient room temperatures approach human body heat (~36–37°C), the differential infrared signature drops, drastically reducing PIR detection range and accuracy.
  • Motion Dependency: A PIR sensor requires crossing multiple Fresnel optical zones to generate a voltage differential; stationary presence without macroscopic limb movement goes entirely undetected after the initial cooldown timer expires.
Three columns: PIR limitations (thermal blindness near 36–37°C, motion dependency, false negatives), the mmWave radars LD2410 with distance gates up to 6 m and LD2450 with X/Y tracking of up to three targets, and a hybrid ESPHome node where PIR OR radar drives the light.
Why PIR sensors lose still occupants, how the LD2410 and LD2450 mmWave radars detect them, and how a hybrid PIR plus radar node keeps the light on.

2. The mmWave Advantage: Micro-Motion and Coordinate Tracking

Millimeter-wave radar modules actively transmit high-frequency electromagnetic waves and evaluate the phase and frequency shifts of the reflected signals. This active FMCW approach allows detecting sub-millimeter displacements:

  • Hi-Link LD2410 (Range-Gated Micro-Motion): Splits the detection cone into distinct distance gates (up to 6 meters), allowing independent sensitivity tuning for macroscopic movement and microscopic chest expansion caused by breathing.
  • Hi-Link LD2450 (Multi-Target Coordinate Tracking): Employs multi-antenna arrays to calculate exact X and Y spatial coordinates for up to three simultaneous targets, enabling precise zone-based lighting control within open-plan rooms.
YAML
# Example: ESPHome configuration combining PIR (instant trigger) and LD2410 (presence hold)
binary_sensor:
  - platform: gpio
    pin: GPIO14
    name: "Room PIR Instant Motion"
    id: pir_motion

  - platform: template
    name: "Room Unified Occupancy"
    lambda: |-
      return id(pir_motion).state || id(ld2410_has_target).state;
    device_class: occupancy

3. Designing Zero-Dead-Zone Lighting Automations

While mmWave radars provide exceptional stationary presence detection, their signal processing algorithms can introduce a slight trigger latency (approx. 200–500 ms) upon initial room entry. Designing an enterprise-grade presence detection node requires a hybrid sensor architecture: pairing a fast PIR sensor for zero-latency initial light triggering with an LD2410/LD2450 mmWave module to hold the occupancy state indefinitely while micro-motions or respiration persist.

Summary

Upgrading from legacy PIR sensors to 24 GHz mmWave radar modules like the LD2410 and LD2450 fundamentally resolves stationary lighting failures. By leveraging FMCW micro-motion detection and multi-target coordinate tracking, modern smart home infrastructures achieve absolute presence awareness without frustrating dead zones.

Questions and answers

With PIR and radar combined by a logical OR, what turns the light off if the radar keeps reporting presence for a moving curtain?

Nothing inside the sensor, and that is the correct division of labor: the combined sensor answers “is someone here”, and the decision to switch off belongs to the automation on top of it, with its own delay. Putting a timeout inside the presence sensor produces the PIR behavior the radar was installed to replace.

That moves the curtain problem to where it belongs: sensitivity. The LD2410 sets sensitivity per distance gate, so the gate covering the window can be desensitized without touching the rest of the room. That is a short exercise, and it is the difference between a sensor that works and one that gets unplugged.

Two placement notes belong in the same category, because they cause the same symptom. The detection cone does not stop at a plasterboard wall, so a radar aimed at a partition reports the neighboring room quite accurately. And a ceiling fan, or an air stream that keeps plants or fabric moving, produces steady micro-movement that the radar reads as breathing. Both look like a broken sensor and are a correct measurement of something nobody wanted measured.

Home Assistant without the cloud

  1. Zigbee2MQTT vs. ZHA: Building a Highly Reliable Mesh Network in Home Assistant
  2. ESPHome and ESP32 in Practice: Building Cloud-Free Environmental Sensors
  3. Presence Detection 2.0: mmWave Radars (LD2410/LD2450) in Lighting Automation
  4. Local Voice Control in Home Assistant with Whisper & Piper
  5. WireGuard & Tailscale DMZ: Secure External Access to Home Assistant and Self-Hosted Servers
  6. Local Energy Management: Integrating PV Inverters and Battery Storage via Modbus TCP
Lukas Wojcik

Lukas Wojcik

Systems architect and technology enthusiast specializing in scalable tracking solutions, GMP Stack (GA4 & GTM), and robust backend architectures. Advocate for clean code and privacy-first design.

Get in touch

A question or an idea for a web project? Tell me a little about it. This form uses reCAPTCHA to protect against spam.

Write a comment

Experience with other devices or integrations and questions about the setup are welcome here.

The email address is not published. Required fields are marked with an asterisk.