There is a WIKI page on Domoticz site about GPIO