Code for Arduino + CC3000 + Relay, with a web server running on the Arduino board