I am trying to configure the LD2410C presence sensor with esphome and the configuration is running smoothly but the operation is not as expected. The presence sensor is always ON and the "Moving Targer" and "Still Target" sensors do not stop alternating every second regardless of whether there is someone nearby or not. I am using an ESP32-WROOM-32 where I have already configured a temperature sensor that works without any problem.
When configuring I used two sets of pins
tx_pin: GPIO17 rx_pin: GPIO16
tx_pin: GPIO27 rx_pin: GPIO26
with the same result in both cases. The power supply goes to the 5v pin of the esp itself.
The yaml configuration file is the one from the esp-home web site as is without changing anything.
uart:
id: uart1
tx_pin: GPIO17
rx_pin: GPIO16
baud_rate: 256000
parity: NONE
stop_bits: 1
ld2410:
timeout: 150s
max_move_distance : 6m
max_still_distance: 0.75m
....
The same thing happens to me with two LD2410C chips and two different ESPs. Can anyone think what am I doing wrong?
Regards