Assuming ir means infrared, you could get one of these (or any ir transceiver) and decode the signals and use it or whatever to send them out if your $thing dies.
Assuming ir means infrared, you could get one of these (or any ir transceiver) and decode the signals and use it or whatever to send them out if your $thing dies.