Skip to content

Support Hi-Link LD2410S (HLK-LD2410S) 24GHz Ultra Low Power Radar Sensor #2872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
besanur opened this issue Sep 3, 2024 · 10 comments · May be fixed by esphome/esphome#8486 or esphome/esphome-docs#4798

Comments

@besanur
Copy link

besanur commented Sep 3, 2024

Describe the problem you have/What new integration you would like

  • Similar to the LD2410 Module, the LD2410S is a Ultra low Power 24GHz Radar Sensor. But it works with baudrate 115200 which is the smaller problem. Since it uses a different protocol, it does not work with the current integration.

Please describe your use case for this integration and alternatives you've tried:

  • Radar sensor with very low power consumption (~0.1 mA)

Additional context

@dafunkydan
Copy link

While lacking a Sensor (haven't bought it yet due to not beeing supported in ESPhome), this external Component looks very promising!
https://github.com/MrUndead1996/ld2410s-esphome

With my next order i will get some, having a native Support for such a promising Sensor (3,3V, 0.1mA Consumption) would be awesome! 💯

@besanur
Copy link
Author

besanur commented Oct 4, 2024

While lacking a Sensor (haven't bought it yet due to not beeing supported in ESPhome), this external Component looks very promising! https://github.com/MrUndead1996/ld2410s-esphome

With my next order i will get some, having a native Support for such a promising Sensor (3,3V, 0.1mA Consumption) would be awesome! 💯

Thanks for your comment, I'm glad that more and more people are agreeing to this feature request. I've tested this custom component and it's worked well so far. By the way, I still need to understand the settings Distance reporting frequency and Status reporting frequency. I hope that it will soon be included in ESPHome.

LD2410S ESPHome

@dafunkydan
Copy link

Great to hear it is in a somewhat productive state useable!

By the way, I still need to understand the settings Distance reporting frequency and Status reporting frequency

In the Docs to the Device the following can be found:

Status reporting frequency: Frequency at which the sensor reports a manned/unoccupied state (0.5~ 8 Hz)
Range reporting frequency: The frequency at which the sensor reports the distance to the target when it's manned (0.5~ 8 Hz)

I assume the Trigger Threshold controls the sensitivity - in your Screenshot i can neither see the reported Energy, nor a manual Threshold Setting. Is it only possible to perform an "Auto Threshold"?

Looking forward to get the thing into my hands finally 😃

@sorrypqa
Copy link

While lacking a Sensor (haven't bought it yet due to not beeing supported in ESPhome), this external Component looks very promising! https://github.com/MrUndead1996/ld2410s-esphome

With my next order i will get some, having a native Support for such a promising Sensor (3,3V, 0.1mA Consumption) would be awesome! 💯

Thank you for sharing! Buy a few now and try them out.

@dafunkydan
Copy link

Thank you for sharing! Buy a few now and try them out.

You're welcome! Make sure to like the initial Post, so the Interest is visible 😊

@vump
Copy link

vump commented Jan 3, 2025

While lacking a Sensor (haven't bought it yet due to not beeing supported in ESPhome), this external Component looks very promising! https://github.com/MrUndead1996/ld2410s-esphome

With my next order i will get some, having a native Support for such a promising Sensor (3,3V, 0.1mA Consumption) would be awesome! 💯

I can verify that this works! Just setup this sensor with a Wemos D1 Mini!

@maxmaia
Copy link

maxmaia commented Feb 20, 2025

Used the gihutb code from https://github.com/MrUndead1996/ld2410s-esphome but would be great if such nice/low consumption sensor HLK-LD2410S will get integrated directly into Esphome.
Thanks.

@LittlePapaJohn
Copy link

I would agree to have the LD2410S integrated in ESPHome

@silversegarra
Copy link

While lacking a Sensor (haven't bought it yet due to not beeing supported in ESPhome), this external Component looks very promising! https://github.com/MrUndead1996/ld2410s-esphome
With my next order i will get some, having a native Support for such a promising Sensor (3,3V, 0.1mA Consumption) would be awesome! 💯

Thanks for your comment, I'm glad that more and more people are agreeing to this feature request. I've tested this custom component and it's worked well so far. By the way, I still need to understand the settings Distance reporting frequency and Status reporting frequency. I hope that it will soon be included in ESPHome.

LD2410S ESPHome

Hello, I have installed by ZHA, but I dont have all these options for configuration... Could yo help me...? thanks

@k-korn
Copy link

k-korn commented Apr 13, 2025

Hey @NovakIrs, I'm using your code from PR #8486 and managed to get a graph in HA similar to what the native app produces based on your triggers_hold, triggers_snr, triggers_threshold debug output with ApexChart card (preview):

type: custom:apexcharts-card
graph_span: 16h
update_delay: 500ms
span:
  start: day
header:
  show: true
  title: LD2140S Energy Values
all_series_config:
  stroke_width: 2
  type: line
yaxis:
  - decimals: 0
    min: 0
    max: "|+10|"
series:
  - entity: sensor.sw_18ad30_triggers_hold
    name: Hold
    data_generator: >
      return entity.state.split(',').map((v, i) => [new Date().setHours(i) + 1,
      +v])
  - entity: sensor.sw_18ad30_triggers_snr
    name: SnR
    data_generator: >
      return entity.state.split(',').map((v, i) => [new Date().setHours(i) + 1,
      +v])
  - entity: sensor.sw_18ad30_triggers_threshold
    name: Threshold
    data_generator: >
      return entity.state.split(',').map((v, i) => [new Date().setHours(i) + 1,
      +v])

It uses data_generator feature to map gate indexes from 1 to 16 to hours 1..16, allowing the chart to display the values.
This might be useful to visualize the thresholds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
8 participants