I am a beginner in home automation with Home Assistant. I have made my garage door open and close automatically and manageable with homeassistant TUYA integration. However, for security purposes, I want the door not to open when there is an object within a certain distance. To be more clear when there is an object with in 1 meter do not open door. Is there a solution that is preferably compatible with TUYA and if not possible, is there a solution that I can integrate into my Wi-Fi IOT network? Thank you in advance!
If it is outside you want to detect, then nature is really hard to predict precisely with a simple sensor.
You can detect a moving human with a normal PIR sensor, but a parked car or stationary human will not be detected by a PIR.
A hall sensor can detect the car, but not the humans.
A mmWave sensor can probably detect it all, but might also react to a cat, bird or even a small leaf blowing by.
Only sensor I can think of that can do it somewhat acceptable is an object detecting camera based on AI.
Use 1 or 2 ultrasone detectors. These give you the distance to an object. Esphome can handle these with ease. Look for the watertight version since they will last longer in a harsh environment
Yes it is outside. I know that is a lttle bit challenging but safety comes first for me. Thanks four your advice.
Your options really are to setup a camera with object detection and set notifications that way and to add in ultrasonic sensors to prevent false pickups by pir and motion detectors that rely on heat and movement detection only.
I will watch some Esphome tutorial videos, cos i am total beginner. Thanks for your advice