Introduction: How to Make Firebase Home Automation System Using NodeMCU | in IOT Platform

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

Step 1:

Step 2: 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.

Step 3: 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

Step 4: Creating Fairbase Account

First go to https://console.firebase.google.com/ and login

Click on Add project

Step 5: Then Show Like This Interface and Give Project Name and Select Country Name

Step 6: Hear I Select Project Name Home Automation and Select My Country Then Press Create

Step 7: After a Moment Show This Interface Click on Contention

Step 8: Then Go to Get Started

Step 9: Go to Rules and Eadit Code Like Image

Step 10: Go to Your Setting Then Show Your Api Key

Step 11: 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

Step 12: Now Go to Project and Import Homeautomation.aia File on Your Computer

Step 13: Click on Red Circle Option and Flow That Image Commend

Step 14: 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

Download ardunio cod from here click here

This tutorial first published on click here

more tutorial about Nodemcu click Here