https://tech.iprock.com/archives/10030
Using the Raspberry Pi to control AC electric power