Introduction: How to Upgrade Normal Wall Socket to Wifi Wall Socket ?
1 / Why is this way and how much more savings?
The wifi socket to control the device via the smart phone is so convenient, the problem is that a 2-gang socket of this type is also around 24$, too expensive, the other type is a 1 gang socket of nearly 9$, If you buy and install it, but you have to throw away the old socket or install a new device to the old one, the wifi socket is very convenient but expensive for the socket, so many houses are less used.
After a while of searching, I found a way to create a 3 gang socket, the price is around 6$, calculated to be 3 times cheaper without having to remove the old socket. So good to do it.
1 x NODEMCU v1.0
3 x Module 1 Relay 5V
1 x AC-DC 5V 700mA
Step 1: Prepare Hardware
You need some tools including pliers, soldering iron, screwdriver, black tape.I soldered circuit according to the diagram in the attached image
Step 2: Create App and Get Application ID
This App you go to CH Play, type Coorin Assistant to download, register for a user account, then enter the promotion code is four number 9 to use the free trial. Then we create a wifi socket application, here we create a 3 gangsocket, ie "3 gang socket", if you want 2 gang or 1 gang, then choose corresponding. After creating the app, we will see some buttons to control, every time I touch it, "vibra" , excited, the upper right corner has an exclamation circle where I can get the application ID code, click and see , This secret code does not reveal to anyone else.
Step 3: Final Step: Download the Program and Upload to the Socket
First I visit www.coorin.com you will see the item to select the application, I click on it and select the wifi socket, then click download.Unzip and open the readme file and follow it. After uploading, we put the lid on. Bingo!
Note: This is a socket directly connected to the 220V source, very dangerous so you must be extremely careful to avoid electric shock.
First disconnect the power, then check again to make sure the cord has no power and then connect to a new outlet that has just been finished, put it in there and then turn on the power, then open the phone to find wifi source named "Coorin Assistant", click on it, it will lead to a page for you to enter your home wifi password for the socket, click on the wifi name of your home at that website, then enter the password is done. The socket will automatically reboot and automatically connect to your home wifi, the next time it will automatically connect to the wifi, so there is no need to worry, go to the phone app, plug the light into the socket and click enjoy it. Note, the above circuit diagram is that when the power outlet starts, the socket is always open, the light is on, the app is turned on and off, the light will turn on and off accordingly.
Good luck ! I turned on the app and turned off the lights, turned on the fan and go to sleep now.
Step 4: Result !
Now, we can enjoy it. Let we see yours !