Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.4 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.4 KB

Home-Automation-Stack

Frontend and Backend for the Home Automation System developed for the Techkriti ECDC-2021.

Frontend Site

Features

  • Responsive and Attractive UI
  • Instant Communication with Gateway @ Home using MQTT Protocol
  • Voice-Enabled Control
  • Alarm-Based Control
  • Realtime Data on Frontend

Tech Stack:

  • Pure HTML CSS JS for Frontend
  • Node.JS and Express.JS Backend
  • Database maintained in MongoDB
  • Hosted in Herokuapp
  • MQTT Broker using Mosquitto hosted in Amazon EC2 Instance

MQTTJS

How does it work?

  • Frontend sends requests to backend for updates in data to show realtime data from MongoDB
  • Backend Communicates with Gateway at Home through MQTT Protocol using our MQTT Broker
    • Backend subscribes to topic published from Gateway
    • Gateway subscribes to topic published from Backend
    • Fast and Secure Communication Possible through MQTT
  • Gateway handles messages from Backend and controls components accordingly
  • Sensor Data sent from Gateway put into MongoDB to be shown in the Frontend
  • Voice-Control developed through Annyang and Speech KITT