Door sensors sometimes known as photoelectric or infrared beam, electric safety door edges, door detector, proximity edges, is an elevator device that detects a passenger or an object on the doorway which prevents the doors from closing (usually installed for accessibility). If a person or an object blocks the doorway and the sensors detects the person or object, the door will reopen then stays open and will not closed until the person moves away or the object is removed from the doorway. If the doors are being held open for a more than the specified period, the elevator will go into nudge mode and the doors will close slowly with a continuously beep. The door sensors will not work on the fire service mode, hence the fireman's elevator still need mechanical safety edges when the sensor not working.
In some door sensors, there are LED illumination lamps inside the sensors that indicate the door movement, usually green for door opening and flashing red for door closing. Some door sensors emit a continuously beep when a person enters or exits the elevator, and blocks the doorway.
Door sensors are also possible to detect an object or obstacle blocking the doorway.