Does the gate have a keypad near it for physical code entry? If it does, you build a new keypad over the top of the existing one. When someone presses a key, it activates the underlying key. When your box receives a signal, it also activates the proper key sequence. I'm thinking a bunch of tiny servos to press the underlying keys. A strong candidate for a MacGyver award ![]()