I am creating a new device template for a Panasonic projector. In order to turn on (or off), this projector needs to receive 2 distinct infrared commands (with a small pause in between).
I was able to set this up in Ruby by sending a system command to the USB UIRT device with the first command, followed by a pause, followed by the second command, but this is very dirty since the ID of the USB UIRT device needs to be hard coded in the template.
Is there a way to do this cleanly by using the normal section for infrared codes in a device template? (Or any other suggestions)