Giter Site home page Giter Site logo

homi-smart-home's Introduction

Homi - A Smart Home Hub

1 Description

Utilized a MongoDB, Express, React, Node (MERN) stack to create a smart home web application for

  • monitoring temperature and humidity
  • controlling a thermostat and a lighting system
  • opening/closing a door
  • simulating power consumption

The server will connect to a Particle IoT device to read in sensor data.

This design is composed of three components: IoTSense, Localhost, and AWS.

IoTSense

IoTSense is the embedded device aspect of the code. This contains the Particle code that can be flashed to a device. The device used the following components:

  • Photoresistor (Port A0)
  • Photoresistor (Port A2)
  • DHT 11 (Port D2)

The connections can be seen here

Testing performed with the Argon board

Localhost

A locally run server that communicates with the particle device over serial.

AWS

A web app that can be run from an AWS server that will communicate with the Particle device via cloud commands. This web app operates over HTTPS.

2 Getting Started

Dependencies

Node.js

Go Here to download the correct installer and follow the instructions to install.

MongoDB

Go Here to download MongoDB.

Note: Make sure the MongoDB service is started prior to continuing.

3 Running the Localhost Server

All of the server dependencies will need to be installed. This can be done by running the following command via the command line from the Localhost directory.

$ npm install

After running, you should be able to start the server using

$ npm start

4 Running the AWS Server

If you wish to run the AWS server locally, you will need to get a SSL certificate and key and place them in the security folder. There are blank .pem files in this folder already. They will need to be replaced by yours.

After that, all of the server dependencies will need to be installed. This can be done by running the following command via the command line from the AWS directory.

$ npm install

After running, you should be able to start the server using

$ npm start

5 Demo

The demo video can be found here

6 Authors

  • Jake Summerville
  • Martin Lopez
  • Diego Moscoso

homi-smart-home's People

Contributors

jsummer10 avatar diegomoscoso avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.