
Skopos
Advanced Setup
Prerequisites
-
Your Home Assistant instance must be set to Metric units.
-
The ESPHome Device Builder add-on must be installed in Home Assistant.
-
The Plotly Graph Card must be installed via HACS:
https://github.com/dbuezas/lovelace-plotly-graph-card?tab=readme-ov-file#installation -
This setup uses an open-source project that is no longer actively maintained.
Use it at your own risk:
https://github.com/53l3cu5/ESP32_LD2450

Switching Home Assistant to the Metric System
-
Go to Settings → System → General.
-
Under Unit System, select Celsius, kilograms (Metric).
-
Click Save.
Pre-flashed ESPHome Configuration Setup
-
Install the sensor by following the link.
-
After installation, you should see the moving target coordinates displayed in millimeters.
.png)

.png)
Finding the Device ID
-
Click on the Target1 X coordinate value.
-
Then click on the gear icon to open the settings.
Device ID Selection
Select and copy the device ID as shown in the image.
.png)
Generating the Required Configuration
-
Open the configuration generator: https://53l3cu5.github.io
-
Paste the device ID you copied earlier into the Device Name field.
-
The Friendly Name can be any human-readable device name.
-
Specify the remaining parameters as shown in the image and hit Generate button.
Creating the zone.h File in Home Assistant
-
Copy the generated content for the zone.h file.
-
On the host where Home Assistant is running, use any file editor to create a new file at:
/homeassistant/esphome/zone.h
and paste the copied content into it.




Adding the Plotly Graph Card
-
Install the Plotly Graph Card by following these instructions:
https://github.com/dbuezas/lovelace-plotly-graph-card?tab=readme-ov-file#installation -
Add the Plotly Graph Card to your dashboard.
-
Click Show Code Editor in the bottom-left corner.
-
Paste the Plotly graph content generated by the configuration generator.
-
You should now see an empty LD2450 sensor map on the dashboard.
Sensor Zone Configuration
-
Select the sensor in Settings → Devices & Services → ESPHome.
-
Specify Zone1 parameters as shown in the picture.
-
Return to the dashboard to see the new zone displayed on the Plotly Graph Card.
-
Adjust the zone parameters to understand how the coordinates work.



Zone Automation
Use the zone presence entity states to create new automations in Home Assistant.
