A NodeJS Server for Recording Information sent by TK110 or similar GPS Trackers
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Phil Lavin
Latest commit 9707705 Sep 25, 2012

readme.md

TK110 GPS Tracker NodeJS Server

Intro

This is GPS tracker for written in NodeJS for TK110 GPS Trackers and similar tracker devices. The tracker devices should be configured to send data over GPRS to the Node server. It's sort of designed to be used out of the box but is mostly to give you an idea of the protocols for use in your own code.

Requirements

  • NodeJS
  • MySQL Module

Features

  • Capture of streaming content
  • Logging to database
  • Auto calculation of distance moved between points
  • Update of point when tracker is stationary to avoid mass duplication of data
  • Fully configurable via config

Installation

  • Clone this repository, e.g. git clone git://github.com/phil-lavin/TK110-GPS-Tracker-NodeJS-Server.git
  • cd into the clone directory
  • Run the command npm link
  • Copy config.sample.js to config.js and edit accordingly
  • Import doc/db.sql into your database

Running

  • cd into the clone directory
  • node tracker.js

Output

You will see output when a tracker device connects, when a new point is logged and an existing point is updated (because the tracker is stationary).

Database

Database structure can be found at doc/db.sql.