Skip to content

LD2410 mmwave Motion detection in ESPHome for Home Assistant . Can be combined with temperature, humidity and lux sensor

Notifications You must be signed in to change notification settings

kippesikgithub/esp_motion_mmwave

Repository files navigation

LD2410 mmwave Motion detection

Now working with the native LD2410 component in Esphome!!
LD2410 mmwave Motion detection in ESPHome for Home Assistant . Can be combined with temperature, humidity and lux sensor
sensor: https://nl.aliexpress.com/item/1005004786874722.html?spm=a2g0o.order_list.order_list_main.83.7b9c79d21Hc0g0&gatewayAdapt=Pc2Msite

3D Printed box used: https://www.thingiverse.com/thing:5631878

Step 1

Collect your Boards, sensors and code.
The code uses the native LD2410 Esphome integration now, and does not need any additional files anymore.

Step 2

Connect the hardware and get an usb cable for uploading firmware to your ESP32.
image

Pinout ESP32 (ESP32-S2)

esphome example code: esp-motion-kinderkamer-lucas.yaml
ESP32-S2 | LD2410
5V <-> VCC
GND <-> GND
GPIO18 <-> RX
GPIO33 <-> TX
GPIO5 <-> OUT

Pinout ESP8266 (Wemos d1 mini) Board

esphome example code: esp-motion-toilet.yaml
ESP8266 | LD2410
5V <-> VCC
GND <-> GND
TX <-> RX
RX <-> TX
D7 <-> OUT
image

image image image

Step 3

Choose the ESP32 code of your flavour (including or without other sensors)

Example including ESP32 + LD2410

example: esp-motion-toiet.yaml

Example including ESP32 + LD2410 + Dallas temp sensor + Lux sensor

example: esp-motion-slaapkamer.yaml

Example including ESP32 + LD2410 + DHT11 (temp/hum) + Lux sensor

example: esp-motion-kinderkamer-sophie.yaml

Make sure you change all the !secret values, or create them in your esphome secrets
Change all the advised fields. I marked them with a note (--> CHANGE to your own....)

Step 4

Add to code to a new device in esphome
Once finsihed and sensor is online, you can add it in Home assistant or visit the webpage of the device.

Home Assistant

Web Config

other sources used

https://community.home-assistant.io/t/mmwave-wars-one-sensor-module-to-rule-them-all/453260/2

https://github.com/rain931215/ESPHome-LD2410

About

LD2410 mmwave Motion detection in ESPHome for Home Assistant . Can be combined with temperature, humidity and lux sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published