Reading IR data into NR

I’ve been using work arounds for a while in my Home Theater control logic by NR because I wasn’t able to read IR commands from my remote.

Finally spent some time last week, and figured out how, details here

I used LIRC, running on the same Pi that runs NR. Most of effort was spent figuring out how to get LIRC to read my AVR codes. I give details on a few ways to determine IR codes, and then convert to something LIRC can use. For a few codes, using LIRC to learn is probably the easiest.

Once LIRC can read the codes, its pretty simple to implement in NR to read the codes, and then look for a specific code. The NR specific stuff is at the bottom.

Hope this helps someone