esphome-ld2410 icon indicating copy to clipboard operation
esphome-ld2410 copied to clipboard

Please add some binary sensors

Open ReliableBob opened this issue 2 years ago • 2 comments

Hello! Thank you very much for the great work you have done!!! Please add the following binary sensors to the code: Presence Target, Moving Target and Still Target... I understand that the binary Presence sensor is tied to the GPIO and I am ready to agree, but the other two that the sensor gives via UART are also very useful. Having received their state, we can build our own additional logic...

ReliableBob avatar Apr 28 '23 13:04 ReliableBob

Good point, thanks. Do you think we should add one with the similar behavior of the gpio? Does it add value to have 3?

amandel avatar Apr 29 '23 06:04 amandel

Thanks for the answer! I think that having the state of binary sensors Presence Target, Moving Target and Still Target, there is no need to solder a wire to GPIO14. After all, you can use any GPIO and enable them programmatically using on_press and on_releases. For example, when the value "False" appears on the Presence Target sensor, you can programmatically turn off GPIO14, and vice versa... And also, I ask you to add a button that will restart the LD2410 module without resetting the current settings, if possible. Indeed, in the version with bluetooth, there is such a function in the application, but I don’t know if there is such a function in the module without bluetooth, which I use))

ReliableBob avatar Apr 29 '23 09:04 ReliableBob