Control of Apple TV is delivered right to the palm of your hand with the Apple remote, aka the Siri Remote. But even a device as well made as this can run into issues pairing or staying connected.
[Computergeek] made an Arduino Shield in order to use it as an Apple remote ... create a universal remote for all of your random devices. We’d also want to give it a try as a TV-B-Gone.