RaspberryPiGPIO

From ago control wiki
Jump to: navigation, search

Raspberry Pi GPIO input output driver

This devices enables the GPIO pins of the Raspberry Pi to be used as input and output devices.

Installation

sudo apt-get install agocontrol-raspigpio

Configuration

Add the following to the /etc/opt/agocontrol/conf.d/raspiGPIO.conf change the pin numbers to what you are using:

[raspiGPIO]
inputs=18,23 
outputs=22,24,25

If you find the on/off commands does the opposite to what it should then add the following to the raspiGPIO.conf file

reverse=1
Personal tools