sketch for home automation

Hello, I'm Saptadip and i'm working on a project of Home Automation using Arduino UNO(ATmega 328P) and *esp 8266 12e. I'm using 5v relay switch to turn ON & OFF the appliance. I'm also using LM1117 voltage regulator to generate 3.3v for esp 8266 12e. I want to control this modue via adnroid app/ web page. Can anyone help me with the sketch for esp and arduino to control the reay?

  • In the given circuit diagram esp 8266 1e was used, but i got esp 8266 12e for my project. So it will be very helpful if you can give me the code for esp 8266 12e.

(deleted)

Google Blynk - Scotty