cheungr / gpsAssetTracker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gpsAssetTracker

gpsAssetTracker is a Server and GPS tracking device software written in Python

Screenshot

Screenshot1 Screenshot2

Overview

Raspberry Pi --> Hologram.io Data Engine <--> Python Flask

Device

The hardware device is a Raspberry Pi Zero W, Hologram Nova 3G/2G Global Cellular Modem, NEO-6M GPS Module and MPU-6050 6-axis Gyro Acc.

Dependencies

Raspberry Pi:

sudo apt-get install

  • python-smbus
  • python-gps
  • gpsd
  • gpsd-clients
  • libgps-dev

pip install

Server

pip install

Running the Server

sudo python gateway.py

Should be running on port 80. Must be public facing for Hologram Data Router to POST data to. It is possible to use cloudflare-warp to tunnel your local server to the internet.

Running the Device

sudo /path/to/senseStart.sh
sudo python positioning.py

About


Languages

Language:Python 48.0%Language:HTML 23.7%Language:CSS 20.1%Language:JavaScript 7.9%Language:Shell 0.3%