ROHIT JUJARAY
Published © GPL3+

Home Automation using Bolt IoT & Google Assistant

My Home Automation is controlled by Voice Control from Google Assistant and also by Bolt Android / Web Application.

IntermediateFull instructions provided5 hours628
Home Automation using Bolt IoT & Google Assistant

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
Grove - 2-Channel SPDT Relay
Seeed Studio Grove - 2-Channel SPDT Relay
×1
USB Charger Receptacle, 15 A
USB Charger Receptacle, 15 A
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1
Male/Female Jumper Wires
Male/Female Jumper Wires
×1
LED Lamp 7W 6500K - CDL
×1
Philips hue Night Lamp (B22-Philips CFL 10W Softone)
×1
Lamp Holder, B22d Lamps
Lamp Holder, B22d Lamps
×2
22 Gauge AWG PVC Solid Hook-Up Wire Set (3 Color Kit [Black, Red, & Yellow])
×1
2 Pin Electrical Plug
×1

Software apps and online services

Bolt Cloud
Bolt IoT Bolt Cloud
Bolt IoT Android App
Bolt IoT Android App
Zapier
Alternate for IFTTT
Assistant SDK
Google Assistant SDK

Hand tools and fabrication machines

Wire Stripper & Cutter, 18-10 AWG / 0.75-4mm² Capacity Wires
Wire Stripper & Cutter, 18-10 AWG / 0.75-4mm² Capacity Wires
Multitool, Screwdriver
Multitool, Screwdriver
Mastech MS8217 Autorange Digital Multimeter
Digilent Mastech MS8217 Autorange Digital Multimeter
Only to check hardware devices whether it is properly working or not.

Story

Read more

Schematics

Circuit Diagram for My Home Automation

Code

Code for My Home Automation

JavaScript
//For controlling LED//
singleButton({name:"LED On", action:"digitalWrite",
pin:"1", value:"LOW", bgcolor:"green",
shape:"rectangle",align:"center","text_color":"white"})

singleButton({name:"LED Off", action:"digitalWrite",
pin:"1", value:"HIGH", bgcolor:"green",
shape:"rectangle",align:"center","text_color":"white"})

//For controlling Night Lamp//
singleButton({name:"N.Lamp On", action:"digitalWrite",
pin:"2", value:"LOW", bgcolor:"blue",
shape:"rectangle",align:"center","text_color":"white"})

singleButton({name:"N.Lamp Off", action:"digitalWrite",
pin:"2", value:"HIGH", bgcolor:"blue",
shape:"rectangle",align:"center","text_color":"white"})

//For controlling both LED and Night Lamp//
singleButton({name:"Both On", action:"digitalMultiWrite", 
pins:[1,2], values:["LOW","LOW"], bgcolor:"red",
shape:"rectangle",align:"center","text_color":"white"})

singleButton({name:"Both Off", action:"digitalMultiWrite", 
pins:[1,2], values:["HIGH","HIGH"], bgcolor:"red",
shape:"rectangle",align:"center","text_color":"white"})

Credits

ROHIT JUJARAY
1 project • 2 followers

Comments