That is how i did it, but i did not have to cover the IR transmitter. The power will cycle on then off then on indefinately as long as the code matches. I just used the second match.
As this thread is now over two years old, it will be locked in order to keep discussions current. If you have the same or a similar question/issue we invite you to start a new thread on the topic.