Hi.
A while ago i made my indi_usbrelay2_roof driver to control the roof of my observatory (still in planing). When i posted it i got some good tips about using the GPIO board to check for roof position.
As i started thinking about it i realized that having a gpio switch to check if the roof is in lock down, and perhaps having a physical emergency shut-down switch (snooped by watchdog?), and so on.., would be nice. I did some searching and found that the INDI for Java had a GPIO driver, but could not find anything similar for INDI.
Some coding later.., and i now have v0.1 of indi_wiringpi_gpio
I have tested it on Raspberry Pi 1 Type B, and my Odroid C1+. On Rasperry Pi it works well, my Odroid has a kernel < 4.1.7, and the server must be started with sudo..
I have not found a good way of error handling with the WiringPi lib as som errors are considered "fatal" and ends the program, but if not enabling unsupported pins on the hardkernel ported WiringPi, then it works.. Explained better in the github README
If it seams interesting then check out
github.com/magnue/indi_wiringpi_gpio , and do read the "Known issues"
It's a work in progress, and there are improvements to be made....
Let me know if it is of any interest.