Now I am stuck at the next step...

Got a LD2410 presence sensor, connected to my ESP32C3 and found this convenient MicroPython library for it: https://github.com/melastmohican/micropython-ld2410

Got it running easily but it still detects something even if I leave the room. Probably have to find a way to configure the sensitivity via UART? Is it possible I bricked the LD2410 by sending wrong UART codes?

>raw REPL; CTRL-B to exit >Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name '�' isn't defined PROBLEM IN THONNY'S BACK-END: Internal error (thonny.plugins.micropython.mp_back.ManagementError: Command output was not empty). See Thonny's backend.log for more info. You may need to press "Stop/Restart" or hard-reset your MicroPython device and try again.

#LD2410 #ESP32

Using a LD2420 instead now, it worked! The presence itself is too sensitive and always is True but I could use the reported distance to detect presence in this room.

Now suddenly it stopped working...

Traceback (most recent call last): File "<stdin>", line 8, in <module> File "EasyLD2420.py", line 209, in start RuntimeError: Failed to start streaming: no data received