Recently I downloaded the LIRC library (following the instructions here: http://alexba.in/blog/2013/01/06/settin ... spberrypi/) and while it works properly, I need to use it for a non-remote application. I am trying to read input from multiple IR receivers. I have verified that I can use this library to read the input from multiple IR receivers, but I need to write Python code now to read the continuous input and also identify which specific receiver/s are getting input. Normally, the way to start the IR reading is to go to the command terminal and type
sudo /etc/init.d/lirc stop
mode2 -d /dev/lirc0
But I need to be able to initiate this inside a Python program, and also perhaps tweak the file which is reading input so that I can differentiate which GPIO pins specifically are getting input. As I am only a beginner, however, I am not sure how I would go about being able to do in Python what is usually achieved through the command prompt. Furthermore, I am not sure how I could read from individual GPIO pins using this library as there's not a ton of helpful guides on this library online past remote applications. Any help would be deeply appreciated, thank you in advance.