/AnyoneHere

:eyes: See who's home with a simple Flask API

Primary LanguageJavaScriptMIT LicenseMIT

AnyoneHere?

👀 See who's around with a simple Flask API

js-standard-style license

AnyoneHere gives you a snapshot of who's around.

ScreenGrab

You can also look at a punchcard-style view of historical data.

ScreenGrabPunchcard

Installation

  1. Clone repo and install dependencies

    git clone https://github.com/bcongdon/AnyoneHere
    cd AnyoneHere
    pip install -r requirements.txt
    
  2. Copy template configuration file.

    cp config-template.json config.json
    
  3. Edit config.json file to contain user names and MAC addresses.

  4. Build the front end.

    npm install
    npm run build
    
  5. Run AnyoneHere.

    python run.py
    
  6. Connect to AnyoneHere at http://localhost:5000.

    • You can access online user data programmatically by sending a GET request to /api/user