Setting up a GPS Tracking System with Traccar & BlackKite

Traccar Server is an open source GPS tracking system that supports more than 80 different communication protocols. Version 3.2 of Traccar supports BlackKite’s protocol out of the box. Thanks to the maintainer of Traccar, Anton Tananaev for accepting our patches. This article will show, how to setup Traccar to accept data from BlackKite devices.

Get a Linode

You need to have a server on the Internet to setup Traccar. Linode provides Virtual Private Servers (VPS), where you can host your application. Linode VPS are very reliable, and their VPS plans start from as low as 10$ per month. The steps to setup your Linode is provided below.

  1. Select the "Linode 1024" Plan and click "Add this Linode".

  2. Open the Linode Dashboard, and click on "Deploy an Image".

  3. Select "Debian 8.1" and specify the Root Password, and click on "Deploy".

    /static/images/linode-deploy.png
  4. Click on "Boot" in the dashboard to boot the Linode.

  5. Click on "Remote Access" to get the Linode’s IP address.

  6. Once the device is booted up, SSH to server using root login.

Setting up Traccar

  1. Install JRE, required by Traccar.

    # apt-get update
    # apt-get install openjdk-7-jre-headless
  2. Install Traccar.

    # wget https://github.com/tananaev/traccar/releases/download/v3.2/traccar-linux-64-3.2.zip
    # unzip traccar-linux-64-3.2.zip
    # ./traccar.run
  3. Start the Traccar server.

    # /etc/init.d/traccar start
  4. Goto http://<server-ip>:8082. Login with Email "admin" and Password "admin.

  5. Click on "+" button in the "Devices" panel. Specify a name for your device, and specify your device IMEI number.

Setting up BlackKite

Send the following commands to your BlackKite device configure the server IP address and port.

  1. SET SERVER SKY,<server-ip>,5091

  2. SAVE

Viewing Your Vehicle Information

The vehicle information can be obtained from the web interface. The current state of the vehicle is available on the "State" panel. The bottom panel can be used to retrieve and display historical data.

/static/images/traccar-history.png

Closing Notes

Hope this tutorial has shown how to setup your own vehicle tracking system, using Linode, Traccar and BlackKite. For more information on Traccar, please visit http://www.traccar.org.

Happy Tracking!