Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

vondraussen/gps103_server

Repository files navigation

Gps103 Server

This is a Gps103 GPS Tracker server implementation written in javascript. It parses all messages received from the device and creates the response message, if needed. Eventually it will send the received information to an MQTT broker.

So it acts as a server for Gps103 trackers and a gateway to MQTT.

Configuration

Run a npm install after you cloned it and start it via node app.js.

You can create a .env file to configure the behavior off the app.

The following environment variables are recognized. If not defined a default will be used.

  • GPS103_SERVER_PORT=64459
  • MQTT_ROOT_TOPIC=gps103
  • MQTT_BROKER_URL=localhost
  • MQTT_BROKER_PORT=1883
  • MQTT_BROKER_PROTO=mqtt
  • MQTT_BROKER_CA=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
  • MQTT_BROKER_USER=user
  • MQTT_BROKER_PASSWD=passwd

MQTT

Messages received on the TCP port will be transmitted via MQTT MQTT_ROOT_TOPIC/IMEI/pos

For example: gps103/123456789012345/pos

About

Server and MQTT Gateway for GPS103 tracker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published