We have designed a door alarm which will trigger as soon as the door(s) being watched is opened. The way we set this up is by using an ESP32 wired with a Sonar Sensor to watch the readings from above the door looking downwards....