Purpose of this project is to create a low cost sensor that tells if there is somebody in the room or not. The sensor used in the project is the LD2410 24 gHz sennsor from Hi-Link. According the supplier the longest distance for sensing is up to 5 meters. This sensor does not rely on motion, instead it "sees" a person even if you don't move. The presence of a person is reported via a digital on/off signal to an ESP8266 that runs either Tasmota or ESPhome. A second (serial) signal from the ESP8266 gives a distance reading of the person. For the setup in Home Assistant this example will be explaned making use of Tasmota.
Please see the full write up to set the unit up with Tasmota in the following document .
When you are a fan of ESPHome then follow this document .
To Discuss issue you might have join me on this Discord Channel - Presence Sensor
The supplier of the HLK-LD2410 sensor is also providing an app to change the behaviour of the sensor. Click the link for the Apple Version or the Android Version
App Screenshot