Jsotola is right. The cars use the distance to know when they have to close doors.
In your case, you can use an extra sensor in the inside part. Maybe, an RFID or NFC tag, an ultrasonic sensor, or a laser or infrared sensors. With this element, you can detect if people are in the inside part.
I ordered now a Doorbird D101S, the API looks nice so far even if I was skeptic in the first place. I will play around with it and will report the results. I'm very interested in the callbacks can be used with so called "favorites" (check the API for details).
The "connect" options looks also very interesting so there are many options to integrate it into ...
While it will be possible to cut into the wires and build a device that will publish state and trigger the solenoid that opens the door, it's probably not a good idea.
Firstly you have no idea what voltages it all works at, it could very well be mains AC power.
You then have to design a network service that securely exposes the interface for the app (...
I am running Home Assistant on a Raspberry Pi and have had a lot of success using the Aeotec Gen5 Z-Wave control stick (USB). I bought several of the GoControl WNK01-21KIT kits and the door sensors have been working really well, but that is just one of many Z-Wave door sensor options.
A doorbell camera will serve your needs. A good product is Ring Doorbell Cam
Product Key Features
Camera & Doorbell to Monitor Front Door
1920 x 1080 Video Resolution
IR LEDs for Night Vision
160° Field of View
2-Way Audio & Noise Cancellation
Motion Detection with Programmable Zones
-5° to 120°F Operating Temp
Though you'll need a plan for the ...
There are few models available in market with 180 degree capability including:
Sky Bell HD
Ring Video Doorbell
Vivint Doorbell Camera
But these are not having 4K quality on video. Please refer below site for more details:
Imagine two TOF sensors side by side in a corridor. If sensor 1 triggers, then sensor 2, you have movement in one direction. And vice versa.
If you want to check if there are two people, you must have 4 sensors, so you can measure distance for each side of the corridor. Or, you can place the sensors in two opposite sides and count on the person not moving ...
If I understand correctly, the major part of this is now working. My Ring 2 came bundled with an echo dot, and I receive both movement and 'ring' notifications on the Dot.
The ring shows up as a 'camera' in Alexa, and the two notifications can be controlled independently.
There is no support to 'talk' to the person at the door (or even listen to audio) ...