/NRTC

nodejs rfid time controller

Primary LanguageCoffeeScriptApache License 2.0Apache-2.0

NRTC

NodeJS RFID Time Controller

!!!

Backend part is deprecated, need to rewrite it using Java or something..

!!!

What is it?

It is the application which allows to calculate time that somebody spent somewhere. It's perfectly suitable for a time-based cafes. When you're paid for time that visitors spent in your cafe. When a visitor enters he must be checked in and checked out when exits. The system automatically calculates (based on defined rules) the price for the visitor when he gets out.

How to use it?

Requirements

The app tested on Windows (7/8) and MAC (El Capitan)

Hardware (that I used):

  • Computer with windows 7/8 or MAC
  • RFID reader (model CF-RL120: freq 125KHz, interface USB or RS232)
  • RFID tags (125KHz EM4100)

Software (that I used):

Installation

  • Install drivers and plug in the RFID reader, make sure COM port is used correctly
  • Set up a new application on http://parse.com/
  • Download the app from github
  • Go to the root app's folder
  • Fill settings.json with proper data
  • Run npm install bower gulp -g
  • Run npm install
  • Run gulp
  • Run node build/backend/main
  • If everything is OK, open http://localhost:8090 and see the live statistics

Using

  • After you've done all the steps above, you will see a -- CMD window -- Web page
  • Each time you move an RFID tag close to the reader the app will produce an action and logs that in the parse.com
  • You can see users' login/logout, time spent, prices on the web page
  • You can remove a log
  • You can see some statistics

Any questions/bugs/feedback?

  • I guess there are some, please let me know @kashesandr