I was thinking about controlling an outside door unlock button by MITMing the electrical cables going out of it, but realized I have no idea how to go about it. I just need to generate the same signal... I thought maybe someone reading this could have some pointers.