I need help in rewiring a chicken coop pop door
The following should work for you. You may have to switch the motor wires around to find the right polarity though.

If there is an obstruction the relay will flip back and cause the thing to reverse till the switch clears then it will re-engage and should continue to try to close. Relay may buzz a bit though if the obstruction remains, significantly reducing the life of the relay. But I can't see any better solution with the minimal parts you have indicated.







simulate this circuit &ndash; Schematic created using CircuitLab

This may be a better solution.







simulate this circuit

Here the switch opening stops the motor going down and it will stay there till either the obstruction is removed or it gets light and the door opens.

UPDATE: According to your video it's probably the second circuit.. minus the diode. Video does not show what happens when it gets light when obstructed, but I am guessing it just stays stuck. So adding a diode actually makes it better :)