Relays for dummies

Now you've posted the schematic for the door controller, the ground for the door status indicator should be PIN2 and not PIN1.

I wish you had posted this earlier, because I'm now wondering if the electrical path through the opto-isolator will replace the FCA/FCC microswitches and give a false indication if the door is open or closed. This will need to be tested.

pin2

scheme