using the EEN API with a SparkFun RFID reader and raspberry pi
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public Update app.js Mar 30, 2014
routes added video link, prepend instead of append to list Mar 17, 2014
views added annotations, styled for mobile Mar 30, 2014
.gitignore added jquery, underscore, render using underscore templates, changed … Mar 15, 2014
README.md Update README.md Mar 30, 2014
app.js added annotations, styled for mobile Mar 30, 2014
config.js added download link, stub for annotations API Mar 27, 2014
een.js
package.json Update package.json Mar 30, 2014

README.md

Introduction

This project is using a RFID reader as a access control system. It will run on most any computer (or raspberry pi) that can run Node.js

It uses Socket.io to notify the webclient in real-time when a badge is scanned. It has simple rules that can be setup in config.js and is easily extended to multiple doors/readers.

Usage

  • clone this repo
  • npm install
  • edit config.js to user your RFID readers and badges
  • node app.js

Future Plans

The reason for making this is show off the Eagle Eye Networks API and how to integrate security video. Each card read will get a jpeg image from the camera that covers that door and link to the full video for that time will be available.

Hints

If you are getting annoyed with the beep from the RFID reader, you can simulate a badge being scanned by sending this from the client. Obviously you'll need to change the badge id to something in your system.

socket.emit('test', {'id': '6A003E6686B4'})

Demo

demo on youtube

Getting your raspberry pi setup to run it

here's a gist