Control Home Appliances Using Node MCU and Google Assistant | IOT | Blynk | IFTTT
by sairushan in Circuits > Wireless
2252 Views, 4 Favorites, 0 Comments
Control Home Appliances Using Node MCU and Google Assistant | IOT | Blynk | IFTTT
.png)


A simple project to control Appliances Using Google Assistant:
Warning: Handling Mains Electricity can be Dangerous. Handle with extreme care. Hire a professional electrician while working with open circuits. I won't take responsibilities for the damages caused. Have a safe experience.
Do check out my Youtube Channel:
Supplies
Parts used:
NodeMCU
Relay
Jumpers
Bulb and holder
Connect the Wires to the Bulb Holder:


Cut wire into two pieces and Strip the ends.
Screw the wires to the bulb holder
Connect the Bulb to Relay:

Connect the Wire from Mains to Common.
Connect the wire to the bulb in Normally open.
Connecting Relay to NodeMCU:


Connect jumpers from Vcc of Relay to Vin of nodemcu, Ground to ground and input 1 to D4.
Configuring Blynk:


Adding NodeMCU to Boards:

NodeMCU board manager URL http://arduino.esp8266.com/stable/package_esp8266com_index.json
Uploading the Code:

Code: https://github.com/sairushan/IOT
Setting Up IFTTT:



WebHooks URL: http://188.166.206.43/Your Authentication token/update/D2?value=0
The pin number specified here is the GPIO pin of the NodeMCU and not the physical board number.
Once the action is triggered, A web request is made. This turns the Relay-ON.
Similarly a trigger can be made to turn off by using Value=1 and body "[1]"
Now We Are Done:

