OBJECTIVE OF THIS PROJECT
This project aims to develop a home automation system that gives the user complete control over all remotely controllable devices of his/her home using IOT Android app.

There are many third party online server and platforms available for showcasing the data of your IOT project. But, all of these platforms like ThingSpeak,Adafruit.io,Blynk and IFTT etc but today i select firebase

Why you select firebase
Firebase provides a quick way to persist sensory data collected at the device level, and it works great with the Android APIs, which is supported by AndroidThings. A lot of mobile and device programmers that I have come across struggle with server side programming. Firebase can really help bridge that gap and make it easier.It will be interesting to see developers use its offline features. If you are new to IoT or in general any device that collects data and needs to transmit it over networks, the golden rule to be assumed is that network connectivity cannot be assumed. As a result, you will need to collect the data offline and when network is available, transmit this over to your server. Firebase with its offline feature can really make this simple for a lot of developers.

Firebase has a ton of features including Real-time Database, Authentication, Cloud Messaging, Storage, Hosting, Test Lab and Analytics but I’m only going to use Authentication, Real-time Database.

Components List

  1. NodeMCU ESP8266 Development Board - Link to Amazon
  2. Push Button Switch - Link to Amazon
  3. LED - Link to Amazon
  4. Resistor (220 Ohms) - Link to Amazon
  5. Jumper Wires - Link to Amazon
  6. Breadboard - Link to Amazon
  7. Micro USB Cable - Link to Amazon
  8. Computer with Arduino IDE installed - Link to Arduino IDE download
ok Lest go to project destruction......
I will devide this project Three part part
1. Creating fairbase account
2. App making
3.Ardunio program part

1. Creating fairbase account
First go to https://console.firebase.google.com/ and login
Click on Add project 

then Show like this interface and give project name and select country name
Hear i select project name Home automation and select my country then press create
After a moment show this interface click on contention 
Then go to get started

Now enable this


Go to rules and  eadit code like image

Go to your setting then show your api key
Part one is end
2. App making
No tension i will provide you a complete row file for appinventor just click here and download this
no go to ai2.appinventor.mit.edu for open this file
now go to Project and import Homeautomation.aia file on your computer
click on red circle option and flow that image commend
ok this part is end

3.Ardunio program part
 You have to need some change on your ardunio code 
FIREBASE_HOST copy and past on fairbase database 
FIREBASE_AUTH copy and past on project setting 
and setup your WIFI name amd password


Downlod ardunio cod from here click here

More project


No comments

Theme images by Dizzo. Powered by Blogger.