HLK-LD2450 Security System — standalone ESP32 firmware with Kalman tracking, MQTT alarm & web UI

Hi all, sharing my open-source project for the HLK-LD2450 mmWave radar:

GitHub - PeterkoCZ91/HLK-LD2450-security: ESP32 + LD2450 24GHz mmWave radar multi-target intrusion detection with Home Assistant integration · GitHub

This is a standalone firmware (no ESPHome) for ESP32 + LD2450 designed
as a security/presence system. It’s been running 24/7 on two nodes for
months.

▎ What makes it different from ESPHome LD2450:
▎ - Kalman + EKF2D filtering — tracks real humans, suppresses noise
▎ - 80×80 noise map learns your environment and filters ghost detections
▎ - Full alarm system (arm/disarm/tamper/dead-man switch) via MQTT, web
UI, BLE, or Telegram
▎ - Polygon + rectangular detection/blackout zones drawn on a live radar
canvas
▎ - Event log stored on flash (LittleFS)
▎ - Config import/export (backup & clone nodes)

▎ Tech stack: PlatformIO, Arduino framework, ESP32-WROOM, ~7K LOC

▎ MQTT topics are compatible with Home Assistant — just add MQTT sensors.
The web UI handles all config without needing HA at all.

▎ Happy to answer questions or take feature requests!

3 Likes

Wow this is cool!