I recently purchased an MCP2200 based 4 port relay board from Denkovi.
Below is the code I used to control this device.
Available on my Github.
A few months later I did a proof of concept that allowed me to control this unit via websockets. It was intended for use with a Raspberry Pi with a couple of switches, but can be easily adapted. Here is the extra code.