Hackster is hosting Impact Spotlights: Asset Tracking. Watch now!
NIKHIL BK
Published © GPL3+

Automated Home/Street light system

This system controls turning the LED ON/OFF automatically based on time (6PM to 6AM), light intensity and Google Assistant with SMS alerts.

IntermediateFull instructions provided10 hours392
Automated Home/Street light system

Things used in this project

Hardware components

Bolt WiFi Module
Bolt IoT Bolt WiFi Module
×1
USB-A to Mini-USB Cable
USB-A to Mini-USB Cable
×1
Breadboard (generic)
Breadboard (generic)
×1
LED (generic)
LED (generic)
×1
Resistor 330 ohm
Resistor 330 ohm
×1
LDR, 5 Mohm
LDR, 5 Mohm
×1
Resistor 10k ohm
Resistor 10k ohm
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Software apps and online services

Ubuntu
SMS Messaging API
Twilio SMS Messaging API
Android phone
Assistant SDK
Google Assistant SDK

Story

Read more

Schematics

Circuit connection

This is the real circuit connection.

Code

Code for configuration file.

Python
This code is about configuration file which has API key, DEVICE id, and data about SMS alert. This file is saved as conf.py so we are going to import it as conf while writting main program.
API_KEY = "XXXX"        //Bolt Cloud API Key
DEVICE_ID = "BOLTXXXX"  //Device ID of the Bolt Module
SID = "XXXX"            //SSID of Twilio account
AUTH_TOKEN = "XXXX"     //Auth token available in Twilio account
FROM_NUMBER = "XXXX"    //This number is given by Twilio
TO_NUMBER = "XXXX"      //This is your number where you get sms alert

Credits

NIKHIL BK
1 project • 1 follower
Contact

Comments

Please log in or sign up to comment.