There are some "freaking" codes for Optoma projectors on
http://irdb.globalcache.com/ but nothing that maches "HD-180X" exactly. Most likely something there will do. For example, the "Optoma HD & EP Series" has a POWER TOGGLE (sorry no discretes) that is NEC2, D=79, S=80,F=2
0000 006D 0000 0022 0157 00AC 0015 0041 0015 0041 0015 0041 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0016 0015 0016 0015 0041 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0016 0015 0041 0015 0016 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0041 0015 0689
PS. For talking to Lircd from Python, check out my project Lirconian:
[Link: github.com]