Hi there, I’m trying to build a battery powered motion sensor with RCWL-0516 and ESP32 (both power by battery).
I connected the radar out to gpio and configured this pin as “wakeup” for the deep sleep mode - this works as expected.
Additionally, I let the ESP wake up every 10 minutes - but when it wakes up according to schedule (not by high signal / motion detection of the sensor) the esp32 is detecting a motion (or at least the configured switch toggles to ON).
Every wakeup (without any motion next to the sensor) the following messages are transmitted in this order:
Radar sensor from OFF to ON
Status switch from OFF to ON
Radar sensor from ON to OFF
Status switch from ON to OFF -> Deep Sleep for another 10 minutes
Any idea how to stop this behaviour when waking up from deep sleep if no motion occurs?
Hey @tom_l - I’m using MQTT for this project.
The “last will” or the esphome status isn’t the problem - it’s the radar input pin sending “motion detected” values without any motion when waking up from deep sleep.