This devices enables the GPIO pins of the Raspberry Pi to be used as input and output devices.
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
sudo apt-get install agocontrol-raspigpio