Giter Site home page Giter Site logo

athomedetector's Introduction

      AtHomeDetector - [email protected] - Feb2020
      ==============================================

This is a project I created for a friend so that his home automation system would know if he is at home or not, it does this by passively monitoring the wifi for his phone, if no data has been transmitted to or from his phone for a certain length of time it assumes he has gone out and so switches the status of an IO pin to signify this to his home automation (by switching a relay in this case).

I didn't expect this to prove to be very useful as I expected it to think he had gone out when he hadn't or fail to detect him when he returns home but it has proved to be amazingly effective so I am publishing it here in case it is of use/interest to anyone else.

It is based on a project by ricardooliveira - here: https://www.hackster.io/ricardooliveira/esp8266-friend-detector-12542e

uses a ESP8266 board with a cheap Nokia 5110 display on pins: #define RST D2 #define CE D3 #define DC D4 #define DIN D5 #define CLK D6

and signals the persons at home status on pin D1.

You need to enter the phones MAC address under " Known MAC addresses " as the top entry. You can add other Mac addresses so that these will also be shown on the display when they transmit wifi data. There are two dummy MAC addresses entered in this sketch as an example of the format.

athomedetector's People

Contributors

alanesq avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

bonedaddy

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.