Control 2 relays using ESP8266 module and Optoisolated relay modules. This cheap and usable project is also very simple and easy to build. It takes only about 30 minutes to create this awesome project. See the complete tutorial on instructables : http:/