Access GPIO on Raspberry PI

Another way of doing it if you cant access the GPIO is a python script to send the GPIO status to a DB and access that in ignition.