Components :

1 x ESP-12 module

1 x Custom made PCB or you can buy an Ready-made Relay board

2 x Power sockets

1 x Acrylic sheet for casing

Entire Project Files:

https://www.dropbox.com/sh/3i9gks8z3caq7os/AABLyflO_m-40H-fA2qz7FNSa?dl=0

Frimware:

NodeMCU

Modes :

Mode1:

It will generate an wifi hotspot.

(init.lua)This can be found in the project files

Upload the above file to ESP for this mode

Mode2:

In this mode it will connect to an existing WIFI

Android Application

I build the application using MIT app inventor. It can be found in the Project files

Future Upgrades

  • Planning to add light dimmer
  • Planning to add LDR
  • We can add PIR for motion detection