Skip to content

Course Project for elective course 'Robotics and Automation', 6th Semester (2021)

Notifications You must be signed in to change notification settings

Carbonautics/Home-Automation-with-ESP8266-and-Firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Automation using ESP8266 and Firebase

A simple automation project code to control few AC appliances using the ESP8266 NodeMCU and Google Firebase (RTDB)

Table of Contents

General Information

  • Basically the MCU will manipulate the control signals and store them in the FirebaseRTDB and control appliances using the signals from the RTDB.
  • Purpose of the project? This code was developed as a course project for an elective course 'Robotics and Automation' in my 6th Semester at college. The idea was to create an automation project using actual hardware while others used software simulations to do similar projects.

Technologies Used

Dependencies

Features

Ready Features:

  • Connect to wifi by added your SSID and Password.
  • Control max. of 3 devices (switchable).
  • LDR support for automatic lighting controls. (includes manual override) (un-tested)
  • Android app to control the appliances.

Room for improvements

  • LDR feature has to be tested yet.
  • Will have to create Firebase RTDB manually, doesn't work directly without it.
  • Dynamically provide feature to change SSID and password on a mobile perhaps.

Working

The nodeMCU turns on, connects to the hard-coded SSID. Then the connection with Firebase begins, assuming, Firebase RTDB setup was done correctly, it will proceed to fetch the previous states from the cloud after successful connection.

Appliance state changes to whatever was fetched from the cloud. The state of appliances in the cloud is changed using the manual switch which acts as an override in-case of system failure or using the mobile app.

Summary:

  • Mobile app or the manual switch changes the state in the cloud. (Manual switch takes precedence over app).

  • The MCU fetches states data from the cloud and sets the appliances to that state, again depends on the manual switch (switch takes precedence over cloud for redundancy purposes).

Actual Code

Project Status

Project is completed and no longer being worked on since the project was submitted to the professor as the course project for that semester and currently (as of uploading this readme) placements season has officialy taken over my life.

About

Course Project for elective course 'Robotics and Automation', 6th Semester (2021)

Topics

Resources

Stars

Watchers

Forks