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

ESP32 yaml with internal pullup + 2 new sensors

Open Chreece opened this issue 2 years ago • 7 comments

Thank you very much for your great work implementing the LD2450 on ESPHome. I wanted to inform you that I slightly edited the .yaml file to use an ESP32 with internal pullup resistors (no external resistors needed). Also added 2 software sensors:

  • Presence detected
  • Number of targets detected

https://github.com/Chreece/esphome-ld2450

Chreece avatar Jul 15 '23 12:07 Chreece

Would it be a lot effort to implement zones directly in esphome? And a map which visualise it in Homeassistant?

DerPicknicker avatar Jul 16 '23 18:07 DerPicknicker

@Chreece while trying ur yaml code i got an error due to those targets id are not existing? which i indeed can not find back somewhere?

Raimon93 avatar Jul 17 '23 13:07 Raimon93

It's not my code .. @Chreece is the right one

DerPicknicker avatar Jul 17 '23 13:07 DerPicknicker

It's not my code .. @Chreece is the right one

Yea sorry already replaced the tagging!

Raimon93 avatar Jul 17 '23 13:07 Raimon93

@Chreece while trying ur yaml code i got an error due to those targets id are not existing? which i indeed can not find back somewhere?

Yeah sorry for that, my setup has more than one sensors so I kinda copied a bit from my setup and a bit from original code, forgetting some parts... Can you please try it now?

*Also from now on, please report any issues on my repository

Chreece avatar Jul 19 '23 07:07 Chreece

Would it be a lot effort to implement zones directly in esphome? And a map which visualise it in Homeassistant?

Unfortunately my ESPHome knowledge is not expert, so I don't know if there is a way for ESPHome to pass a map to HA. You have the coordinates from targets, how one can use them is another story...

Chreece avatar Jul 19 '23 07:07 Chreece

@Chreece Ah now i understand that id(targetx). Thanks!

Raimon93 avatar Jul 19 '23 08:07 Raimon93