As shown in the "Sous Vide cooker and more" https://hackaday.io/project/5533-sous-vide-cooker-and-more I build a system to control SainSmart relais with the Raspberry Pi's GPIO.
To use this system for a home automation project I built an open hardware PCB board for this.
The board was designed to fit to the Raspberry Pi's mounting holes and utilize standard flat ribbon cables for connection.
We finally created a new version,... see:
https://hackaday.io/project/19381-pisaint-20-home-automation-board