IoT Report
IoT Report
INTRODUCTION
1.1 Introduction
Home automation has made it possible to have what is often referred to as a "Smart Home",
a home that can detect and identify you, automatically adjust the lighting to your predefined
taste, open doors automatically, play your favorite music, water your flower in the
morning, switch on the security lights at night and switch them off in the morning, heat
water for bathe and tea, stream to you anywhere in the world via internet a live video of
what is happening in and around your premises. It make it possible to link lighting,
entertainment, security, telecommunications, heating, and air conditioning into one
centrally controlled system. This allows you to your house an active partner in managing
your busy life and assist you with efficient living. Nowadays, you can hardly find a house
without a home automation system which can range from the remote for the television,
burglar alarm and hi-tech security surveillance, to an automated air condition system that
maintain the temperature at a predefined value.
This project wants to add new devices to home which can progress towards fully automated home
and make life easier and productive.
BACKGROUND MATERIAL
Smart switch is operated by ESP8266 with Wi-Fi-module hardware which control and connect
switch to internet though local Wi-Fi network.
Mobile app can connect to smart-switch using local Wi-Fi network and also using GSM internet
or other Wi-Fi network.
Cloud provide accessible to control switch though internet.
Smart-Switch can be operated using manual switch and also through mobile app. Live status of
switch can be monitor from mobile app even if switch get used using manually.
Surveillance camera is operated on raspberry pi zero hardware and serially connect with
Sony IMX219 image sensor with night vision capacity which allow to capture 1080p
motion sense video.
Surveillance camera has its on video storage on-board can record up to 24 hours video with re-
writable over a loop and can also add long storage capacity by using cloud.
Live video can be stream using mobile app through internet.
Surveillance camera can be used as plug and use, module required only power supply though
micro-usb, so it can be moved anywhere as per need within Wi-Fi range. .
Project has used three different programming languages for our project.
Java: java is a set of several computer software products and specifications from oracle
corporation that provides a system for developing application software and deploying it in
a cross-platform computing environment.
C: for embedded programming of nodemcu for smart switch using arduino ide. It is a nonobject-
oriented high-level programming language.
Raspbian os: raspbian is a free operating system based on debian optimized for the
raspberry pi hardware. Raspbian comes with more than 35000 packages; pre-combined
software bundled in a nice format for easy installation on raspberry pi.
CHAPTER 3:
IMPLEMENTATION
3.1 Modules
Project is divided into two development modules :-
void start()
{
get wifi credentials ()
get web server
credentials ()
connect to wifi()
if(no connect)
{
Start wifi AP mode to get connected()
}
get switch status()
Start loop()
}
void loop() { if(connected ){
check web server
status() check mobile
app status() check manual
switch status()
}
update relay status()
check
status of switch()
delay()
continue loop()
}
Responce = 14920:true
Login Screen - Check login credentials and redirect to Wi-Fi configuration screen.
Signup Screen - Submit new user login detail with email opt varification.
Wifi Screen - Save Wi-Fi creadentials localy, which help to device cofiguration to
connect device to local Wi-Fi network.
Home Screen - where user can control all configure switch. When connected to
network.
Device Config. - Configure new switch device to app and connect switch to local Wi-
Fi network, when switch is in Wi-Fi AP mode.
Switch Config. - When new switch device is configure to app it automatically add
all device switch to app and configure at default mode. Which can edit my user as per
need.
Switch Power usage - Shows to detail utilization of power for each switch and device
in Kilo-watts hours over a time of year.
Device Price
3,000 Rs
IP-Based Surveillance
(per unit with 24 hours video storage)
REFERENCES
[1] , “Home Automation”, Energy Efficient Smart Home Automation System volume
no 1, publication year 2015, Total pages 11.