Control Home Appliances Using Node MCU and Google Assistant | IOT | Blynk | IFTTT

Introduction: Control Home Appliances Using Node MCU and Google Assistant | IOT | Blynk | IFTTT

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

Step 1: Connect the Wires to the Bulb Holder:

Cut wire into two pieces and Strip the ends.

Screw the wires to the bulb holder

Step 2: Connect the Bulb to Relay:

Connect the Wire from Mains to Common.

Connect the wire to the bulb in Normally open.

Step 3: Connecting Relay to NodeMCU:

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

Step 4: Configuring Blynk:

Step 5: Adding NodeMCU to Boards:

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

Step 6: Uploading the Code:

Code: https://github.com/sairushan/IOT

Step 7: 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]"

Step 8: Now We Are Done:

1 Person Made This Project!

Recommendations

  • Mason Jar Speed Challenge

    Mason Jar Speed Challenge
  • Bikes Challenge

    Bikes Challenge
  • Remix Contest

    Remix Contest

Discussions