HLK-LD2450 Initial experiments to connect to HomeAssistant

can you share this documentation with me? Itā€™s more recent than mine and I donā€™t have access to it with the link above.


you can PM me the link if you want

@screek-workshop posted it above :slight_smile:

Youā€™re right ! I was able to download the doc from my smartphone. Iā€™ll have to take the time to read this spec and delve deeper now.
Thank you for taking the time to explain to me.

Have you personally worked with the LD2450 zones? Is there an advantage?

honestly?
to me no. If iā€™d need zones and some specific use case (e.g. zones not squared) iā€™d go post processing.
The only advantage FOR MY USE CASE is that i use the sensor alone via bluetooth, so i can either use embedded zones or nothing (at the moment i do not need them, but who knowsā€¦)

Edit: (oh well i could let HA manage the post processingā€¦)

Can you recommend a tutorial or topic for using the LD2450 via Bluetooth? I didnā€™t know he was capable of it.

PLEASE REWORK MY CODE :slight_smile:

2 Likes

Thx a lot !
Iā€™m on vacation this evening (for 3 weeks :star_struck:) but Iā€™ll watch it one evening. If I have any comments or questions I will give them to you
thanks again

1 Like

Hi all,

unfortunately i canā€™t contribute much to the code but iā€™ve made a small snap fit enclosure for the LD2450 + ESP32 S2 Mini combo. Might fit all the other Wemos mini form factors.

LD2450 + ESP32 S2 Mini Enclosure on Thingiverse

Thanks for development so far!.

Best regards.

6 Likes

Nice one. I just printed it today (before I stumbled on your message).

Thanks. Fits and snaps very well !

Hi MassiPi,

How do I install your code? I tried installing it through HACS - Custom Repository but I get the message :

<Integration MassiPi/ld2450_ble> Repository structure for main is not compliant

Hi selecus, do you know why these entities is Unavailable? I currently on ESPHome 2024.4.2,

for codes I just copy-paste the yaml code and the zone.h from your github without edit any single words

LD2450-2

Hi, Not sure if this is the correct forum, I am using the HLK Radar app, the device is found and I connect bet I and get an error ā€œAA55 setting failed!ā€ any idea what this is, I get no results on google. Appreciate any advice

Hello muktheo
Sorry for my late answer. I was at sea for several days and I didnā€™t particularly feel like trying to connect to the Internet.
I checked on Github and the ticket seems closed. Can you confirm to me that you found the solution to your problem?

I believe in the original SCREEK code, those entities were used as section place holders to group the entities and donā€™t actually have any values so they can be removed from your YAML if you donā€™t want to see them.

text_sensor:
  - platform: template
    name: "Zone1 Info"
    id: tips_zone1_conf
    icon: mdi:information-outline
    entity_category: config
    lambda: |-
      return {"Configure below" };
    update_interval: 1000s

Thank you very much for the code.

I got one question: Would it be possible to implement a flip orientation option? The way my sensors are installed, the target are mirrored. So when Iā€™m left from the sensor its showing right.
As far as I understand one, would just need to multiple als target values *-1 with feature activated. Would that approach work?

1 Like

@athua I used your yaml code. but canā€™t get the map to work on HA.

image

EDIT:
this helped.
https://tool.screek.io/2amap/custom-name.html

The error you received means that your sensor names doesnā€™t match (the ESPHome yaml and the Map code) and you need to update the map code with the names of your sensor.

Hi All,

I bought the HLK-LD2450. The issue is though - its not very accrurate. I frequently get false detections. Anyone else have this experience or any suggestions on how to improve the firmware? Thanks Any feedback or help would be much much appreciated.

I think this is pretty normal for LD2450. I experimented in some rooms with them, but they are not usable for me as a daily driver. You really would need the sensitivity settings like the LD2410 got in order to calibrate it properly for your needs.
I had really high hopes with the zones for LD2450, but its better to stick with LD2410.

The LD2450 is working well for me. I have 3 set up in my home and donā€™t get any false detections.
What can help is to use a firmware that has an exclusion zone. You can then setup an exclusion zone around where the false detections are occurring (such as a ceiling fan or window with curtains that may move).
Iā€™m not sure which firmware fixtSE is using as it looks like you need to join up on their site to get the YAML :frowning:
I based my ESPHome YAML around the SCREEK code which is all open source and available on GITHub.

1 Like