I’ve had something similar and it ended up being a micro-switch on the door operator long arm.