I installed and configured Lirc on my Raspi, then I installed python-lirc. The Lirc configuration is OK, as I can use irw and irsend with no problem.
In my python program, when I try to read any IR code sent by my remote, the lirc.nextcode() function always return an empty list. The code is:
while (True): try: list = lirc.nextcode() if len(list) != 0: print "match!" except KeyboardInterrupt: lirc.deinit() break;
Also tried with pylirc library and have the same problem. Any idea? Thanks!