Hi, due to being rather busy lately, we tested it on pc and it sometimes spawns ghosts but disappears quickly, the ghosts also usually split into more than one with one person, but overall it’s pretty good, haven’t noticed ghosting when there’s no one around.
We haven’t had a chance to test it with eight people yet, and the parsing hasn’t been done yet.
You may get more responses if you post your YAML here rather than on protected Google docs pages where people need to request for access to view it.
If the YAML and logs contain private information, you can mask them out to maintain your privacy.
Yeah I never post docs so was not aware this was an issue, thanks for pointing that out. I just didn’t want to make such a huge post, but I don’t know a way to post a publicly accessible link without researching instructions on how to do this. My background is in medicine but I enjoy smart home tech and am slowly learning to write code and have been running HA in some form or another since like 7 years so know a decent amount. Anyway, I’ll post the yaml files asap.
Does anybody know the name of the type of the alternative pin connector on the LD2450? I think it might be called a JST connector but I’m still researching. Apparently the pin pitch size and number of pins is required for proper siding also. According to the description on Amazon it is a serial port tool with pin pitch is 1.5mm and 4 pins.
ZH1.5mm 4p pin header
ref: What are the wiring specifications for the LD2450 module? How should I buy it?
Hello everyone !
I am very happy to express myself here for the first time. I have already come just as a reader to find answers to my questions more than once.
I particularly followed the work of @screek-workshop which is a reference for the ld2450. But as my mother tongue is French I instead looked for help on another forum where it is easier for me to make myself understood.
With the ideas and motivation of the French-speaking community we have significantly modified the Screek firmware:
- You can choose the number of detection or exclusion zones you want; you are not limited to 3 and 1 respectively.
- You can also choose, for example, to specify that your sensor is 45 degrees from the wall, which will make zone detection very precise.
- If you often stay still in an area and the sensor loses you then, by activating the option, the area will become inactive again only when you leave it.
- If you find it annoying to have to rename all your entities for each of your rooms and sensors, the generator will take care of this problem for you.
If I managed to share my enthusiasm with you I invite you to consult my github or even better to use the generator https://53l3cu5.github.io
hi, thanks for your amazing work and effort, gonna try it soon.
what about the zone.h? where I should put or use it? thank you
Big thanks for this, my only complaint is the static detection that’s not really that good if I sit too long or lying down. Will be trying your component and I’ll update if I get better results.
The graph generator is a nice addition.
This file is mandatory for the code to function properly. l must be saved in the same folder as the YAML file. Once it’s saved, you don’t have to worry about it at all. On the other hand, the manipulation is easier to do if you compile your code on your PC than if you do it directly from ESP home under home assistant
Hello Shaq
You are absolutely right, this improvement does not completely compensate for the weaknesses of the sensor. I advise you to increase the Time Out to 5 seconds and activate the Target must leave Zone
option for the zone where you remain static.
But despite this it is possible that it still does not work correctly. This may be due to another presence/target in the total detection zone of the sensor.
If the target is a parasite and always remains in the same position, then you must put an exclusion zone around it and the problem is solved; otherwise there is nothing to do to compensate softwarely the issue.
Yannickinlive26 solved issue by using the LD1125H and positioning it less than 4 meters from him. This sensor detects breathing. It is therefore better at detecting a static person. On the other hand, its general characteristics are less complete than the LD2450.
good work! but on this point i assume the difference is that 3 is the limit for the zones managed by the sensor, while your n-zones model should be fully post processing.
just a different approach
In reality the sensor does not know any zone. It only transmits information for targets (3 in total). All zones are post-processed.
But it is indeed a different approach.
At home I even deactivate the sending of the position of the targets. I only work by zone
sorry to say, but that’s not the case:)
the sensor manages up to 3 rectangular zones and you can configure if zones are 1) enabled 2) “detect only here” or 3) “ignore here”
it’s in the datasheet…
but obviously you can do pure post processing (basically leaving the “disable zones” on the sensor) and work on the coordinates returned by the sensor…
probably the limit of three zones is coming from the sensor itself (i don’t know @screek-workshop code)
I understand more clearly our respective points of view.
The HLK LD2450 only provides target information (see page 8 of the Chinese documentation).
Screek-workshop provides a ready-to-use sensor which contains an LD2450 and an ESP32. It is the Screek firmware that provides all three zones.
I used screek code to make mine. I then reworked it in depth to bring everyone’s ideas to life. Like this one for example. You can put the sensor at 45° in a corner and have zones parallel to the walls. With this modification you use the detection area of the LD2450 more fully.
check pages 12-13 of datasheet
then if it’s the software to provide 3 zones ok for me, but i use the sensor fully over BLE and it has three zones
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
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.