Giter Club home page Giter Club logo

secure-home's Introduction

๐Ÿš€ Secure Home

It is a smart home security system. It can report security breaches and provides a web panel to manage breaches.

โš™๏ธ Install

Clone the project to your computer.

git clone https://github.com/burakyzn/secure-home.git

You need to open the HomeSecuritySystem.ino file with the Arduino IDE. In this file you opened, replace the following lines of code.

#define FIREBASE_HOST "" // firebase host address
#define FIREBASE_AUTH "" // auth key
#define WIFI_SSID "" // your wifi name
#define WIFI_PASSWORD "" // your wifi pass
const String IFTTT_PATH_NAME = ""; // your ifttt trigger address

Replace this line with your country's time zone.

const long utcOffsetInSeconds = 10800; // 60*60*3(Turkey Time Zone);
char daysOfTheWeek[7][12] = {"Pazar", "Pazartesi", "Sali", "Carsamba", "Persembe", "Cuma", "Cumartesi"};

NodeMCU and infrared sensor should be connected together as follows before uploading the code. Then you can upload the code to NodeMCU.

image

After then, you need to move the web folder to a location of your choice (or put it on a server) and open index.html.

When an object passes in front of the sensor, this will appear on the com screen. The time information will be saved in firebase realtime database and will appear on the web panel.

image

image

image

secure-home's People

Contributors

burakyzn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.